summaryrefslogtreecommitdiffstats
path: root/network/opensmtpd
diff options
context:
space:
mode:
author Richard Narron <richard@aaazen.com>2018-03-05 07:42:29 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-05 07:42:29 +0700
commit799a3d8fc6eaa56137d5870ccc7e048453a6c6be (patch)
treefcaef31aac7c06de20039f0980203761364be9e2 /network/opensmtpd
parentf3278ec9e6441acdfd875aa5d23b011eac34704f (diff)
downloadslackbuilds-799a3d8fc6eaa56137d5870ccc7e048453a6c6be.tar.gz
slackbuilds-799a3d8fc6eaa56137d5870ccc7e048453a6c6be.tar.xz
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 f8239c9ead..453822f728 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