notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
gh-bc GNU compatible bc/dc calculator
6.7.5_1 math on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 6.7.4Version of this port present on the latest quarterly branch.
Maintainer: se@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-01-28 22:00:20
Last Update: 2024-01-21 20:24:08
Commit Hash: 7b4ba28
Also Listed In: lang
License: BSD2CLAUSE MIT
WWW:
https://git.gavinhoward.com/gavin/bc
Description:
This is an implementation of POSIX bc that implements GNU bc extensions, as well as the period (".") extension for the BSD flavor of bc. bc is an arbitrary precision numeric processing language. Its syntax is similar to C but differs in many substantial areas. It supports interactive execution of statements. The bc utility is included in the POSIX 1003.1-2008 standard. This bc also includes an implementation of dc in the same binary, accessible via a symbolic link, which implements all FreeBSD and GNU extensions. If a single dc binary is desired, bc can be copied and renamed to dc. The "!" command is omitted; I believe that it poses security concerns and that such functionality is unnecessary.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (83 items)
Collapse this list.
  1. /usr/local/share/licenses/gh-bc-6.7.5_1/catalog.mk
  2. /usr/local/share/licenses/gh-bc-6.7.5_1/LICENSE
  3. /usr/local/share/licenses/gh-bc-6.7.5_1/BSD2CLAUSE
  4. /usr/local/share/licenses/gh-bc-6.7.5_1/MIT
  5. bin/bc
  6. bin/dc
  7. share/man/man1/bc.1.gz
  8. share/man/man1/dc.1.gz
  9. share/nls/C/bc.cat
  10. share/nls/de_AT.ISO8859-1/bc.cat
  11. share/nls/de_AT.ISO8859-15/bc.cat
  12. share/nls/de_AT.UTF-8/bc.cat
  13. share/nls/de_CH.ISO8859-1/bc.cat
  14. share/nls/de_CH.ISO8859-15/bc.cat
  15. share/nls/de_CH.UTF-8/bc.cat
  16. share/nls/de_DE.ISO8859-1/bc.cat
  17. share/nls/de_DE.ISO8859-15/bc.cat
  18. share/nls/de_DE.UTF-8/bc.cat
  19. share/nls/en_AU.ISO8859-1/bc.cat
  20. share/nls/en_AU.ISO8859-15/bc.cat
  21. share/nls/en_AU.US-ASCII/bc.cat
  22. share/nls/en_AU.UTF-8/bc.cat
  23. share/nls/en_CA.ISO8859-1/bc.cat
  24. share/nls/en_CA.ISO8859-15/bc.cat
  25. share/nls/en_CA.US-ASCII/bc.cat
  26. share/nls/en_CA.UTF-8/bc.cat
  27. share/nls/en_GB.ISO8859-1/bc.cat
  28. share/nls/en_GB.ISO8859-15/bc.cat
  29. share/nls/en_GB.US-ASCII/bc.cat
  30. share/nls/en_GB.UTF-8/bc.cat
  31. share/nls/en_IE.ISO8859-1/bc.cat
  32. share/nls/en_IE.ISO8859-15/bc.cat
  33. share/nls/en_IE.UTF-8/bc.cat
  34. share/nls/en_NZ.ISO8859-1/bc.cat
  35. share/nls/en_NZ.ISO8859-15/bc.cat
  36. share/nls/en_NZ.US-ASCII/bc.cat
  37. share/nls/en_NZ.UTF-8/bc.cat
  38. share/nls/en_US.ISO8859-1/bc.cat
  39. share/nls/en_US.ISO8859-15/bc.cat
  40. share/nls/en_US.US-ASCII/bc.cat
  41. share/nls/en_US.UTF-8/bc.cat
  42. share/nls/es_ES.ISO8859-1/bc.cat
  43. share/nls/es_ES.ISO8859-15/bc.cat
  44. share/nls/es_ES.UTF-8/bc.cat
  45. share/nls/fr_BE.ISO8859-1/bc.cat
  46. share/nls/fr_BE.ISO8859-15/bc.cat
  47. share/nls/fr_BE.UTF-8/bc.cat
  48. share/nls/fr_CA.ISO8859-1/bc.cat
  49. share/nls/fr_CA.ISO8859-15/bc.cat
  50. share/nls/fr_CA.UTF-8/bc.cat
  51. share/nls/fr_CH.ISO8859-1/bc.cat
  52. share/nls/fr_CH.ISO8859-15/bc.cat
  53. share/nls/fr_CH.UTF-8/bc.cat
  54. share/nls/fr_FR.ISO8859-1/bc.cat
  55. share/nls/fr_FR.ISO8859-15/bc.cat
  56. share/nls/fr_FR.UTF-8/bc.cat
  57. share/nls/ja_JP.UTF-8/bc.cat
  58. share/nls/ja_JP.eucJP/bc.cat
  59. share/nls/nl_BE.ISO8859-1/bc.cat
  60. share/nls/nl_BE.ISO8859-15/bc.cat
  61. share/nls/nl_NL.ISO8859-1/bc.cat
  62. share/nls/nl_NL.ISO8859-15/bc.cat
  63. share/nls/nl_NL.UTF-8/bc.cat
  64. share/nls/pl_PL.ISO8859-2/bc.cat
  65. share/nls/pl_PL.UTF-8/bc.cat
  66. share/nls/pt_BR.ISO8859-1/bc.cat
  67. share/nls/pt_BR.UTF-8/bc.cat
  68. share/nls/pt_PT.ISO8859-1/bc.cat
  69. share/nls/pt_PT.ISO8859-15/bc.cat
  70. share/nls/pt_PT.UTF-8/bc.cat
  71. share/nls/ru_RU.CP1251/bc.cat
  72. share/nls/ru_RU.CP866/bc.cat
  73. share/nls/ru_RU.ISO8859-5/bc.cat
  74. share/nls/ru_RU.KOI8-R/bc.cat
  75. share/nls/ru_RU.UTF-8/bc.cat
  76. share/nls/zh_CN.GB18030/bc.cat
  77. share/nls/zh_CN.GB2312/bc.cat
  78. share/nls/zh_CN.GBK/bc.cat
  79. share/nls/zh_CN.UTF-8/bc.cat
  80. share/nls/zh_CN.eucCN/bc.cat
  81. @owner
  82. @group
  83. @mode
