diff options
Diffstat (limited to 'extra/chkrootkit/PKGBUILD')
-rw-r--r-- | extra/chkrootkit/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/chkrootkit/PKGBUILD b/extra/chkrootkit/PKGBUILD new file mode 100644 index 000000000..452897490 --- /dev/null +++ b/extra/chkrootkit/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 52041 2009-09-14 15:18:27Z giovanni $ +# Maintainer: Hugo Doria <hugo@archlinux.org> +# Contributor: Gregor Ibic <gregor.ibic@intelicom.si> + +pkgname=chkrootkit +pkgver=0.49 +pkgrel=1 +pkgdesc="Locally checks for signs of a rootkit." +arch=('i686' 'x86_64' 'mips64el') +url="http://www.chkrootkit.org" +depends=('bash') +license=('BSD') +source=(ftp://ftp.pangeia.com.br/pub/seg/pac/${pkgname}.tar.gz fix-tools-path.patch) +md5sums=('304d840d52840689e0ab0af56d6d3a18' '6a2f3038114b8b14e1ad74e30fe44eee') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + patch -p0 < ${srcdir}/fix-tools-path.patch + chown root:root * + make sense || return 1 + find ${srcdir}/${pkgname}-${pkgver} -perm /u+x -type f \ + -execdir install -D -m755 "{}" ${pkgdir}/usr/bin/"{}" ";" + install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt +} |