summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/apsfilter.postrm20
-rw-r--r--debian/apsfilter.purge2
-rw-r--r--debian/changelog10
-rw-r--r--debian/control5
-rwxr-xr-xdebian/rules6
-rw-r--r--debian/salsa-ci.yml8
6 files changed, 24 insertions, 27 deletions
diff --git a/debian/apsfilter.postrm b/debian/apsfilter.postrm
deleted file mode 100644
index 192491f..0000000
--- a/debian/apsfilter.postrm
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-case "$1" in
- purge)
- # These are not handled by dpkg(8) itself since that would result in
- # spurious `directory not empty so not removed' warnings.
- rm -rf /etc/apsfilter /var/lib/apsfilter
- ;;
- remove | upgrade | failed-upgrade | abort-install | abort-upgrade | disappear) ;;
-
- *)
- echo "postrm called with unknown argument '$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-exit 0
diff --git a/debian/apsfilter.purge b/debian/apsfilter.purge
new file mode 100644
index 0000000..666d71c
--- /dev/null
+++ b/debian/apsfilter.purge
@@ -0,0 +1,2 @@
+/etc/apsfilter/
+/var/lib/apsfilter/
diff --git a/debian/changelog b/debian/changelog
index e4c939f..79f1e23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+apsfilter (7.2.6-7) unstable; urgency=medium
+
+ * QA upload.
+ * Add debian/salsa-ci.yml
+ * Bump Standards-Version to 4.7.4, drop Priority: tag
+ * Rewrite d/rules with newer & shorter rules
+ * Use dh-sequence-cruft to register & purge volatile files
+
+ -- Alexandre Detiste <tchet@debian.org> Tue, 12 May 2026 21:33:44 +0200
+
apsfilter (7.2.6-6) unstable; urgency=medium
* QA upload.
diff --git a/debian/control b/debian/control
index e235ad7..5d9005f 100644
--- a/debian/control
+++ b/debian/control
@@ -1,8 +1,7 @@
Source: apsfilter
Maintainer: Debian QA Group <packages@qa.debian.org>
-Standards-Version: 4.7.2
-Build-Depends: debhelper-compat (= 13),
-Priority: optional
+Standards-Version: 4.7.4
+Build-Depends: debhelper-compat (= 13), dh-sequence-cruft,
Section: text
Vcs-Browser: https://salsa.debian.org/debian/apsfilter
Vcs-Git: https://salsa.debian.org/debian/apsfilter.git
diff --git a/debian/rules b/debian/rules
index 1717fb6..e1c8f22 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,11 +13,9 @@ override_dh_auto_configure:
--with-sendmail=/usr/sbin/sendmail \
--with-shell=/bin/bash
-override_dh_install:
- dh_install
+execute_after_dh_install:
mv debian/apsfilter/usr/sbin/SETUP debian/apsfilter/usr/sbin/apsfilterconfig
-override_dh_auto_install:
- dh_auto_install
+execute_after_dh_auto_install:
rm debian/apsfilter/usr/share/doc/apsfilter/README.BSD
rm debian/apsfilter/etc/apsfilter/basedir
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..c614482
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -0,0 +1,8 @@
+---
+include:
+ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
+
+variables:
+ SALSA_CI_DISABLE_BLHC: 1
+ SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1
+ SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 1