summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-06 11:32:19 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-06 11:32:19 +0000
commit7ffb55bfc040f2264a60b92c61c61d21a7078904 (patch)
tree274c01a42f05f53dc9a2f0e039c81e27609ddde3 /www-apache
parentVersion bump, uses new Java build system. Closes bug #63246. (diff)
downloadgentoo-2-7ffb55bfc040f2264a60b92c61c61d21a7078904.tar.gz
gentoo-2-7ffb55bfc040f2264a60b92c61c61d21a7078904.tar.bz2
gentoo-2-7ffb55bfc040f2264a60b92c61c61d21a7078904.zip
Initial version - bug #89158.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_caucho/ChangeLog11
-rw-r--r--www-apache/mod_caucho/Manifest24
-rw-r--r--www-apache/mod_caucho/files/88_mod_caucho.conf25
-rw-r--r--www-apache/mod_caucho/files/digest-mod_caucho-3.0.193
-rw-r--r--www-apache/mod_caucho/files/mod_caucho-3.0.19-gentoo.patch17
-rw-r--r--www-apache/mod_caucho/metadata.xml8
-rw-r--r--www-apache/mod_caucho/mod_caucho-3.0.19.ebuild57
7 files changed, 145 insertions, 0 deletions
diff --git a/www-apache/mod_caucho/ChangeLog b/www-apache/mod_caucho/ChangeLog
new file mode 100644
index 000000000000..081568f69bf4
--- /dev/null
+++ b/www-apache/mod_caucho/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for www-apache/mod_caucho
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/ChangeLog,v 1.1 2006/07/06 11:32:19 nelchael Exp $
+
+*mod_caucho-3.0.19 (06 Jul 2006)
+
+ 06 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/88_mod_caucho.conf, +files/mod_caucho-3.0.19-gentoo.patch,
+ +metadata.xml, +mod_caucho-3.0.19.ebuild:
+ Initial version.
+
diff --git a/www-apache/mod_caucho/Manifest b/www-apache/mod_caucho/Manifest
new file mode 100644
index 000000000000..5575b71aceac
--- /dev/null
+++ b/www-apache/mod_caucho/Manifest
@@ -0,0 +1,24 @@
+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
+SHA256 65cae0fb7d09a43f5559a35d285c2cf527e3552e4933aba9de0a9f9b83c5870d files/88_mod_caucho.conf 520
+AUX mod_caucho-3.0.19-gentoo.patch 783 RMD160 1095793f52b556363e02dbe49e6714a9819941f3 SHA1 617e285b70b5979c57960c15695f2f5966052a86 SHA256 4e0b68a50340adc6fa525e52fbb67c95f2b5e6f42e982004251e334ceeb915dc
+MD5 53f2db3a7bcef95f01f945ef99b016d8 files/mod_caucho-3.0.19-gentoo.patch 783
+RMD160 1095793f52b556363e02dbe49e6714a9819941f3 files/mod_caucho-3.0.19-gentoo.patch 783
+SHA256 4e0b68a50340adc6fa525e52fbb67c95f2b5e6f42e982004251e334ceeb915dc files/mod_caucho-3.0.19-gentoo.patch 783
+DIST resin-3.0.19-src.tar.gz 5031722 RMD160 691fd9c6a47c93dd10ba356901901a3d736ffbf9 SHA1 9de0832abcb3ec18d717702afd8108f61c102aac SHA256 d8d0210e098f370d499439a695c68033d3fbe3e2cacf4d0da884e6891f3defd3
+EBUILD mod_caucho-3.0.19.ebuild 1124 RMD160 6b5c10a8bea6cfe0b38cb587071f4be0df4d51e6 SHA1 964dd5fbe3f45203fa4236f482355b266ad125e2 SHA256 68b91b6cedcb18e01da43cded92197075daca18312b361375d9703b7552988be
+MD5 539a3a16c6957a2c7256f76482a74622 mod_caucho-3.0.19.ebuild 1124
+RMD160 6b5c10a8bea6cfe0b38cb587071f4be0df4d51e6 mod_caucho-3.0.19.ebuild 1124
+SHA256 68b91b6cedcb18e01da43cded92197075daca18312b361375d9703b7552988be mod_caucho-3.0.19.ebuild 1124
+MISC ChangeLog 341 RMD160 fbe7b57ea645ffe893eb627de1be0664b70c09c2 SHA1 33550627c61ad6a618e9f6dfe1f3ac66356a330a SHA256 cebb1bb6476dfd84a41bcc88564e87cae3987c0e6cbf6dc8e20af3a88920e0d2
+MD5 30b984356b5398603adf2a0df3a32122 ChangeLog 341
+RMD160 fbe7b57ea645ffe893eb627de1be0664b70c09c2 ChangeLog 341
+SHA256 cebb1bb6476dfd84a41bcc88564e87cae3987c0e6cbf6dc8e20af3a88920e0d2 ChangeLog 341
+MISC metadata.xml 224 RMD160 ff26da53f08837159410ff3eee9c11933ef21a68 SHA1 37c1f64045f8874b69bb7dffd084e7f699c37678 SHA256 8727090a0c21416083f038251a19559b983ff39bbefc2aa9b5c6c5bdc25b299d
+MD5 83f6bf68e595b0ec2e45d8e4b78c1f5a metadata.xml 224
+RMD160 ff26da53f08837159410ff3eee9c11933ef21a68 metadata.xml 224
+SHA256 8727090a0c21416083f038251a19559b983ff39bbefc2aa9b5c6c5bdc25b299d metadata.xml 224
+MD5 0c5de37c2495a8cd57a0ccafa02eca53 files/digest-mod_caucho-3.0.19 253
+RMD160 72e08fd9c7fb5e14df3f4579ea3a8c442b83aea4 files/digest-mod_caucho-3.0.19 253
+SHA256 092bf61d5004c321668d0e000c821dd9a7f2a8fce1acaaa42059f37f7dcd6fe4 files/digest-mod_caucho-3.0.19 253
diff --git a/www-apache/mod_caucho/files/88_mod_caucho.conf b/www-apache/mod_caucho/files/88_mod_caucho.conf
new file mode 100644
index 000000000000..079791061ccc
--- /dev/null
+++ b/www-apache/mod_caucho/files/88_mod_caucho.conf
@@ -0,0 +1,25 @@
+#
+# mod_caucho Resin Configuration
+#
+
+<IfDefine CAUCHO>
+
+ # Load module:
+ LoadModule caucho_module modules/mod_caucho.so
+
+ # Define first Resin server:
+ ResinConfigServer localhost 6802
+
+ # If you want to use load balancing add more hosts:
+ # ResinConfigServer host1.example.com 6802
+ # ResinConfigServer host2.example.com 6802
+
+ # This enables status page of server: http://localhost/caucho-status
+ CauchoStatus yes
+
+ # To use this module:
+ #<Location /webapp/*>
+ # SetHandler caucho-request
+ #</Location>
+
+</IfDefine>
diff --git a/www-apache/mod_caucho/files/digest-mod_caucho-3.0.19 b/www-apache/mod_caucho/files/digest-mod_caucho-3.0.19
new file mode 100644
index 000000000000..26edb4c85522
--- /dev/null
+++ b/www-apache/mod_caucho/files/digest-mod_caucho-3.0.19
@@ -0,0 +1,3 @@
+MD5 7e50a5393752e9002d456758a228b45c resin-3.0.19-src.tar.gz 5031722
+RMD160 691fd9c6a47c93dd10ba356901901a3d736ffbf9 resin-3.0.19-src.tar.gz 5031722
+SHA256 d8d0210e098f370d499439a695c68033d3fbe3e2cacf4d0da884e6891f3defd3 resin-3.0.19-src.tar.gz 5031722
diff --git a/www-apache/mod_caucho/files/mod_caucho-3.0.19-gentoo.patch b/www-apache/mod_caucho/files/mod_caucho-3.0.19-gentoo.patch
new file mode 100644
index 000000000000..cc6cc81d0045
--- /dev/null
+++ b/www-apache/mod_caucho/files/mod_caucho-3.0.19-gentoo.patch
@@ -0,0 +1,17 @@
+diff -Nru resin-3.0.19.vanilla/modules/c/src/apache2/Makefile.in resin-3.0.19/modules/c/src/apache2/Makefile.in
+--- resin-3.0.19.vanilla/modules/c/src/apache2/Makefile.in 2006-05-27 17:14:41.000000000 +0200
++++ resin-3.0.19/modules/c/src/apache2/Makefile.in 2006-05-27 17:16:58.000000000 +0200
+@@ -36,11 +36,8 @@
+ $(CC) -c $(INCLUDES) $(CFLAGS) $<
+
+ install : mod_caucho.la
+- $(LIBTOOL) --mode=install $(CP) mod_caucho.la $(apache_libexec)
+- - rm -f $(apache_libexec)/mod_caucho.la
+- - rm -f $(apache_libexec)/mod_caucho.a
+- sh install.sh -conf $(apache_conf) -libexec $(apache_libexec) \
+- -resin_home $(resin_home)
++ mkdir -p $(DESTDIR)$(apache_libexec)
++ $(LIBTOOL) --mode=install $(CP) mod_caucho.la $(DESTDIR)$(apache_libexec)
+
+ clean :
+ - rm -r *.o *.lo *.la *.so .libs
diff --git a/www-apache/mod_caucho/metadata.xml b/www-apache/mod_caucho/metadata.xml
new file mode 100644
index 000000000000..ed8c1e2e7469
--- /dev/null
+++ b/www-apache/mod_caucho/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>nelchael@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apache/mod_caucho/mod_caucho-3.0.19.ebuild b/www-apache/mod_caucho/mod_caucho-3.0.19.ebuild
new file mode 100644
index 000000000000..61d24505fe48
--- /dev/null
+++ b/www-apache/mod_caucho/mod_caucho-3.0.19.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2006 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.19.ebuild,v 1.1 2006/07/06 11:32:19 nelchael Exp $
+
+inherit apache-module autotools
+
+DESCRIPTION="mod_caucho connects Resin and Apache2"
+HOMEPAGE="http://www.caucho.com"
+SRC_URI="http://www.caucho.com/download/resin-${PV}-src.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+SLOT="0"
+
+# See apache-module.eclass for more information.
+APACHE2_MOD_CONF="88_${PN}"
+APACHE2_MOD_DEFINE="CAUCHO"
+
+need_apache2
+
+RDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/resin-${PV}"
+
+src_unpack() {
+
+ unpack "${A}"
+
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+
+ cd "${S}"
+ eautoreconf
+
+ chmod 755 ./configure
+
+}
+
+src_compile() {
+
+ econf --with-apxs=${APXS2} || die "econf failed"
+
+ emake -C "${S}/modules/c/src/common/" || die "emake failed"
+ emake -C "${S}/modules/c/src/apache2/" || die "emake failed"
+
+}
+
+src_install() {
+
+ cd "${S}/modules/c/src/apache2"
+ make DESTDIR="${D}" install || die "install failed"
+
+ insinto ${APACHE2_MODULES_CONFDIR}
+ doins ${FILESDIR}/${APACHE2_MOD_CONF}.conf || \
+ die "internal ebuild error: '${FILESDIR}/${APACHE2_MOD_CONF}.conf' not found."
+
+}