aboutsummaryrefslogtreecommitdiff
path: root/network/postfix/postfix.SlackBuild
diff options
context:
space:
mode:
authorAlan_Hicks <alan@lizella.net>2010-05-11 19:45:59 +0200
committerAlan Hicks <alan@lizella.net>2010-05-11 19:45:59 +0200
commitdec55cf35bbe52838bca50481c62e5db09698f3a (patch)
treedcdbd3a1a7c5a5807fac47e61ebcf752286a432b /network/postfix/postfix.SlackBuild
parent99d22672db22dfde65b4d4dc3794ee65bf0fd2a9 (diff)
network/postfix: Updated for version 2.4.1
Diffstat (limited to 'network/postfix/postfix.SlackBuild')
-rw-r--r--network/postfix/postfix.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/postfix/postfix.SlackBuild b/network/postfix/postfix.SlackBuild
index 1202678173bbb..bb481e1c10c3c 100644
--- a/network/postfix/postfix.SlackBuild
+++ b/network/postfix/postfix.SlackBuild
@@ -26,7 +26,7 @@ VERSION="2.4.1"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=$(pwd)
+CWD=`pwd`
TMP=${TMP:-/tmp/SBo}
PKG="$TMP/pkg-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
@@ -109,7 +109,7 @@ if echo $line | grep -v "^#" 2>&1 > /dev/null; then
GROUP="$(echo $line | awk -F: '{ print $4 }')"
PERMS="$(echo $line | awk -F: '{ print $5 }')"
- # skip this iteration if the line we're fed is no good
+ # skip this interation if the line we're fed is no good
if [ "$TYPE" = "h" ]; then
continue
elif [ "$TYPE" = "l" ]; then
@@ -215,7 +215,8 @@ install -m 0755 $CWD/rc.postfix $PKG/etc/rc.d/rc.postfix.new
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
-# Strip binaries and libraries
+# Strip binaries and libraries - this can be done with 'make install-strip'
+# in many source trees, and that's preferable if so, but if not, use this
find $PKG -type f | (while read LINE; do
if file $LINE | egrep "ELF.*(executable|shared object).*not stripped" &> /dev/null; then
strip $LINE