[arch-commits] Commit in opensmtpd/trunk (PKGBUILD opensmtpd.install)
Lukas Fleischer
lfleischer at archlinux.org
Sun May 29 07:05:38 UTC 2016
Date: Sunday, May 29, 2016 @ 09:05:37
Author: lfleischer
Revision: 177403
upgpkg: opensmtpd 5.9.2p1-1
Upstream update.
Modified:
opensmtpd/trunk/PKGBUILD
opensmtpd/trunk/opensmtpd.install
-------------------+
PKGBUILD | 21 +++++++++++----------
opensmtpd.install | 5 +++--
2 files changed, 14 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-29 01:17:40 UTC (rev 177402)
+++ PKGBUILD 2016-05-29 07:05:37 UTC (rev 177403)
@@ -1,9 +1,10 @@
# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
# Contributor: Sébastien Luttringer
+# Contributor: parchd <parchd at archlinux.info>
pkgname=opensmtpd
-pkgver=5.7.3p2
-pkgrel=3
+pkgver=5.9.2p1
+pkgrel=1
pkgdesc='Free implementation of the server-side SMTP protocol'
arch=('i686' 'x86_64')
url='http://www.opensmtpd.org/'
@@ -17,7 +18,7 @@
source=("http://www.opensmtpd.org/archives/$pkgname-$pkgver.tar.gz"
'smtpd.service'
'smtpd.socket')
-sha256sums=('0d2973008d0f66bebb84bed516be6c32617735241cc54dd26643529281a8e52b'
+sha256sums=('3522f273c1630c781facdb2b921228e338ed4e651909316735df775d6a70a71d'
'3760f7268e776b696548e57f5f9e4d18ed19e8854dc0631c176a69d558a8b362'
'32d46de5562d01de445d04c93bcc9f94bf103539b676e449c32e3603a3866cf8')
@@ -33,13 +34,13 @@
--sysconfdir=/etc/smtpd \
--sbindir=/usr/bin \
--libexecdir=/usr/lib/smtpd \
- --with-maildir=/var/spool/mail \
- --with-privsep-path=/var/empty \
- --with-sock-dir=/run \
- --with-ca-file=/etc/ssl/certs/ca-certificates.crt \
- --with-privsep-user=smtpd \
- --with-queue-user=smtpq \
- --with-pam
+ --with-path-mbox=/var/spool/mail \
+ --with-path-empty=/var/empty \
+ --with-path-socket=/run \
+ --with-path-CAfile=/etc/ssl/certs/ca-certificates.crt \
+ --with-user-smtpd=smtpd \
+ --with-user-queue=smtpq \
+ --with-group-queue=smtpq
make
}
Modified: opensmtpd.install
===================================================================
--- opensmtpd.install 2016-05-29 01:17:40 UTC (rev 177402)
+++ opensmtpd.install 2016-05-29 07:05:37 UTC (rev 177403)
@@ -1,8 +1,9 @@
# arg 1: the new package version
post_install() {
# create users
- getent passwd smtpd >/dev/null || useradd -d / -u 91 -g 1 smtpd
- getent passwd smtpq >/dev/null || useradd -d /var/spool/smtpd -u 92 -g 1 smtpq
+ getent group smtpq >/dev/null || groupadd -r smtpq
+ getent passwd smtpd >/dev/null || useradd -c "SMTP Daemon" -d /var/empty -u 91 -g 1 -s /bin/nologin smtpd
+ getent passwd smtpq >/dev/null || useradd -c "SMTPD Queue" -d /var/empty -u 92 -g smtpq -s/bin/nologin smtpq
:
}
More information about the arch-commits
mailing list