From 5b14a05112d7a55997bb45fa3707e47266ddc6ad Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Fri, 7 Aug 2020 23:10:55 -0500 Subject: network/postgrey: Updated for version 1.37. Signed-off-by: Robby Workman Signed-off-by: Willy Sudiarto Raharjo --- network/postgrey/postgrey.SlackBuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'network/postgrey/postgrey.SlackBuild') diff --git a/network/postgrey/postgrey.SlackBuild b/network/postgrey/postgrey.SlackBuild index 71fa28387f..0c68baf620 100644 --- a/network/postgrey/postgrey.SlackBuild +++ b/network/postgrey/postgrey.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=postgrey -VERSION=${VERSION:-1.34} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.37} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -96,12 +96,15 @@ mkdir -p $PKG/usr/bin cp -a policy-test postgrey contrib/postgreyreport $PKG/usr/bin mkdir -p $PKG/etc/rc.d +sed -e s/%POSTGREYUSR%/$POSTGREYUSR/g \ + -e s/%POSTGREYGRP%/$POSTGREYGRP/g \ + $CWD/postgrey.conf > $PKG/etc/postgrey.conf.new sed -e s/%POSTGREYUSR%/$POSTGREYUSR/g \ -e s/%POSTGREYGRP%/$POSTGREYGRP/g \ $CWD/rc.postgrey > $PKG/etc/rc.d/rc.postgrey.new -mkdir -p $PKG/var/{lib,run}/postgrey -chown $POSTGREYUSR.$POSTGREYGRP $PKG/var/lib/postgrey $PKG/var/run/postgrey +mkdir -p $PKG/var/lib/postgrey +chown ${POSTGREYUSR}:${POSTGREYGRP} $PKG/var/lib/postgrey mkdir -p $PKG/etc/postfix cp -a postgrey_whitelist_clients $PKG/etc/postfix/postgrey_whitelist_clients.new -- cgit v1.2.3