diff --git a/bash-3.2-ssh_source_bash.patch b/bash-3.2-ssh_source_bash.patch new file mode 100644 index 0000000..4b37132 --- /dev/null +++ b/bash-3.2-ssh_source_bash.patch @@ -0,0 +1,9 @@ +diff -up bash-3.2/config-top.h.ssh_source_bash bash-3.2/config-top.h +--- bash-3.2/config-top.h.ssh_source_bash 2008-10-23 15:08:04.000000000 +0200 ++++ bash-3.2/config-top.h 2008-10-23 15:08:33.000000000 +0200 +@@ -86,4 +86,4 @@ + + /* Define this if you want bash to try to check whether it's being run by + sshd and source the .bashrc if so (like the rshd behavior). */ +-/* #define SSH_SOURCE_BASHRC */ ++#define SSH_SOURCE_BASHRC diff --git a/bash.spec b/bash.spec index bd6de94..2d42cd2 100644 --- a/bash.spec +++ b/bash.spec @@ -1,7 +1,7 @@ Version: 3.2 Name: bash Summary: The GNU Bourne Again shell (bash) version %{version} -Release: 22%{?dist} +Release: 23%{?dist} Group: System Environment/Shells License: GPLv2+ Url: http://www.gnu.org/software/bash @@ -63,6 +63,8 @@ Patch132: bash-ulimit-m.patch Patch133: bash-3.2-rng.patch Patch136: bash-3.2-344411.patch Patch137: bash-3.2-190350.patch +Patch138: bash-3.2-ssh_source_bash.patch + Requires: mktemp Requires(post): ncurses BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -135,6 +137,7 @@ compliance over previous versions. %patch133 -p1 -b .rng.patch %patch136 -p1 -b .344411 %patch137 -p1 -b .190350 +%patch138 -p1 -b .ssh_source_bash echo %{version} > _distribution echo %{release} > _patchlevel @@ -276,6 +279,10 @@ fi %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt %changelog +* Thu Oct 23 2008 Roman Rakus - 3.2-23 +- Enabling #define SSH_SOURCE_BASHRC, because ssh changed. + Resolves: #458839 + * Fri Feb 29 2008 Tomas Janousek - 3.2-22 - drop /usr/bin/clear from /etc/skel/.bash_logout as suggested by #429406