pkgsrc/security/chkrootkit/patches/patch-ad
agc f6243d6d55 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
2010-02-25 07:15:42 +00:00

24 lines
905 B
Text

$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`