summaryrefslogtreecommitdiff
path: root/shells/bash/Makefile
diff options
context:
space:
mode:
authorkre <kre@pkgsrc.org>2019-04-24 14:04:27 +0000
committerkre <kre@pkgsrc.org>2019-04-24 14:04:27 +0000
commita2225359b33ed2db4e54478524afd4b70342c941 (patch)
treedbfdfaee68ef839fa0ebd6b4113a6e6989d4c6ec /shells/bash/Makefile
parent42f7124e0cc39f958876ad15066e9c6604a0b559 (diff)
downloadpkgsrc-a2225359b33ed2db4e54478524afd4b70342c941.tar.gz
Update to 5.0.7 - the first 7 patches to bash 5.0
The patches fix: 1. Under certain circumstances, the glob expansion code did not remove backslashes escaping characters in directory names (or portions of a pattern preceding a slash). 2. When an alias value ends with an unquoted literal tab (not part of a quoted string or comment), alias expansion cannot correctly detect the end of the alias value after expanding it. 3. There are several incompatibilities in how bash-5.0 processes pathname expansion (globbing) of filename arguments that have backslashes in the directory portion. 4. In bash-5.0, the `wait' builtin without arguments waits for all children of the shell. This includes children it `inherited' at shell invocation time. This patch modifies the behavior to not wait for these inherited children, some of which might be long-lived. 5. In certain cases, bash optimizes out a fork() call too early and prevents traps from running. 6. Bash-5.0 did not build successfully if SYSLOG_HISTORY was defined without also defining SYSLOG_SHOPT. 7. Running `exec' when job control was disabled, even temporarily, but after it had been initialized, could leave the terminal in the wrong process group for the executed process.
Diffstat (limited to 'shells/bash/Makefile')
-rw-r--r--shells/bash/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 5e5e0de9a1d..14b82a737cb 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,23 +1,16 @@
-# $NetBSD: Makefile,v 1.85 2019/01/08 16:24:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.86 2019/04/24 14:04:27 kre Exp $
BASH_VERSION= 5.0
-#BASH_PATCHLEVEL=
+BASH_PATCHLEVEL= 7
DISTNAME= bash-${BASH_VERSION}
-#PKGNAME= bash-${BASH_VERSION:C/4\.4\..*/4.4/}.${BASH_PATCHLEVEL}
+PKGNAME= bash-${BASH_VERSION:C/4\.4\..*/4.4/}.${BASH_PATCHLEVEL}
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/}
-#PATCH_SITES= ${MASTER_SITES:=bash-4.4-patches/}
-#PATCHFILES+= bash44-001 bash44-002 bash44-003 bash44-004 bash44-005
-#PATCHFILES+= bash44-006 bash44-007 bash44-008 bash44-009 bash44-010
-#PATCHFILES+= bash44-011 bash44-012 bash44-013 bash44-014 bash44-015
-#PATCHFILES+= bash44-016 bash44-017 bash44-018 # bash44-019 bash44-020
-#PATCHFILES+= bash44-021 bash44-022 bash44-023 bash44-024 bash44-025
-#PATCHFILES+= bash44-026 bash44-027 bash44-028 bash44-029 bash44-030
-#PATCHFILES+= bash44-031 bash44-032 bash44-033 bash44-034 bash44-035
-#PATCHFILES+= bash44-036 bash44-037 bash44-038 bash44-039
-#PATCHFILES+= bash44-019
+PATCH_SITES= ${MASTER_SITES:=bash-5.0-patches/}
+PATCHFILES+= bash50-001 bash50-002 bash50-003 bash50-004 bash50-005
+PATCHFILES+= bash50-006 bash50-007
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/bash/bash.html