From jadawin@tuxaco.net  Fri Dec 21 14:19:42 2007
Return-Path: <jadawin@tuxaco.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1975A16A420
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Dec 2007 14:19:42 +0000 (UTC)
	(envelope-from jadawin@tuxaco.net)
Received: from huppa.tuxaco.net (huppa.tuxaco.net [91.121.19.193])
	by mx1.freebsd.org (Postfix) with ESMTP id 97AA213C4EF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 21 Dec 2007 14:19:41 +0000 (UTC)
	(envelope-from jadawin@tuxaco.net)
Received: from localhost (unknown [127.0.0.1])
	by huppa.tuxaco.net (Postfix) with ESMTP id AB70DCA7A;
	Fri, 21 Dec 2007 15:23:43 +0100 (CET)
Received: from huppa.tuxaco.net ([127.0.0.1])
	by localhost (huppa.tuxaco.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 4XdNPkhaWqax; Fri, 21 Dec 2007 15:23:40 +0100 (CET)
Received: from ilove.tuxaco.net (ilove.tuxaco.net [82.236.143.160])
	(Authenticated sender: jadawin@tuxaco.net)
	by huppa.tuxaco.net (Postfix) with ESMTP id 0A268B664;
	Fri, 21 Dec 2007 15:23:40 +0100 (CET)
Received: by ilove.tuxaco.net (Postfix, from userid 1001)
	id 6A9C9845A7; Fri, 21 Dec 2007 14:23:24 +0000 (UTC)
Message-Id: <20071221142324.6A9C9845A7@ilove.tuxaco.net>
Date: Fri, 21 Dec 2007 14:23:24 +0000 (UTC)
From: Philippe Audeoud <jadawin@tuxaco.net>
Reply-To: Philippe Audeoud <jadawin@tuxaco.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: cordeiro@nic.br
Subject: [update] security/chkrootkit - update to 0.48
X-Send-Pr-Version: 3.113
X-GNATS-Notify: cordeiro@nic.br

>Number:         118930
>Category:       ports
>Synopsis:       [update] security/chkrootkit - update to 0.48
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tabthorpe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 14:20:00 UTC 2007
>Closed-Date:    Thu Dec 27 17:19:56 UTC 2007
>Last-Modified:  Thu Dec 27 17:20:00 UTC 2007
>Originator:     Philippe Audeoud
>Release:        FreeBSD 7.0-BETA1 i386
>Organization:
>Environment:
System: FreeBSD athines 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Wed Oct 31 19:32:18 CET 2007 root@glenrothes:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	- update to 0.48
	- remove pre-everything (no more false positif)
	- remove patches (extra_patches and patch in files directory)
>How-To-Repeat:
	
>Fix:

	

--- patch-chkrootkit.1 begins here ---
diff -ruN security/chkrootkit.orig/Makefile security/chkrootkit/Makefile
--- security/chkrootkit.orig/Makefile	2007-12-21 13:37:00.000000000 +0000
+++ security/chkrootkit/Makefile	2007-12-21 14:08:15.000000000 +0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	chkrootkit
-PORTVERSION=	0.47
+PORTVERSION=	0.48
 CATEGORIES=	security
 MASTER_SITES=	ftp://ftp.pangeia.com.br/pub/seg/pac/ \
 		ftp://gd.tuwien.ac.at/infosys/security/chkrootkit/ \
@@ -30,26 +30,6 @@
 
 BINMODE=	0700
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000
-
-EXTRA_PATCHES=	${PATCHDIR}/600000-patch-chkproc.c
-
-pre-everything::
-	@${ECHO_CMD} "######################################################################"
-	@${ECHO_CMD} "#"
-	@${ECHO_CMD} "# WARNING: chkproc process gives false positives values on"
-	@${ECHO_CMD} "#          FreeBSD >= 6.x, and, due this fact, the getpriority code"
-	@${ECHO_CMD} "#          added to identify LKMs was removed."
-	@${ECHO_CMD} "#          So, use with caution."
-	@${ECHO_CMD} "#"
-	@${ECHO_CMD} "#          This error will be fixed in the next chkrootkit version."
-	@${ECHO_CMD} "#"
-	@${ECHO_CMD} "######################################################################"
-
-.endif
-
 pre-patch:
 	${REINPLACE_CMD} -e "s/^CC/#CC/; s/^CFLAGS/#CFLAGS/" ${WRKSRC}/Makefile
 	${REINPLACE_CMD} -e \
@@ -78,4 +58,4 @@
 	${INSTALL_DATA} ${PORTDOCS:C,^,${WRKSRC}/,} ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -ruN security/chkrootkit.orig/distinfo security/chkrootkit/distinfo
--- security/chkrootkit.orig/distinfo	2007-12-21 13:37:00.000000000 +0000
+++ security/chkrootkit/distinfo	2007-12-21 13:38:38.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (chkrootkit-0.47.tar.gz) = 4c6455d202cef35395a673386e4bf01a
-SHA256 (chkrootkit-0.47.tar.gz) = 5a5aeb597769cc2843648858b95fc7abd3485ba7edd1800d69e0125220c6669f
-SIZE (chkrootkit-0.47.tar.gz) = 37791
+MD5 (chkrootkit-0.48.tar.gz) = de8b8b5013e7faa2b66c0e33c59677e8
+SHA256 (chkrootkit-0.48.tar.gz) = b4b3d3540a7022aa7a81cae93f28c8475bc2660a21f88126725624c09769f1fb
+SIZE (chkrootkit-0.48.tar.gz) = 38323
diff -ruN security/chkrootkit.orig/files/600000-patch-chkproc.c security/chkrootkit/files/600000-patch-chkproc.c
--- security/chkrootkit.orig/files/600000-patch-chkproc.c	2007-12-21 13:37:00.000000000 +0000
+++ security/chkrootkit/files/600000-patch-chkproc.c	1970-01-01 00:00:00.000000000 +0000
@@ -1,21 +0,0 @@
---- chkproc.c.orig	Fri Nov 24 12:03:25 2006
-+++ chkproc.c	Fri Nov 24 12:04:43 2006
-@@ -334,18 +334,6 @@
-          }
- #endif
-       }
--      else 
--      {
--         errno = 0;
--         getpriority(PRIO_PROCESS, i);
--         if (!errno)
--         {
--            retdir++;
--            if (verbose)
--	       printf ("PID %5d(%s): not in getpriority readdir output\n", i, buf);
--	 }
--      }
--
-    }
-    if (retdir)
-       printf("You have % 5d process hidden for readdir command\n", retdir);
--- patch-chkrootkit.1 ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Dec 21 14:20:07 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118930 

