33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
|
# Description: File integrity / intrusion detection system
|
|||
|
# URL: http://la-samhna.de/samhain/
|
|||
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
|||
|
|
|||
|
name=samhain
|
|||
|
version=2.1.2
|
|||
|
release=1
|
|||
|
source=(http://la-samhna.de/$name/${name}_signed-$version.tar.gz
|
|||
|
samhain_hide.patch)
|
|||
|
|
|||
|
build () {
|
|||
|
tar xfz $name-$version.tar.gz
|
|||
|
cd $name-$version
|
|||
|
patch -p1 < $SRC/samhain_hide.patch
|
|||
|
./configure --prefix=/usr \
|
|||
|
--mandir=/usr/man \
|
|||
|
--localstatedir=/var \
|
|||
|
--sysconfdir=/etc \
|
|||
|
--with-log-file=/var/log/samhain.log \
|
|||
|
--enable-static \
|
|||
|
--enable-login-watch \
|
|||
|
--enable-suidcheck \
|
|||
|
--enable-khide=/boot/System.map \
|
|||
|
--with-kcheck=/boot/System.map
|
|||
|
make
|
|||
|
make DESTDIR=$PKG install
|
|||
|
rm -r $PKG/var/run
|
|||
|
touch $PKG/var/log/samhain.log
|
|||
|
touch $PKG/var/lib/samhain/samhain_file
|
|||
|
chmod 0640 $PKG/var/log/samhain.log
|
|||
|
chmod 0640 $PKG/var/lib/samhain/samhain_file
|
|||
|
}
|