pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/chkrootkit add licensing info



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6909d1bc668
branches:  trunk
changeset: 572383:f6909d1bc668
user:      agc <agc%pkgsrc.org@localhost>
date:      Thu Feb 25 07:15:42 2010 +0000

description:
add licensing info

modern NetBSD has PAM - add a patch so that this is recognised

there is no reason not to run this on modern NetBSD systems - remove the
old NOT_FOR_PLATFORM, since this runs just fine on NetBSD 5.99.20

diffstat:

 security/chkrootkit/Makefile         |   6 +++---
 security/chkrootkit/distinfo         |   3 ++-
 security/chkrootkit/patches/patch-ad |  24 ++++++++++++++++++++++++
 3 files changed, 29 insertions(+), 4 deletions(-)

diffs (75 lines):

diff -r 2fbfc28eb676 -r f6909d1bc668 security/chkrootkit/Makefile
--- a/security/chkrootkit/Makefile      Thu Feb 25 06:56:23 2010 +0000
+++ b/security/chkrootkit/Makefile      Thu Feb 25 07:15:42 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2010/01/27 22:14:55 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2010/02/25 07:15:42 agc Exp $
 #
 
 DISTNAME=              chkrootkit-0.47
@@ -9,13 +9,13 @@
 MAINTAINER=            pancake%phreaker.net@localhost
 HOMEPAGE=              http://www.chkrootkit.org/
 COMMENT=               Locally checks for signs of a rootkit
+LICENSE=               modified-bsd
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_TOOLS+=            gmake
 NO_CONFIGURE=          yes
-NOT_FOR_PLATFORM=      NetBSD-[2-9]*-*
 
 PROGRAMS=      chkdirs chklastlog chkproc chkwtmp ifpromisc strings-static \
                chkutmp
@@ -50,7 +50,7 @@
 MAKE_ENV+=     STATIC="-static"
 .endif
 
-INSTALLATION_DIRS+=    bin share/doc/chkrootkit
+INSTALLATION_DIRS+=    bin ${DOCDIR}
 
 do-install:
        cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGRAMS} ${DESTDIR}${PREFIX}/bin
diff -r 2fbfc28eb676 -r f6909d1bc668 security/chkrootkit/distinfo
--- a/security/chkrootkit/distinfo      Thu Feb 25 06:56:23 2010 +0000
+++ b/security/chkrootkit/distinfo      Thu Feb 25 07:15:42 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2007/07/11 20:16:33 adrianp Exp $
+$NetBSD: distinfo,v 1.9 2010/02/25 07:15:42 agc Exp $
 
 SHA1 (chkrootkit-0.47.tar.gz) = ef9ba1208572662a0da51dc284de550bf6378143
 RMD160 (chkrootkit-0.47.tar.gz) = 291746f60d0cc3bcf0e63387f3d7ff16a4215d17
@@ -6,3 +6,4 @@
 SHA1 (patch-aa) = ec157bfa68f41e97e3deebc7651bd9de4679eb3a
 SHA1 (patch-ab) = 109a43494bda8d0966164b7684f63a6a83f2d829
 SHA1 (patch-ac) = 3e2f5dd9d7f38e0eddc5b43a1a74b880ea296fc5
+SHA1 (patch-ad) = 42f5184c800bccba5ffc238fb8e577ef61ca2a2a
diff -r 2fbfc28eb676 -r f6909d1bc668 security/chkrootkit/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/chkrootkit/patches/patch-ad      Thu Feb 25 07:15:42 2010 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ad,v 1.1 2010/02/25 07:15:42 agc Exp $
+
+modern NetBSD has PAM too
+
+--- chkrootkit 2010/02/24 22:13:30     1.1
++++ chkrootkit 2010/02/24 22:12:34
+@@ -476,7 +476,7 @@
+ 
+ 
+        ### OpenBSD rootkit v1
+-       if [ "$SYSTEM" != "SunOS" -a ! -f /usr/lib/security/libgcj.security ]
++       if [ "$SYSTEM" != "SunOS" -a "$SYSTEM" != "NetBSD" -a ! -f /usr/lib/security/libgcj.security ]
+           then
+           expertmode_output "${find} ${ROOTDIR}usr/lib/security"
+        fi
+@@ -893,7 +893,7 @@
+    fi
+ 
+    ### OpenBSD rootkit v1
+-   if [ "${SYSTEM}" != "SunOS" -a ! -f ${ROOTDIR}usr/lib/security/libgcj.security ]; then
++   if [ "${SYSTEM}" != "SunOS" -a "$SYSTEM" != "NetBSD" -a ! -f ${ROOTDIR}usr/lib/security/libgcj.security ]; then
+       files=""
+       if [ "${QUIET}" != "t" ];then printn "Searching for OBSD rk v1... "; fi
+       files=`${find} ${ROOTDIR}usr/lib/security 2>/dev/null`



Home | Main Index | Thread Index | Old Index