Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2011 18:53:39 GMT
From:      Pedro Giffuni <giffunip@tutopia.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/158353: Update textproc/gnugrep to version 2.9
Message-ID:  <201106271853.p5RIrdWT029472@red.freebsd.org>
Resent-Message-ID: <201106271900.p5RJ0Qfl009603@freefall.freebsd.org>

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

>Number:         158353
>Category:       ports
>Synopsis:       Update textproc/gnugrep to version 2.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 27 19:00:25 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Pedro Giffuni
>Release:        9.0-Current
>Organization:
>Environment:
FreeBSD mogwai.giffuni.net 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Sat Apr 30 01:37:57 PDT 2011     root@build9x64.pcbsd.org:/usr/obj/pcbsd-build90/fbsd-source/9.0/sys/PCBSD  amd64

>Description:
- Update to version 2.9
- Warn uses of the dangers of this code by defining the LICENSE.
- Make PCRE the default, so that this package has some added value wrt the base grep.

The last point is just a suggestion: maintainer can decide to leave it as-is.

>How-To-Repeat:

>Fix:
Patch attached.

Patch attached with submission follows:

diff -ruN gnugrep.orig/Makefile gnugrep/Makefile
--- gnugrep.orig/Makefile	2011-06-27 13:39:15.000000000 +0000
+++ gnugrep/Makefile	2011-06-27 13:39:56.000000000 +0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	grep
-PORTVERSION=	2.8
-PORTREVISION=	1
+PORTVERSION=	2.9
 CATEGORIES=	textproc
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -18,6 +17,8 @@
 
 CONFLICTS=	bsd-grep-*
 
+LICENSE=	GPLv3
+
 USE_XZ=		yes
 GNU_CONFIGURE=	yes
 
@@ -26,7 +27,7 @@
 		grep.1
 INFO=		grep
 
-OPTIONS=	PCRE	"Compile with Perl-compatible regex support"	off
+OPTIONS=	PCRE	"Compile with Perl-compatible regex support"	on
 
 .include <bsd.port.pre.mk>
 
diff -ruN gnugrep.orig/distinfo gnugrep/distinfo
--- gnugrep.orig/distinfo	2011-06-27 13:39:15.000000000 +0000
+++ gnugrep/distinfo	2011-06-27 13:40:21.000000000 +0000
@@ -1,2 +1,2 @@
-SHA256 (grep-2.8.tar.xz) = 2c27916c34d8689f1f32c5fc7d0eb59057305dbe55515f9108d262b54805396c
-SIZE (grep-2.8.tar.xz) = 1015844
+SHA256 (grep-2.9.tar.xz) = e60301c5e1acb171949dd62175adcdade95a06aa8b22e6192184b58cc34cae60
+SIZE (grep-2.9.tar.xz) = 1041396


>Release-Note:
>Audit-Trail:
>Unformatted:



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