utils/bash: Update to 5.0
Update bash to 5.0 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
parent
eaf6411452
commit
c48a405b23
3 changed files with 10 additions and 10 deletions
|
@ -8,12 +8,12 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=bash
|
PKG_NAME:=bash
|
||||||
PKG_VERSION:=4.4.18
|
PKG_VERSION:=5.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@GNU/bash
|
PKG_SOURCE_URL:=@GNU/bash
|
||||||
PKG_HASH:=604d9eec5e4ed5fd2180ee44dd756ddca92e0b6aa4217bbab2b6227380317f23
|
PKG_HASH:=b4a80f2ac66170b2913efbfb9f2594f1f76c7b1afd11f799e22035d63077fb4d
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-3.0+
|
PKG_LICENSE:=GPL-3.0+
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
@ -55,7 +55,7 @@ endef
|
||||||
# bash_cv_sys_named_pipes: Required for process substituion
|
# bash_cv_sys_named_pipes: Required for process substituion
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
ac_cv_rl_prefix="$(STAGING_DIR)/usr" \
|
ac_cv_rl_prefix="$(STAGING_DIR)/usr" \
|
||||||
ac_cv_rl_version="7.0" \
|
ac_cv_rl_version="8.0" \
|
||||||
bash_cv_getcwd_malloc=yes \
|
bash_cv_getcwd_malloc=yes \
|
||||||
bash_cv_job_control_missing=present \
|
bash_cv_job_control_missing=present \
|
||||||
bash_cv_dev_fd=whacky \
|
bash_cv_dev_fd=whacky \
|
||||||
|
@ -72,6 +72,9 @@ CONFIGURE_ARGS+= \
|
||||||
--without-bash-malloc \
|
--without-bash-malloc \
|
||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
|
--enable-direxpand-default \
|
||||||
|
--enable-job-control \
|
||||||
|
--enable-readline
|
||||||
|
|
||||||
define Package/bash/postinst
|
define Package/bash/postinst
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
@ -87,5 +90,4 @@ define Package/bash/install
|
||||||
$(LN) bash $(1)/bin/rbash
|
$(LN) bash $(1)/bin/rbash
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,bash))
|
$(eval $(call BuildPackage,bash))
|
||||||
|
|
|
@ -3,11 +3,9 @@ Fix job control
|
||||||
Patch was taken from https://git.alpinelinux.org/cgit/aports/tree/main/bash/fix-jobs.patch
|
Patch was taken from https://git.alpinelinux.org/cgit/aports/tree/main/bash/fix-jobs.patch
|
||||||
|
|
||||||
See also "Bash 4.4.12-r2 jobs hangs on arm (alpine 3.7)", https://bugs.alpinelinux.org/issues/8447
|
See also "Bash 4.4.12-r2 jobs hangs on arm (alpine 3.7)", https://bugs.alpinelinux.org/issues/8447
|
||||||
diff --git a/jobs.c b/jobs.c
|
|
||||||
index cef3c79..bf99266 100644
|
|
||||||
--- a/jobs.c
|
--- a/jobs.c
|
||||||
+++ b/jobs.c
|
+++ b/jobs.c
|
||||||
@@ -4166,10 +4166,8 @@ initialize_job_control (force)
|
@@ -4326,10 +4326,8 @@ just_bail:
|
||||||
if (js.c_childmax < 0)
|
if (js.c_childmax < 0)
|
||||||
js.c_childmax = DEFAULT_CHILD_MAX;
|
js.c_childmax = DEFAULT_CHILD_MAX;
|
||||||
|
|
||||||
|
@ -18,7 +16,7 @@ index cef3c79..bf99266 100644
|
||||||
|
|
||||||
return job_control;
|
return job_control;
|
||||||
}
|
}
|
||||||
@@ -4547,10 +4545,8 @@ mark_dead_jobs_as_notified (force)
|
@@ -4707,10 +4705,8 @@ mark_dead_jobs_as_notified (force)
|
||||||
if (js.c_childmax < 0)
|
if (js.c_childmax < 0)
|
||||||
js.c_childmax = DEFAULT_CHILD_MAX;
|
js.c_childmax = DEFAULT_CHILD_MAX;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- a/Makefile.in
|
--- a/Makefile.in
|
||||||
+++ b/Makefile.in
|
+++ b/Makefile.in
|
||||||
@@ -741,10 +741,8 @@ reconfig: force
|
@@ -791,10 +791,8 @@ loadables:
|
||||||
# $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
|
# $(MAKE) -f $(srcdir)/Makefile $(MFLAGS) srcdir=$(srcdir)
|
||||||
|
|
||||||
doc documentation: force
|
doc documentation: force
|
||||||
|
|
Loading…
Reference in a new issue