[arch-commits] CVS update of extra/system/chkrootkit (PKGBUILD chkrootkit.install)

Juergen Hoetzel juergen at archlinux.org
Sat Jan 19 10:07:16 UTC 2008


    Date: Saturday, January 19, 2008 @ 05:07:16
  Author: juergen
    Path: /home/cvs-extra/extra/system/chkrootkit

Modified: PKGBUILD (1.10 -> 1.11)
 Removed: chkrootkit.install (1.1)

upgpkg: chkrootkit 0.48-1 Implemented Task: Kill /opt


--------------------+
 PKGBUILD           |   16 +++++++---------
 chkrootkit.install |   21 ---------------------
 2 files changed, 7 insertions(+), 30 deletions(-)


Index: extra/system/chkrootkit/PKGBUILD
diff -u extra/system/chkrootkit/PKGBUILD:1.10 extra/system/chkrootkit/PKGBUILD:1.11
--- extra/system/chkrootkit/PKGBUILD:1.10	Tue Oct 31 14:14:42 2006
+++ extra/system/chkrootkit/PKGBUILD	Sat Jan 19 05:07:16 2008
@@ -1,24 +1,22 @@
-# $Id: PKGBUILD,v 1.10 2006/10/31 19:14:42 juergen Exp $
+# $Id: PKGBUILD,v 1.11 2008/01/19 10:07:16 juergen Exp $
 # Maintainer: Juergen Hoetzel <juergen at archlinux.org>
 # Contributor: Gregor Ibic <gregor.ibic at intelicom.si>
 
 pkgname=chkrootkit
-pkgver=0.47
+pkgver=0.48
 pkgrel=1
 pkgdesc="Locally checks for signs of a rootkit."
 arch=(i686 x86_64)
 url="http://www.chkrootkit.org"
 depends=('bash')
-source=(ftp://ftp.pangeia.com.br/pub/seg/pac/$pkgname.tar.gz)
-md5sums=('4c6455d202cef35395a673386e4bf01a')
-install="$pkgname.install"
+license=('BSD')
+source=(ftp://ftp.pangeia.com.br/pub/seg/pac/${pkgname}-${pkgver}.tar.gz)
+md5sums=('de8b8b5013e7faa2b66c0e33c59677e8')
 
 build() {
   cd $startdir/src/$pkgname-$pkgver
   chown root:root *
   make sense || return 1
-  for i in check_wtmpx chkdirs chklastlog chkproc chkwtmp \
-           ifpromisc strings-static chkrootkit chkutmp; do
-    install -D -m755 $i $startdir/pkg/opt/chkrootkit/$i
-  done
+  find $startdir/src/$pkgname-$pkgver -perm /u+x -type f \
+    -execdir install -D -m755 "{}" $startdir/pkg/usr/bin/"{}" ";"
 }
Index: extra/system/chkrootkit/chkrootkit.install
diff -u extra/system/chkrootkit/chkrootkit.install:1.1 extra/system/chkrootkit/chkrootkit.install:removed
--- extra/system/chkrootkit/chkrootkit.install:1.1	Wed Jan 14 13:30:04 2004
+++ extra/system/chkrootkit/chkrootkit.install	Sat Jan 19 05:07:16 2008
@@ -1,21 +0,0 @@
-post_install() {
-  cat << EOF
-
-Check out the /opt/chkrootkit directory, run chkrootkit as root this way:
-  # ./chkrootkit
-
-EOF
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  /bin/true
-}
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list