summaryrefslogtreecommitdiff
path: root/community/unhide/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
commitcebf33d7109e0157a80f34d6136e212f0a28d274 (patch)
treea6464302c970f72581105b50ff0896e1f56def3d /community/unhide/PKGBUILD
parent1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff)
parent5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'community/unhide/PKGBUILD')
-rw-r--r--community/unhide/PKGBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/community/unhide/PKGBUILD b/community/unhide/PKGBUILD
index 598623562..18f16e8f4 100644
--- a/community/unhide/PKGBUILD
+++ b/community/unhide/PKGBUILD
@@ -1,31 +1,31 @@
-# $Id: PKGBUILD 66390 2012-02-24 12:30:25Z lfleischer $
+# $Id: PKGBUILD 92031 2013-05-30 23:43:09Z seblu $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
pkgname=unhide
-pkgver=20110113
-pkgrel=3
+pkgver=20130526
+pkgrel=1
pkgdesc='A forensic tool to find processes hidden by rootkits, LKMs or by other techniques.'
arch=('i686' 'x86_64' 'mips64el')
-url='http://www.unhide-forensics.info/'
+url='http://sourceforge.net/projects/unhide/'
license=('GPL3')
-source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tgz")
-md5sums=('0dff8ee5029615f1f81db96dcf6758f7')
+depends=('iproute2' 'lsof' 'psmisc' 'net-tools' 'procps-ng')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tgz")
+md5sums=('f3d68ed8eb239614abb0ff5ace22cf85')
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
+ 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 "${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"
+ 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"
}