~ubuntu-branches/debian/wheezy/automake1.10/wheezy

« back to all changes in this revision

Viewing changes to debian/patches/debian-changes

  • Committer: Package Import Robot
  • Author(s): Eric Dorland
  • Date: 2012-07-10 18:17:48 UTC
  • Revision ID: package-import@ubuntu.com-20120710181748-6wx8g2v4oh1xej6v
Tags: 1:1.10.3-3
lib/am/distdir.am: Backport fix for CVE-2012-3386 "Temporary worldwide
write permissions during make distcheck". (Closes: #681117)

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 @end direntry
29
29
 
30
30
 @titlepage
 
31
--- automake1.10-1.10.3.orig/lib/am/distdir.am
 
32
+++ automake1.10-1.10.3/lib/am/distdir.am
 
33
@@ -362,7 +362,7 @@ distcheck: dist
 
34
 ## Make the new source tree read-only.  Distributions ought to work in
 
35
 ## this case.  However, make the top-level directory writable so we
 
36
 ## can make our new subdirs.
 
37
-       chmod -R a-w $(distdir); chmod a+w $(distdir)
 
38
+       chmod -R a-w $(distdir); chmod u+w $(distdir)
 
39
        mkdir $(distdir)/_build
 
40
        mkdir $(distdir)/_inst
 
41
 ## Undo the write access.
31
42
--- automake1.10-1.10.3.orig/lib/Automake/Makefile.in
32
43
+++ automake1.10-1.10.3/lib/Automake/Makefile.in
33
44
@@ -36,14 +36,7 @@ subdir = lib/Automake