Collapse this list.
Dependency lines:
  • gh-bc>0:math/gh-bc
Conflicts:
CONFLICTS_INSTALL:
  • gnubc
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/math/gh-bc/ && make install clean
To add the package, run one of these commands:
  • pkg install math/gh-bc
  • pkg install gh-bc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: gh-bc
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1704400745 SHA256 (bc-6.7.5.tar.xz) = c3e02c948d51f3ca9cdb23e011050d2d3a48226c581e0749ed7cbac413ce5461 SIZE (bc-6.7.5.tar.xz) = 468572

Packages (timestamps in pop-ups are UTC):
gh-bc
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest6.7.5_16.7.5_13.2.46.7.5_16.7.5_1-3.2.4-
FreeBSD:13:quarterly6.7.46.7.46.6.06.7.46.7.46.7.46.7.46.7.4
FreeBSD:14:latest6.7.5_16.7.5_16.0.26.7.5_16.7.5_16.6.0-6.6.0
FreeBSD:14:quarterly6.7.46.7.4-6.7.46.7.46.7.46.7.46.7.4
FreeBSD:15:latest6.7.5_16.7.5_1n/a6.7.5_1n/a6.7.5_16.7.5_16.7.5_1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Library dependencies:
  1. libedit.so.0 : devel/libedit
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for gh-bc-6.7.5_1: ====> Options available for the radio HISTORY: you can only select none or one of them LIBEDIT=on: Command line editing via libedit READLINE=off: Command line editing via libreadline INTERNAL=off: Command line editing via private functions ===> Use 'make config' to modify these settings
Options name:
math_gh-bc
USES:
compiler:c11 tar:xz libedit
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/gavinhoward/bc/releases/download/6.7.5/
Collapse this list.

Number of commits found: 78

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
6.7.5_1
21 Jan 2024 20:24:08
commit hash: 7b4ba28e7e6c00b27dc53ae946f58bab1bb2f2f2commit hash: 7b4ba28e7e6c00b27dc53ae946f58bab1bb2f2f2commit hash: 7b4ba28e7e6c00b27dc53ae946f58bab1bb2f2f2commit hash: 7b4ba28e7e6c00b27dc53ae946f58bab1bb2f2f2 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
math/gh-bc: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
6.7.5
04 Jan 2024 22:57:48
commit hash: 85da8c39b9dd74df47ac2248dd3fdad229466009commit hash: 85da8c39b9dd74df47ac2248dd3fdad229466009commit hash: 85da8c39b9dd74df47ac2248dd3fdad229466009commit hash: 85da8c39b9dd74df47ac2248dd3fdad229466009 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 6.7.5

