pkgsrc-Changes archive

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

CVS commit: pkgsrc/finance/ledger



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Feb 17 11:55:03 UTC 2019

Modified Files:
        pkgsrc/finance/ledger: Makefile PLIST distinfo
Added Files:
        pkgsrc/finance/ledger/patches: patch-src_main.cc
Removed Files:
        pkgsrc/finance/ledger/patches: patch-CMakeLists.txt patch-src_item.h
            patch-src_system.hh.in patch-src_utils.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/finance/ledger/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/finance/ledger/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/finance/ledger/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/finance/ledger/patches/patch-CMakeLists.txt \
    pkgsrc/finance/ledger/patches/patch-src_item.h \
    pkgsrc/finance/ledger/patches/patch-src_system.hh.in \
    pkgsrc/finance/ledger/patches/patch-src_utils.h
cvs rdiff -u -r0 -r1.1 pkgsrc/finance/ledger/patches/patch-src_main.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/ledger/Makefile
diff -u pkgsrc/finance/ledger/Makefile:1.10 pkgsrc/finance/ledger/Makefile:1.11
--- pkgsrc/finance/ledger/Makefile:1.10 Thu Dec 13 19:51:51 2018
+++ pkgsrc/finance/ledger/Makefile      Sun Feb 17 11:55:03 2019
@@ -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_CMAKE=    yes
 USE_LANGUAGES= c++ c
 GCC_REQD+=     4.8
 
+CMAKE_ARGS+=   -DUSE_PYTHON27_COMPONENT=ON
+
 .include "options.mk"
 
 REPLACE_INTERPRETER+=  python

Index: pkgsrc/finance/ledger/PLIST
diff -u pkgsrc/finance/ledger/PLIST:1.1 pkgsrc/finance/ledger/PLIST:1.2
--- pkgsrc/finance/ledger/PLIST:1.1     Sat Feb 18 05:48:51 2017
+++ pkgsrc/finance/ledger/PLIST Sun Feb 17 11:55:03 2019
@@ -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/select.h
 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

Index: pkgsrc/finance/ledger/distinfo
diff -u pkgsrc/finance/ledger/distinfo:1.4 pkgsrc/finance/ledger/distinfo:1.5
--- pkgsrc/finance/ledger/distinfo:1.4  Mon Aug 20 20:45:25 2018
+++ pkgsrc/finance/ledger/distinfo      Sun Feb 17 11:55:03 2019
@@ -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

Added files:

Index: pkgsrc/finance/ledger/patches/patch-src_main.cc
diff -u /dev/null pkgsrc/finance/ledger/patches/patch-src_main.cc:1.1
--- /dev/null   Sun Feb 17 11:55:03 2019
+++ pkgsrc/finance/ledger/patches/patch-src_main.cc     Sun Feb 17 11:55:03 2019
@@ -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;



Home | Main Index | Thread Index | Old Index