summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-08-14 21:31:00 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-08-14 21:31:00 +0000
commite08e63ee49a770bf823c974f104f0398c32b5f35 (patch)
tree94912794e11a509a45b0948806bffb1da0fb713d /www-apache/mod_caucho
parentOnly run git-svn tests if we have dev-util/subversion (diff)
downloadgentoo-2-e08e63ee49a770bf823c974f104f0398c32b5f35.tar.gz
gentoo-2-e08e63ee49a770bf823c974f104f0398c32b5f35.tar.bz2
gentoo-2-e08e63ee49a770bf823c974f104f0398c32b5f35.zip
Version bump, cleaned up old versions.
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'www-apache/mod_caucho')
-rw-r--r--www-apache/mod_caucho/ChangeLog11
-rw-r--r--www-apache/mod_caucho/files/digest-mod_caucho-3.0.213
-rw-r--r--www-apache/mod_caucho/files/mod_caucho-3.0.21-gentoo.patch17
-rw-r--r--www-apache/mod_caucho/mod_caucho-3.0.21.ebuild57
4 files changed, 87 insertions, 1 deletions
diff --git a/www-apache/mod_caucho/ChangeLog b/www-apache/mod_caucho/ChangeLog
index 89a6f64d33ee..a0eddfc85d1f 100644
--- a/www-apache/mod_caucho/ChangeLog
+++ b/www-apache/mod_caucho/ChangeLog
@@ -1,6 +1,15 @@
# 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.3 2006/08/05 16:22:05 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/ChangeLog,v 1.4 2006/08/14 21:31:00 nelchael Exp $
+
+*mod_caucho-3.0.21 (14 Aug 2006)
+
+ 14 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ -files/mod_caucho-3.0.19-gentoo.patch,
+ -files/mod_caucho-3.0.20-gentoo.patch,
+ +files/mod_caucho-3.0.21-gentoo.patch, -mod_caucho-3.0.19.ebuild,
+ -mod_caucho-3.0.20.ebuild, +mod_caucho-3.0.21.ebuild:
+ Version bump, cleaned up old versions.
*mod_caucho-3.0.20 (05 Aug 2006)
diff --git a/www-apache/mod_caucho/files/digest-mod_caucho-3.0.21 b/www-apache/mod_caucho/files/digest-mod_caucho-3.0.21
new file mode 100644
index 000000000000..be883f386363
--- /dev/null
+++ b/www-apache/mod_caucho/files/digest-mod_caucho-3.0.21
@@ -0,0 +1,3 @@
+MD5 e7d7f91479e3931f86afea52d32ca1fa resin-3.0.21-src.tar.gz 5401440
+RMD160 1f4d90a28aa772a4dc14259816325285ffea1957 resin-3.0.21-src.tar.gz 5401440
+SHA256 c9de627433fbe3ec940507fd604a4a2409e70a16342994ffab881a51f8db1055 resin-3.0.21-src.tar.gz 5401440
diff --git a/www-apache/mod_caucho/files/mod_caucho-3.0.21-gentoo.patch b/www-apache/mod_caucho/files/mod_caucho-3.0.21-gentoo.patch
new file mode 100644
index 000000000000..458acecd7d5c
--- /dev/null
+++ b/www-apache/mod_caucho/files/mod_caucho-3.0.21-gentoo.patch
@@ -0,0 +1,17 @@
+diff -Nru resin-3.0.21.vanilla/modules/c/src/apache2/Makefile.in resin-3.0.21/modules/c/src/apache2/Makefile.in
+--- resin-3.0.21.vanilla/modules/c/src/apache2/Makefile.in 2006-08-14 22:44:04.000000000 +0200
++++ resin-3.0.21/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.21.ebuild b/www-apache/mod_caucho/mod_caucho-3.0.21.ebuild
new file mode 100644
index 000000000000..551e38a7d6f7
--- /dev/null
+++ b/www-apache/mod_caucho/mod_caucho-3.0.21.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.21.ebuild,v 1.1 2006/08/14 21:31:00 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."
+
+}