This update fixes a bug that line breaks in printed numbers may not
match the line length set by the user. The value is printed correctly,
just not split as specified in some situations.
6.7.4
15 Dec 2023 18:51:08
commit hash: 86e7ec5beb538853dcf99413cd366995d5460359commit hash: 86e7ec5beb538853dcf99413cd366995d5460359commit hash: 86e7ec5beb538853dcf99413cd366995d5460359commit hash: 86e7ec5beb538853dcf99413cd366995d5460359 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: updat eto version 6.7.4

This version contains updated man pages - no functional chanages.
6.7.2
17 Oct 2023 12:55:08
commit hash: fe33f33d23989613f56c0999593e9614a01afa12commit hash: fe33f33d23989613f56c0999593e9614a01afa12commit hash: fe33f33d23989613f56c0999593e9614a01afa12commit hash: fe33f33d23989613f56c0999593e9614a01afa12 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrade to version 5.7.2

This update fixes an issue with signal handling in interactive use.
6.7.0
29 Sep 2023 20:14:30
commit hash: 920a2f503dce9d8827f55c4a10739c7176b627aacommit hash: 920a2f503dce9d8827f55c4a10739c7176b627aacommit hash: 920a2f503dce9d8827f55c4a10739c7176b627aacommit hash: 920a2f503dce9d8827f55c4a10739c7176b627aa files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 6.7.0

This version offers 3 new functions in the extended math library:
min(), max(), and i2rand().
6.6.1
21 Sep 2023 07:20:31
commit hash: 186080b50f06b2dbb652b0fc5f3686b40924b809commit hash: 186080b50f06b2dbb652b0fc5f3686b40924b809commit hash: 186080b50f06b2dbb652b0fc5f3686b40924b809commit hash: 186080b50f06b2dbb652b0fc5f3686b40924b809 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrade to version 6.6.1

This version provides an optimized implementation of the library
function p(x,y) for calculating the y-th power of x.
6.6.0
24 May 2023 07:15:44
commit hash: 0de1e5e09a906b9b71ce4ef08c5b457c71337fc1commit hash: 0de1e5e09a906b9b71ce4ef08c5b457c71337fc1commit hash: 0de1e5e09a906b9b71ce4ef08c5b457c71337fc1commit hash: 0de1e5e09a906b9b71ce4ef08c5b457c71337fc1 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrade to version 6.6.0

This update removes printing of a leading zero in scientific or
engineering output modes (which are an extended feature of this
implementation).
6.5.0
15 Mar 2023 22:07:39
commit hash: d084843ca959d05774cdcea7a6c68fee4650802dcommit hash: d084843ca959d05774cdcea7a6c68fee4650802dcommit hash: d084843ca959d05774cdcea7a6c68fee4650802dcommit hash: d084843ca959d05774cdcea7a6c68fee4650802d files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 6.5.0

This is a production release that fixes an infinite loop bug in root()
and cbrt(), fixes a bug with BC_LINE_LENGTH=0, and adds the fib()
function to the extended math library to calculate Fibonacci numbers.
6.4.0
03 Mar 2023 22:22:56
commit hash: 22f950518273ea52a88a7e4acc5f8c4d6c1b243dcommit hash: 22f950518273ea52a88a7e4acc5f8c4d6c1b243dcommit hash: 22f950518273ea52a88a7e4acc5f8c4d6c1b243dcommit hash: 22f950518273ea52a88a7e4acc5f8c4d6c1b243d files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 6.4.0

This version contains a fix for an issue that can affect complex
bc scripts that use multiple read() functions that receive input from
an interactive user. The same value could be returned multiple times.
6.3.1
24 Feb 2023 21:58:37
commit hash: 83e69e40b357300cca580928695375c116ef7f8acommit hash: 83e69e40b357300cca580928695375c116ef7f8acommit hash: 83e69e40b357300cca580928695375c116ef7f8acommit hash: 83e69e40b357300cca580928695375c116ef7f8a files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrase to version 6.3.1

This version adds a command to dc to query whether extended registers
are enabled or not.
6.2.4
05 Feb 2023 22:32:01
commit hash: 002fa656dce6064f7cada9f73911c4531375a41ecommit hash: 002fa656dce6064f7cada9f73911c4531375a41ecommit hash: 002fa656dce6064f7cada9f73911c4531375a41ecommit hash: 002fa656dce6064f7cada9f73911c4531375a41e files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 6.2.4

This update changes the URL of the upstream repository in the
documentation to:

	       https://git.gavinhoward.com/gavin/bc
