rpms/automake14/F-11 automake-1.4-p6-CVE-2009-4029.patch, NONE, 1.1 automake14.spec, 1.17, 1.18

Karsten Hopp karsten at fedoraproject.org
Tue Feb 9 12:06:49 UTC 2010


Author: karsten

Update of /cvs/extras/rpms/automake14/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8459

Modified Files:
	automake14.spec 
Added Files:
	automake-1.4-p6-CVE-2009-4029.patch 
Log Message:
- add fix for CVE-2009-4029

automake-1.4-p6-CVE-2009-4029.patch:
 Makefile.in |    4 ++--
 automake.in |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE automake-1.4-p6-CVE-2009-4029.patch ---
diff -urN automake-1.4-p6/automake.in automake-1.4-p6.patched/automake.in
--- automake-1.4-p6/automake.in	2010-02-09 12:41:28.000000000 +0100
+++ automake-1.4-p6.patched/automake.in	2010-02-09 12:41:07.000000000 +0100
@@ -2338,7 +2338,7 @@
 	# Create dist directory.
 	$output_rules .= ("\t-rm -rf \$(distdir)\n"
 			  . "\tmkdir \$(distdir)\n"
-			  . "\t-chmod 777 \$(distdir)\n");
+			  . "\t-chmod 755 \$(distdir)\n");
     }
 
     # Only run automake in `dist' target if --include-deps and
@@ -2470,7 +2470,7 @@
 	     . "\t" . '    test -d $(distdir)/$$subdir ' . "\\\n"
 	     . "\t" . '    || mkdir $(distdir)/$$subdir ' . "\\\n"
 	     . "\t" . '    || exit 1; ' . "\\\n"
-	     . "\t" . '    chmod 777 $(distdir)/$$subdir; ' . "\\\n"
+	     . "\t" . '    chmod 755 $(distdir)/$$subdir; ' . "\\\n"
 	     . "\t" . '    (cd $$subdir'
 	     . ' && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$('
 	     . (($relative_dir eq '.') ? 'distdir' : 'top_distdir')
diff -urN automake-1.4-p6/Makefile.in automake-1.4-p6.patched/Makefile.in
--- automake-1.4-p6/Makefile.in	2010-02-09 12:41:28.000000000 +0100
+++ automake-1.4-p6.patched/Makefile.in	2010-02-09 12:40:56.000000000 +0100
@@ -469,7 +469,7 @@
 distdir: $(DISTFILES)
 	-rm -rf $(distdir)
 	mkdir $(distdir)
-	-chmod 777 $(distdir)
+	-chmod 755 $(distdir)
 	@for file in $(DISTFILES); do \
 	  d=$(srcdir); \
 	  if test -d $$d/$$file; then \
@@ -485,7 +485,7 @@
 	    test -d $(distdir)/$$subdir \
 	    || mkdir $(distdir)/$$subdir \
 	    || exit 1; \
-	    chmod 777 $(distdir)/$$subdir; \
+	    chmod 755 $(distdir)/$$subdir; \
 	    (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
 	      || exit 1; \
 	  fi; \


Index: automake14.spec
===================================================================
RCS file: /cvs/extras/rpms/automake14/F-11/automake14.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- automake14.spec	24 Feb 2009 03:27:04 -0000	1.17
+++ automake14.spec	9 Feb 2010 12:06:48 -0000	1.18
@@ -3,7 +3,7 @@
 Summary:    A GNU tool for automatically creating Makefiles
 Name:       automake14
 Version:    1.4p6
-Release:    18%{?dist}
+Release:    20%{?dist}
 License:    GPLv2+
 Group:      Development/Tools
 URL:        http://sources.redhat.com/automake
@@ -14,6 +14,7 @@ Patch3:     automake-1.4-backslash.patch
 Patch6:     automake-1.4-tags.patch
 Patch7:     automake-1.4-subdirs-89656.patch
 Patch8:     automake14-info.patch
+Patch9:     automake-1.4-p6-CVE-2009-4029.patch
 Conflicts:  automake < 1.5
 Requires(post):  /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -36,7 +37,8 @@ has not yet been updated to work with ne
 %patch3 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1 -b .rh1
+%patch8 -p1
+%patch9 -p1 -b .CVE-2009-4029
 mv automake.texi automake14.texi
 rm automake.info
 
@@ -79,6 +81,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_infodir}/*
 
 %changelog
+* Tue Feb 09 2010 Karsten Hopp <karsten at redhat.com> 1.4p6-20
+- add fix for CVE-2009-4029
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4p6-19
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4p6-18
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 



More information about the scm-commits mailing list