|
@@ -1,5 +1,5 @@
|
|
-%define bashversion 4.2
|
|
|
|
-%define patchlevel 45
|
|
|
|
|
|
+%define bashversion 4.3
|
|
|
|
+%define patchlevel 11
|
|
|
|
|
|
Summary: The GNU Bourne Again shell (bash).
|
|
Summary: The GNU Bourne Again shell (bash).
|
|
Summary(ja): GNU Bourne Again シェル (bash).
|
|
Summary(ja): GNU Bourne Again シェル (bash).
|
|
@@ -19,51 +19,17 @@ Source0: ftp://ftp.gnu.org/pub/gnu/bash/bash-%{bashversion}.tar.gz
|
|
Source10: bashrc-vine
|
|
Source10: bashrc-vine
|
|
|
|
|
|
# Official upstream patches
|
|
# Official upstream patches
|
|
-Patch1: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-001
|
|
|
|
-Patch2: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-002
|
|
|
|
-Patch3: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-003
|
|
|
|
-Patch4: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-004
|
|
|
|
-Patch5: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-005
|
|
|
|
-Patch6: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-006
|
|
|
|
-Patch7: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-007
|
|
|
|
-Patch8: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-008
|
|
|
|
-Patch9: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-009
|
|
|
|
-Patch10: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-010
|
|
|
|
-Patch11: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-011
|
|
|
|
-Patch12: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-012
|
|
|
|
-Patch13: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-013
|
|
|
|
-Patch14: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-014
|
|
|
|
-Patch15: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-015
|
|
|
|
-Patch16: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-016
|
|
|
|
-Patch17: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-017
|
|
|
|
-Patch18: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-018
|
|
|
|
-Patch19: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-019
|
|
|
|
-Patch20: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-020
|
|
|
|
-Patch21: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-021
|
|
|
|
-Patch22: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-022
|
|
|
|
-Patch23: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-023
|
|
|
|
-Patch24: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-024
|
|
|
|
-Patch25: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-025
|
|
|
|
-Patch26: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-026
|
|
|
|
-Patch27: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-027
|
|
|
|
-Patch28: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-028
|
|
|
|
-Patch29: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-029
|
|
|
|
-Patch30: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-030
|
|
|
|
-Patch31: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-031
|
|
|
|
-Patch32: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-032
|
|
|
|
-Patch33: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-033
|
|
|
|
-Patch34: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-034
|
|
|
|
-Patch35: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-035
|
|
|
|
-Patch36: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-036
|
|
|
|
-Patch37: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-037
|
|
|
|
-Patch38: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-038
|
|
|
|
-Patch39: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-039
|
|
|
|
-Patch40: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-040
|
|
|
|
-Patch41: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-041
|
|
|
|
-Patch42: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-042
|
|
|
|
-Patch43: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-043
|
|
|
|
-Patch44: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-044
|
|
|
|
-Patch45: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.2-patches/bash42-045
|
|
|
|
|
|
+Patch1: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-001
|
|
|
|
+Patch2: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-002
|
|
|
|
+Patch3: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-003
|
|
|
|
+Patch4: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-004
|
|
|
|
+Patch5: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-005
|
|
|
|
+Patch6: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-006
|
|
|
|
+Patch7: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-007
|
|
|
|
+Patch8: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-008
|
|
|
|
+Patch9: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-009
|
|
|
|
+Patch10: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-010
|
|
|
|
+Patch11: ftp://ftp.gnu.org/pub/gnu/bash/bash-4.3-patches/bash43-011
|
|
|
|
|
|
# Other patches
|
|
# Other patches
|
|
Patch101: bash-2.02-security.patch
|
|
Patch101: bash-2.02-security.patch
|
|
@@ -105,15 +71,9 @@ Patch122: bash-4.1-defer-sigchld-trap.patch
|
|
# 799958, updated info about trap
|
|
# 799958, updated info about trap
|
|
Patch123: bash-4.2-manpage_trap.patch
|
|
Patch123: bash-4.2-manpage_trap.patch
|
|
|
|
|
|
-# 695656, block the signal and unblock it after the new handler is installed
|
|
|
|
-Patch124: bash-4.2-signal.patch
|
|
|
|
-
|
|
|
|
# https://www.securecoding.cert.org/confluence/display/seccode/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow
|
|
# https://www.securecoding.cert.org/confluence/display/seccode/INT32-C.+Ensure+that+operations+on+signed+integers+do+not+result+in+overflow
|
|
Patch125: bash-4.2-size_type.patch
|
|
Patch125: bash-4.2-size_type.patch
|
|
|
|
|
|
-# 903833, Fix missing close(), fixes fd leaks
|
|
|
|
-Patch126: bash-4.2-missing_closes.patch
|
|
|
|
-
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: texinfo, bison, ncurses-devel, autoconf, gettext
|
|
BuildRequires: texinfo, bison, ncurses-devel, autoconf, gettext
|
|
Obsoletes: bash <= 1.14.7
|
|
Obsoletes: bash <= 1.14.7
|
|
@@ -162,40 +122,6 @@ Again shell.
|
|
%patch9 -p0 -b .009
|
|
%patch9 -p0 -b .009
|
|
%patch10 -p0 -b .010
|
|
%patch10 -p0 -b .010
|
|
%patch11 -p0 -b .011
|
|
%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
|
|
|
|
|
|
|
|
# Other patches
|
|
# Other patches
|
|
%patch101 -p1 -b .security
|
|
%patch101 -p1 -b .security
|
|
@@ -221,9 +147,7 @@ Again shell.
|
|
%patch121 -p1 -b .coverity
|
|
%patch121 -p1 -b .coverity
|
|
%patch122 -p1 -b .defer_sigchld_trap
|
|
%patch122 -p1 -b .defer_sigchld_trap
|
|
%patch123 -p1
|
|
%patch123 -p1
|
|
-%patch124 -p1 -b .signal
|
|
|
|
%patch125 -p1 -b .size_type
|
|
%patch125 -p1 -b .size_type
|
|
-%patch126 -p1 -b .missing_closes
|
|
|
|
|
|
|
|
echo %{version} > _distribution
|
|
echo %{version} > _distribution
|
|
echo %{release} |sed 's/vl.*//' > _patchlevel
|
|
echo %{release} |sed 's/vl.*//' > _patchlevel
|
|
@@ -286,6 +210,8 @@ popd
|
|
|
|
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT/%{_docdir}/bash
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
@@ -345,7 +271,7 @@ f:close()
|
|
%files doc
|
|
%files doc
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc COMPAT NEWS NOTES POSIX RBASH
|
|
%doc COMPAT NEWS NOTES POSIX RBASH
|
|
-%doc examples/bashdb/ examples/functions/ examples/misc/
|
|
|
|
|
|
+%doc examples/functions/ examples/misc/
|
|
%doc examples/scripts.noah/ examples/scripts.v2/ examples/scripts/
|
|
%doc examples/scripts.noah/ examples/scripts.v2/ examples/scripts/
|
|
%doc examples/startup-files/ examples/complete/ examples/loadables/
|
|
%doc examples/startup-files/ examples/complete/ examples/loadables/
|
|
%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
|
|
%doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
|
|
@@ -353,6 +279,9 @@ f:close()
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed May 14 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.11-1
|
|
|
|
+- update to 4.3 patch level 11
|
|
|
|
+
|
|
* Mon Mar 18 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.45-1
|
|
* Mon Mar 18 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 4.2.45-1
|
|
- update to 4.2 patch level 45
|
|
- update to 4.2 patch level 45
|
|
- import some patch from fedora package (122-127)
|
|
- import some patch from fedora package (122-127)
|