Hi,

this updates textproc/tre to the latest version (0.9.0), now available
on github.

cc'ing maintainers of consuming ports (textproc/ding, editors/vis,
www/elinks). textproc/ding will need a revision bump, because it's
linked statically against libtre.a.

Everything still builds fine for me on amd64 (and the tests of tre
itself work fine). I'll will wait a few days in case someone wants to do
some testing with the three ports depending on tre.

Ciao,
        Kili

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/tre/Makefile,v
diff -u -p -r1.20 Makefile
--- Makefile    21 Jul 2025 15:44:28 -0000      1.20
+++ Makefile    31 Jan 2026 22:35:28 -0000
@@ -1,20 +1,18 @@
 COMMENT=       lightweight regexp matching library with additional features
 
-DISTNAME=              tre-0.8.0
-EXTRACT_SUFX=          .tar.bz2
+V=                     0.9.0
+DISTNAME=              tre-$V
 CATEGORIES=            textproc
-REVISION=              5
 
-HOMEPAGE=              http://laurikari.net/tre/
-
-SITES=                 ${HOMEPAGE}
+HOMEPAGE=              https://github.com/laurikari/tre
+SITES=                 ${HOMEPAGE}/releases/download/v$V/
 
 MAINTAINER=            Matthias Kilian <[email protected]>
 
 # 2-clause BSD
 PERMIT_PACKAGE=        Yes
 
-SHARED_LIBS += tre                  7.0      # 5.0
+SHARED_LIBS += tre                  7.1      # 5.0
 
 WANTLIB=               c iconv intl pthread
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/tre/distinfo,v
diff -u -p -r1.4 distinfo
--- distinfo    28 Jan 2013 21:08:04 -0000      1.4
+++ distinfo    31 Jan 2026 22:35:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (tre-0.8.0.tar.bz2) = jcZCws3gKy2saALNvizaIB2vecTry7PqEzkV7fFjZlg=
-SIZE (tre-0.8.0.tar.bz2) = 380714
+SHA256 (tre-0.9.0.tar.gz) = 9X9WmMr9/lFtEfsLcXBZFv4RYvFLCM9p18+GkjtaJHc=
+SIZE (tre-0.9.0.tar.gz) = 579986
Index: patches/patch-tests_agrep_exitstatus_ok
===================================================================
RCS file: patches/patch-tests_agrep_exitstatus_ok
diff -N patches/patch-tests_agrep_exitstatus_ok
--- patches/patch-tests_agrep_exitstatus_ok     11 Mar 2022 20:03:33 -0000      
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,91 +0,0 @@
-# Those tests are supposed to bail out with exit code 2 (confirmed by
-# upstream).
-
---- tests/agrep/exitstatus.ok.orig     Fri Dec  8 20:07:03 2006
-+++ tests/agrep/exitstatus.ok  Thu Jan  4 15:12:26 2007
-@@ -524,65 +524,64 @@ Exit status 1.
- Exit status 1.
- #### TEST: agrep  -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep  -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -c -d .* dummy exitstatus.in
--exitstatus.in:0
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -c -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -H -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -H -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -l -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -l -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -n -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -n -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -s -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -s -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -M -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -M -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep --show-position -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep --show-position -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep --color -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep --color -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -H -n -s --color --show-position -d .* dummy exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep -H -n -s --color --show-position -d .* dummy < exitstatus.in
- 
--Exit status 1.
-+Exit status 2.
- #### TEST: agrep  -d {1 dummy exitstatus.in
- 
- Exit status 2.
Index: patches/patch-tests_retest_c
===================================================================
RCS file: patches/patch-tests_retest_c
diff -N patches/patch-tests_retest_c
--- patches/patch-tests_retest_c        11 Mar 2022 20:03:33 -0000      1.4
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
---- tests/retest.c.orig        Fri May 22 13:22:44 2009
-+++ tests/retest.c     Sun Apr 17 10:24:01 2011
-@@ -1625,6 +1625,7 @@ main(int argc, char **argv)
- 
- 
- 
-+#ifndef __OpenBSD__
-   /*
-    * Internationalization tests.
-    */
-@@ -1632,8 +1633,9 @@ main(int argc, char **argv)
-   /* This same test with the correct locale is below. */
-   test_comp("��+", REG_EXTENDED, 0);
-   test_exec("���ξޤϡ�����������������", 0, REG_OK, 10, 13, END);
-+#endif
- 
--#if !defined(WIN32) && !defined(__OpenBSD__)
-+#ifndef WIN32
-   if (setlocale(LC_CTYPE, "en_US.ISO-8859-1") != NULL)
-     {
-       printf("\nTesting LC_CTYPE en_US.ISO-8859-1\n");
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/tre/pkg/PLIST,v
diff -u -p -r1.6 PLIST
--- pkg/PLIST   11 Mar 2022 20:03:33 -0000      1.6
+++ pkg/PLIST   31 Jan 2026 22:35:28 -0000
@@ -4,10 +4,11 @@ include/tre/
 include/tre/regex.h
 include/tre/tre-config.h
 include/tre/tre.h
-lib/libtre.a
+@static-lib lib/libtre.a
 lib/libtre.la
 @lib lib/libtre.so.${LIBtre_VERSION}
 lib/pkgconfig/tre.pc
 @man man/man1/agrep.1
 share/locale/fi/LC_MESSAGES/tre.mo
 share/locale/sv/LC_MESSAGES/tre.mo
+share/locale/zh_CN/LC_MESSAGES/tre.mo

Reply via email to