[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#946083: buster-pu: package opensmtpd/6.0.3p1-5



Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

The proposed upload fixes two bugs:

1) opensmtpd's "sendmail" implementation cannot enqueue mail offline
unless the "smtpctl" binary is installed setgid opensmtpdq. This has
been fixed in unstable.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945910

2) We should warn users of changes to the config file syntax when they
upgrade from stretch to buster. The binary package in unstable already
does this, albeit with different wording.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944268

The proposed changes build successfully in the buster schroot on
barriere.d.o. A debdiff is atached. I tested the package in a local
chroot. If it looks good, I will upload.

Best,
Ryan

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8), LANGUAGE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
|)|/  Ryan Kavanagh      | GPG: 4E46 9519 ED67 7734 268F
|\|\  https://rak.ac     |      BD95 8F7B F8FC 4A11 C97A
diff -Nru opensmtpd-6.0.3p1/debian/changelog opensmtpd-6.0.3p1/debian/changelog
--- opensmtpd-6.0.3p1/debian/changelog	2019-02-06 10:16:39.000000000 -0500
+++ opensmtpd-6.0.3p1/debian/changelog	2019-12-03 12:19:10.000000000 -0500
@@ -1,3 +1,10 @@
+opensmtpd (6.0.3p1-5+b10u1) buster; urgency=medium
+
+  * Warn users of change of smtpd.conf syntax (Closes: #944268)
+  * Install smtpctl setgid opensmtpq (Closes: #945910)
+
+ -- Ryan Kavanagh <rak@debian.org>  Tue, 03 Dec 2019 12:19:10 -0500
+
 opensmtpd (6.0.3p1-5) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff -Nru opensmtpd-6.0.3p1/debian/control opensmtpd-6.0.3p1/debian/control
--- opensmtpd-6.0.3p1/debian/control	2019-02-05 17:11:54.000000000 -0500
+++ opensmtpd-6.0.3p1/debian/control	2019-12-03 12:10:11.000000000 -0500
@@ -14,7 +14,7 @@
  , zlib1g-dev
 Standards-Version: 4.3.0
 Homepage: https://www.opensmtpd.org/
-Vcs-Git: https://salsa.debian.org/debian/opensmtpd.git -b debian/sid
+Vcs-Git: https://salsa.debian.org/debian/opensmtpd.git -b debian/buster
 Vcs-Browser: https://salsa.debian.org/debian/opensmtpd
 
 Package: opensmtpd
diff -Nru opensmtpd-6.0.3p1/debian/gbp.conf opensmtpd-6.0.3p1/debian/gbp.conf
--- opensmtpd-6.0.3p1/debian/gbp.conf	2018-01-16 10:16:54.000000000 -0500
+++ opensmtpd-6.0.3p1/debian/gbp.conf	2019-12-03 12:09:54.000000000 -0500
@@ -1,5 +1,5 @@
 [DEFAULT]
 upstream-branch = upstream
-debian-branch = debian/sid
+debian-branch = debian/buster
 pristine-tar = True
 sign-tags = True
diff -Nru opensmtpd-6.0.3p1/debian/NEWS opensmtpd-6.0.3p1/debian/NEWS
--- opensmtpd-6.0.3p1/debian/NEWS	2018-01-16 10:16:54.000000000 -0500
+++ opensmtpd-6.0.3p1/debian/NEWS	2019-12-03 12:18:49.000000000 -0500
@@ -1,3 +1,28 @@
+opensmtpd (6.0.3p1-5+b10u1) buster; urgency=medium
+
+    There have been changes to the smtpd.conf file format[0] which may
+    require manual editing of your /etc/smtpd.conf file. Full details
+    may be found in the man page smtpd.conf(5). Quoting from the
+    "OpenBSD Upgrade Guide: 6.1 to 6.2" [0]:
+
+	The "secure" keyword is not valid anymore in "listen" directives
+	in smtpd.conf(5). Users are advised to replace existing
+	"listen secure" directives with two separate "tls" and "smtps"
+	listeners, i.e., a line like
+
+	    listen on $iface secure pki $pki
+
+	has to be replaced with
+
+	    listen on $iface tls pki $pki
+	    listen on $iface smtps pki $pki
+
+	Relaying syntax is not affected by this change.
+
+    [0] https://www.openbsd.org/faq/upgrade62.html
+
+ -- Ryan Kavanagh <rak@debian.org>  Tue, 03 Dec 2019 12:11:02 -0500
+
 opensmtpd (5.4.1p1-1) unstable; urgency=medium
 
     There have been minor changes to the smtpd.conf file format[0] which
diff -Nru opensmtpd-6.0.3p1/debian/postinst opensmtpd-6.0.3p1/debian/postinst
--- opensmtpd-6.0.3p1/debian/postinst	2019-02-06 09:39:50.000000000 -0500
+++ opensmtpd-6.0.3p1/debian/postinst	2019-12-03 12:19:04.000000000 -0500
@@ -175,6 +175,13 @@
                     --no-create-home --disabled-password \
                     --gecos "OpenSMTD queue user" \
                     --ingroup opensmtpq opensmtpq
+        # smtpctl needs to be setgid opensmtpq per
+        # https://github.com/OpenSMTPD/OpenSMTPD/commit/8bdce604
+        if ! dpkg-statoverride --list --quiet "/usr/sbin/smtpctl" >/dev/null;
+        then
+            dpkg-statoverride --force-all --quiet --update \
+                --add root opensmtpq 2755 "/usr/sbin/smtpctl"
+        fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure|reconfigure)

Attachment: signature.asc
Description: PGP signature


Reply to: