pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/finance/libofx Update to 0.9.1, based on PR 43330 by G...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75227491e676
branches:  trunk
changeset: 575701:75227491e676
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu May 20 06:54:23 2010 +0000

description:
Update to 0.9.1, based on PR 43330 by Gary Duzan.
Set LICENSE.

LibOFX 0.9.0:
        - this release now exports version information thus allowing depending applications
          to determine the version of LibOFX to compile against
        - some fields have been added to OfxFiLogin to allow for modification of some
          OFX header fields in outgoing requests. Together with the latest AqBanking3 this
          should fix the problem with servers suddenly rejecting connections from LibOFX
          applications
        - the calling application can now tell libofx where the data files reside. This allows
          for relocatable binaries (most importantly on Windows)
        - some warnings from recent versions of GCC have been fixed
        - libOFX can now easily be cross-compiled for Windows on Linux
        - the OFX header is now scanned for a hint regarding the encoding of the document and
          convert the data to UTF8 if iconv is available at compile time.
        - the API for online requests has been cleaned up

diffstat:

 finance/libofx/Makefile         |    6 +-
 finance/libofx/PLIST            |  179 +++++++++++++++++++++++++--------------
 finance/libofx/distinfo         |   10 +-
 finance/libofx/patches/patch-aa |   17 ++-
 4 files changed, 133 insertions(+), 79 deletions(-)

diffs (truncated from 303 to 300 lines):

diff -r 35f14c4c6939 -r 75227491e676 finance/libofx/Makefile
--- a/finance/libofx/Makefile   Thu May 20 04:33:39 2010 +0000
+++ b/finance/libofx/Makefile   Thu May 20 06:54:23 2010 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.10 2010/01/17 12:02:16 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2010/05/20 06:54:23 wiz Exp $
 #
 
-DISTNAME=      libofx-0.8.3
-PKGREVISION=   4
+DISTNAME=      libofx-0.9.1
 CATEGORIES=    finance devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libofx/}
 
 MAINTAINER=    gary%duzan.org@localhost
 HOMEPAGE=      http://libofx.sourceforge.net/
 COMMENT=       OFX (Open Financial eXchange) Library
+LICENSE=       gnu-gpl-v2
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
diff -r 35f14c4c6939 -r 75227491e676 finance/libofx/PLIST
--- a/finance/libofx/PLIST      Thu May 20 04:33:39 2010 +0000
+++ b/finance/libofx/PLIST      Thu May 20 06:54:23 2010 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:53:35 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2010/05/20 06:54:23 wiz Exp $
 bin/ofx2qif
 bin/ofxconnect
 bin/ofxdump
@@ -63,9 +63,13 @@
 share/doc/libofx/html/classtree_1_1sibling__iterator.html
 share/doc/libofx/html/classtree_1_1sibling__iterator.png
 share/doc/libofx/html/classtree__node__.html
+share/doc/libofx/html/cmdline_8c-source.html
+share/doc/libofx/html/cmdline_8h-source.html
+share/doc/libofx/html/cmdline_8h.html
 share/doc/libofx/html/config_8h-source.html
 share/doc/libofx/html/context_8cpp-source.html
 share/doc/libofx/html/context_8hh-source.html
+share/doc/libofx/html/deprecated.html
 share/doc/libofx/html/doxygen.css
 share/doc/libofx/html/doxygen.png
 share/doc/libofx/html/file__preproc_8cpp-source.html
@@ -111,72 +115,109 @@
 share/doc/libofx/html/functions_func.html
 share/doc/libofx/html/functions_type.html
 share/doc/libofx/html/functions_vars.html
