2006-02-23 15:26:10 +00:00
|
|
|
# Description: File integrity / intrusion detection system
|
|
|
|
# URL: http://la-samhna.de/samhain/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=samhain
|
2020-08-01 15:24:30 +02:00
|
|
|
version=4.4.2
|
2006-02-23 15:26:10 +00:00
|
|
|
release=1
|
2006-11-04 17:43:59 +01:00
|
|
|
source=(http://la-samhna.de/archive/${name}_signed-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
tar xfz $name-$version.tar.gz
|
2008-08-24 11:29:12 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--with-log-file=/var/log/samhain.log \
|
|
|
|
--enable-static \
|
|
|
|
--enable-login-watch \
|
2007-04-03 18:37:24 +02:00
|
|
|
--enable-suidcheck
|
2009-09-11 10:48:52 +02:00
|
|
|
make
|
2006-02-23 15:26:10 +00:00
|
|
|
make DESTDIR=$PKG install
|
2008-08-24 11:29:12 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
rm -r $PKG/var/run
|
|
|
|
touch $PKG/var/log/samhain.log
|
|
|
|
chmod 0640 $PKG/var/log/samhain.log
|
|
|
|
}
|