From 2566c645560e2c8a3e6766ceeb5b84b872972a22 Mon Sep 17 00:00:00 2001 From: Krzysztof Pawlik Date: Fri, 13 Apr 2007 14:45:38 +0000 Subject: [PATCH] Add patch for SSL connections. Package-Manager: portage-2.1.2.3 --- www-apache/mod_caucho/ChangeLog | 6 +++- www-apache/mod_caucho/Manifest | 30 ++++++++++++++----- .../files/mod_caucho-3.0.22-ssl.patch | 20 +++++++++++++ .../mod_caucho/mod_caucho-3.0.22.ebuild | 3 +- 4 files changed, 49 insertions(+), 10 deletions(-) create mode 100644 www-apache/mod_caucho/files/mod_caucho-3.0.22-ssl.patch diff --git a/www-apache/mod_caucho/ChangeLog b/www-apache/mod_caucho/ChangeLog index 1b96a52a3fb1..aaebf235de3e 100644 --- a/www-apache/mod_caucho/ChangeLog +++ b/www-apache/mod_caucho/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-apache/mod_caucho # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/ChangeLog,v 1.12 2007/02/03 13:43:13 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/ChangeLog,v 1.13 2007/04/13 14:45:38 nelchael Exp $ + + 13 Apr 2007; Krzysiek Pawlik + +files/mod_caucho-3.0.22-ssl.patch, mod_caucho-3.0.22.ebuild: + Add patch for SSL connections. 03 Feb 2007; Steve Dibb mod_caucho-3.0.22.ebuild: amd64 stable, bug 163278 diff --git a/www-apache/mod_caucho/Manifest b/www-apache/mod_caucho/Manifest index b5f56571b58e..2204826b0888 100644 --- a/www-apache/mod_caucho/Manifest +++ b/www-apache/mod_caucho/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 88_mod_caucho.conf 520 RMD160 4c0b7ec0ca59e2165dd5ce11b694ee0edcad8a24 SHA1 981920c3d9976b996e423a24aa115441cadb7ab8 SHA256 65cae0fb7d09a43f5559a35d285c2cf527e3552e4933aba9de0a9f9b83c5870d MD5 1c42a4926d86213638f8116a96ddad83 files/88_mod_caucho.conf 520 RMD160 4c0b7ec0ca59e2165dd5ce11b694ee0edcad8a24 files/88_mod_caucho.conf 520 @@ -6,24 +9,28 @@ AUX mod_caucho-3.0.22-gentoo.patch 783 RMD160 186ce598a34264008eeac9ed2b9c0b0943 MD5 ed670b62f8e7eca8ed2b748c6c168458 files/mod_caucho-3.0.22-gentoo.patch 783 RMD160 186ce598a34264008eeac9ed2b9c0b094310ff5a files/mod_caucho-3.0.22-gentoo.patch 783 SHA256 308de706f120962508fadb8e4d5caab504ed2cd49f80d7bca0289b706f075e9c files/mod_caucho-3.0.22-gentoo.patch 783 +AUX mod_caucho-3.0.22-ssl.patch 707 RMD160 89025739f8bc910ec584c3c4d3ade5422e3db2e2 SHA1 1acf6ab1a4f945609903986966dc7d29eb655bfe SHA256 f33096f6783a4d06e9d1ba6d77eba7bf32597a5adb1e6e2eb4617ec43f9d0d1e +MD5 c013ff79b1e3cf3cf3db58805e8e38dd files/mod_caucho-3.0.22-ssl.patch 707 +RMD160 89025739f8bc910ec584c3c4d3ade5422e3db2e2 files/mod_caucho-3.0.22-ssl.patch 707 +SHA256 f33096f6783a4d06e9d1ba6d77eba7bf32597a5adb1e6e2eb4617ec43f9d0d1e files/mod_caucho-3.0.22-ssl.patch 707 AUX mod_caucho-3.1.0-gentoo.patch 779 RMD160 2bd24d536c97b07b5366b5c450be9e0e878c1d44 SHA1 775eaa939ff0c8cf0ed4c43a1866631acf94aad4 SHA256 667c97c8fa9c34102303a7096cc271f422e83cc4fc1fd09a1630368babdd9c34 MD5 b2b19809a96fd5e41d11294c9d0c144b files/mod_caucho-3.1.0-gentoo.patch 779 RMD160 2bd24d536c97b07b5366b5c450be9e0e878c1d44 files/mod_caucho-3.1.0-gentoo.patch 779 SHA256 667c97c8fa9c34102303a7096cc271f422e83cc4fc1fd09a1630368babdd9c34 files/mod_caucho-3.1.0-gentoo.patch 779 DIST resin-3.0.22-src.tar.gz 5467522 RMD160 093cdcfa8bcd14a30ff54cc9cb8001ace10bbfc6 SHA1 23d4f2fd233033adb0b08f8fcdcb81a1f0aab3fe SHA256 0da5617b6867a0d40e59d2dfe2518158567506fea2c1273d56290c146a64849a DIST resin-3.1.0-src.tar.gz 5708227 RMD160 6e347dc2810b328eddeafb39886bfe146c65f409 SHA1 2f3f7c5d6003424f2f1afc27f38f9f36cc312466 SHA256 735af3cd4ed9962631969d2da4ddea26ab28c3d0fd96d0e831e5a2058ef77440 -EBUILD mod_caucho-3.0.22.ebuild 1235 RMD160 3294474aa44a2537b25a5c83310c561907c8312b SHA1 8269e8c3a6da027aa1aa41102f4747314ec1e8d4 SHA256 3070d2040c85eada13699ddcf1c0477a34c1be36ae3ceacce80fcb7119c9d965 -MD5 de93165f87ac5f507524806f4ba518ce mod_caucho-3.0.22.ebuild 1235 -RMD160 3294474aa44a2537b25a5c83310c561907c8312b mod_caucho-3.0.22.ebuild 1235 -SHA256 3070d2040c85eada13699ddcf1c0477a34c1be36ae3ceacce80fcb7119c9d965 mod_caucho-3.0.22.ebuild 1235 +EBUILD mod_caucho-3.0.22.ebuild 1273 RMD160 53efea17e4aa3380fb8d133c2584102e1edc62a7 SHA1 0387ca77e97a65ddceb45bb31e80f9b3b2e1c4d5 SHA256 96d98e4ca0094e9a9c4254e703c43a2d807c0042835949e23736322ae71fc36c +MD5 0315bc60e74408e38834b01fbd8243d4 mod_caucho-3.0.22.ebuild 1273 +RMD160 53efea17e4aa3380fb8d133c2584102e1edc62a7 mod_caucho-3.0.22.ebuild 1273 +SHA256 96d98e4ca0094e9a9c4254e703c43a2d807c0042835949e23736322ae71fc36c mod_caucho-3.0.22.ebuild 1273 EBUILD mod_caucho-3.1.0.ebuild 1259 RMD160 7a7a443e9ddecc616f615d11601eeb2175d850bf SHA1 ad041d7ff93e54eae93be1ca1fb4bf36df8292a5 SHA256 345f3b5f0e172dc5a7969202d3cdcd0eb6bc3fbe6af51b0175d6b4221535091d MD5 292b3d6b9708268b83765051d2768bfd mod_caucho-3.1.0.ebuild 1259 RMD160 7a7a443e9ddecc616f615d11601eeb2175d850bf mod_caucho-3.1.0.ebuild 1259 SHA256 345f3b5f0e172dc5a7969202d3cdcd0eb6bc3fbe6af51b0175d6b4221535091d mod_caucho-3.1.0.ebuild 1259 -MISC ChangeLog 2185 RMD160 17681abe5f3c1c3e86bc9737bfe565361e48048c SHA1 62db769f0116242aff730ab41bcc25f7b186fadc SHA256 172efce076aad1f08a726fffa1455d564f9104a19ef1358e3e6d88076ab0fddc -MD5 4c4dda3479109790f13e5a18eee956c0 ChangeLog 2185 -RMD160 17681abe5f3c1c3e86bc9737bfe565361e48048c ChangeLog 2185 -SHA256 172efce076aad1f08a726fffa1455d564f9104a19ef1358e3e6d88076ab0fddc ChangeLog 2185 +MISC ChangeLog 2337 RMD160 1fa6277f5aea192d58f9ecdb77acbb10306121e0 SHA1 a74815a8c033bcc4a29b210d5e37456c01a4956b SHA256 bf40ce58da46d2317c8bead3aaa8aa6023b15d9dc2bb507e5e67db45e15df010 +MD5 fb80081290dc3ea508b990e1a7326cc5 ChangeLog 2337 +RMD160 1fa6277f5aea192d58f9ecdb77acbb10306121e0 ChangeLog 2337 +SHA256 bf40ce58da46d2317c8bead3aaa8aa6023b15d9dc2bb507e5e67db45e15df010 ChangeLog 2337 MISC metadata.xml 245 RMD160 ab2afa1527b94d2776eb4cff88ab06b86f4da8d4 SHA1 e75506fde1ffe1aab92c624c3299957c9819fafe SHA256 2934a1d824233ffc25ba694782ed7386f899e39e3020cc5fa82f5a0e371b1957 MD5 2beccfb509fa2c8b2489d1278d021b4e metadata.xml 245 RMD160 ab2afa1527b94d2776eb4cff88ab06b86f4da8d4 metadata.xml 245 @@ -34,3 +41,10 @@ SHA256 22df3f8469cc556d0c7f3e0238eb0a7bfc0ebf2f64fdf30fee739e286e1505cb files/di MD5 486b2f59227ff5e961aee6f6a7482362 files/digest-mod_caucho-3.1.0 250 RMD160 29b90fa098e07020808bc9bb0156c404b6e012b3 files/digest-mod_caucho-3.1.0 250 SHA256 8af0d2e1d33ccff5b8ef7c6cfc0097f92c557d9179a3c1145ea103f7c40a1171 files/digest-mod_caucho-3.1.0 250 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGH5eugo/w9rxVVVERAiatAJ4/Lx0yqxB+mfnYZOjE/HuQdPxVLgCgkgJp +TMUJlIjvFwhOg54Nk61x4i4= +=ieBl +-----END PGP SIGNATURE----- diff --git a/www-apache/mod_caucho/files/mod_caucho-3.0.22-ssl.patch b/www-apache/mod_caucho/files/mod_caucho-3.0.22-ssl.patch new file mode 100644 index 000000000000..fc6a0b5ac878 --- /dev/null +++ b/www-apache/mod_caucho/files/mod_caucho-3.0.22-ssl.patch @@ -0,0 +1,20 @@ +diff -Nru resin-3.0.22.vanilla/modules/c/src/apache2/mod_caucho.c resin-3.0.22/modules/c/src/apache2/mod_caucho.c +--- resin-3.0.22.vanilla/modules/c/src/apache2/mod_caucho.c 2007-04-13 15:41:18.000000000 +0200 ++++ resin-3.0.22/modules/c/src/apache2/mod_caucho.c 2007-04-13 16:00:24.000000000 +0200 +@@ -582,6 +582,16 @@ + } + } + #endif ++ /* Add SSL Client certificate: (requires SSLOptions +StdEnvVars) */ ++ { ++ int i; ++ char **env = (char **)ap_create_environment(r->pool, r->subprocess_env); ++ for (i = 0; env[i]; ++i) { ++ char *name = strsep(&(env[i]), "="); ++ if (strncmp(name, "SSL_CLIENT_CERT", 16) == 0) ++ cse_write_string(s, CSE_CLIENT_CERT, env[i]); ++ } ++ } + } + + /** diff --git a/www-apache/mod_caucho/mod_caucho-3.0.22.ebuild b/www-apache/mod_caucho/mod_caucho-3.0.22.ebuild index bdf061fe4682..071790000da8 100644 --- a/www-apache/mod_caucho/mod_caucho-3.0.22.ebuild +++ b/www-apache/mod_caucho/mod_caucho-3.0.22.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/mod_caucho-3.0.22.ebuild,v 1.5 2007/02/03 13:43:13 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/mod_caucho-3.0.22.ebuild,v 1.6 2007/04/13 14:45:38 nelchael Exp $ inherit eutils apache-module autotools @@ -26,6 +26,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}/${P}-gentoo.patch" + epatch "${FILESDIR}/${P}-ssl.patch" eautoreconf chmod 755 ./configure } -- 2.26.2