diff options
author | leeym <leeym@FreeBSD.org> | 2005-04-15 02:42:15 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2005-04-15 02:42:15 +0800 |
commit | 702eb0588f77ce98926624adcf287203f6afba6a (patch) | |
tree | a8495952a5bcdc38c8f8156abdc368ec9b089b10 /security/chkrootkit/Makefile | |
parent | 45f075ab3fce4f1b2a9c587b5a0438f037b80d66 (diff) | |
download | freebsd-ports-gnome-702eb0588f77ce98926624adcf287203f6afba6a.tar.gz freebsd-ports-gnome-702eb0588f77ce98926624adcf287203f6afba6a.tar.zst freebsd-ports-gnome-702eb0588f77ce98926624adcf287203f6afba6a.zip |
- Update to chkrookit version 0.45 [1]
- utilize PORTDOCS, DOCSDIR and PLIST_FILES
PR: [1] 79865
Submitted by: [1] Luiz Eduardo Roncato Cordeiro <cordeiro@nic.br>
Diffstat (limited to 'security/chkrootkit/Makefile')
-rw-r--r-- | security/chkrootkit/Makefile | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile index 8ff32169598d..b2e42cf7885e 100644 --- a/security/chkrootkit/Makefile +++ b/security/chkrootkit/Makefile @@ -6,28 +6,38 @@ # PORTNAME= chkrootkit -PORTVERSION= 0.44 +PORTVERSION= 0.45 CATEGORIES= security -MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ +MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ \ + ftp://gd.tuwien.ac.at/infosys/security/chkrootkit/ \ + ftp://ftp.digitalvoodoo.org/pub/mirrors/chkrootkit/ \ + http://www.spenneberg.org/chkrootkit-mirror/files/ \ + http://www.mirrors.wiretapped.net/security/host-security/chkrootkit/ \ + http://ftp.uni-stuttgart.de/pub/security/unix/forensics/chkrootkit/ \ + http://ftp.bit.nl/mirror/chkrootkit/ \ + http://chkrootkit.mirror.fr/ MAINTAINER= cordeiro@nic.br COMMENT= A tool to locally check for signs of a rootkit USE_REINPLACE= yes -ALL_TARGET= chkrootkit chklastlog chkwtmp chkproc chkdirs ifpromisc check_wtmpx strings +ALL_TARGET= chkrootkit chklastlog chkwtmp chkutmp chkproc chkdirs ifpromisc check_wtmpx strings -DOCFILES= ACKNOWLEDGMENTS COPYRIGHT README README.chklastlog README.chkwtmp +PLIST_FILES= ${ALL_TARGET:C,^,sbin/,} -BINMODE= 0700 +.if !defined(NOPORTDOCS) +PORTDOCS= ACKNOWLEDGMENTS COPYRIGHT README README.chklastlog README.chkwtmp +.endif -.include <bsd.port.pre.mk> +BINMODE= 0700 pre-patch: ${REINPLACE_CMD} -e "s/^CC/#CC/; s/^CFLAGS/#CFLAGS/" ${WRKSRC}/Makefile ${REINPLACE_CMD} -e \ 's#\./chklastlog#${PREFIX}/sbin/chklastlog#g; \ s#\./chkwtmp#${PREFIX}/sbin/chkwtmp#g; \ + s#\./chkutmp#${PREFIX}/sbin/chkutmp#g; \ s#\./chkproc#${PREFIX}/sbin/chkproc#g; \ s#\./chkdirs#${PREFIX}/sbin/chkdirs#g; \ s#\./check_wtmpx#${PREFIX}/sbin/check_wtmpx#g; \ @@ -39,14 +49,15 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/chkrootkit ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/chklastlog ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/chkwtmp ${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/chkutmp ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/chkproc ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/chkdirs ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/ifpromisc ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/check_wtmpx ${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/strings ${PREFIX}/sbin -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/chkrootkit - ${INSTALL_DATA} ${DOCFILES:C,^,${WRKSRC}/,} ${PREFIX}/share/doc/chkrootkit +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:C,^,${WRKSRC}/,} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |