Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2013 11:45:14 -0700 (PDT)
From:      Raphael Kubo da Costa <kubito@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        perl@FreeBSD.org
Subject:   ports/178515: [PATCH] textproc/ack: update to 2.04
Message-ID:  <518e91ba.2a4b700a.0c42.6c2d@mx.google.com>
Resent-Message-ID: <201305111850.r4BIo0J1074497@freefall.freebsd.org>

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

>Number:         178515
>Category:       ports
>Synopsis:       [PATCH] textproc/ack: update to 2.04
>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:   Sat May 11 18:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Raphael Kubo da Costa
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD orwell 10.0-CURRENT FreeBSD 10.0-CURRENT #10 r250410M: Thu May  9 19:14:47
>Description:
- Update to 2.04
- Use a more user-friendly site in pkg-descr.
- Remove OPTIONS, upstream does not ship completion files anymore.

Please note that ack2 is slightly incompatible with some options present in
ack1.

Port maintainer (perl@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- ack-2.04.patch begins here ---
diff -ruN /usr/ports/textproc/ack/Makefile ./Makefile
--- /usr/ports/textproc/ack/Makefile	2013-03-29 02:44:53.000000000 +0200
+++ ./Makefile	2013-05-11 21:26:27.000000000 +0300
@@ -1,9 +1,8 @@
 # Created by: chinsan <chinsan.tw@gmail.com>
-# $FreeBSD: textproc/ack/Makefile 315509 2013-03-29 00:44:53Z eadler $
+# $FreeBSD: head/textproc/ack/Makefile 315509 2013-03-29 00:44:53Z eadler $
 
 PORTNAME=	ack
-PORTVERSION=	1.96
-PORTREVISION=	1
+PORTVERSION=	2.04
 CATEGORIES=	textproc perl5 sysutils
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	App
@@ -20,19 +19,4 @@
 
 MAN1=		ack.1
 
-OPTIONS_DEFINE=	BASH_COMPLETE
-BASH_COMPLETE_DESC=	install bash completion files
-
-.include <bsd.port.options.mk>
-
-COMPLETION_DIR=		${PREFIX}/etc/bash_completion.d
-.if ${PORT_OPTIONS:MBASH_COMPLETE}
-RUN_DEPENDS+=	${COMPLETION_DIR}:${PORTSDIR}/shells/bash-completion
-PLIST_SUB+=		BASH=""
-post-install:
-	${INSTALL_DATA} ${WRKSRC}/etc/ack.bash_completion.sh ${COMPLETION_DIR}
-.else
-PLIST_SUB+=		BASH="@comment "
-.endif
-
 .include <bsd.port.mk>
diff -ruN /usr/ports/textproc/ack/distinfo ./distinfo
--- /usr/ports/textproc/ack/distinfo	2012-07-14 17:29:18.000000000 +0300
+++ ./distinfo	2013-05-11 21:21:24.000000000 +0300
@@ -1,2 +1,2 @@
-SHA256 (ack-1.96.tar.gz) = bb9d29842d8c5c1ec7ad9b577707aca0e1d278e8e21560dbed76ea3b5aa6cb64
-SIZE (ack-1.96.tar.gz) = 111986
+SHA256 (ack-2.04.tar.gz) = 7c58d72f61eec4e6e57a418f3a63c6735eafad20d6c319279fe33edc41ef9ac4
+SIZE (ack-2.04.tar.gz) = 209885
diff -ruN /usr/ports/textproc/ack/pkg-descr ./pkg-descr
--- /usr/ports/textproc/ack/pkg-descr	2012-07-14 17:29:18.000000000 +0300
+++ ./pkg-descr	2013-05-11 21:34:59.000000000 +0300
@@ -10,4 +10,4 @@
     * Uses Perl regular expressions
     * Highlights matched text
 
-WWW: http://search.cpan.org/dist/ack/
+WWW: http://beyondgrep.com/
diff -ruN /usr/ports/textproc/ack/pkg-plist ./pkg-plist
--- /usr/ports/textproc/ack/pkg-plist	2012-07-14 17:29:18.000000000 +0300
+++ ./pkg-plist	2013-05-11 21:31:05.000000000 +0300
@@ -1,12 +1,21 @@
 bin/ack
-%%BASH%%etc/bash_completion.d/ack.bash_completion.sh
 %%SITE_PERL%%/App/Ack.pm
-%%SITE_PERL%%/App/Ack/Plugin/Basic.pm
-%%SITE_PERL%%/App/Ack/Plugin.pm
-%%SITE_PERL%%/App/Ack/Repository.pm
+%%SITE_PERL%%/App/Ack/ConfigDefault.pm
+%%SITE_PERL%%/App/Ack/ConfigFinder.pm
+%%SITE_PERL%%/App/Ack/ConfigLoader.pm
+%%SITE_PERL%%/App/Ack/Filter.pm
+%%SITE_PERL%%/App/Ack/Filter/Default.pm
+%%SITE_PERL%%/App/Ack/Filter/Extension.pm
+%%SITE_PERL%%/App/Ack/Filter/FirstLineMatch.pm
+%%SITE_PERL%%/App/Ack/Filter/Inverse.pm
+%%SITE_PERL%%/App/Ack/Filter/Is.pm
+%%SITE_PERL%%/App/Ack/Filter/Match.pm
 %%SITE_PERL%%/App/Ack/Resource.pm
+%%SITE_PERL%%/App/Ack/Resource/Basic.pm
+%%SITE_PERL%%/App/Ack/Resources.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/ack/.packlist
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/ack
-@dirrmtry %%SITE_PERL%%/App/Ack/Plugin
+@dirrmtry %%SITE_PERL%%/App/Ack/Resource
+@dirrmtry %%SITE_PERL%%/App/Ack/Filter
 @dirrmtry %%SITE_PERL%%/App/Ack
 @dirrmtry %%SITE_PERL%%/App
--- ack-2.04.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518e91ba.2a4b700a.0c42.6c2d>