Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package mailman-suite

[ Reason ]
Version 0+20200530-2 of mailman-suite doesn't contain any breaking or intrusive
changes. The main reason why I'd like to see it in Bullseye is that the upload
lowers the number of required runtime dependencies and it brings improved
documentation.

Here's the changelog of mailman-suite 0+20200530-2:

```
  * d/control: Depend on uwsgi-core, we don't need the full uwsgi package.
    Thanks to Thomas Koch for the report. (Closes: #983189)
  * d/README.Debian: Document the fact that `dpkg-reconfigure mailman3-web`
    might be required in order to get the correct API token into
    `mailman-hyperkitty.cfg`. (Closes: #983681)
  * d/mailman3-web.postinst: Replace depricated `tempfile` with `mktemp`
  * d/contrib/mailman-web: New wrapper script to configure mailman3-web
    django project. (Closes: #982935)

 -- Jonas Meurer <jo...@freesources.org>  Mon, 08 Mar 2021 17:07:33 +0100
```

[ Checklist ]
  [x] all changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in testing

unblock mailman-suite/0+20200530-2

Kind regards
 jonas
diff -Nru mailman-suite-0+20200530/debian/changelog 
mailman-suite-0+20200530/debian/changelog
--- mailman-suite-0+20200530/debian/changelog   2021-01-23 21:29:28.000000000 
+0100
+++ mailman-suite-0+20200530/debian/changelog   2021-03-08 17:07:33.000000000 
+0100
@@ -1,3 +1,16 @@
+mailman-suite (0+20200530-2) unstable; urgency=medium
+
+  * d/control: Depend on uwsgi-core, we don't need the full uwsgi package.
+    Thanks to Thomas Koch for the report. (Closes: #983189)
+  * d/README.Debian: Document the fact that `dpkg-reconfigure mailman3-web`
+    might be required in order to get the correct API token into
+    `mailman-hyperkitty.cfg`. (Closes: #983681)
+  * d/mailman3-web.postinst: Replace depricated `tempfile` with `mktemp`
+  * d/contrib/mailman-web: New wrapper script to configure mailman3-web
+    django project. (Closes: #982935)
+
+ -- Jonas Meurer <jo...@freesources.org>  Mon, 08 Mar 2021 17:07:33 +0100
+
 mailman-suite (0+20200530-1) unstable; urgency=medium
 
   * New upstream snapshot 0+20200530
diff -Nru mailman-suite-0+20200530/debian/contrib/mailman-web 
mailman-suite-0+20200530/debian/contrib/mailman-web
--- mailman-suite-0+20200530/debian/contrib/mailman-web 1970-01-01 
01:00:00.000000000 +0100
+++ mailman-suite-0+20200530/debian/contrib/mailman-web 2021-03-08 
17:07:33.000000000 +0100
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+su -s /bin/sh -c "python3 /usr/share/mailman3-web/manage.py $*" www-data
diff -Nru mailman-suite-0+20200530/debian/control 
mailman-suite-0+20200530/debian/control
--- mailman-suite-0+20200530/debian/control     2021-01-23 21:29:28.000000000 
+0100
+++ mailman-suite-0+20200530/debian/control     2021-03-08 17:07:33.000000000 
+0100
@@ -23,7 +23,7 @@
          python3-psycopg2 | python3-mysqldb,
          python3-whoosh,
          ucf,
-         uwsgi,
+         uwsgi-core,
          uwsgi-plugin-python3,
          ${misc:Depends}
 Recommends: libapache2-mod-proxy-uwsgi | nginx
diff -Nru mailman-suite-0+20200530/debian/mailman3-web.install 
mailman-suite-0+20200530/debian/mailman3-web.install
--- mailman-suite-0+20200530/debian/mailman3-web.install        2021-01-23 
21:29:28.000000000 +0100
+++ mailman-suite-0+20200530/debian/mailman3-web.install        2021-03-08 
17:07:33.000000000 +0100
@@ -1,4 +1,5 @@
 debian/contrib/apache.conf             etc/mailman3/
+debian/contrib/mailman-web      usr/bin/
 debian/contrib/nginx.conf              etc/mailman3/
 debian/contrib/uwsgi.ini               etc/mailman3/
 debian/contrib/settings_local.py.sample        usr/share/mailman3-web/
diff -Nru mailman-suite-0+20200530/debian/mailman3-web.postinst 
mailman-suite-0+20200530/debian/mailman3-web.postinst
--- mailman-suite-0+20200530/debian/mailman3-web.postinst       2021-01-23 
21:29:28.000000000 +0100
+++ mailman-suite-0+20200530/debian/mailman3-web.postinst       2021-03-08 
17:07:33.000000000 +0100
@@ -70,7 +70,7 @@
 # might be interpreted by the shell.
 create_config () {
     trap cleanup EXIT
-    settings_local_new=`tempfile -m 0644`
+    settings_local_new=`mktemp`
     cp -a /usr/share/mailman3-web/settings_local.py.sample $settings_local_new
     
     # get database settings from dbconfig-common
diff -Nru mailman-suite-0+20200530/debian/README.Debian 
mailman-suite-0+20200530/debian/README.Debian
--- mailman-suite-0+20200530/debian/README.Debian       2021-01-23 
21:29:28.000000000 +0100
+++ mailman-suite-0+20200530/debian/README.Debian       2021-03-08 
17:07:33.000000000 +0100
@@ -95,6 +95,9 @@
 
  * A secure API token for the Hyperkitty archiver is generated and
    set both in the Django and in the Hyperkitty configuration.
+   You might have to run `dpkg-reconfigure python3-mailman-hyperkitty`
+   for `/etc/mailman3/mailman-hyperkitty.cfg` to have the correct API
+   token configured.
 
  * The API password for the Mailman3 REST api is derived from
    `/etc/mailman3/mailman.cfg` and set accordingly in the mailman3-web

Reply via email to