6.2.2
28 Jan 2023 20:48:22
commit hash: ec98f1089a6a1f0dad313e788bc6a3d06d4b4383commit hash: ec98f1089a6a1f0dad313e788bc6a3d06d4b4383commit hash: ec98f1089a6a1f0dad313e788bc6a3d06d4b4383commit hash: ec98f1089a6a1f0dad313e788bc6a3d06d4b4383 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 6.2.2

This update fixes a few issues and adds new features:

 - There was a discrepancy from the bc standard with regards to the
   behavior of the "quit" command. This bc used to quit whenever it
   encountered "quit" during parsing, even if it was parsing a full
   file. Now, bc only quits when encountering "quit" after it has
   executed all executable statements up to that point.
   This behavior is slightly different from GNU bc, but users will
   only notice the difference if they put "quit" on the same line
   as other statements.

 - A memory bug was caused by assigning a string to a non-local
   variable in a function, then redefining the function with use of
(Only the first 15 lines of the commit message are shown above View all of this commit message)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
6.0.2
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
6.0.2
30 Aug 2022 18:47:56
commit hash: 09efc344fa5c0faed358f741bc3c16a48b4bbbc5commit hash: 09efc344fa5c0faed358f741bc3c16a48b4bbbc5commit hash: 09efc344fa5c0faed358f741bc3c16a48b4bbbc5commit hash: 09efc344fa5c0faed358f741bc3c16a48b4bbbc5 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrade to version 6.0.2

Fix combination of -l and -S option: -l could set a scale value set
with -S back to the default scale value.
6.0.1
07 Aug 2022 15:50:21
commit hash: f94f9b43cd2a81b8dd6cddf6d34cc8eab49ab87ecommit hash: f94f9b43cd2a81b8dd6cddf6d34cc8eab49ab87ecommit hash: f94f9b43cd2a81b8dd6cddf6d34cc8eab49ab87ecommit hash: f94f9b43cd2a81b8dd6cddf6d34cc8eab49ab87e files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrade to version 6.0.1

This update adds the -c/-C options to control the clamping behavior
(the parsing of digits not allowed by the current value of ibase).
5.3.3
25 Jun 2022 18:48:59
commit hash: f63c70ee238daf7d8bbab52223a9566982f4b1facommit hash: f63c70ee238daf7d8bbab52223a9566982f4b1facommit hash: f63c70ee238daf7d8bbab52223a9566982f4b1facommit hash: f63c70ee238daf7d8bbab52223a9566982f4b1fa files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.3.3

This update restores suppression of the prompt with option -P, which
had been missing if linked with libedit or libreadline.

Since building the version tagged as 5.3.3 leaves temporary files in
/tmp, this commit includes a post-release update that fixes this build
issue.
5.3.2
14 Jun 2022 19:44:46
commit hash: 0cb86cf9286cb36de56218d6687a67e8067f657ccommit hash: 0cb86cf9286cb36de56218d6687a67e8067f657ccommit hash: 0cb86cf9286cb36de56218d6687a67e8067f657ccommit hash: 0cb86cf9286cb36de56218d6687a67e8067f657c files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.3.2

This update Restores support for suppression of the prompt with -P
when using the libedit or libreadline libraries for command line
editing and history.
5.3.1
11 Jun 2022 10:38:55
commit hash: 6c986da5a751ffb6a89005c4056fbfcc1eae12dfcommit hash: 6c986da5a751ffb6a89005c4056fbfcc1eae12dfcommit hash: 6c986da5a751ffb6a89005c4056fbfcc1eae12dfcommit hash: 6c986da5a751ffb6a89005c4056fbfcc1eae12df files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.3.1

This version supports multiple command line editing and history
implementations:

- editline (default)
- readline
- private implementation (as in prior versions)

The private implementation has been modified to treat ^D on an empty
input line as an EOF signal.
5.2.5
01 May 2022 17:38:38
commit hash: bbe9080b6d4fa74e3f4163e65d32f936a8e505abcommit hash: bbe9080b6d4fa74e3f4163e65d32f936a8e505abcommit hash: bbe9080b6d4fa74e3f4163e65d32f936a8e505abcommit hash: bbe9080b6d4fa74e3f4163e65d32f936a8e505ab files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: updat eto version 5.2.5

This update adds ^D to delete the character under the cursor.
5.2.4
16 Apr 2022 18:53:23
commit hash: 8b701e757dfb0ea19e8cdba2c3d3b57304bba8d2commit hash: 8b701e757dfb0ea19e8cdba2c3d3b57304bba8d2commit hash: 8b701e757dfb0ea19e8cdba2c3d3b57304bba8d2commit hash: 8b701e757dfb0ea19e8cdba2c3d3b57304bba8d2 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.2.4

