pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/chkrootkit Update chkrootkit to 0.44
details: https://anonhg.NetBSD.org/pkgsrc/rev/0d8b8cc2b505
branches: trunk
changeset: 481210:0d8b8cc2b505
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Tue Sep 28 10:41:59 2004 +0000
description:
Update chkrootkit to 0.44
- Fix false positive on NetBSD for "login". Thanks to Richard Ibbotson for
helping sort this out.
- Install main shell script and documentation.
chkwtmp.c
fix: del counter (Thanks to Dietrich Raisin)
chkproc.c
fix: better support for Linux threads
chkrootkit;
new rootkit detected: Madalin rootkit
top and find tests improved for Suse Linux
more ports added in the bindshell test
fix: FreeBSD false positives
fix: slammer detection
lots of minor bug fixes
diffstat:
security/chkrootkit/Makefile | 22 +++++++++++++++++++---
security/chkrootkit/PLIST | 7 ++++++-
security/chkrootkit/distinfo | 7 ++++---
security/chkrootkit/patches/patch-ac | 13 +++++++++++++
4 files changed, 42 insertions(+), 7 deletions(-)
diffs (93 lines):
diff -r fe342f040b3d -r 0d8b8cc2b505 security/chkrootkit/Makefile
--- a/security/chkrootkit/Makefile Tue Sep 28 09:38:17 2004 +0000
+++ b/security/chkrootkit/Makefile Tue Sep 28 10:41:59 2004 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2004/05/27 01:22:55 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2004/09/28 10:41:59 adrianp Exp $
#
-DISTNAME= chkrootkit-0.43
-PKGREVISION= 1
+DISTNAME= chkrootkit-0.44
CATEGORIES= security
MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/
@@ -17,6 +16,18 @@
NO_CONFIGURE= yes
PROGRAMS= chkdirs chklastlog chkproc chkwtmp ifpromisc strings-static
+DOCDIR= ${PREFIX}/share/doc/chkrootkit
+
+SUBST_CLASSES= helper
+SUBST_STAGE.helper= post-patch
+SUBST_FILES.helper= chkrootkit
+SUBST_SED.helper= -e "s|./chklastlog|${PREFIX}/bin/chklastlog|g" \
+ -e "s|./chkproc|${PREFIX}/bin/chkproc|g" \
+ -e "s|./chkwtmp|${PREFIX}/bin/chkwtmp|g" \
+ -e "s|./ifpromisc|${PREFIX}/bin/ifpromisc|g" \
+ -e "s|./strings-static|${PREFIX}/bin/strings-static|g" \
+ -e "s|./chkdirs|${PREFIX}/bin/chkdirs|g" \
+ -e "s|/bin/sh|${SH}|g"
.include "../../mk/compiler.mk"
@@ -39,5 +50,10 @@
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/chkrootkit ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chkrootkit
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.chklastlog ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.chkwtmp ${DOCDIR}
.include "../../mk/bsd.pkg.mk"
diff -r fe342f040b3d -r 0d8b8cc2b505 security/chkrootkit/PLIST
--- a/security/chkrootkit/PLIST Tue Sep 28 09:38:17 2004 +0000
+++ b/security/chkrootkit/PLIST Tue Sep 28 10:41:59 2004 +0000
@@ -1,8 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/17 15:33:52 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/09/28 10:41:59 adrianp Exp $
${WTMPX}bin/check_wtmpx
bin/chkdirs
bin/chklastlog
bin/chkproc
+bin/chkrootkit
bin/chkwtmp
bin/ifpromisc
bin/strings-static
+share/doc/chkrootkit/README
+share/doc/chkrootkit/README.chklastlog
+share/doc/chkrootkit/README.chkwtmp
+@dirrm share/doc/chkrootkit
diff -r fe342f040b3d -r 0d8b8cc2b505 security/chkrootkit/distinfo
--- a/security/chkrootkit/distinfo Tue Sep 28 09:38:17 2004 +0000
+++ b/security/chkrootkit/distinfo Tue Sep 28 10:41:59 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2004/05/27 01:22:55 wiz Exp $
+$NetBSD: distinfo,v 1.4 2004/09/28 10:41:59 adrianp Exp $
-SHA1 (chkrootkit-0.43.tar.gz) = 58e3693823a9b8ab9b6bb609d54b5716af332a00
-Size (chkrootkit-0.43.tar.gz) = 33355 bytes
+SHA1 (chkrootkit-0.44.tar.gz) = 54610d8dac4d0585306d95be5a55c2ac02c5fec6
+Size (chkrootkit-0.44.tar.gz) = 34163 bytes
SHA1 (patch-aa) = c47ecb09d02c710727420a3adfb7d8b62d721f2d
SHA1 (patch-ab) = 109a43494bda8d0966164b7684f63a6a83f2d829
+SHA1 (patch-ac) = 857ac79001fd5fc4f3f88e905af212fab63e3d06
diff -r fe342f040b3d -r 0d8b8cc2b505 security/chkrootkit/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/chkrootkit/patches/patch-ac Tue Sep 28 10:41:59 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2004/09/28 10:41:59 adrianp Exp $
+
+--- chkrootkit.orig Wed Sep 22 11:03:02 2004
++++ chkrootkit Wed Sep 22 11:04:02 2004
+@@ -1175,7 +1175,7 @@
+ $1 >= 3.0) print 1; else print 0}'` -eq 1 ] && \
+ STATUS=${NOT_INFECTED} || STATUS=${INFECTED};;
+ 2) [ "${SYSTEM}" = "FreeBSD" -o ${SYSTEM} = "NetBSD" -o ${SYSTEM} = \
+-"OpenBSD" -a `echo ${V} | ${awk} '{ if ($1 >= 2.8) print 1; print 0 }'` -eq 1 ] && STATUS=${NOT_INFECTED} || STATUS=${INFECTED};;
++"OpenBSD" -a `echo ${V} | ${awk} '{ if ($1 >= 2.8) print 1; else print 0 }'` -eq 1 ] && STATUS=${NOT_INFECTED} || STATUS=${INFECTED};;
+ 7) [ "${SYSTEM}" = "HP-UX" ] && STATUS=${NOT_INFECTED} || STATUS=${INFECTED};;
+ *) STATUS=${INFECTED};;
+ esac
Home |
Main Index |
Thread Index |
Old Index