system/samhain: Updated for version 4.4.6.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-10 03:14:07 -05:00 committed by Willy Sudiarto Raharjo
parent b6aae79533
commit 1af3a9ecce
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 11 additions and 11 deletions

View File

@ -22,25 +22,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220210 bkw: Modified by SlackBuilds.org: updated to latest version
# because the old version wouldn't build on 15.0.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=samhain
VERSION=${VERSION:-4.2.4}
VERSION=${VERSION:-4.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -97,7 +97,7 @@ make install DESTDIR=$PKG
mv $PKG/etc/samhainrc $PKG/etc/samhainrc.new
# No need for /var/log and /var/run directories here
rmdir $PKG/var/log $PKG/var/run
rm -rf $PKG/var/log $PKG/var/run
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

View File

@ -1,8 +1,8 @@
PRGNAM="samhain"
VERSION="4.2.4"
VERSION="4.4.6"
HOMEPAGE="http://www.la-samhna.de/"
DOWNLOAD="http://www.la-samhna.de/archive/samhain_signed-4.2.4.tar.gz"
MD5SUM="08863fad583acc7293ef29b4528c837e"
DOWNLOAD="http://www.la-samhna.de/archive/samhain_signed-4.4.6.tar.gz"
MD5SUM="d04db91f2d169c39e7649a17615083e1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""