Date: Wednesday, June 3, 2020 @ 15:24:20 Author: archange Revision: 638259
FS#66718: fix old systems with audio GID 92 Modified: opensmtpd/trunk/PKGBUILD opensmtpd/trunk/opensmtpd.install -------------------+ PKGBUILD | 2 +- opensmtpd.install | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-03 14:36:43 UTC (rev 638258) +++ PKGBUILD 2020-06-03 15:24:20 UTC (rev 638259) @@ -5,7 +5,7 @@ pkgname=opensmtpd pkgver=6.7.1p1 -pkgrel=2 +pkgrel=3 pkgdesc="Free implementation of the server-side SMTP protocol" arch=(x86_64) url="https://www.opensmtpd.org/" Modified: opensmtpd.install =================================================================== --- opensmtpd.install 2020-06-03 14:36:43 UTC (rev 638258) +++ opensmtpd.install 2020-06-03 15:24:20 UTC (rev 638259) @@ -1,11 +1,9 @@ +post_install() { + # Fix ownership of smtpctl for old systems + systemd-sysusers /usr/lib/sysusers.d/opensmtpd.conf + chgrp smtpq /usr/bin/smtpctl +} + post_upgrade() { - if [ $(vercmp $2 6.4.2p1-1) -lt 0 ] ; then - cat << EOF - -The configuration syntax changed in OpenSMTPD 6.4. -Please refer to https://poolp.org/posts/2018-05-21/switching-to-opensmtpd-new-config/ -as well as smtpd.conf(5) for the new syntax. - -EOF - fi + post_install }
