pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/ledger ledger: update to 3.1.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/229766d9ab23
branches: trunk
changeset: 329890:229766d9ab23
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Feb 17 11:55:03 2019 +0000
description:
ledger: update to 3.1.2.
* 3.1.2 (2019-02-05)
- Increase maximum length for regex from 255 to 4095 (bug #981)
- Initialize periods from from/since clause rather than earliest
transaction date (bug #1159)
- Check balance assertions against the amount after the posting (bug #1147)
- Allow balance assertions with multiple posts to same account (bug #1187)
- Fix period duration of "every X days" and similar statements (bug #370)
- Make option --force-color not require --color anymore (bug #1109)
- Add quoted_rfc4180 to allow CVS output with RFC 4180 compliant quoting.
- Add support for --prepend-format in accounts command
- Fix handling of edge cases in trim function (bug #520)
- Fix auto xact posts not getting applied to account total during
journal parse (bug #552)
- Transfer null_post flags to generated postings
- Fix segfault when using --market with --group-by
- Use amount_width variable for budget report
- Keep pending items in budgets until the last day they apply
- Fix bug where .total used in value expressions breaks totals
- Make automated transactions work with assertions (bug #1127)
- Improve parsing of date tokens (bug #1626)
- Don't attempt to invert a value if it's already zero (bug #1703)
- Do not parse user-specified init-file twice
- Fix parsing issue of effective dates (bug #1722, TALOS-2017-0303,
CVE-2017-2807)
- Fix use-after-free issue with deferred postings (bug #1723, TALOS-2017-0304,
CVE-2017-2808)
- Fix possible stack overflow in option parsing routine (bug #1222,
CVE-2017-12481)
- Fix possible stack overflow in date parsing routine (bug #1224,
CVE-2017-12482)
- Fix use-after-free when using --gain (bug #541)
- Python: Removed double quotes from Unicode values.
- Python: Ensure that parse errors produce useful RuntimeErrors
- Python: Expose journal expand_aliases
- Python: Expose journal_t::register_account
- Improve bash completion
- Emacs Lisp files have been moved to https://github.com/ledger/ledger-mode
- Fix build under MSYS (32-bit).
- Fix build under Cygwin.
- Various documentation improvements
diffstat:
finance/ledger/Makefile | 7 ++++---
finance/ledger/PLIST | 3 +--
finance/ledger/distinfo | 15 ++++++---------
finance/ledger/patches/patch-CMakeLists.txt | 15 ---------------
finance/ledger/patches/patch-src_item.h | 16 ----------------
finance/ledger/patches/patch-src_main.cc | 18 ++++++++++++++++++
finance/ledger/patches/patch-src_system.hh.in | 18 ------------------
finance/ledger/patches/patch-src_utils.h | 15 ---------------
8 files changed, 29 insertions(+), 78 deletions(-)
diffs (161 lines):
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/Makefile
--- a/finance/ledger/Makefile Sun Feb 17 11:44:38 2019 +0000
+++ b/finance/ledger/Makefile Sun Feb 17 11:55:03 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2018/12/13 19:51:51 adam Exp $
+# $NetBSD: Makefile,v 1.11 2019/02/17 11:55:03 wiz Exp $
-DISTNAME= ledger-3.1.1
-PKGREVISION= 9
+DISTNAME= ledger-3.1.2
CATEGORIES= finance
MASTER_SITES= ${MASTER_SITE_GITHUB:=ledger/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -15,6 +14,8 @@
USE_LANGUAGES= c++ c
GCC_REQD+= 4.8
+CMAKE_ARGS+= -DUSE_PYTHON27_COMPONENT=ON
+
.include "options.mk"
REPLACE_INTERPRETER+= python
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/PLIST
--- a/finance/ledger/PLIST Sun Feb 17 11:44:38 2019 +0000
+++ b/finance/ledger/PLIST Sun Feb 17 11:55:03 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/02/18 05:48:51 riastradh Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/02/17 11:55:03 wiz Exp $
bin/ledger
include/ledger/account.h
include/ledger/amount.h
@@ -49,7 +49,6 @@
include/ledger/session.h
include/ledger/stats.h
include/ledger/stream.h
-include/ledger/strptime.h
include/ledger/system.hh
include/ledger/temps.h
include/ledger/timelog.h
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/distinfo
--- a/finance/ledger/distinfo Sun Feb 17 11:44:38 2019 +0000
+++ b/finance/ledger/distinfo Sun Feb 17 11:55:03 2019 +0000
@@ -1,10 +1,7 @@
-$NetBSD: distinfo,v 1.4 2018/08/20 20:45:25 wiz Exp $
+$NetBSD: distinfo,v 1.5 2019/02/17 11:55:03 wiz Exp $
-SHA1 (ledger-3.1.1.tar.gz) = 77ad24ce4947e2f130e58d8e8bc4c5b6920a0222
-RMD160 (ledger-3.1.1.tar.gz) = 07645c8d798e386eb4ed0a5a9e3dcf6fe0a184f8
-SHA512 (ledger-3.1.1.tar.gz) = 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5
-Size (ledger-3.1.1.tar.gz) = 842364 bytes
-SHA1 (patch-CMakeLists.txt) = 14160d9d0fad56665fe7c6ffd5fec89541d62fb2
-SHA1 (patch-src_item.h) = 994e1e87fdf7510bcac364fb554d2ec012ba84d3
-SHA1 (patch-src_system.hh.in) = c9f5830aaf77681d93eedb78d06fa91f47a7b478
-SHA1 (patch-src_utils.h) = 0dcff070c9088e9e6bea7cc41cdec3701eae3ac9
+SHA1 (ledger-3.1.2.tar.gz) = fd4b6db8cc4b611a7b1d246e9d88a40dda9ace0b
+RMD160 (ledger-3.1.2.tar.gz) = af1d9114953f46abd1ec702169a102f0815fac0d
+SHA512 (ledger-3.1.2.tar.gz) = 445d9a9c70aa3e59718f8fb75e4110c73f2f476436149fdd456b5fe7b9cee9333c09647080049989599dfac491e5bdd0d143717e58e15989db0fcaad4e5a958d
+Size (ledger-3.1.2.tar.gz) = 801112 bytes
+SHA1 (patch-src_main.cc) = d887e39e2a68fe594c93819e95eed9a4f469844d
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/patches/patch-CMakeLists.txt
--- a/finance/ledger/patches/patch-CMakeLists.txt Sun Feb 17 11:44:38 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2018/05/20 08:38:47 wiz Exp $
-
-pkgsrc library is versioned, adapt check.
-
---- CMakeLists.txt.orig 2016-01-11 15:59:38.000000000 +0000
-+++ CMakeLists.txt
-@@ -68,7 +68,7 @@ if (USE_PYTHON)
-
- find_package(PythonLibs)
- if (PYTHONLIBS_FOUND)
-- set(BOOST_PYTHON python)
-+ set(BOOST_PYTHON python27)
- set(HAVE_BOOST_PYTHON 1)
- include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS})
- else()
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/patches/patch-src_item.h
--- a/finance/ledger/patches/patch-src_item.h Sun Feb 17 11:44:38 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_item.h,v 1.1 2018/03/14 13:59:52 wiz Exp $
-
-Fix build with boost-1.61+ and gcc-6.
-https://github.com/ledger/ledger/commit/258cab91ab702e82d477b41bb1c6a026c848bda5
-
---- src/item.h.orig 2016-01-11 15:59:38.000000000 +0000
-+++ src/item.h
-@@ -92,7 +92,7 @@ public:
-
- typedef std::pair<optional<value_t>, bool> tag_data_t;
- typedef std::map<string, tag_data_t,
-- function<bool(string, string)> > string_map;
-+ std::function<bool(string, string)> > string_map;
-
- state_t _state;
- optional<date_t> _date;
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/patches/patch-src_main.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/ledger/patches/patch-src_main.cc Sun Feb 17 11:55:03 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_main.cc,v 1.1 2019/02/17 11:55:03 wiz Exp $
+
+Canonicalize pkgsrc readline.h filename. This is seen both by
+consumers of devel/readline and by consumers of devel/editline, via
+buildlink3 magic. The only reason editline/readline.h may exist is to
+allow both devel/readline and devel/editline to coexist.
+
+--- src/main.cc.orig 2019-02-05 13:30:45.000000000 +0000
++++ src/main.cc
+@@ -36,7 +36,7 @@
+ #include "session.h"
+
+ #ifdef HAVE_EDIT
+-#include <editline/readline.h>
++#include <readline/readline.h>
+ #endif
+
+ using namespace ledger;
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/patches/patch-src_system.hh.in
--- a/finance/ledger/patches/patch-src_system.hh.in Sun Feb 17 11:44:38 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-$NetBSD: patch-src_system.hh.in,v 1.1 2017/02/18 05:48:52 riastradh Exp $
-
-Canonicalize pkgsrc readline.h filename. This is seen both by
-consumers of devel/readline and by consumers of devel/editline, via
-buildlink3 magic. The only reason editline/readline.h may exist is to
-allow both devel/readline and devel/editline to coexist.
-
---- src/system.hh.in.orig 2016-01-11 15:59:38.000000000 +0000
-+++ src/system.hh.in
-@@ -168,7 +168,7 @@ typedef std::ostream::pos_type ostream_p
- #include "utf8.h"
-
- #if HAVE_EDIT
--#include <editline/readline.h>
-+#include <readline/readline.h>
- #endif
-
- #include <boost/algorithm/string.hpp>
diff -r 55a70eae4697 -r 229766d9ab23 finance/ledger/patches/patch-src_utils.h
--- a/finance/ledger/patches/patch-src_utils.h Sun Feb 17 11:44:38 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-src_utils.h,v 1.1 2018/08/20 20:45:26 wiz Exp $
-
-Fix build with boost-1.68+.
-
---- src/utils.h.orig 2016-01-11 15:59:38.000000000 +0000
-+++ src/utils.h
-@@ -44,7 +44,7 @@
- #ifndef _UTILS_H
- #define _UTILS_H
-
--#include <boost/uuid/sha1.hpp>
-+#include <boost/uuid/detail/sha1.hpp>
-
- /**
- * @name Default values
Home |
Main Index |
Thread Index |
Old Index