summaryrefslogtreecommitdiff
path: root/network/hiawatha/hiawatha.SlackBuild
diff options
context:
space:
mode:
authorAntonio Hernández Blas <hba.nihilismus@gmail.com>2011-05-31 23:01:19 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:33:39 -0400
commitc5137b75f202ae38907001d5e98f1a4d0b13d3c6 (patch)
tree5462d90e6aea665b64b781ae247068a5934fec24 /network/hiawatha/hiawatha.SlackBuild
parent8ded3a301541221fc4249cb4ebfb19b80c590fd4 (diff)
downloadslackbuilds-c5137b75f202ae38907001d5e98f1a4d0b13d3c6.tar.gz
network/hiawatha: Updated for version 7.4.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/hiawatha/hiawatha.SlackBuild')
-rw-r--r--network/hiawatha/hiawatha.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/network/hiawatha/hiawatha.SlackBuild b/network/hiawatha/hiawatha.SlackBuild
index da6bf8a54a..720989c388 100644
--- a/network/hiawatha/hiawatha.SlackBuild
+++ b/network/hiawatha/hiawatha.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hiawatha
-# Copyright (c) 2009-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com>
+# Copyright (c) 2009-2011, Antonio Hernández Blas <hba.nihilismus@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -22,7 +22,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hiawatha
-VERSION=${VERSION:-7.4}
+VERSION=${VERSION:-7.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,6 +68,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Workaround, when configure is executed it spits this message:
+# WARNING: `aclocal-1.10' is missing on your system.
+#find . -type f -exec touch {} \;
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -90,7 +94,7 @@ mkdir -p $PKG/etc/rc.d/
install -m 0644 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM
install -m 0644 $CWD/rc.php-fcgi $PKG/etc/rc.d/rc.php-fcgi
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
if [ -d $PKG/usr/man ]; then
@@ -117,6 +121,7 @@ done
# Add *.new files into doinst.sh
for file in $(find $PKG/etc -type f -name "*.new")
do
+ echo preserve_perms $(echo $file | sed "s:$PKG/::") >> $PKG/install/doinst.sh
echo config $(echo $file | sed "s:$PKG/::") >> $PKG/install/doinst.sh
done