2006-02-23 16:26:10 +01: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 16:26:10 +01:00
|
|
|
|
|
|
|
name=samhain
|
2015-11-02 10:18:17 +01:00
|
|
|
version=4.1.1
|
2006-02-23 16:26:10 +01: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 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
tar xfz $name-$version.tar.gz
|
2008-08-24 11:29:12 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--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 16:26:10 +01:00
|
|
|
make DESTDIR=$PKG install
|
2008-08-24 11:29:12 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
rm -r $PKG/var/run
|
|
|
|
touch $PKG/var/log/samhain.log
|
|
|
|
chmod 0640 $PKG/var/log/samhain.log
|
|
|
|
}
|