Date: Mon, 26 Mar 2001 14:30:37 -0300 (BRT) From: cordeiro@panic.iqm.unicamp.br To: FreeBSD-gnats-submit@freebsd.org Subject: ports/26115: Update port: security/chkrootkit: new chkrootkit version [0.30] Message-ID: <20010326173037.5910AD636@panic.iqm.unicamp.br>
next in thread | raw e-mail | index | archive | help
>Number: 26115 >Category: ports >Synopsis: Update port: security/chkrootkit: new chkrootkit version [0.30] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Mar 26 09:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Luiz Eduardo Roncato Cordeiro >Release: FreeBSD 4.3-BETA i386 >Organization: Chemistry Institute - UNICAMP >Environment: System: FreeBSD panic.iqm.unicamp.br 4.3-BETA FreeBSD 4.3-BETA #10: Wed Mar 7 08:52:05 BRT 2001 root@:/usr/src/sys/compile/PANIC i386 >Description: New version. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # chkrootkit # chkrootkit/pkg-comment # chkrootkit/Makefile # chkrootkit/pkg-descr # chkrootkit/pkg-plist # chkrootkit/distinfo # echo c - chkrootkit mkdir -p chkrootkit > /dev/null 2>&1 echo x - chkrootkit/pkg-comment sed 's/^X//' >chkrootkit/pkg-comment << 'END-of-chkrootkit/pkg-comment' XA tool to locally check for signs of a rootkit END-of-chkrootkit/pkg-comment echo x - chkrootkit/Makefile sed 's/^X//' >chkrootkit/Makefile << 'END-of-chkrootkit/Makefile' X# Ports collection makefile for: chkrootkit X# Date created: 13 Mar 2001 X# Whom: Luiz Eduardo R. Cordeiro X# X# $FreeBSD$ X# X XPORTNAME= chkrootkit XPORTVERSION= 0.30 XCATEGORIES= security XMASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ XDISTNAME= ${PORTNAME} XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X XMAINTAINER= cordeiro@iqm.unicamp.br X XALL_TARGET= chkrootkit chklastlog chkwtmp ifpromisc X Xpre-patch: X @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig X @${SED} -e "s/^CC/#CC/g" -e "s/^CFLAGS/#CFLAGS/g" \ X ${WRKSRC}/Makefile.orig > ${WRKSRC}/Makefile X @${MV} ${WRKSRC}/chkrootkit ${WRKSRC}/chkrootkit.orig X @${SED} -e 's#\./chklastlog#${PREFIX}/sbin/chklastlog#' \ X -e 's#\./chkwtmp#${PREFIX}/sbin/chkwtmp#' \ X -e 's#\./ifpromisc#${PREFIX}/sbin/ifpromisc#' \ X ${WRKSRC}/chkrootkit.orig > ${WRKSRC}/chkrootkit Xdo-install: X ${INSTALL_SCRIPT} ${WRKSRC}/chkrootkit ${PREFIX}/sbin X ${INSTALL_PROGRAM} ${WRKSRC}/chklastlog ${PREFIX}/sbin X ${INSTALL_PROGRAM} ${WRKSRC}/chkwtmp ${PREFIX}/sbin X ${INSTALL_PROGRAM} ${WRKSRC}/ifpromisc ${PREFIX}/sbin X @${MKDIR} ${PREFIX}/share/doc/chkrootkit X ${CP} -R ${WRKSRC}/COPY* ${PREFIX}/share/doc/chkrootkit X ${CP} -R ${WRKSRC}/README* ${PREFIX}/share/doc/chkrootkit X X.include <bsd.port.mk> END-of-chkrootkit/Makefile echo x - chkrootkit/pkg-descr sed 's/^X//' >chkrootkit/pkg-descr << 'END-of-chkrootkit/pkg-descr' XChkrootkit is a tool to locally check for signs of a rootkit. It Xcontains: X X * chkrootkit: a shell script that checks system binaries for X rootkit modification. X * ifpromisc.c: checks if the network interface is in promiscuous X mode. X * chklastlog.c: checks for lastlog deletions. X * chkwtmp.c: checks for wtmp deletions. X XThe following rootkits and worms are currently detected: Solaris Xrootkit, FreeBSD rootkit, lrk3, lrk4, lrk5, lrk6, t0rn, some lrk Xvariants, Ambient's Rootkit for Linux (ARK), Ramen Worm, Xrh[67]-shaper, RSHA and Romanian rootkit. X XNelson Murilo <nelson@pangeia.com.br> X XWWW: http://www.chkrootkit.org.br END-of-chkrootkit/pkg-descr echo x - chkrootkit/pkg-plist sed 's/^X//' >chkrootkit/pkg-plist << 'END-of-chkrootkit/pkg-plist' Xsbin/chkrootkit Xsbin/chklastlog Xsbin/chkwtmp Xsbin/ifpromisc Xshare/doc/chkrootkit/COPYRIGHT Xshare/doc/chkrootkit/README Xshare/doc/chkrootkit/README.chklastlog Xshare/doc/chkrootkit/README.chkwtmp X@dirrm share/doc/chkrootkit END-of-chkrootkit/pkg-plist echo x - chkrootkit/distinfo sed 's/^X//' >chkrootkit/distinfo << 'END-of-chkrootkit/distinfo' XMD5 (chkrootkit.tar.gz) = 2f1c9ec3c3bf62d50c70e25a52ddc1d7 END-of-chkrootkit/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010326173037.5910AD636>