summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2005-08-09 20:53:29 +0000
committerMichael Imhof <tantive@gentoo.org>2005-08-09 20:53:29 +0000
commita29184a0a018d1db7be021b7dac0f0a7967bafb5 (patch)
tree0902335a036936185f8961ac7d489678bead61d9 /sys-cluster/xpvm/files
parentwork around portage bug: described in bug #73527 (diff)
downloadgentoo-2-a29184a0a018d1db7be021b7dac0f0a7967bafb5.tar.gz
gentoo-2-a29184a0a018d1db7be021b7dac0f0a7967bafb5.tar.bz2
gentoo-2-a29184a0a018d1db7be021b7dac0f0a7967bafb5.zip
Bumped revision, closes #97184.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-cluster/xpvm/files')
-rw-r--r--sys-cluster/xpvm/files/digest-xpvm-1.2.5-r41
-rw-r--r--sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch22
2 files changed, 23 insertions, 0 deletions
diff --git a/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r4 b/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r4
new file mode 100644
index 000000000000..b9694694f22c
--- /dev/null
+++ b/sys-cluster/xpvm/files/digest-xpvm-1.2.5-r4
@@ -0,0 +1 @@
+MD5 7b20143cb2ff61e3cb28baf8f9cb2770 XPVM.src.1.2.5.tgz 196004
diff --git a/sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch b/sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch
new file mode 100644
index 000000000000..958717ecdec6
--- /dev/null
+++ b/sys-cluster/xpvm/files/xpvm-1.2.5-secure-temp.patch
@@ -0,0 +1,22 @@
+diff -Naur xpvm.orig/src/xpvm.tcl xpvm/src/xpvm.tcl
+--- xpvm.orig/src/xpvm.tcl 1998-04-09 16:12:32.000000000 -0500
++++ xpvm/src/xpvm.tcl 2005-07-29 19:02:33.776588864 -0500
+@@ -829,7 +829,17 @@
+
+ set tfck [ info exists trace_file ]
+
+-if { $tfck == 0 } { set trace_file "/tmp/xpvm.trace.$user" }
++if { $tfck == 0 } {
++ if {$tcl_platform(platform) != "unix"} {
++ puts stderr "fatal error, secure temp file creation not available"
++ exit 1
++ }
++ catch {exec /bin/tempfile} trace_file
++ if {[file exist $trace_file] != 1} {
++ puts stderr "fatal error, secure temp file creation not available"
++ exit 1
++ }
++}
+
+ $CTRL.file_entry insert 0 $trace_file
+