summaryrefslogtreecommitdiff
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
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.
-rw-r--r--shells/bash/Makefile19
-rw-r--r--shells/bash/distinfo30
2 files changed, 35 insertions, 14 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
diff --git a/shells/bash/distinfo b/shells/bash/distinfo
index 9f236c4e838..06d73724f93 100644
--- a/shells/bash/distinfo
+++ b/shells/bash/distinfo
@@ -1,9 +1,37 @@
-$NetBSD: distinfo,v 1.53 2019/02/28 07:20:57 maya Exp $
+$NetBSD: distinfo,v 1.54 2019/04/24 14:04:27 kre Exp $
SHA1 (bash-5.0.tar.gz) = d116b469b9e6ea5264a74661d3a4c797da7f997b
RMD160 (bash-5.0.tar.gz) = a081428a896d617855499376b670eca3433a27c1
SHA512 (bash-5.0.tar.gz) = bb4519f06e278f271d08722b531e49d2e842cc3e0b02a6b3eee422e2efcb5b6226111af43f5e5eae56beb85ac8bfebcd6a4aacbabb8f609e529aa4d571890864
Size (bash-5.0.tar.gz) = 10135110 bytes
+SHA1 (bash50-001) = 9b8c7b32bf434d36b030c37b54fe8cebe54e2ab7
+RMD160 (bash50-001) = 20cde6fea8fb371d1d00d10496c1f5b1d9c71182
+SHA512 (bash50-001) = e3bf036287d3be1f3e91755678c04c9a8e1b4a98e34e181871dfaeb13987dda18c31a44db3f3829d91a185ba4414b9c0229f2a15f6e8a951cbc6c1054252bfdd
+Size (bash50-001) = 4133 bytes
+SHA1 (bash50-002) = 44a3a849a6826571115f9920405edeca3d8287ad
+RMD160 (bash50-002) = a1eb7734493903e9eb25b3c1b48d69ee7a01da5e
+SHA512 (bash50-002) = 59b1cfa1be1029ada53c63fe651d51451ead5523c50c115e0eada07e34e641c693ed728366986acb431f96fdc61818efd3f8cd168ce416001edc62602e5f28dd
+Size (bash50-002) = 4380 bytes
+SHA1 (bash50-003) = f371117fb06427e2b480fb796ee27f467a2d951a
+RMD160 (bash50-003) = c964aa0deb96a5efe5e0d9cf123d0e5345c77efc
+SHA512 (bash50-003) = 520b5cc0b7aeea6cd8b7471b553d8979996f3627a3e5c8889023562dadc82475be243aca2ec608217b78400a1dceb134b877d3ded926e581445234f1b69409e6
+Size (bash50-003) = 6434 bytes
+SHA1 (bash50-004) = e0adfba3d5e9b96911c771140e03ec892e732be3
+RMD160 (bash50-004) = 90417dbb08702281201614df0518d1534dcf6f48
+SHA512 (bash50-004) = cbf51bb242edf36289bd483b47c9451132c12f341f494212c0e5d969cd06a3c1c4d121295f3bacb1d7d5e56f789258ba9f54c4cfb5760ed3c70ec1f49f25c719
+Size (bash50-004) = 1664 bytes
+SHA1 (bash50-005) = 08aac2d877b65e5816c3a73ee49a78261988597c
+RMD160 (bash50-005) = 9662d5e3ed43a14b80845ecb6a5916733113a126
+SHA512 (bash50-005) = 4d3e6f337a76b9ff1887c4c6e4e4352885779504f3c975b8d6fa587962f01e8adbd843b5341c1fc1d11152cf465f2982eebd9dc6e1384f319157d29740d510da
+Size (bash50-005) = 3732 bytes
+SHA1 (bash50-006) = 9cf8246582e3a03f79791a6922c8331c2564a51e
+RMD160 (bash50-006) = 702429f2e21e61cb39f7ecc579fc61bfaa5f4991
+SHA512 (bash50-006) = 71df829a3a3927a363ad961de8af8db898ea8b0ccf604c5f1326fe4646d0d50b3c7038ee473c225fc10d26c2dc1f711d66b74d003bb0445d36a8a70c49e056e0
+Size (bash50-006) = 1275 bytes
+SHA1 (bash50-007) = 43e1f09bc57bb442603d4c8691d6f39e378a0bfc
+RMD160 (bash50-007) = 75f55a086cb11db8fb0faa001a7fe8d77b17b30f
+SHA512 (bash50-007) = 467d377836c53d188cda39de550ce1e00b58895a6646c4da3535e74e599978558a92d8e7bf7c59c988159468fbce04f3a0dbf62cbded28472272f1b9811786e8
+Size (bash50-007) = 1640 bytes
SHA1 (patch-af) = e26e3209902247263884cfebc11a2f7e43245062
SHA1 (patch-ag) = cd3b151e3bb045d2bb609c0a03d7d3df2c871f47
SHA1 (patch-aj) = 2e4c15afd9b50d44967ee8e1f85bdc908c0eeeb0