summaryrefslogtreecommitdiff
path: root/community/unhide
diff options
context:
space:
mode:
Diffstat (limited to 'community/unhide')
-rw-r--r--community/unhide/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/unhide/PKGBUILD b/community/unhide/PKGBUILD
new file mode 100644
index 000000000..04f43703e
--- /dev/null
+++ b/community/unhide/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 92031 2013-05-30 23:43:09Z seblu $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+pkgname=unhide
+pkgver=20130526
+pkgrel=1
+pkgdesc='A forensic tool to find processes hidden by rootkits, LKMs or by other techniques.'
+arch=('i686' 'x86_64')
+url='http://sourceforge.net/projects/unhide/'
+license=('GPL3')
+depends=('iproute2' 'lsof' 'psmisc' 'net-tools' 'procps-ng')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tgz")
+md5sums=('f3d68ed8eb239614abb0ff5ace22cf85')
+
+build() {
+ cd $pkgname-$pkgver
+ cc -Wall -O2 --static -pthread unhide-linux*.c unhide-output.c -o unhide-linux
+ cc -Wall -O2 --static unhide_rb.c -o unhide_rb
+ cc -Wall -O2 --static unhide-posix.c -o unhide-posix
+ cc -Wall -O2 --static unhide-tcp.c unhide-tcp-fast.c unhide-output.c -o unhide-tcp
+}
+
+package() {
+ cd $pkgname-$pkgver
+ for _p in unhide-linux unhide-posix unhide_rb unhide-tcp; do
+ install -Dm0755 "$_p" "$pkgdir/usr/bin/$_p"
+ done
+ ln -s unhide-linux "$pkgdir/usr/bin/unhide"
+ install -Dm0644 man/unhide.8 "$pkgdir/usr/share/man/man8/unhide.8"
+}
+