head 1.7; access; symbols pkgsrc-2014Q4:1.6.0.4 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.2 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.5.0.22 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.20 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.18 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.16 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.14 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.12 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.10 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.5.0.8 pkgsrc-2012Q3-base:1.5 pkgsrc-2012Q2:1.5.0.6 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.4 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.2 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.4.0.12 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.10 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.8 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.6 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.4 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.2 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.3.0.34 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.32 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.30 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.28 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.26 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.24 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.22 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.20 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.18 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.16 pkgsrc-2008Q1:1.3.0.14 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.12 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.10 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.8 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.6 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.4 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.2 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-20060205:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2014.12.30.13.13.21; author wiz; state dead; branches; next 1.6; commitid BO0TBjVWtlQK844y; 1.6 date 2014.08.21.04.48.52; author dbj; state Exp; branches; next 1.5; commitid kniaeUebbuKLybNx; 1.5 date 2011.12.10.17.48.33; author marino; state Exp; branches; next 1.4; 1.4 date 2010.05.20.06.54.23; author wiz; state Exp; branches; next 1.3; 1.3 date 2006.09.03.13.02.18; author wiz; state Exp; branches; next 1.2; 1.2 date 2006.02.08.16.21.51; author joerg; state Exp; branches; next 1.1; 1.1 date 2006.02.05.22.25.01; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.02.05.22.25.01; author wiz; state Exp; branches; next ; desc @@ 1.7 log @Update to 0.9.10: 2014-09-12, LibOFX 0.9.10: - Fix missing balance dates (ledger_balance_date, available_balance_date) 2013-09-09, LibOFX 0.9.9: - Fix missing increment of SO_CURRENT number in libofx-0.9.6 to avoid crashes when mixing this with older applications - bug#41: Fix a crash that occurs while importing a possibly invalid OFX file. Patch by Cristian Onet. 2013-04-17, LibOFX 0.9.8: - Fix errorneous reading of files with empty lines - bug#24: Fix build error on solaris. - bug#40: Fix compiler warnings of OFX clang 2013-04-11, LibOFX 0.9.7: - Fix errorneous reading of files with long lines 2013-03-30, LibOFX 0.9.6: - Extend buffer for TRANSACTION_NAME to 96 bytes due to UTF-8 multibyte characters. - Patch by Geert Janssens to fix typo in info message - Patch by Geert Janssens to allow lines longer than 1024 caracters - Fix treatment of empty date strings: Must return a zero date instead of a bogus one. - Replace unlink() with remove() to fix compile problems with gcc 4.7 - Make configure fail if gengetopt is missing and generated files are not present (as is the case when we checkout from git) - Fix garbled character encoding for UTF-8 encoded OFX 2.0 (XML) files. Sadly, because of a bug in OpenSP with xml decoding this currently means that iso-8859-1 OFX-2.0 files will still not be properly decoded. LibOFX 0.9.5: Benoit Grégoire - Workaround OFX files specifying invalid encoding values (specifically: UNICODE and CP1252). This should fix most encoding problems reported. - Look for DTD in source directory (simplifies developpement) Christian Stimming - Add minor argument checking - Expose field: OfxSecurityData::fiid in API - Make string arguments a const reference where appropriate - Add configure check for help2man tool Ryan Donlan - Improve build system and autoconf 2.68 compatibility - Improve generated man pages - Use GCC's -fvisibility=hidden to hide internal symbols from external users. LibOFX 0.9.4: - Patch to fix segfault on some malformed date formats. Inspired by Zach's patch on launchpad. - Packages-oriented changes: - LibOFX will now look for DTDs in env variable OFX_DTD_PATH (if present). - Better handling of paths (tolerates trailing path separator, or lack thereof) - No longer ignore return value of mkstemp() - Integrate all changes in Ubuntu's package that weren't already upstream - Move to LibXML++ 2.6, as 1.0 is deprecated - Add generated man pages with html2man LibOFX 0.9.3: - Fix segfault on some files containing missing closing tags (bug #2969817) LibOFX 0.9.2: - Win32: Add gnucash patch that looks up the dtd installation directory from the current executable's location. - Apply patch by Geert Janssens to fix a crash on invalid date format - Apply patch by ajseward with some additional fixes to allow wraping the library in python. - Apply patch by Thomas Baumgart which fixes bug #5 (Transaction posting date off by one) - Apply patch by Bill Nottingham with various C++ include fixes for building with recent compilers. @ text @$NetBSD: patch-aa,v 1.6 2014/08/21 04:48:52 dbj Exp $ --- 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 #include #include +#include #include #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 +#if !defined(OS_LINUX) && !defined(__DragonFly__) && !defined(__APPLE__) const char * inchar = (const char *)s_buffer.c_str(); #else char * inchar = (char *)s_buffer.c_str(); @ 1.6 log @fix darwin build @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2011/12/10 17:48:33 marino Exp $ @ 1.5 log @finance/libofx: Fix use of iconv on DragonFly @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2010/05/20 06:54:23 wiz Exp $ d18 1 a18 1 +#if !defined(OS_LINUX) && !defined(__DragonFly__) @ 1.4 log @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 @ text @d1 1 a1 1 $NetBSD$ d18 1 a18 1 +#ifndef OS_LINUX @ 1.3 log @Update to 0.8.2: LibOFX 0.8.2: - bug fixes for GCC4.x and 64-bit compatibility - fix to enable OFXDirectConnect in Aqbanking - improvements to ofxpartner functionality - minor build system modifications - new fields for fees, commissions and stock split data - fix a memory leak and a potential crashing bug Remove curl/buildlink3.mk from buildlink3.mk, since the library provided by this package is not linked against curl. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2006/02/08 16:21:51 joerg Exp $ d3 3 a5 3 --- lib/ofx_preproc.cpp.orig 2006-08-25 15:31:15.000000000 +0000 +++ lib/ofx_preproc.cpp @@@@ -21,6 +21,7 @@@@ d13 9 @ 1.2 log @mkstemp is in unistd.h on DragonFly and FreeBSD, so include that as well. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- lib/ofx_preproc.cpp.orig 2004-09-02 00:39:51.000000000 +0000 a12 9 @@@@ -204,7 +205,7 @@@@ CFCT int libofx_proc_buffer(LibofxContex string s_buffer; char *filenames[3]; char tmp_filename[50]; - unsigned int pos; + string::size_type pos; LibofxContext *libofx_context; libofx_context=(LibofxContext*)ctx; @ 1.1 log @Initial revision @ text @d3 11 a13 3 --- lib/ofx_preproc.cpp.orig 2006-01-02 11:57:37.000000000 -0500 +++ lib/ofx_preproc.cpp 2006-01-02 11:58:09.000000000 -0500 @@@@ -204,7 +204,7 @@@@ @ 1.1.1.1 log @Initial import of libofx-0.8.0, based on the package provided by Gary Duzan in PR 32439: This is the LibOFX library. It is a parser and an API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions for statement downloads. To my knowledge, it is the first working OpenSource implementation of the OFX (Open Financial eXchange) specification on the client side. @ text @@