blob: f4393a8f21ba9a06aaf178bbd124aec56e467ffe (
plain)
1 # Description: File integrity / intrusion detection system
2 # URL: http://la-samhna.de/samhain/
3 # Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
4
5 name=samhain
6 version=2.1.3
7 release=1
8 source=(http://la-samhna.de/$name/${name}_signed-$version.tar.gz)
9
10 build () {
11 tar xfz $name-$version.tar.gz
12 cd $name-$version
13 ./configure --prefix=/usr \
14 --mandir=/usr/man \
15 --localstatedir=/var \
16 --sysconfdir=/etc \
17 --with-log-file=/var/log/samhain.log \
18 --enable-static \
19 --enable-login-watch \
20 --enable-suidcheck \
21 --enable-khide=/boot/System.map \
22 --with-kcheck=/boot/System.map
23 make
24 make DESTDIR=$PKG install
25 rm -r $PKG/var/run
26 touch $PKG/var/log/samhain.log
27 touch $PKG/var/lib/samhain/samhain_file
28 chmod 0640 $PKG/var/log/samhain.log
29 chmod 0640 $PKG/var/lib/samhain/samhain_file
30 }
|