From 8d23311aad91e91998288e0d35dc7c1105dda009 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 28 Aug 2022 02:09:43 +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 f61ccccaabb946ab28c6e3c3566defcd8220d9da Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 28 Aug 2022 02:09:48 +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 66b60e6e6959c281d3e6734bf5cb4c760e488a62 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 28 Aug 2022 02:09:52 +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 786be03ccb688b15237fb5fbbaa66535db55505e Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 28 Aug 2022 02:09:53 +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 7798158174fe730dcdb5da5c8c2560333af44b6c Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 28 Aug 2022 02:09:53 +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 f5f9042b230704a533e070769b8d591e597d80d4 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 28 Aug 2022 02:09:56 +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 5a314ead64e56b5d971012080e4a51bd256e7a77 Mon Sep 17 00:00:00 2001 From: Silver Platter Date: Sun, 28 Aug 2022 02:10:14 +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