|
@@ -1,5 +1,5 @@
|
|
|
-%define bashversion 4.3
|
|
|
-%define patchlevel 46
|
|
|
+%define bashversion 5.0
|
|
|
+%define patchlevel 11
|
|
|
|
|
|
Summary: The GNU Bourne Again shell (bash).
|
|
|
Summary(ja): GNU Bourne Again シェル (bash).
|
|
@@ -15,70 +15,35 @@ Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
Packager: daisuke
|
|
|
|
|
|
-Source0: ftp://ftp.gnu.org/pub/gnu/bash/bash-%{bashversion}.tar.gz
|
|
|
+Source0: http://ftp.gnu.org/pub/gnu/bash/bash-%{bashversion}.tar.gz
|
|
|
Source10: bashrc-vine
|
|
|
|
|
|
# Official upstream patches
|
|
|
-Patch1: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-001
|
|
|
-Patch2: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-002
|
|
|
-Patch3: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-003
|
|
|
-Patch4: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-004
|
|
|
-Patch5: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-005
|
|
|
-Patch6: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-006
|
|
|
-Patch7: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-007
|
|
|
-Patch8: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-008
|
|
|
-Patch9: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-009
|
|
|
-Patch10: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-010
|
|
|
-Patch11: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-011
|
|
|
-Patch12: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-012
|
|
|
-Patch13: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-013
|
|
|
-Patch14: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-014
|
|
|
-Patch15: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-015
|
|
|
-Patch16: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-016
|
|
|
-Patch17: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-017
|
|
|
-Patch18: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-018
|
|
|
-Patch19: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-019
|
|
|
-Patch20: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-020
|
|
|
-Patch21: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-021
|
|
|
-Patch22: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-022
|
|
|
-Patch23: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-023
|
|
|
-Patch24: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-024
|
|
|
-Patch25: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-025
|
|
|
-Patch26: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-026
|
|
|
-Patch27: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-027
|
|
|
-Patch28: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-028
|
|
|
-Patch29: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-029
|
|
|
-Patch30: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-030
|
|
|
-Patch31: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-031
|
|
|
-Patch32: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-032
|
|
|
-Patch33: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-033
|
|
|
-Patch34: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-034
|
|
|
-Patch35: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-035
|
|
|
-Patch36: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-036
|
|
|
-Patch37: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-037
|
|
|
-Patch38: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-038
|
|
|
-Patch39: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-039
|
|
|
-Patch40: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-040
|
|
|
-Patch41: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-041
|
|
|
-Patch42: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-042
|
|
|
-Patch43: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-043
|
|
|
-Patch44: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-044
|
|
|
-Patch45: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-045
|
|
|
-Patch46: ftp://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-046
|
|
|
+Patch1: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-001
|
|
|
+Patch2: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-002
|
|
|
+Patch3: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-003
|
|
|
+Patch4: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-004
|
|
|
+Patch5: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-005
|
|
|
+Patch6: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-006
|
|
|
+Patch7: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-007
|
|
|
+Patch8: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-008
|
|
|
+Patch9: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-009
|
|
|
+Patch10: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-010
|
|
|
+Patch11: http://ftp.gnu.org/gnu/bash/bash-5.0-patches/bash50-011
|
|
|
|
|
|
# Other patches
|
|
|
-Patch101: bash-2.02-security.patch
|
|
|
+#Patch101: bash-2.02-security.patch
|
|
|
Patch102: bash-2.03-paths.patch
|
|
|
Patch103: bash-2.03-profile.patch
|
|
|
Patch104: bash-2.05a-interpreter.patch
|
|
|
Patch105: bash-2.05b-debuginfo.patch
|
|
|
-Patch106: bash-2.05b-manso.patch
|
|
|
+#Patch106: bash-2.05b-manso.patch
|
|
|
Patch107: bash-2.05b-pgrp_sync.patch
|
|
|
-Patch108: bash-2.05b-readline-oom.patch
|
|
|
-Patch109: bash-2.05b-xcc.patch
|
|
|
+#Patch108: bash-2.05b-readline-oom.patch
|
|
|
+#Patch109: bash-2.05b-xcc.patch
|
|
|
Patch110: bash-3.2-audit.patch
|
|
|
Patch111: bash-3.2-ssh_source_bash.patch
|
|
|
-Patch112: bash-bashbug.patch
|
|
|
+#Patch112: bash-bashbug.patch
|
|
|
Patch113: bash-infotags.patch
|
|
|
Patch114: bash-requires.patch
|
|
|
Patch115: bash-setlocale.patch
|
|
@@ -101,7 +66,7 @@ Patch120: bash-4.2-rc2-logout.patch
|
|
|
Patch121: bash-4.2-coverity.patch
|
|
|
|
|
|
# Don't call malloc in signal handler
|
|
|
-Patch122: bash-4.1-defer-sigchld-trap.patch
|
|
|
+#Patch122: bash-4.1-defer-sigchld-trap.patch
|
|
|
|
|
|
# 799958, updated info about trap
|
|
|
Patch123: bash-4.2-manpage_trap.patch
|
|
@@ -113,19 +78,24 @@ Patch125: bash-4.2-size_type.patch
|
|
|
Patch128: bash-4.3-man-ulimit.patch
|
|
|
|
|
|
# A series of patches emitted by upstream since 4.3-18
|
|
|
-Patch134: bash-4.3-pathexp-globignore-delim.patch
|
|
|
+#Patch134: bash-4.3-pathexp-globignore-delim.patch
|
|
|
|
|
|
# 1102815 - fix double echoes in vi visual mode
|
|
|
Patch135: bash-4.3-noecho.patch
|
|
|
|
|
|
# 1182278 - bash crashes on `select' if REPLY is readonly
|
|
|
-Patch137: bash-4.3-select-readonly.patch
|
|
|
+#Patch137: bash-4.3-select-readonly.patch
|
|
|
|
|
|
#1241533,1224855 - bash leaks memory when LC_ALL set
|
|
|
Patch138: bash-4.3-memleak-lc_all.patch
|
|
|
|
|
|
#1245233 - old memleak reappeared, taken from upstream
|
|
|
-Patch139: bash-4.3-old-memleak.patch
|
|
|
+#Patch139: bash-4.3-old-memleak.patch
|
|
|
+
|
|
|
+# bash-4.4 builds loadable builtin examples by default
|
|
|
+# this patch disables it
|
|
|
+Patch140: bash-4.4-no-loadable-builtins.patch
|
|
|
+
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: texinfo, bison, ncurses-devel, autoconf, gettext
|
|
@@ -175,55 +145,15 @@ Again shell.
|
|
|
%patch9 -p0 -b .009
|
|
|
%patch10 -p0 -b .010
|
|
|
%patch11 -p0 -b .011
|
|
|
-%patch12 -p0 -b .012
|
|
|
-%patch13 -p0 -b .013
|
|
|
-%patch14 -p0 -b .014
|
|
|
-%patch15 -p0 -b .015
|
|
|
-%patch16 -p0 -b .016
|
|
|
-%patch17 -p0 -b .017
|
|
|
-%patch18 -p0 -b .018
|
|
|
-%patch19 -p0 -b .019
|
|
|
-%patch20 -p0 -b .020
|
|
|
-%patch21 -p0 -b .021
|
|
|
-%patch22 -p0 -b .022
|
|
|
-%patch23 -p0 -b .023
|
|
|
-%patch24 -p0 -b .024
|
|
|
-%patch25 -p0 -b .025
|
|
|
-%patch26 -p0 -b .026
|
|
|
-%patch27 -p0 -b .027
|
|
|
-%patch28 -p0 -b .028
|
|
|
-%patch29 -p0 -b .029
|
|
|
-%patch30 -p0 -b .030
|
|
|
-%patch31 -p0 -b .031
|
|
|
-%patch32 -p0 -b .032
|
|
|
-%patch33 -p0 -b .033
|
|
|
-%patch34 -p0 -b .034
|
|
|
-%patch35 -p0 -b .035
|
|
|
-%patch36 -p0 -b .036
|
|
|
-%patch37 -p0 -b .037
|
|
|
-%patch38 -p0 -b .038
|
|
|
-%patch39 -p0 -b .039
|
|
|
-%patch40 -p0 -b .040
|
|
|
-%patch41 -p0 -b .041
|
|
|
-%patch42 -p0 -b .042
|
|
|
-%patch43 -p0 -b .043
|
|
|
-%patch44 -p0 -b .044
|
|
|
-%patch45 -p0 -b .045
|
|
|
-%patch46 -p0 -b .046
|
|
|
|
|
|
# Other patches
|
|
|
-%patch101 -p1 -b .security
|
|
|
%patch102 -p1 -b .paths
|
|
|
%patch103 -p1 -b .profile
|
|
|
%patch104 -p1 -b .interpreter
|
|
|
%patch105 -p1 -b .debuginfo
|
|
|
-%patch106 -p1 -b .manso
|
|
|
%patch107 -p1 -b .pgrp_sync
|
|
|
-%patch108 -p1 -b .readline_oom
|
|
|
-%patch109 -p1 -b .xcc
|
|
|
%patch110 -p1 -b .audit
|
|
|
%patch111 -p1 -b .ssh_source_bash
|
|
|
-%patch112 -p1 -b .bashbug
|
|
|
%patch113 -p1 -b .infotags
|
|
|
%patch114 -p1 -b .requires
|
|
|
%patch115 -p1 -b .setlocale
|
|
@@ -233,15 +163,12 @@ Again shell.
|
|
|
%patch119 -p1 -b .broken_pipe
|
|
|
%patch120 -p1 -b .logout
|
|
|
%patch121 -p1 -b .coverity
|
|
|
-%patch122 -p1 -b .defer_sigchld_trap
|
|
|
%patch123 -p1
|
|
|
%patch125 -p1 -b .size_type
|
|
|
%patch128 -p1 -b .ulimit
|
|
|
-%patch134 -p0 -b .delim
|
|
|
%patch135 -p1 -b .noecho
|
|
|
-%patch137 -p1 -b .readonly
|
|
|
%patch138 -p1 -b .lc_all
|
|
|
-%patch139 -p1 -b .oldleak
|
|
|
+%patch140 -p1 -b .no_loadable_builtin
|
|
|
|
|
|
echo %{version} > _distribution
|
|
|
echo %{release} |sed 's/vl.*//' > _patchlevel
|
|
@@ -374,6 +301,14 @@ f:close()
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Sep 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.11-1
|
|
|
+- updated to 5.0 patch level 11.
|
|
|
+
|
|
|
+* Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.0.9-1
|
|
|
+- updated to 5.0 patch level 9.
|
|
|
+- dropped Patch101, 106, 108, 109, 112, 122, 134, 137 and 139.
|
|
|
+- imported Patch140 from rawhide.
|
|
|
+
|
|
|
* Tue Jul 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.3.46-1
|
|
|
- updated to 4.3 patch level 46.
|
|
|
|