opt/samhain/Pkgfile

28 lines
739 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/
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
2020-03-09 13:58:18 +01:00
version=4.4.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 \
--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
}