diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2020-08-07 23:10:55 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-08-29 10:08:38 +0700 |
commit | 5b14a05112d7a55997bb45fa3707e47266ddc6ad (patch) | |
tree | 0cf41b6a9f199b4d5cf73feb1990fb2d92c5f8bc /network/postgrey/postgrey.SlackBuild | |
parent | c5e55399a0f7319a4d121b903c771474e992ac4d (diff) |
network/postgrey: Updated for version 1.37.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/postgrey/postgrey.SlackBuild')
-rw-r--r-- | network/postgrey/postgrey.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/network/postgrey/postgrey.SlackBuild b/network/postgrey/postgrey.SlackBuild index 71fa28387f4ca..0c68baf620ce5 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 @@ -98,10 +98,13 @@ 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 |