summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2020-11-25 15:52:06 +0000
committermicha <micha@pkgsrc.org>2020-11-25 15:52:06 +0000
commitaf764d1eaa022c97c2e1a1dc13225117244a7812 (patch)
tree2bde9d29dfca8561fa7022e18d9b57acad6fcfa8 /shells
parent17bf5a7bf2a394f2c395a597e176218fbbe26dc5 (diff)
downloadpkgsrc-af764d1eaa022c97c2e1a1dc13225117244a7812.tar.gz
bosh: Update to 20201125
Changelog from AN-2020-11-04: - Makefile system: include/schily/nlsdefs.h no longer by default defines the macro __() because this is in conflict with definitions that are present in the system include files from newer HP-UX versions. Thanks to Rudi Blom for reporting. - Bourne Shell: If a background job did finish during an implicit wait for a foreground job, the exit code for the background job was lost. This was caused by a forgotten call to statjob(jp, &si, 0, 0) in the function waitjob(); Thanks to Koichi Nakashima for reporting. - Bourne Shell: The changes from 2020-10-09 to keep the exit code from jobs like "(sleep 10; exit 17)&" in the job list, caused a command like cat /etc/termcap |more to stop after the first page of output because "more" died from trying to read the answer for continuing the output as it was not in the current foreground process group from the tty. This was the result of a forgotten call to monitor = ismonitor(xflags); in xec.c - Bourne Shell: The changes from 2020-10-09 to keep the exit code from jobs like "(sleep 10; exit 17)&" could cause some wait commands to hang infinitely because the job list had an endless loop. The new code avoids to create the endless loop in the job list. Thanks to Koichi Nakashima for reporting. - Bourne Shell: The changes for jobcontrol in schily-2020-10-09 could. cause bosh to dump core with the builtin fg(1) command because "thisjob". was a NULL pointer. We add a new lastthisjob variable to work around this problem. Thanks for Noci Sonack for reporting. - bsh/Bourne Shell: str2sig() has been enhanced to support e.g. RTMIN+20 or RTMAX-20 as alias on platforms with 30 RT signals. Note that this currently only works on non-POSIX platforms like Linux where our private implementation is used. On Solaris, this would need to wait until compatibility to POSIX issue 8 has been implemented in the libc from Solaris. Changelog from AN-2020-11-25: - Makefile System: Added support for MacOS on arm64 Thanks to a hint from Ryan Schmidt from macports Note that due to outstanding replies to recent changes in configure, it could up to now not be verified that all configure tests now work in a way that results in correct overall results. See below for an in depth report on the changes. - Makefile System: autoconf (config.guess & config.sub) now supports the new arm64 Apple systems. Thanks to Ryan Schmidt from macports for provinding the needed uname(1) output. - Makefile System: Added a new shell script "autoconf/uname" that helps to create shell scrips that allow to emulate an alien host system in order to test the correct behavior of configure.guess and configure.sub on the main development platform. This helps to adapt configure.guess and configure.sub to new platforms in the future. - Makefile System: The new clang compiler as published with the upcomming ARM macs has been preconfigured with -Werror -Wimplicit-function-declaration as the default behavior and thus is in conflict with the existing base assumption of the autoconf system that minimalistic C-code used for compile/link allows to check for the existence of a specific function in libc without a need to know which system #include file is used to define a prototype for that function. This clang version, as a result of this default, behaves like a C++ compiler and aborts if a function is used with no previous function prototype. This caused most of the existing autoconf test to fail with error messages about missing prototypes. We implemented a workaround using these methods for the identified problems: - Most of the exit() calls in the various main() functions have been replaced by return() to avoid a need to #include <stdlib.h> in special since these test may be the case for layered tests that #include files from the higher level parts. - Many autoconf tests programs now #include more system include files, e.g. stdlib.h and unistd.h to avoid missing prototype errors. This cannot reliably be done in tests that are used as a base for higher level tests where the high level test #includes own system include files, since older platforms do not support to #include the same file twice. So this is tricky... - A test for a Linux glibc bug caused by incorect #pragma weak usage inside glibc that prevents one or more functions from ecvt()/fcvt()/gcvt() from being usable outside glibc now uses hand-written prototypes for some of the libc interface functions in order to avoid using the system includes. If we did not do that, we could not use ecvt()/fcvt()/gcvt() on MacOS anymore. Thanks to Ryan Schmidt from macports for reporting and for the given help that was needed for remote debugging. Please send the needed feedback on whether the current state of the configure script results on correct autoconf results on the M1 Macs.
Diffstat (limited to 'shells')
-rw-r--r--shells/bosh/Makefile6
-rw-r--r--shells/bosh/distinfo10
2 files changed, 8 insertions, 8 deletions
diff --git a/shells/bosh/Makefile b/shells/bosh/Makefile
index 0b14d1349a3..ad204363d68 100644
--- a/shells/bosh/Makefile
+++ b/shells/bosh/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2020/10/23 16:26:35 micha Exp $
+# $NetBSD: Makefile,v 1.17 2020/11/25 15:52:06 micha Exp $
-DISTNAME= schily-2020-10-09
-PKGNAME= bosh-20201009
+DISTNAME= schily-2020-11-25
+PKGNAME= bosh-20201125
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
EXTRACT_SUFX= .tar.bz2
diff --git a/shells/bosh/distinfo b/shells/bosh/distinfo
index 7ec6ac70f55..b7808c929c5 100644
--- a/shells/bosh/distinfo
+++ b/shells/bosh/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2020/10/23 16:26:35 micha Exp $
+$NetBSD: distinfo,v 1.14 2020/11/25 15:52:06 micha Exp $
-SHA1 (schily-2020-10-09.tar.bz2) = e14d1dec1e476d40bd60ec35fa251ba45268ca8f
-RMD160 (schily-2020-10-09.tar.bz2) = 81ec46da6ef341f8a8340f389e96dbde2355d5af
-SHA512 (schily-2020-10-09.tar.bz2) = 3e64cb8d42749f1890e9f8e85de6571ec3f185f3c470078085494a52acb94018496d1b9a2a66b37091db55f08a7c4d4e8dc07cb40c3644aa76032bc7a2e2a74b
-Size (schily-2020-10-09.tar.bz2) = 4818571 bytes
+SHA1 (schily-2020-11-25.tar.bz2) = 9ca25eb2a0c3d583e5ca6ef11d1670f8a79914d5
+RMD160 (schily-2020-11-25.tar.bz2) = 61d0aa46cc485e220ae46b95a1d318e899a8638c
+SHA512 (schily-2020-11-25.tar.bz2) = 6592e34eb53ef83b1b15e91ac65e5dace88ee62dba3d4b24b7e4b01b052e235b682ab87af266bceeab8a0be796e6105328975e88b12e37c541797ee9786bb01e
+Size (schily-2020-11-25.tar.bz2) = 4899985 bytes