aboutsummaryrefslogtreecommitdiff
path: root/system/samhain
diff options
context:
space:
mode:
Diffstat (limited to 'system/samhain')
-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=""