summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-02-23 22:03:15 +0000
committerKeri Harris <keri@gentoo.org>2007-02-23 22:03:15 +0000
commitc49271c2448106f1823f65b25b609b71679cd9f2 (patch)
treec44728ff9f9ec35777345fbe563cd7dab73c8be6 /dev-lang/swi-prolog/files
parentAdded ~ppc64; bug #168062 (diff)
downloadgentoo-2-c49271c2448106f1823f65b25b609b71679cd9f2.tar.gz
gentoo-2-c49271c2448106f1823f65b25b609b71679cd9f2.tar.bz2
gentoo-2-c49271c2448106f1823f65b25b609b71679cd9f2.zip
Regenerate SSL certificates on the fly for SSL test-suite.
(Portage version: 2.1.2-r10)
Diffstat (limited to 'dev-lang/swi-prolog/files')
-rw-r--r--dev-lang/swi-prolog/files/swi-prolog-ssl-cert.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog/files/swi-prolog-ssl-cert.patch b/dev-lang/swi-prolog/files/swi-prolog-ssl-cert.patch
new file mode 100644
index 000000000000..8bf6e63a8890
--- /dev/null
+++ b/dev-lang/swi-prolog/files/swi-prolog-ssl-cert.patch
@@ -0,0 +1,12 @@
+--- pl-5.6.17.orig/packages/ssl/Makefile.in 2006-02-04 04:38:50.000000000 +1300
++++ pl-5.6.17/packages/ssl/Makefile.in 2007-02-24 10:50:04.000000000 +1300
+@@ -128,6 +128,9 @@
+ ################################################################
+
+ check::
++ (cd etc && \
++ openssl ca -batch -policy policy_anything -passin pass:apenoot -out server/server-cert.pem -infiles server/server-key.pem && \
++ openssl ca -batch -policy policy_anything -passin pass:apenoot -out client/client-cert.pem -infiles client/client-key.pem)
+ $(PL) -q -f ssl_test.pl -F none -g test,halt -t 'halt(1)'
+
+ ################################################################