[Python-modules-commits] r17004 - in packages/pyke/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Wed May 11 02:37:04 UTC 2011


    Date: Wednesday, May 11, 2011 @ 02:37:02
  Author: eriol-guest
Revision: 17004

Added a patch to use mktemp to create temporary file

Added:
  packages/pyke/trunk/debian/patches/02_fix-insecure-temporary-file-use.patch
Modified:
  packages/pyke/trunk/debian/changelog
  packages/pyke/trunk/debian/patches/series

Modified: packages/pyke/trunk/debian/changelog
===================================================================
--- packages/pyke/trunk/debian/changelog	2011-05-11 01:41:17 UTC (rev 17003)
+++ packages/pyke/trunk/debian/changelog	2011-05-11 02:37:02 UTC (rev 17004)
@@ -23,8 +23,10 @@
     - Made DEP5 compliant
   * debian/patches/01-disable-hardcoded-path-in-doctest.patch
     - Disabled a hardcoded path in a doctest
+  * debian/patches/02_fix-insecure-temporary-file-use.patch
+    - Use mktemp to create temporary file
 
- -- Daniele Tricoli <eriol at mornie.org>  Wed, 11 May 2011 03:28:50 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Wed, 11 May 2011 04:35:31 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Added: packages/pyke/trunk/debian/patches/02_fix-insecure-temporary-file-use.patch
===================================================================
--- packages/pyke/trunk/debian/patches/02_fix-insecure-temporary-file-use.patch	                        (rev 0)
+++ packages/pyke/trunk/debian/patches/02_fix-insecure-temporary-file-use.patch	2011-05-11 02:37:02 UTC (rev 17004)
@@ -0,0 +1,12 @@
+Creating temporary file with mktemp
+--- a/doc/source/bin/add_links
++++ b/doc/source/bin/add_links
+@@ -5,7 +5,7 @@
+ # This must be executed in the doc/source directory!
+ 
+ MASTER_LINKS=links
+-TMP_FILE=/tmp/add_links.$$
++TMP_FILE=$(mktemp /tmp/add_links.XXXXXXXXXX)
+ 
+ usage() {
+     echo "usage: add_links" >&2

Modified: packages/pyke/trunk/debian/patches/series
===================================================================
--- packages/pyke/trunk/debian/patches/series	2011-05-11 01:41:17 UTC (rev 17003)
+++ packages/pyke/trunk/debian/patches/series	2011-05-11 02:37:02 UTC (rev 17004)
@@ -1 +1,2 @@
+02_fix-insecure-temporary-file-use.patch
 01-disable-hardcoded-path-in-doctest.patch




More information about the Python-modules-commits mailing list