From 485e96ba62a0ba9c7a9ff95f16bf62deb1009926 Mon Sep 17 00:00:00 2001 From: Richard Narron Date: Mon, 5 Mar 2018 07:42:29 +0700 Subject: network/opensmtpd: Fix permissions. Signed-off-by: Willy Sudiarto Raharjo --- network/opensmtpd/opensmtpd.SlackBuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'network/opensmtpd') 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 -- cgit v1.2.3