From 660a49e4305aa26b68ce9bb515b8d2d220ce8d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Tue, 20 Oct 2020 18:02:16 +0200 Subject: [PATCH] debian: initial packaging --- debian/.gitignore | 4 ++++ debian/changelog | 5 +++++ debian/control | 13 +++++++++++++ debian/copyright | 3 +++ debian/rules | 6 ++++++ debian/source/format | 1 + debian/sysgit.install | 2 ++ debian/watch | 4 ++++ 8 files changed, 38 insertions(+) create mode 100644 debian/.gitignore create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/sysgit.install create mode 100644 debian/watch diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..d6895bb --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,4 @@ +/.debhelper +/debhelper-build-stamp +/files +/*.substvars diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cf6f712 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +sysgit (1.0-0ptx1) UNRELEASED; urgency=medium + + * Initial packaging. + + -- Björn Lässig Tue, 20 Oct 2020 14:09:03 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b7eca39 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: sysgit +Section: admin +Priority: optional +Maintainer: Björn Lässig +Build-Depends: debhelper-compat (= 12) +Rules-Requires-Root: no + +Package: sysgit +Architecture: all +Depends: bash +Description: Git environment wrapper for managing and documenting system changes + sysgit is a wrapper around git that helps maintaining various system files + (e.g. below /etc) in version control. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2cb6f7b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,3 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-name: sysgit +Source: https://github.com/pengutronix/sysgit diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7783644 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +build-arch build-indep build install binary-arch binary-indep binary clean: + dh $@ + +.PHONY: build-arch build-indep build install binary-arch binary-indep binary clean diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/sysgit.install b/debian/sysgit.install new file mode 100644 index 0000000..f58819a --- /dev/null +++ b/debian/sysgit.install @@ -0,0 +1,2 @@ +bin/sys usr/bin/ +bin/ssh var/lib/sysgit/ diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..7cbf462 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 + +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/sysgit-$1\.tar\.gz/ \ +https://github.com/pengutronix/sysgit/tags .*/v([\d\.]+).tar.gz