Compare commits

...

5 Commits

Author SHA1 Message Date
Landon Curt Noll
4017579aeb prep CHANGES for the next release of calc 2025-04-23 19:33:56 -07:00
Landon Curt Noll
88fb6a4e47 prep CHANGES for the next release of calc 2025-04-23 19:31:51 -07:00
Landon Curt Noll
7eb7e9de1f change VERSION from 2.15.1.0 to 2.15.1.1 2025-04-23 19:30:21 -07:00
Landon Curt Noll
42d5749da2 prep CHANGES for the next release of calc
Change Makefile.config to, if not using not HomeBrew, then try to
detect macports and/or using /opt/local/{lib,include}.

Changed version from 2.15.1.0 to 2.15.1.1.

Put full date range (1989-2025) of calc source into version.h.
2025-04-23 19:28:55 -07:00
Landon Curt Noll
bbcbb76369 improve security policy 2025-03-16 22:20:17 -07:00
5 changed files with 43 additions and 12 deletions

View File

@@ -1,3 +1,11 @@
The following are the changes from calc version 2.15.1.1 to 2.15.1.1:
Change Makefile.config to, if not using not HomeBrew, then try to
detect macports and/or using /opt/local/{lib,include}.
Put full date range (1989-2025) of calc source into version.h.
The following are the changes from calc version 2.15.0.7 to 2.15.1.0:
Converted all ASCII tabs to ASCII spaces using a 8 character

View File

@@ -1112,6 +1112,9 @@ READLINE_EXTRAS= -lhistory -lncurses
#READLINE_LIB= -L${PREFIX}/lib -lreadline
#READLINE_EXTRAS= -lhistory -lncurses
#
#READLINE_LIB= -L/opt/local/lib -lreadline
#READLINE_EXTRAS= -lhistory -lncurses
#
# For Apple OS X: install fink from http://fink.sourceforge.net
# and then do a 'fink install readline' and then use:
#
@@ -1130,6 +1133,7 @@ READLINE_EXTRAS= -lhistory -lncurses
READLINE_INCLUDE=
#READLINE_INCLUDE= -I/usr/gnu/include
#READLINE_INCLUDE= -I${PREFIX}/include
#READLINE_INCLUDE= -I/opt/local/include
# Handle the case where macOS is being used with HomeBrew
# # and using the readline, history, and ncurses libraries.
@@ -1137,6 +1141,16 @@ READLINE_INCLUDE=
ifneq ($(HOMEBREW_PREFIX),)
READLINE_LIB:= -L${HOMEBREW_PREFIX}/opt/readline/lib -lreadline
READLINE_INCLUDE:= -I${HOMEBREW_PREFIX}/opt/readline/include
# If not HomeBrew, then try to detect macports and/or using /opt/local/{lib,include}
#
else # perhaps macports and/or using /opt/local/{lib,include} ?
ifneq ($(wildcard /opt/local/lib/*),)
READLINE_LIB:= -L/opt/local/lib -lreadline
endif
ifneq ($(wildcard /opt/local/incliude/*),)
READLINE_INCLUDE:= -I/opt/local/include
endif
endif # ($(HOMEBREW_PREFIX),)
# If $PAGER is not set, use this program to display a help file
@@ -1243,7 +1257,7 @@ EXT=
# The calc version in the form of x.y.z.w
#
VERSION= 2.15.1.0
VERSION= 2.15.1.1
# The calc major version in the form of x.y.z
#

View File

@@ -283,3 +283,8 @@ help unexpected
It contains information about differences between C and calc
that may surprise C programmers.
# Reporting Security Issues
To report a security issue, please visit "[Reporting Security Issues](https://github.com/lcn2/calc/security/policy)".

View File

@@ -1,4 +1,16 @@
# Security Policy
# Reporting Security Issues
We take security bugs seriously. We appreciate your efforts to responsibly
disclose your findings, and will make every effort to acknowledge your
contributions for any verified security issues when they have been fixed.
To report a security issue, click on: "[Open a draft security advisory](https://github.com/lcn2/calc/security/advisories/new)"
We will send a response indicating the next steps in handling your
report. After the initial reply to your report, we will keep you informed
of the progress towards a fix and full announcement, and may ask for
additional information or guidance.
## Supported Versions
@@ -9,11 +21,3 @@ If the most recent stable of calc is also supported with security updates.
FYI: please review the BUGS file, or enter the calc command:
; help BUGS
## Reporting a Vulnerability
Please create a calc GitHub repo issue:
https://github.com/lcn2/calc/issues
Click on ((New issue)) and follow the issue template.

View File

@@ -1,7 +1,7 @@
/*
* version - determine the version of calc
*
* Copyright (C) 2023 David I. Bell and Landon Curt Noll
* Copyright (C) 1989-2025 David I. Bell and Landon Curt Noll
*
* Calc is open software; you can redistribute it and/or modify it under
* the terms of the version 2.1 of the GNU Lesser General Public License
@@ -64,7 +64,7 @@
#define MAJOR_VER 2 /* level 1: major library version */
#define MINOR_VER 15 /* level 2: minor library version */
#define MAJOR_PATCH 1 /* level 3: major software version level */
#define MINOR_PATCH 0 /* level 4: minor software version level */
#define MINOR_PATCH 1 /* level 4: minor software version level */
#endif /* !INCLUDE_VERSION_H*/