SPECS: openssh.spec - rel 7; fixes CVE-2006-4924

glen glen at pld-linux.org
Wed Sep 27 21:42:57 CEST 2006


Author: glen                         Date: Wed Sep 27 19:42:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 7; fixes CVE-2006-4924

---- Files affected:
SPECS:
   openssh.spec (1.262 -> 1.263) 

---- Diffs:

================================================================
Index: SPECS/openssh.spec
diff -u SPECS/openssh.spec:1.262 SPECS/openssh.spec:1.263
--- SPECS/openssh.spec:1.262	Wed Sep  6 17:50:28 2006
+++ SPECS/openssh.spec	Wed Sep 27 21:42:52 2006
@@ -17,7 +17,7 @@
 %endif
 # gtk2-based gnome-askpass means no gnome1-based
 %{?with_gtk:%undefine with_gnome}
-%define		_rel	4
+%define		_rel	7
 Summary:	OpenSSH free Secure Shell (SSH) implementation
 Summary(de):	OpenSSH - freie Implementation der Secure Shell (SSH)
 Summary(es):	Implementación libre de SSH
@@ -71,6 +71,7 @@
 # http://www.psc.edu/networking/projects/hpn-ssh/openssh-4.2p1-hpn11-none.diff
 Patch12:	%{name}-4.3p1-hpn11-none.patch
 Patch13:	%{name}-include.patch
+Patch14:	%{name}-identical-simple-dos-2.patch
 URL:		http://www.openssh.com/
 BuildRequires:	%{__perl}
 BuildRequires:	autoconf
@@ -468,6 +469,7 @@
 %{?with_hpn:%patch11 -p1}
 %{?with_hpn_none:%patch12 -p1}
 %patch13 -p1
+%patch14 -p3
 
 %build
 cp %{_datadir}/automake/config.sub .
@@ -494,7 +496,7 @@
 	--enable-utmpx \
 	--enable-wtmpx
 
-echo '#define LOGIN_PROGRAM           "/bin/login"' >>config.h
+echo '#define LOGIN_PROGRAM		   "/bin/login"' >>config.h
 
 %{__make}
 
@@ -558,10 +560,10 @@
 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
 
 %if "%{_lib}" != "lib"
-find $RPM_BUILD_ROOT%{_sysconfdir} -type f -print0 | xargs -0 perl -pi -e "s#/usr/lib#/usr/%{_lib}#"
+find $RPM_BUILD_ROOT%{_sysconfdir} -type f -print0 | xargs -0 sed -i -e 's#%{_prefix}/lib#%{_libdir}#'
 %endif
 
-cat << EOF >$RPM_BUILD_ROOT/etc/env.d/SSH_ASKPASS
+cat << 'EOF' > $RPM_BUILD_ROOT/etc/env.d/SSH_ASKPASS
 #SSH_ASKPASS="%{_libexecdir}/ssh-askpass"
 EOF
 
@@ -674,6 +676,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.263  2006/09/27 19:42:52  glen
+- rel 7; fixes CVE-2006-4924
+
 Revision 1.262  2006/09/06 15:50:28  sparky
 - rpmbuild(macros) >= 1.318 (%env_update)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openssh.spec?r1=1.262&r2=1.263&f=u



More information about the pld-cvs-commit mailing list