aboutsummaryrefslogtreecommitdiff
path: root/network/opensmtpd
diff options
context:
space:
mode:
authorRichard Narron <richard@aaazen.com>2018-03-05 07:42:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-05 07:42:29 +0700
commit485e96ba62a0ba9c7a9ff95f16bf62deb1009926 (patch)
tree42379f191533036106909d0b532af9ba5a83e1e5 /network/opensmtpd
parentf30c6b5cbfcf4f1929c93a8c4208d3b45db5518a (diff)
network/opensmtpd: Fix permissions.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/opensmtpd')
-rw-r--r--network/opensmtpd/opensmtpd.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/network/opensmtpd/opensmtpd.SlackBuild b/network/opensmtpd/opensmtpd.SlackBuild
index f8239c9eadbb..453822f728fa 100644
--- a/network/opensmtpd/opensmtpd.SlackBuild
+++ b/network/opensmtpd/opensmtpd.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for opensmtpd
# Copyright 2013-2014 Robby Workman, Northport, Alabama, USA
-# Copyright 2015-2016 Richard Narron, California, USA
+# Copyright 2015-2018 Richard Narron, California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,7 @@
PRGNAM=opensmtpd
VERSION=${VERSION:-6.0.3p1}
-EXTRAS=${EXTRAS:-5.7.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -119,6 +118,10 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# bug fix thanks to Ed Rozenberg: change group for smtpctl
+chgrp smtpq $PKG/usr/sbin/smtpctl
+chmod 2555 $PKG/usr/sbin/smtpctl
+
# Create nice compat symlinks for sendmail
rm -f $PKG/usr/bin/sendmail $PKG/usr/sbin/sendmail
ln -s smtpctl $PKG/usr/sbin/sendmail