-share/doc/libofx/html/fx-0_88_82_2lib_2context_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2context_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2file__preproc_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2file__preproc_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2file__preproc_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2file__preproc_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2getopt1_8c-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2getopt_8c-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2gnugetopt_8h-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2messages_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2messages_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2messages_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2messages_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofc__sgml_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofc__sgml_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofc__sgml_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofc__sgml_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__aggregate_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__aggregate_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__account_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__account_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__generic_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__generic_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__main_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__main_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__security_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__security_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__statement_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__statement_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__transaction_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__container__transaction_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__containers_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__containers_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__containers__misc_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__containers__misc_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__error__msg_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__error__msg_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__preproc_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__preproc_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__preproc_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__preproc_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__accountinfo_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__statement_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__statement_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__statement_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__request__statement_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__sgml_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__sgml_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__sgml_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__sgml_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__utilities_8cpp-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__utilities_8cpp.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__utilities_8hh-source.html
-share/doc/libofx/html/fx-0_88_82_2lib_2ofx__utilities_8hh.html
-share/doc/libofx/html/fx-0_88_82_2lib_2tree_8hh-source.html
+share/doc/libofx/html/functions_vars_0x62.html
+share/doc/libofx/html/functions_vars_0x63.html
+share/doc/libofx/html/functions_vars_0x64.html
+share/doc/libofx/html/functions_vars_0x65.html
+share/doc/libofx/html/functions_vars_0x66.html
+share/doc/libofx/html/functions_vars_0x68.html
+share/doc/libofx/html/functions_vars_0x69.html
+share/doc/libofx/html/functions_vars_0x6c.html
+share/doc/libofx/html/functions_vars_0x6d.html
+share/doc/libofx/html/functions_vars_0x6e.html
+share/doc/libofx/html/functions_vars_0x6f.html
+share/doc/libofx/html/functions_vars_0x70.html
+share/doc/libofx/html/functions_vars_0x72.html
+share/doc/libofx/html/functions_vars_0x73.html
+share/doc/libofx/html/functions_vars_0x74.html
+share/doc/libofx/html/functions_vars_0x75.html
+share/doc/libofx/html/functions_vars_0x76.html
+share/doc/libofx/html/fx-0_89_81_2lib_2context_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2context_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2file__preproc_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2file__preproc_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2file__preproc_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2file__preproc_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2getopt1_8c-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2getopt_8c-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2gnugetopt_8h-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2messages_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2messages_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2messages_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2messages_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofc__sgml_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofc__sgml_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofc__sgml_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofc__sgml_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__aggregate_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__aggregate_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__account_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__account_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__generic_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__generic_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__main_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__main_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__security_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__security_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__statement_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__statement_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__transaction_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__container__transaction_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__containers_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__containers_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__containers__misc_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__containers__misc_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__error__msg_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__error__msg_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__preproc_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__preproc_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__preproc_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__preproc_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__accountinfo_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__accountinfo_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__accountinfo_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__accountinfo_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__statement_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__statement_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__statement_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__request__statement_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__sgml_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__sgml_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__sgml_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__sgml_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__utilities_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__utilities_8cpp.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__utilities_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2ofx__utilities_8hh.html
+share/doc/libofx/html/fx-0_89_81_2lib_2tree_8hh-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2win32_8cpp-source.html
+share/doc/libofx/html/fx-0_89_81_2lib_2win32_8hh-source.html
 share/doc/libofx/html/getopt1_8c-source.html
 share/doc/libofx/html/getopt_8c-source.html
 share/doc/libofx/html/globals.html
-share/doc/libofx/html/globals_defs.html
+share/doc/libofx/html/globals_0x62.html
+share/doc/libofx/html/globals_0x63.html
+share/doc/libofx/html/globals_0x64.html
+share/doc/libofx/html/globals_0x65.html
+share/doc/libofx/html/globals_0x66.html
+share/doc/libofx/html/globals_0x67.html
+share/doc/libofx/html/globals_0x69.html
+share/doc/libofx/html/globals_0x6b.html
+share/doc/libofx/html/globals_0x6c.html
+share/doc/libofx/html/globals_0x6d.html
+share/doc/libofx/html/globals_0x6f.html
+share/doc/libofx/html/globals_0x70.html
+share/doc/libofx/html/globals_0x71.html
+share/doc/libofx/html/globals_0x72.html
+share/doc/libofx/html/globals_0x73.html
+share/doc/libofx/html/globals_0x74.html
+share/doc/libofx/html/globals_0x75.html
+share/doc/libofx/html/globals_0x76.html
+share/doc/libofx/html/globals_0x77.html
 share/doc/libofx/html/globals_enum.html
 share/doc/libofx/html/globals_eval.html
 share/doc/libofx/html/globals_func.html
@@ -187,8 +228,8 @@
 share/doc/libofx/html/inc_2libofx_8h-source.html
 share/doc/libofx/html/inc_2libofx_8h.html
 share/doc/libofx/html/index.html
-share/doc/libofx/html/libofx-0_88_82_2inc_2libofx_8h-source.html
-share/doc/libofx/html/libofx-0_88_82_2inc_2libofx_8h.html
+share/doc/libofx/html/libofx-0_89_81_2inc_2libofx_8h-source.html
+share/doc/libofx/html/libofx-0_89_81_2inc_2libofx_8h.html
 share/doc/libofx/html/main.html
 share/doc/libofx/html/main__doc_8c-source.html
 share/doc/libofx/html/messages_8cpp-source.html
