From owner-freebsd-ports Tue Apr 17 4:50: 9 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CE66537B43F for ; Tue, 17 Apr 2001 04:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3HBo3o28366; Tue, 17 Apr 2001 04:50:03 -0700 (PDT) (envelope-from gnats) Received: from panic.iqm.unicamp.br (panic.iqm.unicamp.br [143.106.51.4]) by hub.freebsd.org (Postfix) with ESMTP id D0CDF37B424 for ; Tue, 17 Apr 2001 04:44:05 -0700 (PDT) (envelope-from root@panic.iqm.unicamp.br) Received: by panic.iqm.unicamp.br (V-MTA, from userid 0) id 2B6F8D63A; Tue, 17 Apr 2001 08:43:50 -0300 (BRT) Message-Id: <20010417114350.2B6F8D63A@panic.iqm.unicamp.br> Date: Tue, 17 Apr 2001 08:43:50 -0300 (BRT) From: cordeiro@panic.iqm.unicamp.br Reply-To: cordeiro@panic.iqm.unicamp.br To: FreeBSD-gnats-submit@freebsd.org Cc: cordeiro@panic.iqm.unicamp.br X-Send-Pr-Version: 3.113 Subject: ports/26643: Update port: security/chkrootkit: upgrade to version 0.31 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 26643 >Category: ports >Synopsis: Update port: security/chkrootkit: upgrade to version 0.31 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Apr 17 04:50:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Luiz Eduardo Roncato Cordeiro >Release: FreeBSD 4.3-RC i386 >Organization: Chemistry Institute - UNICAMP >Environment: System: FreeBSD panic.iqm.unicamp.br 4.3-RC FreeBSD 4.3-RC #11: Fri Mar 30 09:43:19 BRT 2001 root@panic.iqm.unicamp.br:/usr/src/sys/compile/PANIC i386 >Description: Upgrade from chrootkit 0.30 to chkrootkit 0.31. >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.31 XCATEGORIES= security XMASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ XDISTNAME= ${PORTNAME}-${PORTVERSION} 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 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 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-0.31.tar.gz) = 949f65809b8cf95ee025ea4264cc8c43 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