From 97274878390cfdee0865adb087637eed0868fb1f Mon Sep 17 00:00:00 2001 From: Richard Scott Smith Date: Mon, 20 Sep 2010 20:32:32 -0400 Subject: system/samhain: Updated for version 2.7.2b. Signed-off-by: dsomero --- system/samhain/samhain.SlackBuild | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'system/samhain/samhain.SlackBuild') 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 \ -- cgit v1.2.3