From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 9 02:10:06 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 4E9B1106564A for ; Wed, 9 Jun 2010 02:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2A2208FC15 for ; Wed, 9 Jun 2010 02: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 o592A5h8065534 for ; Wed, 9 Jun 2010 02:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o592A5Ig065533; Wed, 9 Jun 2010 02:10:05 GMT (envelope-from gnats) Resent-Date: Wed, 9 Jun 2010 02:10:05 GMT Resent-Message-Id: <201006090210.o592A5Ig065533@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, "James P. Howard, II" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7756106564A for ; Wed, 9 Jun 2010 02:04:08 +0000 (UTC) (envelope-from howardjp@byzantine.jameshoward.us) Received: from byzantine.jameshoward.us (byzantine.jameshoward.us [204.109.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 37DCB8FC12 for ; Wed, 9 Jun 2010 02:04:07 +0000 (UTC) Received: from byzantine.jameshoward.us (localhost [127.0.0.1]) by byzantine.jameshoward.us (8.14.3/8.14.3) with ESMTP id o591OXbt030926; Wed, 9 Jun 2010 01:24:33 GMT (envelope-from howardjp@byzantine.jameshoward.us) Received: (from howardjp@localhost) by byzantine.jameshoward.us (8.14.3/8.14.3/Submit) id o591OXt5030925; Tue, 8 Jun 2010 20:24:33 -0500 (EST) (envelope-from howardjp) Message-Id: <201006090124.o591OXt5030925@byzantine.jameshoward.us> Date: Tue, 8 Jun 2010 20:24:33 -0500 (EST) From: "James P. Howard, II" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: "James P. Howard, II" Subject: ports/147710: upgrade textproc/freegrep X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "James P. Howard, II" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2010 02:10:06 -0000 >Number: 147710 >Category: ports >Synopsis: upgrade textproc/freegrep >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 09 02:10:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: James P. Howard II >Release: FreeBSD 8.0-STABLE i386 >Organization: N/A >Environment: System: FreeBSD byzantine.jameshoward.us 8.0-STABLE FreeBSD 8.0-STABLE #4: Sat Jan 23 22:07:32 EST 2010 root@byzantine.jameshoward.us:/usr/obj/usr/src/sys/BYZANTINE i386 >Description: This is a patch to update textproc/freegrep to the latest version. >How-To-Repeat: N/A >Fix: diff -Nur freegrep.orig/Makefile freegrep/Makefile --- freegrep.orig/Makefile 2010-06-08 19:51:35.000000000 -0500 +++ freegrep/Makefile 2010-06-08 20:14:08.000000000 -0500 @@ -6,18 +6,19 @@ # PORTNAME= freegrep -PORTVERSION= 0.16 -PORTREVISION= 1 +PORTVERSION= 1.1 CATEGORIES= textproc -MASTER_SITES= http://www.vocito.com/downloads/software/grep/ +MASTER_SITES= ftp://ftp.jameshoward.us/pub/howardjp/grep/ \ + http://github.com/downloads/howardjp/freegrep/ DISTNAME= grep-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jh@jameshoward.us COMMENT= An implementation of grep(1) under a BSD-friendly license +USE_BZIP2= YES -LIB_DEPENDS= iberty.1:${PORTSDIR}/devel/freelibiberty - -CFLAGS:= -I${LOCALBASE}/include/freelibiberty ${CFLAGS} +PLIST_FILES= bin/grep \ + bin/egrep \ + bin/fgrep \ + bin/zgrep MAN1= grep.1 egrep.1 fgrep.1 zgrep.1 diff -Nur freegrep.orig/distinfo freegrep/distinfo --- freegrep.orig/distinfo 2010-06-08 19:51:35.000000000 -0500 +++ freegrep/distinfo 2010-06-08 20:14:08.000000000 -0500 @@ -1,3 +1,3 @@ -MD5 (grep-0.16.tar.gz) = 403623b26c42159c49216b5eca98b717 -SHA256 (grep-0.16.tar.gz) = bb930af7b3958e198002b0ce4c41a05a91bba426ea630c03a722379e191ebcd6 -SIZE (grep-0.16.tar.gz) = 9712 +MD5 (grep-1.1.tar.bz2) = d8d6a273fdb5a013363c12292fca1a06 +SHA256 (grep-1.1.tar.bz2) = 632c4b2efb14f65bbfe86ae3bcec2517aae1d380539352a2e67d2d2c3dc39513 +SIZE (grep-1.1.tar.bz2) = 14089 diff -Nur freegrep.orig/files/patch-aa freegrep/files/patch-aa --- freegrep.orig/files/patch-aa 2010-06-08 19:51:35.000000000 -0500 +++ freegrep/files/patch-aa 2010-06-08 20:14:08.000000000 -0500 @@ -1,18 +1,16 @@ ---- Makefile.orig Fri Nov 5 17:28:02 1999 -+++ Makefile Fri Jun 30 12:24:05 2000 -@@ -9,8 +9,13 @@ - grep.1 fgrep.1 \ - grep.1 zgrep.1 +--- Makefile.orig 2010-06-07 19:39:01.000000000 -0500 ++++ Makefile 2010-06-08 19:14:59.000000000 -0500 +@@ -15,7 +15,12 @@ + grep.1 zegrep.1 \ + grep.1 zfgrep.1 --CFLAGS+= -I/usr/local/include -Wall -pedantic +-CFLAGS+= -Wall +DESTDIR= ${PREFIX} +BINDIR= /bin +MANDIR= /man/man +NO_MANCOMPRESS= 1 - --LDADD= -lz -L/usr/local/lib/ -liberty -+CFLAGS+= -I${LOCALBASE}/include -Wall -pedantic + -+LDADD= -lz -L${LOCALBASE}/lib -liberty ++CFLAGS+= -Wall -pedantic - .include + .if ${OPSYS} == "Minix" + CPPFLAGS+= -DNOZ -D_POSIX_SOURCE -D_MINIX diff -Nur freegrep.orig/files/patch-ab freegrep/files/patch-ab --- freegrep.orig/files/patch-ab 2010-06-08 19:51:35.000000000 -0500 +++ freegrep/files/patch-ab 1969-12-31 19:00:00.000000000 -0500 @@ -1,15 +0,0 @@ ---- util.c.orig Tue Feb 3 13:36:42 2004 -+++ util.c Tue Feb 3 13:39:49 2004 -@@ -72,10 +72,11 @@ - while ((p = fts_read(fts)) != NULL) { - switch (p->fts_info) { - case FTS_DNR: -- break; -+ /* FALL THROUGH */ - case FTS_ERR: - errx(1, "%s: %s", p->fts_path, strerror(p->fts_errno)); - break; -+ case FTS_D: - case FTS_DP: - break; - default: diff -Nur freegrep.orig/pkg-plist freegrep/pkg-plist --- freegrep.orig/pkg-plist 2010-06-08 19:51:35.000000000 -0500 +++ freegrep/pkg-plist 1969-12-31 19:00:00.000000000 -0500 @@ -1,4 +0,0 @@ -bin/grep -bin/egrep -bin/fgrep -bin/zgrep >Release-Note: >Audit-Trail: >Unformatted: