Accepting request 570849 from Base:System
- 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 OBS-URL: https://build.opensuse.org/request/show/570849 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash?expand=0&rev=142
This commit is contained in:
commit
ce88dcdeaf
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:4c8f6d1c5c94802053b08c015b4059446a9366378c329902a0eaf9ab4846f730
|
oid sha256:3f4926a9b13e7447c0948033ecc42bdd9df6118046e00491f416935838c9e192
|
||||||
size 8213
|
size 10285
|
||||||
|
22
bash.changes
22
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
|
Wed Jan 24 12:40:17 UTC 2018 - werner@suse.de
|
||||||
|
|
||||||
|
@ -96,7 +96,6 @@ Patch47: bash-4.3-perl522.patch
|
|||||||
Patch48: bash-4.3-extra-import-func.patch
|
Patch48: bash-4.3-extra-import-func.patch
|
||||||
# PATCH-EXTEND-SUSE Allow root to clean file system if filled up
|
# PATCH-EXTEND-SUSE Allow root to clean file system if filled up
|
||||||
Patch49: bash-4.3-pathtemp.patch
|
Patch49: bash-4.3-pathtemp.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%global _sysconfdir /etc
|
%global _sysconfdir /etc
|
||||||
%global _incdir %{_includedir}
|
%global _incdir %{_includedir}
|
||||||
%global _ldldir /%{_lib}/bash
|
%global _ldldir /%{_lib}/bash
|
||||||
@ -561,9 +560,9 @@ popd
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
pushd ../readline-%{rl_vers}%{rextend}
|
pushd ../readline-%{rl_vers}%{rextend}
|
||||||
make install htmldir=%{_defaultdocdir}/readline \
|
%make_install htmldir=%{_defaultdocdir}/readline \
|
||||||
installdir=%{_defaultdocdir}/readline/examples DESTDIR=%{buildroot}
|
installdir=%{_defaultdocdir}/readline/examples
|
||||||
make install-shared libdir=/%{_lib} linkagedir=%{_libdir} DESTDIR=%{buildroot}
|
%make_install install-shared libdir=/%{_lib} linkagedir=%{_libdir}
|
||||||
rm -rf %{buildroot}%{_defaultdocdir}/bash
|
rm -rf %{buildroot}%{_defaultdocdir}/bash
|
||||||
mkdir -p %{buildroot}%{_defaultdocdir}/bash
|
mkdir -p %{buildroot}%{_defaultdocdir}/bash
|
||||||
chmod 0755 %{buildroot}/%{_lib}/libhistory.so.%{rl_vers}
|
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}/libhistory.so.%{rl_vers} %{buildroot}/%{_libdir}/libhistory.so
|
||||||
ln -sf /%{_lib}/libreadline.so.%{rl_vers} %{buildroot}/%{_libdir}/libreadline.so
|
ln -sf /%{_lib}/libreadline.so.%{rl_vers} %{buildroot}/%{_libdir}/libreadline.so
|
||||||
popd
|
popd
|
||||||
make install DESTDIR=%{buildroot}
|
%make_install
|
||||||
make -C examples/loadables/ install-supported DESTDIR=%{buildroot} libdir=/%{_lib}
|
make -C examples/loadables/ install-supported DESTDIR=%{buildroot} libdir=/%{_lib}
|
||||||
rm -rf %{buildroot}%{_libdir}/bash
|
rm -rf %{buildroot}%{_libdir}/bash
|
||||||
rm -rf %{buildroot}/%{_lib}/pkgconfig
|
rm -rf %{buildroot}/%{_lib}/pkgconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user