summaryrefslogtreecommitdiff
path: root/system/samhain/samhain.SlackBuild
diff options
context:
space:
mode:
authorRichard Scott Smith <pilbender@gmail.com>2010-09-20 20:32:32 -0400
committerRobby Workman <rworkman@slackbuilds.org>2010-09-21 22:09:44 -0500
commit97274878390cfdee0865adb087637eed0868fb1f (patch)
treedd4517f9d1e7d8eb7c7f0190d9b7a6ce5c1ff70d /system/samhain/samhain.SlackBuild
parent232f73a605fb7944dbbc7f4fcbd541e883436e00 (diff)
downloadslackbuilds-97274878390cfdee0865adb087637eed0868fb1f.tar.gz
system/samhain: Updated for version 2.7.2b.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/samhain/samhain.SlackBuild')
-rw-r--r--system/samhain/samhain.SlackBuild20
1 files changed, 5 insertions, 15 deletions
diff --git a/system/samhain/samhain.SlackBuild b/system/samhain/samhain.SlackBuild
index 0b82840796..db2327ea82 100644
--- a/system/samhain/samhain.SlackBuild
+++ b/system/samhain/samhain.SlackBuild
@@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=samhain
-VERSION=2.6.1b
+VERSION=2.7.2b
BUILD=${BUILD:-1}
-TAG=${OUTPUT:-_SBo}
+TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -81,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Stripping does not seem to work for 32 bit builds.
# Don't clobber the config file
mv $PKG/etc/samhainrc $PKG/etc/samhainrc.new
@@ -88,19 +89,8 @@ mv $PKG/etc/samhainrc $PKG/etc/samhainrc.new
# No need for /var/log and /var/run directories here
rmdir $PKG/var/{log,run}
-# Stripping does not seem to work for 32 bit builds. Commenting it out
-# until I can find a reason or answer. Richard Scott Smith, 1-3-2010
-#( cd $PKG
-# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
-# xargs strip --strip-unneeded 2> /dev/null || true
-# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
-# xargs strip --strip-unneeded 2> /dev/null || true
-#)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING LICENSE README \