From: Luiz Eduardo Roncato Cordeiro <cordeiro@nic.br>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/118930: [update] security/chkrootkit - update to 0.48
Date: Fri, 21 Dec 2007 13:09:02 -0200

 On Friday, 21 de December de 2007, Edwin Groothuis <Edwin Groothuis <edwin@freebsd.org>> wrote:
 > Maintainer of security/chkrootkit,
 > 
 > Please note that PR ports/118930 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/118930
 > 
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->tabthorpe 
Responsible-Changed-By: tabthorpe 
Responsible-Changed-When: Fri Dec 21 15:56:31 UTC 2007 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118930 
State-Changed-From-To: feedback->closed 
State-Changed-By: tabthorpe 
State-Changed-When: Thu Dec 27 17:19:54 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118930 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/118930: commit references a PR
Date: Thu, 27 Dec 2007 17:19:29 +0000 (UTC)

 tabthorpe    2007-12-27 17:19:23 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/chkrootkit  Makefile distinfo 
   Removed files:
     security/chkrootkit/files 600000-patch-chkproc.c 
   Log:
   - Update to 0.48
   - Remove pre-everything (no more false positives)
   - Remove patches (extra_patches and patch in files directory)
   
   PR:             ports/118930
   Submitted by:   Philippe Audeoud <jadawin tuxaco.net>
   Approved by:    Luiz Eduardo Roncato Cordeiro <cordeiro nic.br> (maintainer)
   
   Revision  Changes    Path
   1.28      +2 -22     ports/security/chkrootkit/Makefile
   1.22      +3 -3      ports/security/chkrootkit/distinfo
   1.2       +0 -21     ports/security/chkrootkit/files/600000-patch-chkproc.c (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
