summaryrefslogtreecommitdiff
path: root/community/unhide
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-20 23:14:32 +0000
committerroot <root@rshg054.dnsready.net>2011-08-20 23:14:32 +0000
commit839141249778baa4dba0f0511c52b5eded3cd934 (patch)
tree6c3df2941048911b4126ea70a46816110bddf514 /community/unhide
parentc6a4d3790fc33558d9af322dac15d2bd6d34ac0b (diff)
Sat Aug 20 23:14:32 UTC 2011
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..c825f5e48
--- /dev/null
+++ b/community/unhide/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 54495 2011-08-19 08:09:31Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+pkgname=unhide
+pkgver=20110113
+pkgrel=2
+pkgdesc='A forensic tool to find processes hidden by rootkits, LKMs or by other techniques.'
+arch=('i686' 'x86_64')
+url='http://www.unhide-forensics.info/'
+license=('GPL3')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tgz")
+md5sums=('0dff8ee5029615f1f81db96dcf6758f7')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cc -Os -static unhide.c -o unhide-posix
+ cc -Os -static -pthread unhide-linux26.c -o unhide-linux26
+ cc -Os -static unhide-tcp.c -o unhide-tcp
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -Dm0755 unhide-posix "${pkgdir}/usr/sbin/unhide-posix"
+ install -Dm0755 unhide-linux26 "${pkgdir}/usr/sbin/unhide-linux26"
+ install -Dm0755 unhide-tcp "${pkgdir}/usr/sbin/unhide-tcp"
+ ln -fs ./unhide-linux26 "${pkgdir}/usr/sbin/unhide"
+ install -Dm0644 man/unhide.8 "${pkgdir}/usr/share/man/man8/unhide.8"
+}
+