aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-06-01 17:07:53 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-06-01 17:08:17 +0200
commit03e5aa0889c9ea65a1f5476c332a769dedc52f85 (patch)
treee83f7ceef81662dfaa565c52437781eb6dc57d5d
parentaedd0c862f2aad19a54a40a576554bcd4952f012 (diff)
downloaditzks-keyring-03e5aa0889c9ea65a1f5476c332a769dedc52f85.tar.gz
itzks-keyring-03e5aa0889c9ea65a1f5476c332a769dedc52f85.tar.bz2
itzks-keyring-03e5aa0889c9ea65a1f5476c332a769dedc52f85.zip
debian/: Modernize packaging (drop used of cdbs, supporting packaging without (fake)root privileges.
-rw-r--r--debian/compat1
-rw-r--r--debian/control6
-rw-r--r--debian/itzks-keyring.install2
-rwxr-xr-xdebian/rules19
4 files changed, 9 insertions, 19 deletions
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index ec63514..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-9
diff --git a/debian/control b/debian/control
index c48f52d..3152a00 100644
--- a/debian/control
+++ b/debian/control
@@ -5,11 +5,11 @@ Maintainer: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Uploaders:
ITZKS Packages <debian@it-zukunft-schule.de>
Build-Depends:
- cdbs,
- debhelper (>= 9),
+ debhelper-compat (= 13),
gawk,
Homepage: http://it-zukunft-schule.de/
-Standards-Version: 4.1.3
+Rules-Requires-Root: no
+Standards-Version: 4.7.2
Vcs-Git: git://code.it-zukunft-schule.de/itzks-keyring.git
Vcs-Browser: http://code.it-zukunft-schule.de/gitweb?p=itzks-keyring.git;a=summary
diff --git a/debian/itzks-keyring.install b/debian/itzks-keyring.install
index 938abd2..1b91047 100644
--- a/debian/itzks-keyring.install
+++ b/debian/itzks-keyring.install
@@ -1 +1 @@
-debian/tmp/usr/ \ No newline at end of file
+usr/
diff --git a/debian/rules b/debian/rules
index da5bb09..fb6726e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,13 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/class/makefile.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-export PREFIX=/usr
-export DESTDIR=debian/tmp
+export DEB_DESTDIR := $(CURDIR)/debian/tmp/
-DEB_BUILD_PARALLEL = 1
-DEB_INSTALL_DOCS_ALL = README
+%:
+ dh ${@}
-DEB_MAKE_CHECK_TARGET=test
-DEB_MAKE_INSTALL_TARGET=install
-
-common-install-indep:: remove-cruft
-common-install-arch:: remove-cruft
-
-remove-cruft::
-# Nothing to do here, right now...
+override_dh_auto_install:
+ dh_auto_install -- INSTALL_FILE="install -m 644" INSTALL_DIR="install -d -m 755" DESTDIR="$(DEB_DESTDIR)"
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..