aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-10 03:14:07 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:39 +0700
commit1af3a9ecce380c9502664ea4f4d3d5fbfc7a1af1 (patch)
tree514a502b948e4e2590e55f1ad0f6c69b7fb803fd /system
parentb6aae795332e243157382512a1329c5a66b35705 (diff)
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>
Diffstat (limited to 'system')
-rw-r--r--system/samhain/samhain.SlackBuild16
-rw-r--r--system/samhain/samhain.info6
2 files changed, 11 insertions, 11 deletions
diff --git a/system/samhain/samhain.SlackBuild b/system/samhain/samhain.SlackBuild
index f99e7fa9390a0..6e1481b687f05 100644
--- a/system/samhain/samhain.SlackBuild
+++ b/system/samhain/samhain.SlackBuild
@@ -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
diff --git a/system/samhain/samhain.info b/system/samhain/samhain.info
index 230fc87f9a77e..cc157e95cbb67 100644
--- a/system/samhain/samhain.info
+++ b/system/samhain/samhain.info
@@ -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=""