From cf687466c568df8f766ed6392aad6936ab592efb Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 14 Aug 2022 02:10:21 +0000 Subject: [PATCH 1/7] Depend on newer debhelper (>= 9.20160709) rather than dh-systemd. Changes-By: lintian-brush Fixes: lintian: build-depends-on-obsolete-package See-also: https://lintian.debian.org/tags/build-depends-on-obsolete-package.html --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 637aa97..fda840a 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Mailman for Debian Uploaders: Thijs Kinkhorst , Build-Depends: debhelper (>= 10), autoconf, python-dev, - gettext, python-dnspython, dh-python, dh-systemd + gettext, python-dnspython, dh-python Standards-Version: 4.1.4 Homepage: http://www.list.org/ Vcs-Git: https://salsa.debian.org/mailman-team/mailman2.git -- GitLab From ab6ed211f1090ec744ad9559ebc436b33970bccb Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 14 Aug 2022 02:10:28 +0000 Subject: [PATCH 2/7] Use secure URI in Homepage field. Changes-By: lintian-brush Fixes: lintian: homepage-field-uses-insecure-uri See-also: https://lintian.debian.org/tags/homepage-field-uses-insecure-uri.html --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index fda840a..cfddb24 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Uploaders: Thijs Kinkhorst , Build-Depends: debhelper (>= 10), autoconf, python-dev, gettext, python-dnspython, dh-python Standards-Version: 4.1.4 -Homepage: http://www.list.org/ +Homepage: https://www.list.org/ Vcs-Git: https://salsa.debian.org/mailman-team/mailman2.git Vcs-Browser: https://salsa.debian.org/mailman-team/mailman2 Rules-Requires-Root: binary-targets -- GitLab From 7d56e3baf38f2e82f1fef7b2281fe996603e3108 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 14 Aug 2022 02:10:33 +0000 Subject: [PATCH 3/7] Bump debhelper dependency to >= 11, since that's what is used in debian/compat. Changes-By: lintian-brush Fixes: lintian: package-lacks-versioned-build-depends-on-debhelper See-also: https://lintian.debian.org/tags/package-lacks-versioned-build-depends-on-debhelper.html Fixes: lintian: package-needs-versioned-debhelper-build-depends See-also: https://lintian.debian.org/tags/package-needs-versioned-debhelper-build-depends.html --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index cfddb24..5d3e904 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: mail Priority: optional Maintainer: Mailman for Debian Uploaders: Thijs Kinkhorst , -Build-Depends: debhelper (>= 10), autoconf, python-dev, +Build-Depends: debhelper (>= 11~), autoconf, python-dev, gettext, python-dnspython, dh-python Standards-Version: 4.1.4 Homepage: https://www.list.org/ -- GitLab From 99ec4bd2f41a17049c97c3fb0dd536e4fd848128 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 14 Aug 2022 02:10:34 +0000 Subject: [PATCH 4/7] Bump debhelper from old 11 to 13. + Rename debian/mailman.tmpfile to debian/mailman.tmpfiles. Changes-By: lintian-brush Fixes: lintian: package-uses-old-debhelper-compat-version See-also: https://lintian.debian.org/tags/package-uses-old-debhelper-compat-version.html --- debian/compat | 2 +- debian/control | 2 +- debian/{mailman.tmpfile => mailman.tmpfiles} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename debian/{mailman.tmpfile => mailman.tmpfiles} (100%) diff --git a/debian/compat b/debian/compat index b4de394..b1bd38b 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -11 +13 diff --git a/debian/control b/debian/control index 5d3e904..434cdc4 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: mail Priority: optional Maintainer: Mailman for Debian Uploaders: Thijs Kinkhorst , -Build-Depends: debhelper (>= 11~), autoconf, python-dev, +Build-Depends: debhelper (>= 13~), autoconf, python-dev, gettext, python-dnspython, dh-python Standards-Version: 4.1.4 Homepage: https://www.list.org/ diff --git a/debian/mailman.tmpfile b/debian/mailman.tmpfiles similarity index 100% rename from debian/mailman.tmpfile rename to debian/mailman.tmpfiles -- GitLab From 6d5cc6d5e1ef8994e2805b277f28b10dc4064315 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 14 Aug 2022 02:10:34 +0000 Subject: [PATCH 5/7] Set debhelper-compat version in Build-Depends. Changes-By: lintian-brush Fixes: lintian: uses-debhelper-compat-file See-also: https://lintian.debian.org/tags/uses-debhelper-compat-file.html --- debian/compat | 1 - debian/control | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 debian/compat diff --git a/debian/compat b/debian/compat deleted file mode 100644 index b1bd38b..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -13 diff --git a/debian/control b/debian/control index 434cdc4..5f63fb8 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: mail Priority: optional Maintainer: Mailman for Debian Uploaders: Thijs Kinkhorst , -Build-Depends: debhelper (>= 13~), autoconf, python-dev, +Build-Depends: debhelper-compat (= 13), autoconf, python-dev, gettext, python-dnspython, dh-python Standards-Version: 4.1.4 Homepage: https://www.list.org/ -- GitLab From e0f25ac13e645c8998a5ec77b026d98c66893641 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 14 Aug 2022 02:10:37 +0000 Subject: [PATCH 6/7] Replace /var/run with /run for the Service PIDFile. Changes-By: lintian-brush Fixes: lintian: systemd-service-file-refers-to-var-run See-also: https://lintian.debian.org/tags/systemd-service-file-refers-to-var-run.html --- debian/mailman.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/mailman.service b/debian/mailman.service index 8487ec0..4d156d9 100644 --- a/debian/mailman.service +++ b/debian/mailman.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=forking -PIDFile=/var/run/mailman/mailman.pid +PIDFile=/run/mailman/mailman.pid ExecStart=/usr/lib/mailman/bin/mailmanctl -s start ExecStop=/usr/lib/mailman/bin/mailmanctl stop ExecReload=/usr/lib/mailman/bin/mailmanctl restart -- GitLab From a128c49cd28ebc3e1a9c91ab6b22bd26d5cc86cb Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 14 Aug 2022 02:10:57 +0000 Subject: [PATCH 7/7] Update standards version to 4.1.5, no changes needed. Changes-By: lintian-brush Fixes: lintian: ancient-standards-version See-also: https://lintian.debian.org/tags/ancient-standards-version.html --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index 5f63fb8..9d9b236 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,7 @@ Maintainer: Mailman for Debian Uploaders: Thijs Kinkhorst , Build-Depends: debhelper-compat (= 13), autoconf, python-dev, gettext, python-dnspython, dh-python -Standards-Version: 4.1.4 +Standards-Version: 4.1.5 Homepage: https://www.list.org/ Vcs-Git: https://salsa.debian.org/mailman-team/mailman2.git Vcs-Browser: https://salsa.debian.org/mailman-team/mailman2 -- GitLab