blob: a8b35e112dfb678cc29be955efc150c35046815d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id: PKGBUILD 66390 2012-02-24 12:30:25Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
pkgname=unhide
pkgver=20110113
pkgrel=3
pkgdesc='A forensic tool to find processes hidden by rootkits, LKMs or by other techniques.'
arch=('i686' 'x86_64')
url='http://www.unhide-forensics.info/'
license=('GPL3')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}.tgz")
md5sums=('0dff8ee5029615f1f81db96dcf6758f7')
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
}
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"
}
|