diff --git a/bash-4.4-patches.tar.bz2 b/bash-4.4-patches.tar.bz2 index 2156845..9ef3985 100644 --- a/bash-4.4-patches.tar.bz2 +++ b/bash-4.4-patches.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4c8f6d1c5c94802053b08c015b4059446a9366378c329902a0eaf9ab4846f730 -size 8213 +oid sha256:3f4926a9b13e7447c0948033ecc42bdd9df6118046e00491f416935838c9e192 +size 10285 diff --git a/bash.changes b/bash.changes index f9ddb8b..2ae7bd9 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Jan 30 01:42:43 UTC 2018 - avindra@opensuse.org + +- Add patches 13-18 to bash-4.4-patches.tar.bz2 + * 13: If a here-document contains a command substitution, the + command substitution can get access to the file descriptor used + to write the here-document. + * 14: Under some circumstances, functions that return via the + `return' builtin do not clean up memory they allocated to keep + track of FIFOs. + * 15: Process substitution can leak internal quoting to the + parser in the invoked subshell. + * 16: Bash can perform trap processing while reading command + substitution output instead of waiting until the command + completes. + * 17: There is a memory leak when `read -e' is used to read a + line using readline. + * 18: Under certain circumstances (e.g., reading from /dev/zero), + read(2) will not return -1 even when interrupted by a signal. + The read builtin needs to check for signals in this case. +- partial cleanup with spec-cleaner + ------------------------------------------------------------------- Wed Jan 24 12:40:17 UTC 2018 - werner@suse.de diff --git a/bash.spec b/bash.spec index 6856e86..122b4b3 100644 --- a/bash.spec +++ b/bash.spec @@ -96,7 +96,6 @@ Patch47: bash-4.3-perl522.patch Patch48: bash-4.3-extra-import-func.patch # PATCH-EXTEND-SUSE Allow root to clean file system if filled up Patch49: bash-4.3-pathtemp.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %global _sysconfdir /etc %global _incdir %{_includedir} %global _ldldir /%{_lib}/bash @@ -561,9 +560,9 @@ popd %install pushd ../readline-%{rl_vers}%{rextend} - make install htmldir=%{_defaultdocdir}/readline \ - installdir=%{_defaultdocdir}/readline/examples DESTDIR=%{buildroot} - make install-shared libdir=/%{_lib} linkagedir=%{_libdir} DESTDIR=%{buildroot} + %make_install htmldir=%{_defaultdocdir}/readline \ + installdir=%{_defaultdocdir}/readline/examples + %make_install install-shared libdir=/%{_lib} linkagedir=%{_libdir} rm -rf %{buildroot}%{_defaultdocdir}/bash mkdir -p %{buildroot}%{_defaultdocdir}/bash chmod 0755 %{buildroot}/%{_lib}/libhistory.so.%{rl_vers} @@ -575,7 +574,7 @@ pushd ../readline-%{rl_vers}%{rextend} ln -sf /%{_lib}/libhistory.so.%{rl_vers} %{buildroot}/%{_libdir}/libhistory.so ln -sf /%{_lib}/libreadline.so.%{rl_vers} %{buildroot}/%{_libdir}/libreadline.so popd - make install DESTDIR=%{buildroot} + %make_install make -C examples/loadables/ install-supported DESTDIR=%{buildroot} libdir=/%{_lib} rm -rf %{buildroot}%{_libdir}/bash rm -rf %{buildroot}/%{_lib}/pkgconfig