Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 08:43:50 -0300 (BRT)
From:      cordeiro@panic.iqm.unicamp.br
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        cordeiro@panic.iqm.unicamp.br
Subject:   ports/26643: Update port: security/chkrootkit: upgrade to version 0.31
Message-ID:  <20010417114350.2B6F8D63A@panic.iqm.unicamp.br>

next in thread | raw e-mail | index | archive | help

>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 <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-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010417114350.2B6F8D63A>