From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/unhide/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/unhide/PKGBUILD (limited to 'community/unhide') 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 + +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" +} + -- cgit v1.2.3-54-g00ecf