diff options
Diffstat (limited to 'system/samhain/samhain.SlackBuild')
-rw-r--r-- | system/samhain/samhain.SlackBuild | 20 |
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 \ |