From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 24 16:10:02 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9A5A106566C for ; Thu, 24 May 2012 16:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A451A8FC17 for ; Thu, 24 May 2012 16:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4OGA25R049120 for ; Thu, 24 May 2012 16:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4OGA2m3049119; Thu, 24 May 2012 16:10:02 GMT (envelope-from gnats) Resent-Date: Thu, 24 May 2012 16:10:02 GMT Resent-Message-Id: <201205241610.q4OGA2m3049119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alan Hicks Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2742106584C for ; Thu, 24 May 2012 16:01:45 +0000 (UTC) (envelope-from alan@p-o.co.uk) Received: from schnittke.p-o.co.uk (alanhicks.plus.com [80.229.143.200]) by mx1.freebsd.org (Postfix) with ESMTP id 7C34C8FC1D for ; Thu, 24 May 2012 16:01:44 +0000 (UTC) Received: from alan by p-o.co.uk with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1SXa64-00010S-RX for FreeBSD-gnats-submit@freebsd.org; Thu, 24 May 2012 16:37:04 +0100 Message-Id: Date: Thu, 24 May 2012 16:37:04 +0100 From: Alan Hicks To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/168307: Upgrade gmime2 from 2.2.24 to 2.2.27 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alan Hicks List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2012 16:10:02 -0000 >Number: 168307 >Category: ports >Synopsis: Upgrade gmime2 from 2.2.24 to 2.2.27 >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: Thu May 24 16:10:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Alan Hicks >Release: FreeBSD 9.0-RELEASE i386 >Organization: >Environment: System: FreeBSD schnittke.p-o.co.uk 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Upgrade gmime2 from 2.2.24 to 2.2.27 Also take maintainership as it appears to have been abandoned >How-To-Repeat: >Fix: --- gmime2.diff begins here --- diff -urN gmime2.bak/Makefile gmime2/Makefile --- gmime2.bak/Makefile 2012-05-24 11:11:42.000000000 +0100 +++ gmime2/Makefile 2012-05-24 16:20:40.000000000 +0100 @@ -6,14 +6,16 @@ # PORTNAME= gmime -PORTVERSION= 2.2.24 +PORTVERSION= 2.2.27 PORTREVISION?= 0 CATEGORIES?= mail MASTER_SITES= GNOME -MAINTAINER?= ports@FreeBSD.org +MAINTAINER?= ahicks@p-o.co.uk COMMENT?= Library (written in C) for parsing and creating messages using MIME +LICENSE= LGPL21 + CONFLICTS= gmime-1.0.* gmime-2.4.* SLAVEDIRS= mail/gmime2-sharp @@ -23,9 +25,12 @@ USE_GNOME?= gnomehack glib20 USE_LDCONFIG= yes GNU_CONFIGURE= yes +# www.freebsd.org/cgi/query-pr.cgi?pr=118092 +# Rename uudecode and uuencode to gmime-* to not conflict with userland CONFIGURE_ARGS?= --with-libiconv=${LOCALBASE} \ --with-html-dir=${PREFIX}/share/doc \ - --enable-mono=no + --enable-mono=no \ + --program-transform-name="s/uuencode/gmime-uuencode/;s/uudecode/gmime-uudecode/;" CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} diff -urN gmime2.bak/distinfo gmime2/distinfo --- gmime2.bak/distinfo 2012-05-24 11:11:42.000000000 +0100 +++ gmime2/distinfo 2012-05-24 13:48:06.000000000 +0100 @@ -1,2 +1,2 @@ -SHA256 (gmime-2.2.24.tar.gz) = a1bcf57b67b0d245354b61c0a9a92a7467d8b97b9811e7a92927d0ad57018c52 -SIZE (gmime-2.2.24.tar.gz) = 983507 +SHA256 (gmime-2.2.27.tar.gz) = cf627f054707a78a154bdad85a6f2d3f704d8cab0c4f68fc0cc7bdb226e61974 +SIZE (gmime-2.2.27.tar.gz) = 1040421 diff -urN gmime2.bak/files/patch-src_Makefile.in gmime2/files/patch-src_Makefile.in --- gmime2.bak/files/patch-src_Makefile.in 2008-08-17 06:22:37.000000000 +0100 +++ gmime2/files/patch-src_Makefile.in 1970-01-01 01:00:00.000000000 +0100 @@ -1,33 +0,0 @@ -# -# http://www.freebsd.org/cgi/query-pr.cgi?pr=118092 -# -# Rename uudecode and uuencode to gmime-* to not conflict with userland -# ---- src/Makefile.in.orig 2008-07-19 20:57:47.000000000 -0300 -+++ src/Makefile.in 2008-07-20 21:29:18.000000000 -0300 -@@ -24,6 +24,7 @@ - install_sh_SCRIPT = $(install_sh) -c - INSTALL_HEADER = $(INSTALL_DATA) - transform = $(program_transform_name) -+add_gmime = s/^/gmime-/ - NORMAL_INSTALL = : - PRE_INSTALL = : - POST_INSTALL = : -@@ -293,7 +294,7 @@ - if test -f $$p \ - || test -f $$p1 \ - ; then \ -- f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ -+ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/;$(add_gmime)'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ - else :; fi; \ -@@ -302,7 +303,7 @@ - uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ -- f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ -+ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/;$(add_gmime)'`; \ - echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ - rm -f "$(DESTDIR)$(bindir)/$$f"; \ - done --- gmime2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: