system/samhain: Updated for version 2.7.2b.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Richard Scott Smith 2010-09-20 20:32:32 -04:00 committed by Robby Workman
parent 232f73a605
commit 9727487839
3 changed files with 15 additions and 25 deletions

View File

@ -1,10 +1,10 @@
The samhain open source host-based intrusion detection system (HIDS) provides
file integrity checking and logfile monitoring/analysis, as well as rootkit
detection, port monitoring, detection of rogue SUID executables, and hidden
processes.
The samhain open source host-based intrusion detection system (HIDS)
provides file integrity checking and logfile monitoring/analysis, as
well as rootkit detection, port monitoring, detection of rogue SUID
executables, and hidden processes.
It has been designed to monitor multiple hosts with potentially different
operating systems, providing centralized logging and maintenance, although it
can also be used as standalone application on a single host.
It has been designed to monitor multiple hosts with potentially different
operating systems, providing centralized logging and maintenance,
although it can also be used as standalone application on a single host.
See README.SLACKWARE for setup and configuration information.

View File

@ -23,9 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=samhain
VERSION=2.6.1b
VERSION=2.7.2b
BUILD=${BUILD:-1}
TAG=${OUTPUT:-_SBo}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@ -81,6 +81,7 @@ 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
@ -88,19 +89,8 @@ mv $PKG/etc/samhainrc $PKG/etc/samhainrc.new
# No need for /var/log and /var/run directories here
rmdir $PKG/var/{log,run}
# Stripping does not seem to work for 32 bit builds. Commenting it out
# until I can find a reason or answer. Richard Scott Smith, 1-3-2010
#( cd $PKG
# find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
# xargs strip --strip-unneeded 2> /dev/null || true
# find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
# xargs strip --strip-unneeded 2> /dev/null || true
#)
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING LICENSE README \

View File

@ -1,10 +1,10 @@
PRGNAM="samhain"
VERSION="2.6.1b"
VERSION="2.7.2b"
HOMEPAGE="http://www.la-samhna.de/"
DOWNLOAD="http://www.la-samhna.de/samhain/samhain-current.tar.gz"
MD5SUM="eb0f2645829174e0223b542f8b2333cf"
MD5SUM="db070a0a4d1093c5cb9f9c2f303e3bbf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Richard Scott Smith"
EMAIL="pilbender@gmail.com"
APPROVED="rworkman"
APPROVED="dsomero"