[arch-commits] Commit in chkrootkit/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sat Sep 10 03:50:37 UTC 2011
Date: Friday, September 9, 2011 @ 23:50:36
Author: eric
Revision: 137608
upgpkg: chkrootkit 0.49-2
Add net-tools depends, Add license file, Clean up PKGBUILD
Modified:
chkrootkit/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++------------
1 file changed, 20 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-09-10 03:20:46 UTC (rev 137607)
+++ PKGBUILD 2011-09-10 03:50:36 UTC (rev 137608)
@@ -1,23 +1,31 @@
# $Id$
-# Maintainer: Hugo Doria <hugo at archlinux.org>
-# Contributor: Gregor Ibic <gregor.ibic at intelicom.si>
+# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=chkrootkit
pkgver=0.49
-pkgrel=1
-pkgdesc="Locally checks for signs of a rootkit."
+pkgrel=2
+pkgdesc="Locally checks for signs of a rootkit"
arch=('i686' 'x86_64')
url="http://www.chkrootkit.org"
-depends=('bash')
+depends=('sh' 'net-tools')
license=('BSD')
source=(ftp://ftp.pangeia.com.br/pub/seg/pac/${pkgname}.tar.gz fix-tools-path.patch)
-md5sums=('304d840d52840689e0ab0af56d6d3a18' '6a2f3038114b8b14e1ad74e30fe44eee')
+md5sums=('304d840d52840689e0ab0af56d6d3a18'
+ '6a2f3038114b8b14e1ad74e30fe44eee')
+sha1sums=('cec1a3c482b95b20d3a946b07fffb23290abc4a6'
+ 'f192cda177ec1920ce3313ed983ac44ee571ca6c')
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/"{}" ";"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p0 -i "${srcdir}/fix-tools-path.patch"
+ make
}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ for i in check_wtmpx chkdirs chklastlog chkproc chkrootkit chkrootkit.orig \
+ chkutmp chkwtmp ifpromisc strings-static ; do
+ install -D -m755 $i "${pkgdir}/usr/bin/$i"
+ done
+ install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list