summaryrefslogtreecommitdiffstats
path: root/aften
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-06-02 11:03:44 +0000
committer Eric Hameleers <alien@slackware.com>2010-06-02 11:03:44 +0000
commit30b55225db71d9ddf9753661caf7a63a1eb784a6 (patch)
tree11d1cea5e741d175e6079aad9749bc8f6fda864e /aften
parent681524e843a709954050cd1ca545d74c842e4c0c (diff)
downloadasb-30b55225db71d9ddf9753661caf7a63a1eb784a6.tar.gz
asb-30b55225db71d9ddf9753661caf7a63a1eb784a6.tar.xz
Rebuilt for Slackware 13.1
Diffstat (limited to 'aften')
-rwxr-xr-xaften/build/aften.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/aften/build/aften.SlackBuild b/aften/build/aften.SlackBuild
index 12d5bfb9..99ef2eb9 100755
--- a/aften/build/aften.SlackBuild
+++ b/aften/build/aften.SlackBuild
@@ -34,6 +34,8 @@
# * Initial build.
# 0.0.8-2: 30/Jan/2010 by Eric Hameleers <alien@slackware.com>
# * Re-build.
+# 0.0.8-3: 02/jun/2010 by Eric Hameleers <alien@slackware.com>
+# * Rebuilt for Slackware 13.1.
#
# Run 'sh aften.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -45,7 +47,7 @@
PRGNAM=aften
VERSION=${VERSION:-0.0.8}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
@@ -92,6 +94,10 @@ trap 'echo "$0 FAILED at line ${LINENO}" | tee $OUTPUT/error-${PRGNAM}.log' ERR
set -u
P1=${1:-1}
+# Save old umask and set to 0022:
+_UMASK_=$(umask)
+umask 0022
+
# Create working directories:
mkdir -p $OUTPUT # place for the package to be saved
mkdir -p $TMP/tmp-$PRGNAM # location to build the source
@@ -137,7 +143,7 @@ echo "Extracting the source archive(s) for $PRGNAM..."
tar -xvf ${SOURCE}
cd ${PRGNAM}-${VERSION}
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+chmod -R u+w,go+r-w,a+X-s .
echo Building ...
# Since the LIBDIR can not be specified on the cmake commandline:
@@ -181,3 +187,6 @@ md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.tgz > ${PRGNAM}-${VERSION}-${
cd -
cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}${TAG}.txt
+# Restore the original umask:
+umask ${_UMASK_}
+