updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / unhide / PKGBUILD
bloba5826a3d98305fb8750e958c299329282eab75ff
1 # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
3 pkgname=unhide
4 pkgver=20110113
5 pkgrel=1
6 pkgdesc='A forensic tool to find processes and TCP/UDP ports hidden by rootkits, LKMs or by other techniques.'
7 arch=('i686' 'x86_64')
8 url='http://www.unhide-forensics.info/'
9 license=('GPL3')
10 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tgz")
11 md5sums=('0dff8ee5029615f1f81db96dcf6758f7')
13 build() {
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
21 package() {
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"