rpms/bash/devel bash-3.2-execve_catch_signals.patch, NONE, 1.1 bash-3.2-ssh_source_bash.patch, NONE, 1.1 bash.spec, 1.161, 1.162

Roman Rakus rrakus at fedoraproject.org
Thu Oct 23 13:44:35 UTC 2008


Author: rrakus

Update of /cvs/extras/rpms/bash/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14729

Modified Files:
	bash.spec 
Added Files:
	bash-3.2-execve_catch_signals.patch 
	bash-3.2-ssh_source_bash.patch 
Log Message:
Removes requires to avoid dependency loops. Enable #define SSH_SOURCE_BASHRC. Catch signals right after calling execve()

bash-3.2-execve_catch_signals.patch:

--- NEW FILE bash-3.2-execve_catch_signals.patch ---
diff -up bash-3.2/execute_cmd.c.execve_catch_signals bash-3.2/execute_cmd.c
--- bash-3.2/execute_cmd.c.execve_catch_signals	2008-09-16 14:28:25.000000000 +0200
+++ bash-3.2/execute_cmd.c	2008-09-16 14:52:14.000000000 +0200
@@ -99,6 +99,8 @@ extern int errno;
 #  include "bashhist.h"
 #endif
 
+#include "quit.h"
+
 extern int posixly_correct;
 extern int breaking, continuing, loop_level;
 extern int expand_aliases;
@@ -3943,6 +3945,7 @@ shell_execve (command, args, env)
   SETOSTYPE (0);		/* Some systems use for USG/POSIX semantics */
   execve (command, args, env);
   i = errno;			/* error from execve() */
+  CHECK_TERMSIG;
   SETOSTYPE (1);
 
   /* If we get to this point, then start checking out the file.

bash-3.2-ssh_source_bash.patch:

--- NEW FILE bash-3.2-ssh_source_bash.patch ---
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


Index: bash.spec
===================================================================
RCS file: /cvs/extras/rpms/bash/devel/bash.spec,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -r1.161 -r1.162
--- bash.spec	17 Jul 2008 12:16:06 -0000	1.161
+++ bash.spec	23 Oct 2008 13:44:05 -0000	1.162
@@ -1,7 +1,7 @@
 Version: 3.2
 Name: bash
 Summary: The GNU Bourne Again shell (bash) version %{version}
-Release: 27%{?dist}
+Release: 28%{?dist}
 Group: System Environment/Shells
 License: GPLv2+
 Url: http://www.gnu.org/software/bash
@@ -74,9 +74,9 @@
 Patch139: bash-3.2-manpage.patch
 Patch140: bash-3.2-man-page-suspend.patch
 Patch141: bash-3.2-patch035.patch
+Patch142: bash-3.2-execve_catch_signals.patch
+Patch143: bash-3.2-ssh_source_bash.patch
 
-Requires: mktemp
-Requires(post): ncurses
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: texinfo bison
@@ -160,6 +160,8 @@
 %patch138 -p1 -b .comp_wordbreaks
 %patch139 -p1 -b .manpage
 %patch140 -p1 -b .man-page-suspend
+%patch142 -p1 -b .execve_catch_signals
+%patch143 -p1 -b .ssh_source_bash
 
 echo %{version} > _distribution
 echo %{release} > _patchlevel
@@ -301,6 +303,14 @@
 %doc doc/*.ps doc/*.0 doc/*.html doc/article.txt
 
 %changelog
+* Thu Oct 23 2008 Roman Rakus <rrakus at redhat.com> - 3.2-28
+- Removing Requires for mktemp and ncurses, which cause
+  dependencing loop
+- Enabling #define SSH_SOURCE_BASHRC, because ssh changed.
+  Resolves: #458839
+- Catch signals right after calling execve()
+  Resolves: #455548
+
 * Thu Jul 17 2008 Roman Rakus <rrakus at redhat.com> - 3.2-27
 - Changes in man page - #442018, #445692, #446625, #453409
 - Changed patches to satisfy fuzz=0




More information about the scm-commits mailing list