1 # Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
6 pkgdesc="an open source rootkit detection and system auditing software"
8 url="http://www.ossec.net/main/rootcheck"
10 source=(http://www.ossec.net/rootcheck/files/rootcheck-$pkgver.tar.gz)
11 md5sums=('d7c1afc8026a6a073147e322058ea6bd')
14 cd $srcdir/$pkgname-$pkgver
15 sed -i 's|./rootcheck.conf|/etc/rootcheck.conf|' src/rootcheck/rootcheck.c
17 sed -i 's|./db/|/usr/share/rootcheck/db/|' rootcheck.conf
18 mkdir -p $pkgdir/{etc,usr/share/rootcheck,usr/bin}
19 install -m 755 ossec-rootcheck $pkgdir/usr/bin
20 install -m 644 rootcheck.conf $pkgdir/etc
21 cp -a db $pkgdir/usr/share/rootcheck