@@ -263,10 +304,10 @@
 share/doc/libofx/html/ofxpartner_8cpp.html
 share/doc/libofx/html/ofxpartner_8h-source.html
 share/doc/libofx/html/ofxpartner_8h.html
+share/doc/libofx/html/pages.html
 share/doc/libofx/html/structErrorMsg.html
 share/doc/libofx/html/structLibofxFileFormatInfo.html
 share/doc/libofx/html/structOfxAccountData.html
-share/doc/libofx/html/structOfxAccountInfo.html
 share/doc/libofx/html/structOfxCurrency.html
 share/doc/libofx/html/structOfxFiLogin.html
 share/doc/libofx/html/structOfxFiServiceInfo.html
@@ -276,6 +317,8 @@
 share/doc/libofx/html/structOfxStatementData.html
 share/doc/libofx/html/structOfxStatusData.html
 share/doc/libofx/html/structOfxTransactionData.html
+share/doc/libofx/html/structcmdline__parser__params.html
+share/doc/libofx/html/structgengetopt__args__info.html
 share/doc/libofx/html/structoption.html
 share/doc/libofx/html/tab_b.gif
 share/doc/libofx/html/tab_l.gif
@@ -283,6 +326,8 @@
 share/doc/libofx/html/tabs.css
 share/doc/libofx/html/tree.html
 share/doc/libofx/html/tree_8hh-source.html
+share/doc/libofx/html/win32_8cpp-source.html
+share/doc/libofx/html/win32_8hh-source.html
 share/doc/libofx/totest.txt
 share/libofx/dtd/ofc.dtd
 share/libofx/dtd/ofx160.dtd
diff -r 35f14c4c6939 -r 75227491e676 finance/libofx/distinfo
--- a/finance/libofx/distinfo   Thu May 20 04:33:39 2010 +0000
+++ b/finance/libofx/distinfo   Thu May 20 06:54:23 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2007/09/05 16:42:16 drochner Exp $
+$NetBSD: distinfo,v 1.7 2010/05/20 06:54:23 wiz Exp $
 
-SHA1 (libofx-0.8.3.tar.gz) = 0fa22f0535c1f50d4b9056f6f86d1429f1c8485f
-RMD160 (libofx-0.8.3.tar.gz) = a5c9acd6af4ce252d5a0941c82436af72961cd7c
-Size (libofx-0.8.3.tar.gz) = 971250 bytes
-SHA1 (patch-aa) = 639e3a0d4204966ff318e27aa9eea79e2783c00e
+SHA1 (libofx-0.9.1.tar.gz) = a12110ddcbff596e26496865570fb4dcb75c08d0
+RMD160 (libofx-0.9.1.tar.gz) = 84b139cb39006f8f6433d490d72e83f103156952
+Size (libofx-0.9.1.tar.gz) = 1177818 bytes
+SHA1 (patch-aa) = dc3df3ee3b6154a529bf407f9f2eacdf07499c2f
 SHA1 (patch-ab) = 1afecedcc76ac45824a13da1d2a39881c734a179
diff -r 35f14c4c6939 -r 75227491e676 finance/libofx/patches/patch-aa
--- a/finance/libofx/patches/patch-aa   Thu May 20 04:33:39 2010 +0000
+++ b/finance/libofx/patches/patch-aa   Thu May 20 06:54:23 2010 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2006/09/03 13:02:18 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2010/05/20 06:54:23 wiz Exp $
 
---- lib/ofx_preproc.cpp.orig   2006-08-25 15:31:15.000000000 +0000
-+++ lib/ofx_preproc.cpp
-@@ -21,6 +21,7 @@
+--- lib/ofx_preproc.cpp.orig   2008-12-06 17:22:57.000000000 -0500
++++ lib/ofx_preproc.cpp        2010-05-18 19:03:57.000000000 -0400
+@@ -22,6 +22,7 @@
  #include <fstream>
  #include <stdlib.h>
  #include <stdio.h>
@@ -10,3 +10,12 @@
  #include <string>
  #include "ParserEventGeneratorKit.h"
  #include "libofx.h"
+@@ -185,7 +186,7 @@ CFCT int ofx_proc_file(LibofxContextPtr 
+           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
++#ifndef OS_LINUX



Home | Main Index | Thread Index | Old Index