diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apache/mod_caucho | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apache/mod_caucho')
-rw-r--r-- | www-apache/mod_caucho/Manifest | 2 | ||||
-rw-r--r-- | www-apache/mod_caucho/files/88_mod_caucho.conf | 21 | ||||
-rw-r--r-- | www-apache/mod_caucho/metadata.xml | 5 | ||||
-rw-r--r-- | www-apache/mod_caucho/mod_caucho-4.0.26-r1.ebuild | 53 | ||||
-rw-r--r-- | www-apache/mod_caucho/mod_caucho-4.0.26.ebuild | 48 |
5 files changed, 129 insertions, 0 deletions
diff --git a/www-apache/mod_caucho/Manifest b/www-apache/mod_caucho/Manifest new file mode 100644 index 000000000000..cb7fcad096c2 --- /dev/null +++ b/www-apache/mod_caucho/Manifest @@ -0,0 +1,2 @@ +DIST resin-4.0.26-src.zip 17879008 SHA256 0f7bbea8bd4803d499e1d212a49ac8672500ede80194c4daa12c980ad405e34e SHA512 aae0304664c67667b9abf304ccc3dbaf073be42fcd1dd6aa380d841a34a2a44f0187fa91abe6bf92bf66f394b4b2d4eda7c4c9a55b5cb8a76436446cca3d5512 WHIRLPOOL a536b28cad14219ce5c8aaa791a859d21539176b6f729072483e6278fa9b45de2bb367d6696225c1bafe0148c86c3bb0e46ec81595222160aa742ffdf9d5674c +DIST resin-gentoo-patches-4.0.26.tar.bz2 3826 SHA256 adff1fb68e38af68add2e16e3832406a105e14532ee022ad315a955d6d6f4f31 SHA512 fc23c6b82f55b76c063276169e8b6be40ab697dfa07ab8f8f560db33b9c48993526f07190b137406f952e0d1a548cc45f30b6a9ceb4983e2a9eed5de8f4ab5d3 WHIRLPOOL cf7403adcdd0b98fcab2ace7733af7e9fa57361f9e2b2fb128ee8c3a9d787c5e8437f6749889cea1aacbf1ec9b9725647e6737fe4e3d1a98d69d1965c129c2d2 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..20e0e7081136 --- /dev/null +++ b/www-apache/mod_caucho/files/88_mod_caucho.conf @@ -0,0 +1,21 @@ +<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> + +# vim: ts=4 filetype=apache diff --git a/www-apache/mod_caucho/metadata.xml b/www-apache/mod_caucho/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/www-apache/mod_caucho/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> diff --git a/www-apache/mod_caucho/mod_caucho-4.0.26-r1.ebuild b/www-apache/mod_caucho/mod_caucho-4.0.26-r1.ebuild new file mode 100644 index 000000000000..784fa2ceff88 --- /dev/null +++ b/www-apache/mod_caucho/mod_caucho-4.0.26-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils 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.zip + mirror://gentoo/resin-gentoo-patches-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="app-arch/unzip + ~virtual/jre-1.6.0" +RDEPEND="~virtual/jre-1.6.0" + +S="${WORKDIR}/resin-${PV}" + +# See apache-module.eclass for more information. +APACHE2_MOD_CONF="88_${PN}" +APACHE2_MOD_DEFINE="CAUCHO" +APACHE2_MOD_FILE="${S}/modules/c/src/apache2/.libs/${PN}.so" + +need_apache2_4 + +src_prepare() { + # Apache 2.4 + sed -i \ + -e 's/remote_ip/client_ip/g' \ + -e 's/remote_addr/client_addr/g' \ + modules/c/src/apache2/mod_caucho.c || die + + for i in "${WORKDIR}"/${PV}/mod_caucho-*; do + epatch "${i}" + done + + mkdir m4 + eautoreconf + chmod 755 ./configure +} + +src_configure() { + econf --with-apxs=${APXS} --with-java-home=/usr +} + +src_compile() { + emake -C "${S}/modules/c/src/apache2/" +} diff --git a/www-apache/mod_caucho/mod_caucho-4.0.26.ebuild b/www-apache/mod_caucho/mod_caucho-4.0.26.ebuild new file mode 100644 index 000000000000..f207a4afbe20 --- /dev/null +++ b/www-apache/mod_caucho/mod_caucho-4.0.26.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit eutils 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.zip + mirror://gentoo/resin-gentoo-patches-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86" +IUSE="" + +DEPEND="app-arch/unzip + ~virtual/jre-1.6.0" +RDEPEND="~virtual/jre-1.6.0" + +S="${WORKDIR}/resin-${PV}" + +# See apache-module.eclass for more information. +APACHE2_MOD_CONF="88_${PN}" +APACHE2_MOD_DEFINE="CAUCHO" +APACHE2_MOD_FILE="${S}/modules/c/src/apache2/.libs/${PN}.so" + +need_apache2_2 + +src_prepare() { + for i in "${WORKDIR}"/${PV}/mod_caucho-*; do + epatch "${i}" + done + + mkdir m4 + eautoreconf + chmod 755 ./configure +} + +src_configure() { + econf --with-apxs=${APXS} --with-java-home=/usr || die "econf failed" +} + +src_compile() { + emake -C "${S}/modules/c/src/apache2/" || die "emake failed" +} |