mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- 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>
This commit is contained in:
parent
3589170715
commit
c002530cec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133357
@ -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/,}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= ACKNOWLEDGMENTS COPYRIGHT README README.chklastlog README.chkwtmp
|
||||
.endif
|
||||
|
||||
BINMODE= 0700
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
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
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:C,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (chkrootkit-0.44.tar.gz) = 8f6dbb3204c24e9b71490142cb2953ee
|
||||
SIZE (chkrootkit-0.44.tar.gz) = 34163
|
||||
MD5 (chkrootkit-0.45.tar.gz) = 57493e24ca81750a200d8bcb4049e858
|
||||
SIZE (chkrootkit-0.45.tar.gz) = 36359
|
||||
|
@ -13,6 +13,7 @@
|
||||
* chkproc.c: checks for signs of LKM trojans.
|
||||
* chkdirs.c: checks for signs of LKM trojans.
|
||||
* strings.c: quick and dirty strings replacement.
|
||||
* chkutmp.c: checks for utmp deletions.
|
||||
|
||||
For an updated list of rootkits, worms and LKMs detected by
|
||||
chkrootkit please visit: http://www.chkrootkit.org/
|
||||
|
@ -1,14 +0,0 @@
|
||||
sbin/chkdirs
|
||||
sbin/chklastlog
|
||||
sbin/chkproc
|
||||
sbin/chkrootkit
|
||||
sbin/chkwtmp
|
||||
sbin/ifpromisc
|
||||
sbin/check_wtmpx
|
||||
sbin/strings
|
||||
%%PORTDOCS%%share/doc/chkrootkit/ACKNOWLEDGMENTS
|
||||
%%PORTDOCS%%share/doc/chkrootkit/COPYRIGHT
|
||||
%%PORTDOCS%%share/doc/chkrootkit/README
|
||||
%%PORTDOCS%%share/doc/chkrootkit/README.chklastlog
|
||||
%%PORTDOCS%%share/doc/chkrootkit/README.chkwtmp
|
||||
%%PORTDOCS%%@dirrm share/doc/chkrootkit
|
Loading…
Reference in New Issue
Block a user