pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bosh/pbosh: Update to Release 2019-08-13.
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By: micha
Date: Wed Sep 11 15:49:08 2019 +0200
Changeset: 942dcf9edb6355833549899859edea50ee1c34d6
Modified Files:
Makefile
Added Files:
bosh/COMMIT_MSG
bosh/DESCR
bosh/Makefile
bosh/PLIST
bosh/distinfo
pbosh/COMMIT_MSG
pbosh/DESCR
pbosh/Makefile
pbosh/PLIST
pbosh/distinfo
Log Message:
bosh/pbosh: Update to Release 2019-08-13.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=942dcf9edb6355833549899859edea50ee1c34d6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 3 ++
bosh/COMMIT_MSG | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
bosh/DESCR | 11 ++++++
bosh/Makefile | 58 ++++++++++++++++++++++++++++
bosh/PLIST | 3 ++
bosh/distinfo | 6 +++
pbosh/COMMIT_MSG | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
pbosh/DESCR | 11 ++++++
pbosh/Makefile | 54 ++++++++++++++++++++++++++
pbosh/PLIST | 3 ++
pbosh/distinfo | 6 +++
11 files changed, 387 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 131a81f53f..54f27018b6 100644
--- a/Makefile
+++ b/Makefile
@@ -287,6 +287,7 @@ SUBDIR+= boost-test-suite
SUBDIR+= boost-threadpool
SUBDIR+= boost-yap
SUBDIR+= boringssl
+SUBDIR+= bosh
SUBDIR+= bowtie
SUBDIR+= bowtie2
SUBDIR+= bpcscripts
@@ -2271,6 +2272,7 @@ SUBDIR+= mppp
SUBDIR+= mpq-tools
SUBDIR+= mps-youtube
SUBDIR+= mpv-git
+SUBDIR+= mruby
SUBDIR+= msgpack-git
SUBDIR+= msworkbench
SUBDIR+= mtd-utils
@@ -2820,6 +2822,7 @@ SUBDIR+= payara41
SUBDIR+= pbbam
SUBDIR+= pbbuttonsd
SUBDIR+= pbcopper
+SUBDIR+= pbosh
SUBDIR+= pbseqan
SUBDIR+= pbzx
SUBDIR+= pcmanfm-qt
diff --git a/bosh/COMMIT_MSG b/bosh/COMMIT_MSG
new file mode 100644
index 0000000000..1a6613e7c5
--- /dev/null
+++ b/bosh/COMMIT_MSG
@@ -0,0 +1,116 @@
+bosh: Switch to latest distfile.
+
+Changelog
+=========
+
+Release 2019-03-29:
+- Bourne Shell: local(1), export(1) and readonly(1) now all support to.
+ expand the '~' character in environment variables like e.g. PATH.
+
+- Bourne Shell: Added unit tests for the tilde expansion and the related
+ changes.
+
+Release 2019-04-29:
+- libshedit/bsh/Bourne Shell: The TAB file name expansion now uses a new
+ expansion funtion that is not based on pattern matching but on strstr()
+ and thus is no longer fooled by file names that contain pattern matching
+ meta characters.
+
+- Bourne Shell: "trap -- ..." now correctly handles "--" even if the next
+ argument is "-".
+
+- Bourne Shell: trap now supports a new option -p that allows to restore
+ the whole trap state using the following commands:
+
+ old_traps=$(trap -p)
+ trap "some commands" INT QUIT
+ ...
+ eval "$old_traps"
+
+ This is possible because "trap -p" outputs the state for all signals
+ and not only for those signals that are not in the default state.
+
+ The new trap interfase was agreed on in the 2019-04-11 POSIX
+ teleconference.
+
+ Bourne Shell: The exception for "while true; do date; done | uniq -c"
+ in job control handling that has been introduced in November 2015 has
+ been refined to prevent it from causing "(bosh)" to stop from SIGTTIN.
+
+ Thanks to Robert Elz <kre%munnari.OZ.AU@localhost> for reporting.
+
+- Bourne Shell: A new #define JOB_DEBUG has been added.
+
+- Bourne Shell: The command:
+
+ (trap '' SEGV; $SHELL -c 'kill -s SEGV $$; echo survived')
+
+ caused the shell not to print "survived" because a previous exception
+ for SIGSEGV from the 1977 Bourne Shell version had not been removed
+ for the POSIX variant of the shell. The problem occured because it
+ was possible to unignore an ignored (at startup) SIGSEGV.
+
+ Thanks to Robert Elz <kre%munnari.OZ.AU@localhost> for reporting.
+
+- Bourne Shell: The code now uses SIG2STR_MAX for the size of the
+ sig2str() output buffer.
+
+- Bourne Shell: the behavior related to SIGINT on the command line
+ in the case that the history editor is enabled has been changed to
+ match the behavior of ksh. The Bourne Shell now calls trap commands
+ for SIGINT when ^C is typed on the command line.
+
+ Note that the classical Bourne Shell behavior (which is still active
+ in case the history editor has been disabled via "set +o ved") is that
+ the trap command is called after ^C is followed by a CR if both are
+ typed on a PS1 prompt.
+
+ Note: The behavior for "trap" in this area is currently not specified
+ in POSIX.
+
+- Bourne Shell: After jobcontrol has been introduced into the Bourne
+ Shell: When in jobcontrol mode, the shell could no longer get
+ signals at the same time as foreground jobs because when using
+ jobcontrol, the shell is in a different process group than the
+ foreground job.
+
+ The Bourne Shell now derives the information about a delivered signal
+ from the waitid() return data and thus is now able to work the same
+ way as it has been designed in 1977. This is the same way as ksh works.
+
+ If a foreground program catches such signals, the shell is still not
+ able to detect the signal, but it is now closer to the original
+ behavior from 1977.
+
+- Bourne Shell: new version date 2019-04-17
+
+Release 2019-05-28:
+- Bourne Shell: Similar to what ksh88 does, scripts are now checked
+ before they are run. If there is a nul byte before a newline
+ in the first 256 bytes, a file is rejected as alien binary
+ instead of trying to interpret it as a script.
+
+Release 2019-06-13:
+- Bourne Shell: A new option "set -o globskipdot" has been added.
+ If set, the entries "." and ".." are skipped and not shown in globbing
+ results. If not set, the entries "." and ".." are always returned,
+ even when they are not part of the readdir(3) results.
+
+- Bourne Shell: The option "set -o globskipdot" has been made the
+ new dfault behavior for "bosh", but not for "pbosh"
+
+ Note that this new shell option has been introduced as a result
+ of a related BUG discussion in the Austin Group telephone conference.
+ The background is to permit shell scripts to check whether a shell
+ grants to hide the "." and ".." for all filesystems.
+
+Release 2019-07-15:
+- Bourne Shell: If OPTIND is set to a new value, the getopt() internal
+ variable "_sp" is now reset to 1. This is needed in order to make sure
+ that a combined option string can be parsed correctly.
+
+- Bourne Shell/libshedit/bsh: The TAB expander now again gives .. as a.
+ result if the pattern is ..
+
+ This is needed in order to let ..TAB result in ../ on the command
+ line editor.
diff --git a/bosh/DESCR b/bosh/DESCR
new file mode 100644
index 0000000000..1adeadd262
--- /dev/null
+++ b/bosh/DESCR
@@ -0,0 +1,11 @@
+The Schily Bourne Shell
+
+The Schily Bourne Shell was derived from the Bourne Shell sources from
+OpenSolaris.
+
+The Schily Bourne Shell is actively maintained and enhanced on a regular base.
+It can be compiled into three variants:
+- The non-POSIX SVr4/OpenSolaris variant (obosh)
+- The minimal POSIX compliant variant (pbosh)
+- The POSIX compliant extended variant (bosh)
+This package contains the third variant.
diff --git a/bosh/Makefile b/bosh/Makefile
new file mode 100644
index 0000000000..e4d2fab916
--- /dev/null
+++ b/bosh/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD$
+
+DISTNAME= schily-2019-08-13
+PKGNAME= bosh-20190813
+CATEGORIES= shells
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://schilytools.sourceforge.net/bosh.html
+COMMENT= The Schily Bourne Shell
+LICENSE= cddl-1.0
+
+MAKE_JOBS_SAFE= no
+
+USE_TOOLS+= tbl
+TOOL_DEPENDS+= smake-[0-9]*:../../devel/smake
+SMAKE= MAKEFLAGS= smake
+MAKE_FLAGS+= DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
+# Honor CPPFLAGS, CFLAGS and LDFLAGS
+MAKE_FLAGS+= CPPOPTX=${CPPFLAGS:Q} COPTX=${CFLAGS:Q} LDOPTX=${LDFLAGS:Q}
+
+PKG_SHELL= bin/bosh
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+.include "../../mk/bsd.prefs.mk"
+
+# Shared platform specific code for schilytools (provided by smake package)
+.include "../../devel/smake/Makefile.common"
+
+do-configure:
+ cd ${WRKSRC}/inc && ${SMAKE} ${MAKE_FLAGS}
+
+do-build:
+ cd ${WRKSRC} && for library in \
+ libschily libxtermcap libfind libgetopt libshedit; \
+ do \
+ cd ${WRKSRC}/$${library} && ${SMAKE} ${MAKE_FLAGS}; \
+ done
+ cd ${WRKSRC}/sh && ${SMAKE} ${MAKE_FLAGS}
+
+# Process tables in manpage
+post-build:
+ cd ${WRKSRC} && ${TBL} sh/sh.1 >sh/sh.1.tmp; \
+ ${MV} -f sh/sh.1.tmp sh/bosh.1
+
+do-test:
+ cd ${WRKSRC}/sh && \
+ cd tests; ${SMAKE} ${MAKE_FLAGS} tests
+
+do-install:
+ cd ${WRKSRC}/sh && \
+ ${INSTALL_PROGRAM} ${WRKSRC}/sh/OBJ/*/sh \
+ ${DESTDIR}${PREFIX}/bin/bosh; \
+ ${INSTALL_MAN} ${WRKSRC}/sh/bosh.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/bosh/PLIST b/bosh/PLIST
new file mode 100644
index 0000000000..4ab85d076c
--- /dev/null
+++ b/bosh/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/bosh
+man/man1/bosh.1
diff --git a/bosh/distinfo b/bosh/distinfo
new file mode 100644
index 0000000000..ea93ab4062
--- /dev/null
+++ b/bosh/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (schily-2019-08-13.tar.bz2) = 2eae2dea47ce9101942ca7e425cd523bddf515fa
+RMD160 (schily-2019-08-13.tar.bz2) = df65883a857790f902406b6bf07fb75ba530e8eb
+SHA512 (schily-2019-08-13.tar.bz2) = e69ed060aa5b5203b8af20834b9cceb0c4dc7be20b8d43d781c056f974ba67337415f512575461ee16504e6162311fc84fca9b83ae240c4102d2cfe95bfa9cd7
+Size (schily-2019-08-13.tar.bz2) = 4447359 bytes
diff --git a/pbosh/COMMIT_MSG b/pbosh/COMMIT_MSG
new file mode 100644
index 0000000000..d2c1030a5a
--- /dev/null
+++ b/pbosh/COMMIT_MSG
@@ -0,0 +1,116 @@
+pbosh: Switch to latest distfile.
+
+Changelog
+=========
+
+Release 2019-03-29:
+- Bourne Shell: local(1), export(1) and readonly(1) now all support to.
+ expand the '~' character in environment variables like e.g. PATH.
+
+- Bourne Shell: Added unit tests for the tilde expansion and the related
+ changes.
+
+Release 2019-04-29:
+- libshedit/bsh/Bourne Shell: The TAB file name expansion now uses a new
+ expansion funtion that is not based on pattern matching but on strstr()
+ and thus is no longer fooled by file names that contain pattern matching
+ meta characters.
+
+- Bourne Shell: "trap -- ..." now correctly handles "--" even if the next
+ argument is "-".
+
+- Bourne Shell: trap now supports a new option -p that allows to restore
+ the whole trap state using the following commands:
+
+ old_traps=$(trap -p)
+ trap "some commands" INT QUIT
+ ...
+ eval "$old_traps"
+
+ This is possible because "trap -p" outputs the state for all signals
+ and not only for those signals that are not in the default state.
+
+ The new trap interfase was agreed on in the 2019-04-11 POSIX
+ teleconference.
+
+ Bourne Shell: The exception for "while true; do date; done | uniq -c"
+ in job control handling that has been introduced in November 2015 has
+ been refined to prevent it from causing "(bosh)" to stop from SIGTTIN.
+
+ Thanks to Robert Elz <kre%munnari.OZ.AU@localhost> for reporting.
+
+- Bourne Shell: A new #define JOB_DEBUG has been added.
+
+- Bourne Shell: The command:
+
+ (trap '' SEGV; $SHELL -c 'kill -s SEGV $$; echo survived')
+
+ caused the shell not to print "survived" because a previous exception
+ for SIGSEGV from the 1977 Bourne Shell version had not been removed
+ for the POSIX variant of the shell. The problem occured because it
+ was possible to unignore an ignored (at startup) SIGSEGV.
+
+ Thanks to Robert Elz <kre%munnari.OZ.AU@localhost> for reporting.
+
+- Bourne Shell: The code now uses SIG2STR_MAX for the size of the
+ sig2str() output buffer.
+
+- Bourne Shell: the behavior related to SIGINT on the command line
+ in the case that the history editor is enabled has been changed to
+ match the behavior of ksh. The Bourne Shell now calls trap commands
+ for SIGINT when ^C is typed on the command line.
+
+ Note that the classical Bourne Shell behavior (which is still active
+ in case the history editor has been disabled via "set +o ved") is that
+ the trap command is called after ^C is followed by a CR if both are
+ typed on a PS1 prompt.
+
+ Note: The behavior for "trap" in this area is currently not specified
+ in POSIX.
+
+- Bourne Shell: After jobcontrol has been introduced into the Bourne
+ Shell: When in jobcontrol mode, the shell could no longer get
+ signals at the same time as foreground jobs because when using
+ jobcontrol, the shell is in a different process group than the
+ foreground job.
+
+ The Bourne Shell now derives the information about a delivered signal
+ from the waitid() return data and thus is now able to work the same
+ way as it has been designed in 1977. This is the same way as ksh works.
+
+ If a foreground program catches such signals, the shell is still not
+ able to detect the signal, but it is now closer to the original
+ behavior from 1977.
+
+- Bourne Shell: new version date 2019-04-17
+
+Release 2019-05-28:
+- Bourne Shell: Similar to what ksh88 does, scripts are now checked
+ before they are run. If there is a nul byte before a newline
+ in the first 256 bytes, a file is rejected as alien binary
+ instead of trying to interpret it as a script.
+
+Release 2019-06-13:
+- Bourne Shell: A new option "set -o globskipdot" has been added.
+ If set, the entries "." and ".." are skipped and not shown in globbing
+ results. If not set, the entries "." and ".." are always returned,
+ even when they are not part of the readdir(3) results.
+
+- Bourne Shell: The option "set -o globskipdot" has been made the
+ new dfault behavior for "bosh", but not for "pbosh"
+
+ Note that this new shell option has been introduced as a result
+ of a related BUG discussion in the Austin Group telephone conference.
+ The background is to permit shell scripts to check whether a shell
+ grants to hide the "." and ".." for all filesystems.
+
+Release 2019-07-15:
+- Bourne Shell: If OPTIND is set to a new value, the getopt() internal
+ variable "_sp" is now reset to 1. This is needed in order to make sure
+ that a combined option string can be parsed correctly.
+
+- Bourne Shell/libshedit/bsh: The TAB expander now again gives .. as a.
+ result if the pattern is ..
+
+ This is needed in order to let ..TAB result in ../ on the command
+ line editor.
diff --git a/pbosh/DESCR b/pbosh/DESCR
new file mode 100644
index 0000000000..b79f971896
--- /dev/null
+++ b/pbosh/DESCR
@@ -0,0 +1,11 @@
+The Schily Bourne Shell
+
+The Schily Bourne Shell was derived from the Bourne Shell sources from
+OpenSolaris.
+
+The Schily Bourne Shell is actively maintained and enhanced on a regular base.
+It can be compiled into three variants:
+- The non-POSIX SVr4/OpenSolaris variant (obosh)
+- The minimal POSIX compliant variant (pbosh)
+- The POSIX compliant extended variant (bosh)
+This package contains the second variant.
diff --git a/pbosh/Makefile b/pbosh/Makefile
new file mode 100644
index 0000000000..632b89796b
--- /dev/null
+++ b/pbosh/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD$
+
+DISTNAME= schily-2019-08-13
+PKGNAME= pbosh-20190813
+CATEGORIES= shells
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://schilytools.sourceforge.net/bosh.html
+COMMENT= The Schily Bourne Shell
+LICENSE= cddl-1.0
+
+MAKE_JOBS_SAFE= no
+
+USE_TOOLS+= tbl
+TOOL_DEPENDS+= smake-[0-9]*:../../devel/smake
+SMAKE= MAKEFLAGS= smake
+MAKE_FLAGS+= DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
+# Honor CPPFLAGS, CFLAGS and LDFLAGS
+MAKE_FLAGS+= CPPOPTX=${CPPFLAGS:Q} COPTX=${CFLAGS:Q} LDOPTX=${LDFLAGS:Q}
+
+PKG_SHELL= bin/pbosh
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+.include "../../mk/bsd.prefs.mk"
+
+# Shared platform specific code for schilytools (provided by smake package)
+.include "../../devel/smake/Makefile.common"
+
+do-configure:
+ cd ${WRKSRC}/inc && ${SMAKE} ${MAKE_FLAGS}
+
+do-build:
+ cd ${WRKSRC} && for library in \
+ libschily libxtermcap libfind libgetopt libshedit; \
+ do \
+ cd ${WRKSRC}/$${library} && ${SMAKE} ${MAKE_FLAGS}; \
+ done
+ cd ${WRKSRC}/pbosh && ${SMAKE} ${MAKE_FLAGS}
+
+# Process tables in manpage
+post-build:
+ cd ${WRKSRC} && ${TBL} sh/sh.1 >sh/sh.1.tmp; \
+ ${MV} -f sh/sh.1.tmp sh/pbosh.1
+
+do-install:
+ cd ${WRKSRC}/sh && \
+ ${INSTALL_PROGRAM} ${WRKSRC}/pbosh/OBJ/*/pbosh \
+ ${DESTDIR}${PREFIX}/bin/pbosh; \
+ ${INSTALL_MAN} ${WRKSRC}/sh/pbosh.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/pbosh/PLIST b/pbosh/PLIST
new file mode 100644
index 0000000000..c5a87aed61
--- /dev/null
+++ b/pbosh/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/pbosh
+man/man1/pbosh.1
diff --git a/pbosh/distinfo b/pbosh/distinfo
new file mode 100644
index 0000000000..ea93ab4062
--- /dev/null
+++ b/pbosh/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (schily-2019-08-13.tar.bz2) = 2eae2dea47ce9101942ca7e425cd523bddf515fa
+RMD160 (schily-2019-08-13.tar.bz2) = df65883a857790f902406b6bf07fb75ba530e8eb
+SHA512 (schily-2019-08-13.tar.bz2) = e69ed060aa5b5203b8af20834b9cceb0c4dc7be20b8d43d781c056f974ba67337415f512575461ee16504e6162311fc84fca9b83ae240c4102d2cfe95bfa9cd7
+Size (schily-2019-08-13.tar.bz2) = 4447359 bytes
Home |
Main Index |
Thread Index |
Old Index