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>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-19 18:19:56 +07:00 committed by Robby Workman
parent fccacee639
commit b041c46340
2 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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=""