Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Mar 2012 07:31:52 -0800 (PST)
From:      "Jason E. Hale" <bsdkaffee@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/165716: [MAINTAINER] finance/libofx: Update to 0.9.5
Message-ID:  <4f54dc68.e25c340a.3c13.3aaa@mx.google.com>
Resent-Message-ID: <201203051540.q25FeBBr093851@freefall.freebsd.org>

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

>Number:         165716
>Category:       ports
>Synopsis:       [MAINTAINER] finance/libofx: Update to 0.9.5
>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:   Mon Mar 05 15:40:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jason E. Hale
>Release:        FreeBSD 9.0-RELEASE i386
>Organization:
none 
>Environment:
System: FreeBSD mocha.verizon.net 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 19 11:42:41 EST 2012 Jason@mocha.verizon.net:/usr/obj/usr/src/sys/MOCHA9 i386


	
>Description:
- Update finance/libofx to 0.9.5
- There is a shlib bump so all ports depending on libofx need PORTREVISION
  bumps and change ofx.4 -> ofx.5
	
>How-To-Repeat:
- Use attached diff
- Affected dependent ports:
    finance/gnucash
    finance/grisbi
    finance/homebank
    finance/kmymoney-kde4
    finance/kmymoney2
    finance/skrooge
	
>Fix:

	

--- 2012-03-05-libofx.patch begins here ---
diff -ruN finance/libofx.orig/Makefile finance/libofx/Makefile
--- finance/libofx.orig/Makefile	2012-02-22 08:20:03.000000000 -0500
+++ finance/libofx/Makefile	2012-03-04 19:53:15.000000000 -0500
@@ -6,13 +6,16 @@
 #
 
 PORTNAME=	libofx
-PORTVERSION=	0.9.4
+PORTVERSION=	0.9.5
 CATEGORIES=	finance
 MASTER_SITES=	SF
 
 MAINTAINER=	bsdkaffee@gmail.com
 COMMENT=	OpenSource implementation of the OFX (Open Financial eXchange)
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 LIB_DEPENDS=	curl.6:${PORTSDIR}/ftp/curl \
 		xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26 \
 		osp.5:${PORTSDIR}/textproc/opensp
@@ -30,9 +33,6 @@
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
-
 MAN1=		ofxconnect.1 \
 		ofxdump.1
 
diff -ruN finance/libofx.orig/distinfo finance/libofx/distinfo
--- finance/libofx.orig/distinfo	2012-02-22 08:20:03.000000000 -0500
+++ finance/libofx/distinfo	2012-03-04 19:53:15.000000000 -0500
@@ -1,2 +1,2 @@
-SHA256 (libofx-0.9.4.tar.gz) = 9b30641fd5672e7a4a7fd3dd789a8a9df80039e5cc5756e28e16e8935560dbaf
-SIZE (libofx-0.9.4.tar.gz) = 1263379
+SHA256 (libofx-0.9.5.tar.gz) = a075c5634b94bad16f8c949eeb77625d31bedea3bb10a8da174b989ffab7e78e
+SIZE (libofx-0.9.5.tar.gz) = 1526857
diff -ruN finance/libofx.orig/files/patch-lib_ofx_preproc.cpp finance/libofx/files/patch-lib_ofx_preproc.cpp
--- finance/libofx.orig/files/patch-lib_ofx_preproc.cpp	2012-02-22 08:20:03.000000000 -0500
+++ finance/libofx/files/patch-lib_ofx_preproc.cpp	2012-03-04 19:53:15.000000000 -0500
@@ -1,11 +1,11 @@
---- ./lib/ofx_preproc.cpp.orig	2011-04-16 13:10:20.000000000 -0400
-+++ ./lib/ofx_preproc.cpp	2011-04-21 11:03:43.000000000 -0400
-@@ -228,7 +228,7 @@
+--- ./lib/ofx_preproc.cpp.orig	2011-06-08 08:07:52.000000000 -0400
++++ ./lib/ofx_preproc.cpp	2012-02-22 08:46:57.000000000 -0500
+@@ -231,7 +231,7 @@
            memset(iconv_buffer, 0, READ_BUFFER_SIZE * 2);
            size_t inbytesleft = strlen(s_buffer.c_str());
            size_t outbytesleft = READ_BUFFER_SIZE * 2 - 1;
 -#ifdef OS_WIN32
-+#if defined(OS_WIN32) || defined(OS_FREEBSD)
++#if defined(OS_WIN32) || defined(__FreeBSD__)
            const char * inchar = (const char *)s_buffer.c_str();
  #else
            char * inchar = (char *)s_buffer.c_str();
diff -ruN finance/libofx.orig/pkg-plist finance/libofx/pkg-plist
--- finance/libofx.orig/pkg-plist	2012-02-22 08:20:03.000000000 -0500
+++ finance/libofx/pkg-plist	2012-03-04 20:00:12.000000000 -0500
@@ -5,7 +5,7 @@
 lib/libofx.a
 lib/libofx.la
 lib/libofx.so
-lib/libofx.so.4
+lib/libofx.so.5
 libdata/pkgconfig/libofx.pc
 %%DATADIR%%/dtd/ofc.dtd
 %%DATADIR%%/dtd/ofx160.dtd
diff -ruN finance/gnucash.orig/Makefile finance/gnucash/Makefile
--- finance/gnucash.orig/Makefile	2012-03-05 08:22:04.000000000 -0500
+++ finance/gnucash/Makefile	2012-03-05 09:15:49.000000000 -0500
@@ -8,6 +8,7 @@
 
 PORTNAME=	gnucash
 PORTVERSION=	2.4.9