This update fixes an issue in input line editing: when going left to
the start of the line, the cursor would jump to the end of the line
instead.
5.2.3
07 Mar 2022 21:59:18
commit hash: 5ac49dcc76860cdbe5cd9dbec503fa32fe6fa4bfcommit hash: 5ac49dcc76860cdbe5cd9dbec503fa32fe6fa4bfcommit hash: 5ac49dcc76860cdbe5cd9dbec503fa32fe6fa4bfcommit hash: 5ac49dcc76860cdbe5cd9dbec503fa32fe6fa4bf files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.2.3

This update fixes a parse error when passing a file to bc using -f
if that file has a multiline comment or string in it.
5.2.2
05 Feb 2022 21:16:41
commit hash: 8a186f3121c86d64af020e0d5044d07ea3ef5981commit hash: 8a186f3121c86d64af020e0d5044d07ea3ef5981commit hash: 8a186f3121c86d64af020e0d5044d07ea3ef5981commit hash: 8a186f3121c86d64af020e0d5044d07ea3ef5981 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.2.2

The only change relative to the previous version is that a default
value for the program name is used if the program is invoked with
argv[0] == NULL.
5.2.1
23 Nov 2021 08:53:43
commit hash: c6953e9f2ab66b70aeedd85cff58214f2d8b316fcommit hash: c6953e9f2ab66b70aeedd85cff58214f2d8b316fcommit hash: c6953e9f2ab66b70aeedd85cff58214f2d8b316fcommit hash: c6953e9f2ab66b70aeedd85cff58214f2d8b316f files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.2.1

This version fixes two parse bugs when in POSIX standard mode. One of
these bugs was due to a quirk of the POSIX grammar, and the other was
because bc was too strict.
5.2.0
11 Nov 2021 09:34:19
commit hash: 097ccb73bc4f3e9304133114246d96ba8bd1faf5commit hash: 097ccb73bc4f3e9304133114246d96ba8bd1faf5commit hash: 097ccb73bc4f3e9304133114246d96ba8bd1faf5commit hash: 097ccb73bc4f3e9304133114246d96ba8bd1faf5 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrade to version 5.2.0
5.1.1
06 Oct 2021 21:16:42
commit hash: 53496b5d77d18b3394bea785940daeee5f914d6ccommit hash: 53496b5d77d18b3394bea785940daeee5f914d6ccommit hash: 53496b5d77d18b3394bea785940daeee5f914d6ccommit hash: 53496b5d77d18b3394bea785940daeee5f914d6c files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: upgrade to version 5.1.1

This update fixes a parser issue: syntactically correct if statements
where not accepted in specific situations.
5.1.0
04 Oct 2021 18:35:47
commit hash: a71f65414345e377bebd6555c5797ab03a4a57bdcommit hash: a71f65414345e377bebd6555c5797ab03a4a57bdcommit hash: a71f65414345e377bebd6555c5797ab03a4a57bdcommit hash: a71f65414345e377bebd6555c5797ab03a4a57bd files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.1.0

This version adds options and functions that allow to print numbers
in the open interval (-1 .. 1) with or without a leading 0 digit.

Additionally, an option has been added to prevent line wrap and
allows to print arbitrarily long results on a single line.
5.0.2
28 Aug 2021 17:47:15
commit hash: 0f5bfc3a785fcf97fa8bd772f45eaff841da93b4commit hash: 0f5bfc3a785fcf97fa8bd772f45eaff841da93b4commit hash: 0f5bfc3a785fcf97fa8bd772f45eaff841da93b4commit hash: 0f5bfc3a785fcf97fa8bd772f45eaff841da93b4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.0.2
5.0.0
09 Aug 2021 17:44:01
commit hash: 94a34f976b05bb8b3f2d9eeb4e55c167e4f34179commit hash: 94a34f976b05bb8b3f2d9eeb4e55c167e4f34179commit hash: 94a34f976b05bb8b3f2d9eeb4e55c167e4f34179commit hash: 94a34f976b05bb8b3f2d9eeb4e55c167e4f34179 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: update to version 5.0.0

This is a new major release with a number of changes and extensions:

- Limited the number of temporary numbers and made the space for them
  static so that allocating more space for them cannot fail.
- Allowed integers with non-zero scale to be used with power, places,
  and shift operators.
- Added greatest common divisor and least common multiple to lib2.bc.
- Made bc and dc UTF-8 capable.
- Added the ability for users to have bc and dc quit on SIGINT.
- Added the ability for users to disable prompt and TTY mode by
  environment variables.
