summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/postgrey/postgrey.SlackBuild30
1 files changed, 11 insertions, 19 deletions
diff --git a/network/postgrey/postgrey.SlackBuild b/network/postgrey/postgrey.SlackBuild
index 83d28a84cc..71fa28387f 100644
--- a/network/postgrey/postgrey.SlackBuild
+++ b/network/postgrey/postgrey.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=postgrey
VERSION=${VERSION:-1.34}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -87,36 +87,28 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin
-cp -a \
- policy-test postgrey contrib/postgreyreport \
- $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 \
+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/etc/postfix
-cp -a \
- postgrey_whitelist_clients \
- $PKG/etc/postfix/postgrey_whitelist_clients.new
-cp -a \
- postgrey_whitelist_recipients \
- $PKG/etc/postfix/postgrey_whitelist_recipients.new
+cp -a postgrey_whitelist_clients $PKG/etc/postfix/postgrey_whitelist_clients.new
+cp -a postgrey_whitelist_recipients $PKG/etc/postfix/postgrey_whitelist_recipients.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- COPYING Changes README README.exim \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING Changes README README.exim $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install