+PORTREVISION=	1
 CATEGORIES=	finance gnome
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
 
@@ -82,7 +83,7 @@
 
 .if defined(WITH_OFX)
 CONFIGURE_ARGS+=--enable-ofx
-LIB_DEPENDS+=	ofx.4:${PORTSDIR}/finance/libofx
+LIB_DEPENDS+=	ofx.5:${PORTSDIR}/finance/libofx
 PLIST_SUB+=	OFX=""
 .else
 CONFIGURE_ARGS+=--disable-ofx
diff -ruN finance/grisbi.orig/Makefile finance/grisbi/Makefile
--- finance/grisbi.orig/Makefile	2012-03-05 09:16:06.000000000 -0500
+++ finance/grisbi/Makefile	2012-03-05 09:16:26.000000000 -0500
@@ -7,13 +7,14 @@
 
 PORTNAME=	grisbi
 PORTVERSION=	0.8.6
+PORTREVISION=	1
 CATEGORIES=	finance
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION:R}.x/
 
 MAINTAINER=	thierry@FreeBSD.org
 COMMENT=	A personnal accounting application
 
-LIB_DEPENDS=	ofx.4:${PORTSDIR}/finance/libofx	\
+LIB_DEPENDS=	ofx.5:${PORTSDIR}/finance/libofx	\
 		ssl.7:${PORTSDIR}/security/openssl
 
 LICENSE=	GPLv2
diff -ruN finance/homebank.orig/Makefile finance/homebank/Makefile
--- finance/homebank.orig/Makefile	2012-03-05 09:16:53.000000000 -0500
+++ finance/homebank/Makefile	2012-03-05 09:17:15.000000000 -0500
@@ -7,6 +7,7 @@
 
 PORTNAME=	homebank
 PORTVERSION=	4.4
+PORTREVISION=	1
 CATEGORIES=	finance
 MASTER_SITES=	http://homebank.free.fr/public/
 
@@ -32,7 +33,7 @@
 .if defined(WITHOUT_OFX)
 CONFIGURE_ARGS+=--without-ofx
 .else
-LIB_DEPENDS+=	ofx.4:${PORTSDIR}/finance/libofx
+LIB_DEPENDS+=	ofx.5:${PORTSDIR}/finance/libofx
 CONFIGURE_ARGS+=--with-ofx
 .endif
 
diff -ruN finance/kmymoney-kde4.orig/Makefile finance/kmymoney-kde4/Makefile
--- finance/kmymoney-kde4.orig/Makefile	2012-03-05 09:18:27.000000000 -0500
+++ finance/kmymoney-kde4/Makefile	2012-03-05 09:19:10.000000000 -0500
@@ -7,6 +7,7 @@
 
 PORTNAME=	kmymoney
 PORTVERSION=	4.6.2
+PORTREVISION=	1
 CATEGORIES=	finance kde
 MASTER_SITES=	SF/${PORTNAME}2/KMyMoney-KDE4/${PORTVERSION}
 
@@ -59,7 +60,7 @@
 .endif
 
 .if defined(WITH_OFX)
-LIB_DEPENDS+=	ofx.4:${PORTSDIR}/finance/libofx
+LIB_DEPENDS+=	ofx.5:${PORTSDIR}/finance/libofx
 CMAKE_ARGS+=	-DENABLE_LIBOFX:BOOL=ON
 PLIST_SUB+=	WITH_OFX=""
 .else
diff -ruN finance/kmymoney2.orig/Makefile finance/kmymoney2/Makefile
--- finance/kmymoney2.orig/Makefile	2012-03-05 09:19:40.000000000 -0500
+++ finance/kmymoney2/Makefile	2012-03-05 09:20:54.000000000 -0500
@@ -7,6 +7,7 @@
 
 PORTNAME=	kmymoney2
 PORTVERSION=	1.0.5
+PORTREVISION=	1
 CATEGORIES=	finance
 MASTER_SITES=	SF/${PORTNAME}/KMyMoney/${PORTVERSION}
 
@@ -15,9 +16,8 @@
 
 BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
 
-LIB_DEPENDS=	osp.5:${PORTSDIR}/textproc/opensp
-
-LIB_DEPENDS+=	ofx.4:${PORTSDIR}/finance/libofx
+LIB_DEPENDS=	osp.5:${PORTSDIR}/textproc/opensp \
+		ofx.5:${PORTSDIR}/finance/libofx
 
 USE_KDELIBS_VER=3
 USE_GMAKE=	yes
diff -ruN finance/skrooge.orig/Makefile finance/skrooge/Makefile
--- finance/skrooge.orig/Makefile	2012-03-05 09:21:27.000000000 -0500
+++ finance/skrooge/Makefile	2012-03-05 09:21:43.000000000 -0500
@@ -7,14 +7,14 @@
 
 PORTNAME=	skrooge
 PORTVERSION=	1.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	finance kde
 MASTER_SITES=	http://skrooge.org/files/
 
 MAINTAINER=	kde@FreeBSD.org
 COMMENT=	A personal finances manager for KDE
 
-LIB_DEPENDS=	ofx.4:${PORTSDIR}/finance/libofx \
+LIB_DEPENDS=	ofx.5:${PORTSDIR}/finance/libofx \
 		sqlite3:${PORTSDIR}/databases/sqlite3 \
 		qca.2:${PORTSDIR}/devel/qca \
 		grantlee_gui.0:${PORTSDIR}/devel/grantlee
--- 2012-03-05-libofx.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?4f54dc68.e25c340a.3c13.3aaa>