- Added the ability for users to redefine keywords.
- Added dc's modular exponentiation and divmod to bc.
- Added the ability to assign strings to variables and array elements
  and pass them to functions in bc.
- Added dc's asciify command and stream printing to bc.
- Added bitwise and, or, xor, left shift, right shift, reverse,
  left rotate, right rotate, and mod functions to lib2.bc.
- Added the functions s2u(x) and s2un(x,n), to lib2.bc.
4.0.2
12 May 2021 05:05:53
commit hash: cb2878118516dcdce63a9d35a0588fe0782e0b69commit hash: cb2878118516dcdce63a9d35a0588fe0782e0b69commit hash: cb2878118516dcdce63a9d35a0588fe0782e0b69commit hash: cb2878118516dcdce63a9d35a0588fe0782e0b69 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/bc: Update to version 4.0.2

This update fixes the initialization of "scale" to 20 if started with
-l and the initial statement leads to an error (e.g. contains a syntax
error). Scale was initialized to 0 in that case.

Another change is the support of job control in interactive mode with
line editing enabled. The control characters have been interpreted as
editing commands only, prior to this version.
4.0.1
21 Apr 2021 14:38:04
commit hash: 0d2bb89b752e5fe408eff02b38e93624e73ccabbcommit hash: 0d2bb89b752e5fe408eff02b38e93624e73ccabbcommit hash: 0d2bb89b752e5fe408eff02b38e93624e73ccabbcommit hash: 0d2bb89b752e5fe408eff02b38e93624e73ccabb files touched by this commit
Stefan Eßer (se) search for other commits by this committer
math/gh-bc: updat eto version 4.0.1

Always flush output after the excution of print statements.
4.0.0
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
4.0.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
4.0.0
06 Apr 2021 07:47:29
commit hash: 634a88402a520bafea8c7a84ac1ec9fd73bd4505commit hash: 634a88402a520bafea8c7a84ac1ec9fd73bd4505commit hash: 634a88402a520bafea8c7a84ac1ec9fd73bd4505commit hash: 634a88402a520bafea8c7a84ac1ec9fd73bd4505 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Update to Version 4.0.0

This version fixes an issue in dc: the P command did not pop the value
being printed from the stack.

The major version bump is due to the addition of Windows compatibility
and does not correspond to a change of functionality on POSIX systems.
3.3.4
19 Mar 2021 08:27:15
Revision:568781Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.3.4

This update adds an implicit flush of the output if read() is called in a
bc script in order to display a prompt without \n in line buffered mode.
3.3.3
05 Mar 2021 10:21:00
Revision:567375Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.3.3

This version fixes a potential division be 0 in the extended math library
(in the non-standard function "root") and makes length(0) return 1 to
restore the behavior of the traditional bc in FreeBSD and of GNU bc.
3.3.0
18 Feb 2021 09:37:23
Revision:565919Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 3.3.0

There is one functional change with regard to -e of -f in BC_ENV_ARGS resp.
DC_ENV_ARGS: these do no longer make the program exit after processing the
commands passed that way (which prevented to use the environment variables
to set parameters for interactive sessions, unless -f- was passed as the
last argument on the command line).
3.2.6
31 Jan 2021 19:17:09
Revision:563518Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.2.6
3.2.4
11 Dec 2020 19:25:47
Revision:557758Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 3.2.4

Test for support of __has_attribute(fallthrough) to allow compilation with
gcc-6 and lower. No functional change.
3.2.3
30 Nov 2020 15:44:57
Revision:556650Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.2.3

A port patch has been merged into the upstream sources.
3.2.0
26 Nov 2020 16:47:29
Revision:556344Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 3.2.0

This update fixes an issue in the bessel function
3.1.6
01 Oct 2020 15:36:27
Revision:550844Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.1.6

This update fixes one (benign) warning generated when compiling with
LLVM-12.

Differential Revision:	https://reviews.freebsd.org/D26593
3.1.5
05 Aug 2020 10:05:16
Revision:544216Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 3.1.5

This version fixes a bug that occurs when running under a chinese locale.

Approved by:	antoine (implicit)
3.1.4
03 Aug 2020 18:48:14
Revision:544101Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 3.1.4

This version improves the compatibility with the bc and dc in base under
two aspects:

1) Remove printing of the version and copyright message for interactive
   invocations of bc an dc.

2) Make dc exit after execution of commands passed via -e or -f. To get
   the behavior of version 3.1.3 back, "-f -" can be appended to the
   command line to read from STDIN until EOF.

Approved by:	antoine (implicit)
3.1.3
10 Jul 2020 10:56:57
Revision:541853Original commit files touched by this commit
se search for other commits by this committer
Update to verdsion 3.1.3

