summaryrefslogtreecommitdiff
path: root/security/chkrootkit/Makefile
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2004-09-28 10:41:59 +0000
committeradrianp <adrianp@pkgsrc.org>2004-09-28 10:41:59 +0000
commit1d1ad9b57d455768f19ac6a8915dc86af334d094 (patch)
treed7963371ef2cf678254592cfb89cdad96dad286e /security/chkrootkit/Makefile
parent229a2e835fd1b4df4592125538ca38322b58de5e (diff)
downloadpkgsrc-1d1ad9b57d455768f19ac6a8915dc86af334d094.tar.gz
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 (limited to 'security/chkrootkit/Makefile')
-rw-r--r--security/chkrootkit/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile
index 3cf8a77d36d..4f2f93762e0 100644
--- a/security/chkrootkit/Makefile
+++ b/security/chkrootkit/Makefile
@@ -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 @@ USE_BUILDLINK3= yes
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 @@ INSTALLATION_DIRS+= bin
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"