summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-08-12 17:53:09 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-08-12 17:53:09 +0000
commit7cf77fc51e36322255e1d6af98773e46856f7f23 (patch)
tree2b922dff7a235985c29ae7f6602fdb0aebcba604 /dev-libs
parentStable on sparc (diff)
downloadgentoo-2-7cf77fc51e36322255e1d6af98773e46856f7f23.tar.gz
gentoo-2-7cf77fc51e36322255e1d6af98773e46856f7f23.tar.bz2
gentoo-2-7cf77fc51e36322255e1d6af98773e46856f7f23.zip
Patch got lost during cleanup, readding
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/openssl/ChangeLog5
-rw-r--r--dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch78
2 files changed, 82 insertions, 1 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog
index e68d989bb48d..7dc28ca6cd96 100644
--- a/dev-libs/openssl/ChangeLog
+++ b/dev-libs/openssl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/openssl
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.132 2005/08/12 13:45:46 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.133 2005/08/12 17:53:09 stkn Exp $
+
+ 12 Aug 2005; <stkn@gentoo.org> +files/openssl-0.9.7c-tempfile.patch:
+ Readding missing patch.
12 Aug 2005; Caleb Tennis <caleb@gentoo.org> -openssl-0.9.7e.ebuild:
remove stale version
diff --git a/dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch b/dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch
new file mode 100644
index 000000000000..a94821a84491
--- /dev/null
+++ b/dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch
@@ -0,0 +1,78 @@
+diff -ur openssl-0.9.7c.orig/apps/der_chop openssl-0.9.7c/apps/der_chop
+--- openssl-0.9.7c.orig/apps/der_chop 2003-09-30 14:38:15.000000000 +0200
++++ openssl-0.9.7c/apps/der_chop 2004-09-13 13:46:06.000000000 +0200
+@@ -65,7 +65,7 @@
+ }
+ else
+ {
+- $file="/tmp/a$$.DER";
++ $file=`mktemp -t a$$.DER.XXXXXX` || die $!;
+ open(OUT,">$file") || die "unable to open $file:$!\n";
+ for (;;)
+ {
+@@ -139,7 +139,7 @@
+ {
+ local($str)=@_;
+ local(*OUT,*IN,@a,$t,$d,$ret);
+- local($file)="/tmp/b$$.DER";
++ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!;
+ local(@ret);
+
+ open(OUT,">$file");
+@@ -225,7 +225,7 @@
+ sub do_private_key
+ {
+ local($data,@struct)=@_;
+- local($file)="/tmp/b$$.DER";
++ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!;
+ local($off,$d,$hl,$len,$_,$b,@p,$s);
+
+ ($type)=($struct[4] =~ /OBJECT_IDENTIFIER :(.*)\s*$/);
+@@ -260,7 +260,7 @@
+ sub do_certificate
+ {
+ local($data,@struct)=@_;
+- local($file)="/tmp/b$$.DER";
++ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!;
+ local($off,$d,$hl,$len,$_,$b,@p,$s);
+
+ ($off,$d,$hl,$len)=&parse_line($struct[2]);
+diff -ur openssl-0.9.7c.orig/apps/der_chop.in openssl-0.9.7c/apps/der_chop.in
+--- openssl-0.9.7c.orig/apps/der_chop.in 1999-05-26 00:31:49.000000000 +0200
++++ openssl-0.9.7c/apps/der_chop.in 2004-09-13 13:43:46.000000000 +0200
+@@ -65,7 +65,7 @@
+ }
+ else
+ {
+- $file="/tmp/a$$.DER";
++ $file=`mktemp -t a$$.DER.XXXXXX` || die $!;
+ open(OUT,">$file") || die "unable to open $file:$!\n";
+ for (;;)
+ {
+@@ -139,7 +139,7 @@
+ {
+ local($str)=@_;
+ local(*OUT,*IN,@a,$t,$d,$ret);
+- local($file)="/tmp/b$$.DER";
++ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!;
+ local(@ret);
+
+ open(OUT,">$file");
+@@ -225,7 +225,7 @@
+ sub do_private_key
+ {
+ local($data,@struct)=@_;
+- local($file)="/tmp/b$$.DER";
++ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!;
+ local($off,$d,$hl,$len,$_,$b,@p,$s);
+
+ ($type)=($struct[4] =~ /OBJECT_IDENTIFIER :(.*)\s*$/);
+@@ -260,7 +260,7 @@
+ sub do_certificate
+ {
+ local($data,@struct)=@_;
+- local($file)="/tmp/b$$.DER";
++ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!;
+ local($off,$d,$hl,$len,$_,$b,@p,$s);
+
+ ($off,$d,$hl,$len)=&parse_line($struct[2]);