opt/samhain/Pkgfile

32 lines
893 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: File integrity / intrusion detection system
# URL: http://la-samhna.de/samhain/
2008-07-11 09:29:19 +02:00
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
2006-02-23 16:26:10 +01:00
name=samhain
2008-08-29 12:20:39 +02:00
version=2.4.6
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
2008-01-18 13:17:06 +01:00
make -j1
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
2008-08-24 11:29:12 +02:00
2006-02-23 16:26:10 +01:00
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
}