From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 3 17:10:11 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDB7410656AE for ; Wed, 3 Nov 2010 17:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E83B18FC1A for ; Wed, 3 Nov 2010 17:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA3HA6X4049976 for ; Wed, 3 Nov 2010 17:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA3HA6xp049975; Wed, 3 Nov 2010 17:10:06 GMT (envelope-from gnats) Resent-Date: Wed, 3 Nov 2010 17:10:06 GMT Resent-Message-Id: <201011031710.oA3HA6xp049975@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alexey V.Degtyarev" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7483E106566C for ; Wed, 3 Nov 2010 17:00:52 +0000 (UTC) (envelope-from root@undeliverable.renatasystems.org) Received: from hs-9.renatasystems.org (hs-9.renatasystems.org [83.222.5.149]) by mx1.freebsd.org (Postfix) with SMTP id A3BE48FC14 for ; Wed, 3 Nov 2010 17:00:50 +0000 (UTC) Received: (qmail 91016 invoked by uid 0); 3 Nov 2010 20:00:49 +0300 Message-Id: <20101103170049.91014.qmail@hs-9.renatasystems.org> Date: 3 Nov 2010 20:00:49 +0300 From: "Alexey V.Degtyarev" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/151920: net-mgmt/grepcidr - fix OPTIONS error and make portlint happy. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Alexey V.Degtyarev" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 17:10:11 -0000 >Number: 151920 >Category: ports >Synopsis: net-mgmt/grepcidr - fix OPTIONS error and make portlint happy. >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: Wed Nov 03 17:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexey V. Degtyarev >Release: FreeBSD 8.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD renatasystems.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: net-mgmt/grepcidr was broken with ports/141437: the SEARCH option required EXTRA_PATCH find_anywhere.diff, but the file actually was named as patch-grepcidr.c. By selecting that option port fails to build. But in other case, with default option set the patch still applies as it named like all FreeBSD distribution patches names (patch-***). So I decide to remove that option, because, - it is really useful; - it has been tested for almost one year as it implicitely applied after ports/141437; - just for simplicity; Also, portlint complains about unsupported checksum algorithm found in distinfo (MD5), so I updated checksums with SHA256 and add one more MASTER_SITE maintained by me. >How-To-Repeat: >Fix: --- grepcidr-nooptions.patch begins here --- diff -Nru grepcidr.orig/Makefile grepcidr/Makefile --- grepcidr.orig/Makefile 2010-01-15 19:16:24.000000000 +0000 +++ grepcidr/Makefile 2010-11-03 16:50:01.000000000 +0000 @@ -9,21 +9,14 @@ PORTVERSION= 1.3 PORTREVISION= 1 CATEGORIES= net-mgmt textproc -MASTER_SITES= http://www.pc-tools.net/files/unix/ +MASTER_SITES= http://www.pc-tools.net/files/unix/ \ + ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ MAINTAINER= doug+ports@idmf.net COMMENT= Filter IP addresses matching IPv4 CIDR/network specification -OPTIONS= SEARCH "Enable pattern search anywhere in line" off - PLIST_FILES= bin/grepcidr -.include - -.if defined(WITH_SEARCH) -EXTRA_PATCHES+= ${FILESDIR}/find_anywhere.diff -.endif - do-configure: @${REINPLACE_CMD} \ -e 's|/usr/local/bin|${PREFIX}/bin|' \ @@ -31,4 +24,4 @@ -e 's|gcc|${CC}|' \ ${WRKSRC}/Makefile -.include +.include diff -Nru grepcidr.orig/distinfo grepcidr/distinfo --- grepcidr.orig/distinfo 2006-02-01 01:08:04.000000000 +0000 +++ grepcidr/distinfo 2010-11-03 16:47:45.000000000 +0000 @@ -1,3 +1,2 @@ -MD5 (grepcidr-1.3.tar.gz) = 7ccade25ce9fe6d6a02348ba8e4cf4a3 SHA256 (grepcidr-1.3.tar.gz) = 2bef080fe2efd9d82326fa41f3b1cca6b7ecbdac7b3c53f3db8fe0da5ab8fb81 SIZE (grepcidr-1.3.tar.gz) = 21691 --- grepcidr-nooptions.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: