aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-01-16 15:28:30 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2025-01-16 15:28:30 +0100
commit760c3278572a005da9f339526ea60f0d5afa3298 (patch)
tree69363a1e7d5b620ebcdae36e2b8d706229c34910
parentb139d20c0e599ac394db0f70d563263d6fbb68d3 (diff)
downloadlibpam-freerdp2-760c3278572a005da9f339526ea60f0d5afa3298.tar.gz
libpam-freerdp2-760c3278572a005da9f339526ea60f0d5afa3298.tar.bz2
libpam-freerdp2-760c3278572a005da9f339526ea60f0d5afa3298.zip
d/control: Switch from CDBS to debhelper (v12).
-rw-r--r--debian/compat1
-rw-r--r--debian/control4
-rwxr-xr-xdebian/rules28
3 files changed, 8 insertions, 25 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 a54ed40..3db3fba 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,7 @@ Priority: optional
Maintainer: Artica Project <devs@lists.arctica-project.org>
Uploaders:
Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
-Build-Depends: cdbs (>= 0.4.93~),
- debhelper (>= 9),
- dh-autoreconf,
+Build-Depends: debhelper-compat (= 12),
dpkg-dev (>= 1.16.1.1~),
mate-common,
freerdp2-dev (>= 2~),
diff --git a/debian/rules b/debian/rules
index 96d8b0c..d7caa45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,28 +4,14 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/utils.mk
+%:
+ dh $@
-DEB_MAKE_CHECK_TARGET = check
-
-#pre-build::
-# cp README.md README
-#
-#cleanbuilddir::
-# rm -f README
-
-# Remove .a and .la files from /lib/security
-remove-cruft::
- find $(DEB_DESTDIR)/lib/security -type f \
- \( -name '*.a' -o -name '*.la' \) \
- -exec rm '{}' +
-
-common-install-indep:: remove-cruft
-common-install-arch:: remove-cruft
-common-binary-post-install-arch:: list-missing
+override_dh_install:
+ dh_install
+ find debian/tmp/lib/security -type f \
+ \( -name '*.a' -o -name '*.la' \) \
+ -exec rm '{}' +
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..