1 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
6 pkgdesc='A forensic tool to find processes and TCP/UDP ports hidden by rootkits, LKMs or by other techniques.'
8 url='http://www.unhide-forensics.info/'
10 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tgz")
11 md5sums=('0dff8ee5029615f1f81db96dcf6758f7')
14 cd "${srcdir}/${pkgname}-${pkgver}"
16 cc -Os -static unhide.c -o unhide-posix
17 cc -Os -static -pthread unhide-linux26.c -o unhide-linux26
18 cc -Os -static unhide-tcp.c -o unhide-tcp
22 cd "${srcdir}/${pkgname}-${pkgver}"
24 install -Dm0755 unhide-posix "${pkgdir}/usr/sbin/unhide-posix"
25 install -Dm0755 unhide-linux26 "${pkgdir}/usr/sbin/unhide-linux26"
26 install -Dm0755 unhide-tcp "${pkgdir}/usr/sbin/unhide-tcp"
27 ln -fs ./unhide-linux26 "${pkgdir}/usr/sbin/unhide"
28 install -Dm0644 man/unhide.8 "${pkgdir}/usr/share/man/man8/unhide.8"