pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/bc-gh bc-gh: Update to 3.2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d75e11526a12
branches:  trunk
changeset: 447081:d75e11526a12
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Feb 15 18:20:56 2021 +0000

description:
bc-gh: Update to 3.2.7

Note that "DC_ENV_ARGS" will lead to dc exiting; this was new in 3.1.4
and I have reported that upstream.

Upstream changes, less bugfixes (and hence first/second do not make
sense; see the full NEWS.md in the sources if that upsets you):

## 3.2.5

This is a production release that fixes several bugs and adds a couple small
things.

The two most important bugs were bugs that causes `dc` to access memory
out-of-bounds (crash in debug builds). This was found by upgrading to `afl++`
from `afl`. Both were caused by a failure to distinguish between the same two
cases.

Fourth, the pseudo-random number now attempts to seed itself with `/dev/random`
if `/dev/urandom` fails.

## 3.2.0

This is a production release that has one bug fix and a major addition.

The major addition is a way to build a version of `bc`'s math code as a library.
This is done with the `-a` option to `configure.sh`. The API for the library can
be read in `./manuals/bcl.3.md` or `man bcl` once the library is installed with
`make install`.

This library was requested by developers before I even finished version 1.0, but
I could not figure out how to do it until now.

If the library has API breaking changes, the major version of `bc` will be
incremented.

## 3.1.4

This is a production release that fixes one bug, changes two behaviors, and
removes one environment variable.

The behavior that was changed is that `bc` now exits when given `-e`, `-f`,
`--expression` or `--file`. However, if the last one of those is `-f-` (using
`stdin` as the file), `bc` does not exit. If `-f-` exists and is not the last of
the `-e` and `-f` options (and equivalents), `bc` gives a fatal error and exits.

Next, I removed the `BC_EXPR_EXIT` and `DC_EXPR_EXIT` environment variables
since their use is not needed with the behavior change.

Finally, I made it so `bc` does not print the header, though the `-q` and
`--quiet` options were kept for compatibility with GNU `bc`.

diffstat:

 math/bc-gh/Makefile |   4 ++--
 math/bc-gh/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r f5e02ca2c68c -r d75e11526a12 math/bc-gh/Makefile
--- a/math/bc-gh/Makefile       Mon Feb 15 17:18:14 2021 +0000
+++ b/math/bc-gh/Makefile       Mon Feb 15 18:20:56 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2021/02/15 01:07:24 gdt Exp $
+# $NetBSD: Makefile,v 1.10 2021/02/15 18:20:56 gdt Exp $
 
-VERSION=       3.1.2
+VERSION=       3.2.7
 DISTNAME=      bc-${VERSION}
 PKGNAME=       bc-gh-${VERSION}
 CATEGORIES=    math
diff -r f5e02ca2c68c -r d75e11526a12 math/bc-gh/distinfo
--- a/math/bc-gh/distinfo       Mon Feb 15 17:18:14 2021 +0000
+++ b/math/bc-gh/distinfo       Mon Feb 15 18:20:56 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2020/07/10 00:01:29 gdt Exp $
+$NetBSD: distinfo,v 1.8 2021/02/15 18:20:56 gdt Exp $
 
-SHA1 (bc-3.1.2.tar.xz) = 30c58747f6a51dd5d6a257dd3f9e0dde6de32e2e
-RMD160 (bc-3.1.2.tar.xz) = 91498412894c902c1ceb7f2cd495df17c4c68144
-SHA512 (bc-3.1.2.tar.xz) = c123a322578e7b2213317db8fd95c5596b45f59f8890ce05d0d25bac983d3038c1bda65c8998b760e15efc0ee3a10241f3ca712442b4f444f691dd6c5065e53d
-Size (bc-3.1.2.tar.xz) = 209820 bytes
+SHA1 (bc-3.2.7.tar.xz) = 2736594dce03aab6a22b8ff7063928ae835dafc5
+RMD160 (bc-3.2.7.tar.xz) = dadbccae82d829bb38c724ec5f6087ab66e0e25f
+SHA512 (bc-3.2.7.tar.xz) = b516c400625b54b68ed5c1d484d48d80a094495c1d96437129a835dcc5caf2c29d5524d4b67144d11215569bd6ec1ac90113b3fda0d621c8672313119da4f9fa
+Size (bc-3.2.7.tar.xz) = 228540 bytes



Home | Main Index | Thread Index | Old Index