summaryrefslogtreecommitdiff
path: root/security/chkrootkit/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2010-02-25 07:15:42 +0000
committeragc <agc@pkgsrc.org>2010-02-25 07:15:42 +0000
commitf6243d6d55ab24aa33a9fda8dbac0134ebb08df2 (patch)
tree8b1a526999ea57814686d5dd8b9fcf56e55dbac7 /security/chkrootkit/patches
parent6d2fb01f3935c682d18d5d342be88907c85b40c5 (diff)
downloadpkgsrc-f6243d6d55ab24aa33a9fda8dbac0134ebb08df2.tar.gz
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 (limited to 'security/chkrootkit/patches')
-rw-r--r--security/chkrootkit/patches/patch-ad24
1 files changed, 24 insertions, 0 deletions
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`