Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Nov 2009 08:25:48 GMT
From:      bf <bf1783@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140552: [PATCH]textproc/libtre: update to 0.8.0
Message-ID:  <200911140825.nAE8PmoA070228@www.freebsd.org>
Resent-Message-ID: <200911140830.nAE8U1mg011070@freefall.freebsd.org>

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

>Number:         140552
>Category:       ports
>Synopsis:       [PATCH]textproc/libtre: update to 0.8.0
>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:   Sat Nov 14 08:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        9-CURRENT amd64
>Organization:
-
>Environment:
>Description:
This update decrements a shared library version, and changes the ABI.  The following dependent ports will probably need to be patched:

mail/lmtpd
mail/crm114
lang/munger
editors/dkns
www/drood
audio/streamripper
textproc/msort

These ports will need to:

1) link against libtre.so.5, rather than libtre.so.6 (Yes, the major version number has been reduced by 1 -- Don't ask me why.)

2) Include the header tre/regex.h, rather than tre/tre.h, if they use the old API.

I will submit the corresponding update to textproc/py-libtre in a separate PR.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN libtre.orig/Makefile libtre/Makefile
--- libtre.orig/Makefile	2009-11-14 02:38:13.000000000 -0500
+++ libtre/Makefile	2009-11-13 22:03:48.000000000 -0500
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	libtre
-PORTVERSION=	0.7.6
+PORTVERSION=	0.8.0
 CATEGORIES=	textproc
 MASTER_SITES=	http://laurikari.net/tre/
 DISTNAME=	tre-${PORTVERSION}
diff -ruN libtre.orig/distinfo libtre/distinfo
--- libtre.orig/distinfo	2009-11-14 02:38:13.000000000 -0500
+++ libtre/distinfo	2009-11-13 22:04:01.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (tre-0.7.6.tar.bz2) = ada884f6524093aa7d4961f0c97dfe01
-SHA256 (tre-0.7.6.tar.bz2) = 9caa6814f3c4b812316faac8eb401e03bf0108f7335620a1a9cadee4344500e7
-SIZE (tre-0.7.6.tar.bz2) = 378891
+MD5 (tre-0.8.0.tar.bz2) = b4d3232593dadf6746f4727bdda20b41
+SHA256 (tre-0.8.0.tar.bz2) = 8dc642c2cde02b2dac6802cdbe2cda201daf79c4ebcbb3ea133915edf1636658
+SIZE (tre-0.8.0.tar.bz2) = 380714
diff -ruN libtre.orig/pkg-plist libtre/pkg-plist
--- libtre.orig/pkg-plist	2009-11-14 02:38:13.000000000 -0500
+++ libtre/pkg-plist	2009-11-13 22:44:52.000000000 -0500
@@ -1,10 +1,11 @@
 bin/tre_agrep
 include/tre/regex.h
+include/tre/tre.h
 include/tre/tre-config.h
 lib/libtre.a
 lib/libtre.la
 lib/libtre.so
-lib/libtre.so.6
+lib/libtre.so.5
 libdata/pkgconfig/tre.pc
 %%NLS%%share/locale/fi/LC_MESSAGES/tre.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/tre.mo


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



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