Date: Thu, 11 Sep 2003 16:30:57 +0000 (GMT) From: Yonatan@xpert.com To: FreeBSD-gnats-submit@FreeBSD.org Cc: tarkhil@webmail.sub.ru Subject: ports/56702: Fix security/chkrootkit on 4.x Message-ID: <20030911163057.2FD0F1001@110.xpert.com> Resent-Message-ID: <200309111330.h8BDUKxS093615@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56702 >Category: ports >Synopsis: Fix security/chkrootkit on 4.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 11 06:30:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Yonatan@xpert.com >Release: FreeBSD 4.8-RC i386 >Organization: >Environment: System: FreeBSD Temujin 4.8-RC FreeBSD 4.8-RC #1: Sat Apr 12 03:02:22 GMT 2003 root@Temujin:/usr/obj/usr/src/sys/TEMUJIN-G i386 >Description: My check to see if we are running FreeBSD >= 5 is always true. While I'm fixing that, bump PORTREVISION. Alex Povolotsky helped me debug that. >How-To-Repeat: Run chkrootkit on 4.x and see false positives. See mail from Alex to security@freebsd.org from 9/11/2003 subject: "chkrootkit 4.1 and FreeBSD 4.5". >Fix: --- chkrootkit.diff begins here --- diff -urN chkrootkit.orig/Makefile chkrootkit/Makefile --- chkrootkit.orig/Makefile Sun Sep 7 11:24:17 2003 +++ chkrootkit/Makefile Thu Sep 11 16:19:39 2003 @@ -7,6 +7,7 @@ PORTNAME= chkrootkit PORTVERSION= 0.41 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ diff -urN chkrootkit.orig/files/patch-chkrootkit chkrootkit/files/patch-chkrootkit --- chkrootkit.orig/files/patch-chkrootkit Thu Sep 4 13:03:05 2003 +++ chkrootkit/files/patch-chkrootkit Thu Sep 11 15:11:59 2003 @@ -74,7 +74,7 @@ VERSION=`${uname} -r` + +if [ "${SYSTEM}" = "FreeBSD" ] ; then -+ if [ -n '`uname -r | grep "^5"`' ] ; then ++ if [ "${VERSION}" != ${VERSION##5} ] ; then + FreeBSD5="yes" + fi +fi --- chkrootkit.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030911163057.2FD0F1001>