diff options
-rw-r--r-- | www-apache/mod_caucho/ChangeLog | 8 | ||||
-rw-r--r-- | www-apache/mod_caucho/files/digest-mod_caucho-3.0.22 | 3 | ||||
-rw-r--r-- | www-apache/mod_caucho/files/mod_caucho-3.0.22-gentoo.patch | 17 | ||||
-rw-r--r-- | www-apache/mod_caucho/mod_caucho-3.0.22.ebuild | 57 |
4 files changed, 84 insertions, 1 deletions
diff --git a/www-apache/mod_caucho/ChangeLog b/www-apache/mod_caucho/ChangeLog index f4d25616a19d..f57106e0e298 100644 --- a/www-apache/mod_caucho/ChangeLog +++ b/www-apache/mod_caucho/ChangeLog @@ -1,6 +1,12 @@ # 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.5 2006/11/13 11:08:56 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/ChangeLog,v 1.6 2006/11/19 12:24:10 nelchael Exp $ + +*mod_caucho-3.0.22 (19 Nov 2006) + + 19 Nov 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/mod_caucho-3.0.22-gentoo.patch, +mod_caucho-3.0.22.ebuild: + Version bump. 13 Nov 2006; Krzysiek Pawlik <nelchael@gentoo.org> mod_caucho-3.0.21.ebuild: diff --git a/www-apache/mod_caucho/files/digest-mod_caucho-3.0.22 b/www-apache/mod_caucho/files/digest-mod_caucho-3.0.22 new file mode 100644 index 000000000000..1803584d207c --- /dev/null +++ b/www-apache/mod_caucho/files/digest-mod_caucho-3.0.22 @@ -0,0 +1,3 @@ +MD5 29770606e396f6c2c0d476ceb54c08c2 resin-3.0.22-src.tar.gz 5467522 +RMD160 093cdcfa8bcd14a30ff54cc9cb8001ace10bbfc6 resin-3.0.22-src.tar.gz 5467522 +SHA256 0da5617b6867a0d40e59d2dfe2518158567506fea2c1273d56290c146a64849a resin-3.0.22-src.tar.gz 5467522 diff --git a/www-apache/mod_caucho/files/mod_caucho-3.0.22-gentoo.patch b/www-apache/mod_caucho/files/mod_caucho-3.0.22-gentoo.patch new file mode 100644 index 000000000000..201855b2afce --- /dev/null +++ b/www-apache/mod_caucho/files/mod_caucho-3.0.22-gentoo.patch @@ -0,0 +1,17 @@ +diff -Nru resin-3.0.22.vanilla/modules/c/src/apache2/Makefile.in resin-3.0.22/modules/c/src/apache2/Makefile.in +--- resin-3.0.22.vanilla/modules/c/src/apache2/Makefile.in 2006-08-14 22:44:04.000000000 +0200 ++++ resin-3.0.22/modules/c/src/apache2/Makefile.in 2006-08-14 23:24:00.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/mod_caucho-3.0.22.ebuild b/www-apache/mod_caucho/mod_caucho-3.0.22.ebuild new file mode 100644 index 000000000000..b9666439c852 --- /dev/null +++ b/www-apache/mod_caucho/mod_caucho-3.0.22.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.22.ebuild,v 1.1 2006/11/19 12:24:10 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 -j1 -C "${S}/modules/c/src/common/" || die "emake failed" + emake -j1 -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." + +} |