diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/unhide | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/unhide')
-rw-r--r-- | community/unhide/PKGBUILD | 31 |
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" +} + |