aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-19 18:19:56 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-19 15:23:14 -0600
commitb041c46340c8dff4f06b1628c11658d1452aca85 (patch)
tree744eb3f6729c97cd752edf2f24132e94f5c4930f /system
parentfccacee639f0ceec8855240e17170c3bff1e034f (diff)
system/samhain: Updated for version 3.1.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/samhain/samhain.SlackBuild14
-rw-r--r--system/samhain/samhain.info4
2 files changed, 9 insertions, 9 deletions
diff --git a/system/samhain/samhain.SlackBuild b/system/samhain/samhain.SlackBuild
index d5d2d9103d09..3231f84bc5c8 100644
--- a/system/samhain/samhain.SlackBuild
+++ b/system/samhain/samhain.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=samhain
-VERSION=2.8.3a
+VERSION=${VERSION:-3.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -62,18 +60,21 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -f $PRGNAM-$VERSION.tar.gz{,.asc}
-tar xf $CWD/$PRGNAM-current.tar.gz
+tar xvf $CWD/$PRGNAM-current.tar.gz
rm -rf $PRGNAM-$VERSION
tar xvf $PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -81,7 +82,6 @@ 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
diff --git a/system/samhain/samhain.info b/system/samhain/samhain.info
index 85b40ed477dc..3a0a95d786b6 100644
--- a/system/samhain/samhain.info
+++ b/system/samhain/samhain.info
@@ -1,8 +1,8 @@
PRGNAM="samhain"
-VERSION="2.8.3a"
+VERSION="3.1.0"
HOMEPAGE="http://www.la-samhna.de/"
DOWNLOAD="http://www.la-samhna.de/samhain/samhain-current.tar.gz"
-MD5SUM="9885c093ab7e8d63be9ed6aaedf28138"
+MD5SUM="a621678f0e97fec612e63864b4d1e9d2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""