summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodex <aurelien@hackers.camp>2014-12-11 16:21:42 +0100
committercodex <aurelien@hackers.camp>2014-12-11 16:21:42 +0100
commit3caeb7ee5cdaa039f21c1ece1cf9f21139ab3002 (patch)
treef7b807380bc97033253e56af11cb79c1c7f16496
parent8f386b1620ef0fa27d0eff994ade78ee5ddf5d84 (diff)
rootkit detection and system auditing software
-rw-r--r--pcr/rootcheck/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/rootcheck/PKGBUILD b/pcr/rootcheck/PKGBUILD
new file mode 100644
index 000000000..89ccefda7
--- /dev/null
+++ b/pcr/rootcheck/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer : Aurelien Desbrieres <aurelien@hackers.camp>
+# Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com>
+
+pkgname=rootcheck
+pkgver=2.4
+pkgrel=2
+pkgdesc="an open source rootkit detection and system auditing software"
+arch=(i686 x86_64)
+url="http://www.ossec.net/main/rootcheck"
+license=("GPL")
+source=(http://www.ossec.net/rootcheck/files/rootcheck-$pkgver.tar.gz)
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|./rootcheck.conf|/etc/rootcheck.conf|' src/rootcheck/rootcheck.c
+ make all
+ sed -i 's|./db/|/usr/share/rootcheck/db/|' rootcheck.conf
+ mkdir -p $pkgdir/{etc,usr/share/rootcheck,usr/bin}
+ install -m 755 ossec-rootcheck $pkgdir/usr/bin
+ install -m 644 rootcheck.conf $pkgdir/etc
+ cp -a db $pkgdir/usr/share/rootcheck
+}
+