diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/chkrootkit/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
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..e47387bcc --- /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') +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 +} |