diff options
-rw-r--r-- | security/chkrootkit/Makefile | 6 | ||||
-rw-r--r-- | security/chkrootkit/distinfo | 3 | ||||
-rw-r--r-- | security/chkrootkit/patches/patch-ad | 24 |
3 files changed, 29 insertions, 4 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile index 6b878caf8f7..a400e483f46 100644 --- a/security/chkrootkit/Makefile +++ b/security/chkrootkit/Makefile @@ -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 @@ MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ MAINTAINER= pancake@phreaker.net 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" 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 --git a/security/chkrootkit/distinfo b/security/chkrootkit/distinfo index 92dfda9cf07..c61014233f9 100644 --- a/security/chkrootkit/distinfo +++ b/security/chkrootkit/distinfo @@ -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 @@ Size (chkrootkit-0.47.tar.gz) = 37791 bytes SHA1 (patch-aa) = ec157bfa68f41e97e3deebc7651bd9de4679eb3a SHA1 (patch-ab) = 109a43494bda8d0966164b7684f63a6a83f2d829 SHA1 (patch-ac) = 3e2f5dd9d7f38e0eddc5b43a1a74b880ea296fc5 +SHA1 (patch-ad) = 42f5184c800bccba5ffc238fb8e577ef61ca2a2a diff --git a/security/chkrootkit/patches/patch-ad b/security/chkrootkit/patches/patch-ad new file mode 100644 index 00000000000..530f8664343 --- /dev/null +++ b/security/chkrootkit/patches/patch-ad @@ -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` |