Up to [cvs.NetBSD.org] / pkgsrc / finance / libofx
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
finance/libofx: Update to 0.10.9
* Use cmake to build.
Changelog:
2022-10-03, LibOFX 0.10.9:
- Fix library name on Windows (#88)
- Fix several more memory issues (#90)
2022-09-27, LibOFX 0.10.8:
- Fix null pointer dereference bugs (#87)
- Initial support for exporting Config.cmake with targets (#81)
- Fix version and tools description in vcpkg.json
- Add cpack rules for "make source_package"
- Fix installation path of libofx.h (#83)
- Rename some variables that shadowed others to clarify different meanings #75 (#80)
2022-09-08, LibOFX 0.10.7:
- autotools: fix LIBOFX_MAJOR_VERSION and friends in libofx.h (#76)
- CMake: miscellaneous fixes (#73)
2022-09-04, LibOFX 0.10.6:
- Update FindOpenSP; also allow to forcefully ENABLE SP_MULTI_BYTE (#71)
- Add support for CMake build system (#63)
- Minor code cleanup in CharStringtostring function and its header (#65)
- Ignore SGML parser character error because the char is accepted fine (#60) (#64)
- Fix find_dtd() when OFX_DTD_PATH env var is used (#66)
- Add ./configure option to disable CLI tools
- Only link ofx2qif against C++ STD lib
- Win32 code fixes for MSVC compilation
- Don't deconst iconv input buffer under Windows (#51)
2022-04-19, LibOFX 0.10.5:
- Fix missing include for ptrdiff_t on Homebrew (#57)
2022-04-18, LibOFX 0.10.4:
- #56: Fix parallel builds by fixing the man-page build
- #54: Remove all "using namespace std" directives
- #53: Fix some minor memory leaks
- Revert #44 (fix "typos" in source code) because it was wrong
2021-09-29, LibOFX 0.10.3:
- #45: fix gmt offset seconds
- #44: fix various typos in source code
- fix win32 build failure
2021-04-23, LibOFX 0.10.2:
- #41: Improved imported date stability, see gnucash bug
797848 and gnucash bug 636340.
- #40: Respect --libdir for opensp. Don't override docdir.
2021-01-25, LibOFX 0.10.1:
- Issue #37 fixed: Correct casting of iconv input argument
- Issue #30 fixed: Let ofxdump also return an error value on error
- Code cleanup towards normal C++
2021-01-03, LibOFX 0.10.0:
- Issue #34 fixed: Remove unimplemented function from libofx.h header
- Issue #30 fixed: Return error value if file parsing is unsuccessful in libofx_proc_file
- Issue #29 fixed: Use given parameter for actual file type in libofx_proc_file
- Large contribution adding investment / security handling in OFX files, by jeffjl74.
- ABI-breaking change, hence MINOR version incremented (due to MAJOR still at zero),
but libofx.h API should only have additions
- Details:
- jeffjl74 Enhanced handling of investments in OFX files (support not added to OFC)
- increased OFX_SECNAME_LENGTH to match the OFX spec (ABI-breaking change, hence MINOR version incremented)
- OfxSecurityData now includes:
- an enum for the type of the security (stock, bond, fund, option)
- the optional <SECINFO> fields
- the mandatory <DEBTINFO> and <OPTINFO> fields
- the optional <DEBTINFO> and <OPTINFO> fields
- added <INVBAL> parsing for cash balances in investment accounts
- usefulness depends upon how the broker uses these fields
- Vanguard fund account puts the market value in there instead of the cash balance
- other tested brokers use it appropriately, though the date of the balance is sometimes inconsistent
usually due to unsettled trades, i.e. the "as of" date will say "today" but the cash
balance will actually be from a couple of days ago with the difference being unsettled trades.
- <STMTTRN> fields under an <INVBANKTRAN> are now parsed into an OfxInvestmentTransactionContainer
- This changes previous behaviour. LibOFX formerly provided an OfxBankTransactionContainer.
Now it sets data.invtransactiontype_valid true with data.invtransactiontype = OFX_INVBANKTRAN.
The end result is that the transaction callback now looks like an investment transaction
(which it is) rather than a banking transaction (which it is not).
- added the fields from section 13.9.2.4.2 of OFX spec 2.1.1 to OfxTransactionData
- provides better support for bonds, options, and 401(k)
- added <INVPOS> support to provide balances for securities
- responds to sourceforge feature request #7
- adds new callback for investment positions
- adds new OfxPositionData struct
- adds new ofx_set_position_cb function
- added <CURRENCY>, <ORIGCURRENCY>, <CURRATE> and <CURSYM> parsing and fields to transactions, securities, and positions
- added a new account type OfxAccountData::OFX_401K
- if set, will add <INC401K>Y</INC401K> and <INC401KBAL>Y</INC401KBAL> in the investment statement request
- this is currently untested
- added parsing of transactions for 401k in the response (tested only via ofxdump on spec examples)
- added a fix for sourceforge bug #46 account callback on <TRANSFER>
- <TRANSFER> no longer results in redundant/irrelevant account and statement callbacks
- modified ofxdump to support the above changes
- added investment account examples from OFX 2.1.1 spec to "ofx_sample_files"
- fixed some time offsets in the OFX spec examples
- section 13.13: EST is GMT -5
- section 16.5.3.2: August is not PST or GMT -8. Changed to -7 PDT
- section 16.5.4.2: August is not PST or GMT -8. Changed to -7 PDT
- updated existing samples to fix the time formats (added seconds to the time format)
- could not get openSP to parse ofx201.dtd
- for elements that actually still provide their data,
ofxdump generates lots of parse errors on an OFX 2.x file.
Data handling for these elements in ofx_sgml.cpp is a little unorthodox.
libofx: updated to 0.9.15 LibOFX 0.9.15: - Fix segfault on uninitialized iconv - Make file format less stringent - Minor fixes in the build system LibOFX 0.9.14: - Fix proprietary tags striping eating the content of the previous tag if proprietary tag is in the middle of the line - Don't output invalid line numbers on the console before SGML processing starts LibOFX 0.9.13: - Fix potential heap overflow - Fix crash on some malformed ofx files - Fix crash in ofxconnect on missing command line arguments - Fix for daylight savings time handling - Easier compile on macos: obey LIBTOOLIZE env variable, and fallback to glibtoolize - Fix compile on win32 (mingw-w64) - Performance an reliability fixes in header parsing - Strip CATEGORY tag added by Chase bank LibOFX 0.9.12: - Fix a buffer overflow on unexpected tag names. LibOFX 0.9.11: - Add support for client uid, from KDE bug 366326
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 <benoitg@coeus.ca>
- 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 <christian@cstimming.de>
- 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 <bdonlan@gmail.com>
- 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 <notting@redhat.com> with various C++ include fixes for building with recent compilers.
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
Remove @dirrm entries from PLISTs
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.
Fixed pkglint warnings.
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.
Initial revision