pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

textproc/p5-ack upgrade



Hi,

I noticed - by chance - that textproc/p5-ack package in pkgsrc is
still on version 2.24; the recommendation on the site is to upgrade to
version 3. This is trivial:

Create the distfile:

git clone https://github.com/beyondgrep/ack3 && mv ack3 ack-3.31 &&
tar czvf /usr/pkgsrc/distfiles/ack-3.31.tar.gz --exclude .git ack-3.31

My local patch:
----------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/p5-ack/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- Makefile 11 Aug 2019 13:23:59 -0000 1.32
+++ Makefile 2 Feb 2020 09:59:01 -0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2019/08/11 13:23:59 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2020/02/02 09:47:28 xci Exp $

-DISTNAME= ack-2.24
+DISTNAME= ack-3.31
 PKGNAME= p5-${DISTNAME}
-PKGREVISION= 2
 CATEGORIES= textproc perl5
 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=App/}

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/p5-ack/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- distinfo 24 Jun 2018 09:17:27 -0000 1.14
+++ distinfo 2 Feb 2020 09:59:01 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.14 2018/06/24 09:17:27 wiz Exp $

-SHA1 (ack-2.24.tar.gz) = 513c9d9a96343b35d08c19e5978c6a7acdf125a7
-RMD160 (ack-2.24.tar.gz) = 3b3ed0652882d4df0ae6efbdf95b31060e6b86a9
-SHA512 (ack-2.24.tar.gz) =
3778c1d70ae08852eff9d8dd75688713bbb8dd15d4e72c07a3829cf362c7bfeba1175275e66cfe99265ba28777b6833734ebd6debb4ec4ec79df06ac46a79c24
-Size (ack-2.24.tar.gz) = 261289 bytes
+SHA1 (ack-3.31.tar.gz) = 8673c66b66a584185d66bbe21aa7e982b47fd703
+RMD160 (ack-3.31.tar.gz) = 395ed6902b3aa3de6894e2ae3521766844d06ffe
+SHA512 (ack-3.31.tar.gz) =
4a494f90d3368383ac3cbc9c22bee0ebe34798d0d57738ae9c9d9134599ebf9479be574b3785b57ae50a5f7d0dc577a53bdbbd23cce07f67bf9cd5b698af27f5
+Size (ack-3.31.tar.gz) = 866641 bytes
---------------

'make test' result:
------
Test Summary Report
-------------------
All tests successful.
Files=70, Tests=864, 81 wallclock secs ( 0.53 usr  0.10 sys + 68.37
cusr 12.91 csys = 81.91 CPU)
Result: PASS

(one test fails if ran as root)
--------------

Chavdar






-- 
----


Home | Main Index | Thread Index | Old Index