diff options
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 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 @@ -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 |