This version fixes an incompatibility with GNU bc:

The statement:

     if (a > b) 1

was rejected, unless followed by "else 0".

Approved by:	antoine (implicit)
3.1.1
07 Jul 2020 05:38:23
Revision:541389Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.1.1

Add spanisch message catalog in ISO8859-1 encoding.

Approved by:	antoine (implicit)
3.1.0
06 Jul 2020 18:36:35
Revision:541357Original commit files touched by this commit
se search for other commits by this committer
Add es_ES.ISO8859-15 message catalog.
3.1.0
06 Jul 2020 18:31:05
Revision:541356Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.1.0

This version improves the compatibility of the -e option with the FreeBSD
version of bc.
3.0.1
20 Jun 2020 10:13:31
Revision:539727Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 3.0.1

This version fixes a warning when building with a strict warnings level
and significantly speeds up ceil() library function.

Approved by:	antoine (implicit)
3.0.0
19 Jun 2020 05:44:08
Revision:539586Original commit files touched by this commit
se search for other commits by this committer
Update to version 3.0.0

This version contains extensive changes to signal handling and input
processing (history) and many small enhancements.

Approved by:	antoine (implicit)
2.7.2
07 May 2020 06:01:49
Revision:534241Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 2.7.2

Fix calculation of array length.

Approved by:	antoine (implicit)
2.7.1
04 May 2020 07:11:58
Revision:533895Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 2.7.1

This version contains small changes to the new NLS files and const qualifiers
to silence the compiler if extra warnings are enabled.

Approved by:	antoine (implicit)
2.7.0
02 May 2020 11:10:32
Revision:533683Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.7.0

This version fixes a problem that only affected getopt_long() on Linux
(or rather, the GLIBC implementation) by replacing its use by optparse().

In addition, this version features a PRNG that can be used to generate
arbitrary length pseudo-random numbers and 5 new translations (for Dutch,
Japanese, Polish, Russian, and Simplified Chinese).

These translations have been generated and verified with online tools
(https://www.deepl.com/translator and https://translate.google.com)
and might therefore not be fully correct - a review by native speakers
would be appreciated.

Approved by:	antoine (implicit)
2.6.1
11 Apr 2020 18:36:21
Revision:531452Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.6.1

This version fixes a bug that only occured when building on FreeBSD
without long options support. It did not affect the port or package,
since it was always built with long options.

Approved by:	antoine (implicit)
2.6.0
11 Mar 2020 17:35:12
Revision:528239Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.6.0

Approved by:	antoine (implicit)
2.5.1_1
23 Jan 2020 08:41:12
Revision:523909Original commit files touched by this commit
se search for other commits by this committer
Final attempt to make the Poruguese locales actually work.

Just roll out the loop to create usable catalogue files instead of
trying to have a loop do the right thing ...

Approved by:	antoine (implicit)
2.5.1
23 Jan 2020 08:08:28
Revision:523902Original commit files touched by this commit
se search for other commits by this committer
Due to the way the Portuguese ISO-8859-* files were named, they were not
installed on FreeBSD. Therefore provide message catalogues according to
out naming scheme to include these files in the build.

Approved by:	antoine (implicit)
2.5.1
23 Jan 2020 07:41:29
Revision:523901Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.5.1

This version introduces Portuguese translations (pt_PT and pt_BR).

Approved by:	antoine (implicit)
2.4.0
03 Dec 2019 10:22:02
Revision:518924Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 2.4.0

This versiom includes enhancements to the bundled dc command.

Approved by:	antoine (implicit)
2.3.1
24 Nov 2019 18:47:57
Revision:518347Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.3.1

Approved by:	antoine (implicit)
2.3.0
11 Nov 2019 14:33:59
Revision:517263Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.3.0

Approved by:	antoine (implicit)
2.1.0
16 Jul 2019 10:03:39
Revision:506737Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 2.1.0.

Approved by:	antoine (implicit)
2.0.3
11 Jun 2019 11:04:28
Revision:503952Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 2.0.3.

Approved by:	antoine (implicit)
2.0.2_2
07 Jun 2019 08:04:18
Revision:503623Original commit files touched by this commit
se search for other commits by this committer
Another attempt to fix build breakage that does only affect the package
builder and does not occur on my system.

Approved by:	antoine (implicit)
2.0.2_1
04 Jun 2019 21:25:41
Revision:503492Original commit files touched by this commit
se search for other commits by this committer
Try to fix a package build error that I cannot reproduce on my system.

Even though "poudriere testport" completed without error, I have received
a failure message from the build cluster. Since I cannot reproduce the
problem, I can only guess that it is caused by a symbolic link in the
share/nls directory that connects nls/C to nls/en_US.US-ASCII.

I had problems with the nls/C directory disappearing due to that link
before (it is deleted as empty when the last catalog file is deleted on
package deinstallation, but then missing when a new file is installed
into en_US.US-ASCII, which is just a symbolic link to C which does not
exist at that time anymore). I think this is a bug in "pkg" and have
opened a PR.

It is possible that the port will still fail to build in the cluster,
but without access to the work directory (or rather the stage directory)
of the build host I can only guess what's exactly going on.

IMHO there should not be any magic conenction between nls/en_US.US-ASCII
and nls/C, since this breaks assumptions made in pkg and in the qa check
performed by poudriere.

Approved by:	antoine (implicit)
2.0.2
02 Jun 2019 07:22:08
Revision:503286Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.0.2.

Approved by:	antoine (implicit)
2.0.0
02 Jun 2019 07:13:08
Revision:503285Original commit files touched by this commit
se search for other commits by this committer
Fix omission of changes in previous commit.

Approved by:	antoine (implicit)
2.0.0
02 Jun 2019 07:01:33
Revision:503284Original commit files touched by this commit
se search for other commits by this committer
Update to version 2.0.0

This version uses an optimized internal representation of the operands which
allows to speed up some operations by a significant factor (multiplication
of large numbers is now about 40 times as fast).

This version has been tested against a number of other bc implementations
and has been found to significantly outperform them all (incl. GNU bc).

There are no functional changes in this version, it is just much faster ...

Approved by:	antoine (implicit)
1.2.8_1
18 May 2019 09:51:18
Revision:501945Original commit files touched by this commit
se search for other commits by this committer
Remove requirement for a c11 compiler
1.2.8
08 May 2019 08:58:23
Revision:501008Original commit files touched by this commit
pkubaj search for other commits by this committer
math/gh-bc: fix build with GCC-based architectures

Add USES=compiler:c11 to fix build:
./src/num.c:1305: error: expected ';', ',' or ')' before 'n'

Approved by:	mentors (implicit approval)
1.2.8
21 Apr 2019 06:09:01
Revision:499525Original commit files touched by this commit
se search for other commits by this committer
Work around problem with de-installation of this port, which made "pkg"
remove the share/nls/C directory.

Approved by:	antoine (implicit)
1.2.8
20 Apr 2019 09:41:01
Revision:499433Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 1.2.8.

This package exposes a bug (IMHO) in "pkg" which deletes the directory
pointed to by a symbolic link after removing the files within, but is
not able to recreate that directory when a package is installed.

It may be necessary to manually recreate ${LOCALBASE}/share/nls/C after
removal of this package, e.g. during a port upgrade.

This commit is meant to provide a test case for package maintainers
that hopefully will lead to this issue being fixed in "pkg".

Approved by:	antoine (implicit)
1.2.4
17 Apr 2019 07:44:02
Revision:499156Original commit files touched by this commit
se search for other commits by this committer
Update to version 1.2.4.

This version adds message catalogs for French and German locales.

The messages for fr_CA and fr_CH have not been checked by native
speakers and might need some adjustment.

Approved by:	antoine  (implicit)
1.2.3
05 Apr 2019 05:32:55
Revision:497916Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 1.2.3.

Approved by:	antoine (implicit)
1.1.1
30 Jan 2019 20:19:14
Revision:491656Original commit files touched by this commit
se search for other commits by this committer
Upgrade to version 1.1.1.

Approved by:	antoine (implicit)
1.1.0
29 Jan 2019 21:00:14
Revision:491599Original commit files touched by this commit
se search for other commits by this committer
Update distinfo after changes to the configure script and documentation
have been applied in the repo under the version tag used for the port.

Approved by:	antoine (implicit)
1.1.0
29 Jan 2019 19:31:08
Revision:491593Original commit files touched by this commit
se search for other commits by this committer
Fix CONFLICTS_INSTALL pattern to really match the math/gnubc port.

I had missed the PKGNAMEPREFIX in the GNU bc port ...

Approved by:    antoine	(implicit)
1.1.0
28 Jan 2019 21:59:42
Revision:491519Original commit files touched by this commit
se search for other commits by this committer
New port of a BSD licensed and GNU compatible bc and dc program.

These programs have been used in a number of other projects over
many years and they are highly portable and heavily tested.

Obtained from:	Gavin Howard <gavin.d.howard@gmail.com>
Approved by:	antoine (mentor)

Number of commits found: 78