summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-01-16 00:36:21 +0000
committerAchim Gottinger <achim@gentoo.org>2001-01-16 00:36:21 +0000
commit1428eceee62ae20f87c6b782f07cad626e424664 (patch)
treeb0c3b7c1231ac78cda79d93ceefb2906e5cb4a31 /net-www
parent*** empty log message *** (diff)
downloadhistorical-1428eceee62ae20f87c6b782f07cad626e424664.tar.gz
historical-1428eceee62ae20f87c6b782f07cad626e424664.tar.bz2
historical-1428eceee62ae20f87c6b782f07cad626e424664.zip
*** empty log message ***
Diffstat (limited to 'net-www')
-rw-r--r--net-www/jakarta/files/digest-jakarta-3.1-r22
-rw-r--r--net-www/jakarta/jakarta-3.1-r2.ebuild78
2 files changed, 80 insertions, 0 deletions
diff --git a/net-www/jakarta/files/digest-jakarta-3.1-r2 b/net-www/jakarta/files/digest-jakarta-3.1-r2
new file mode 100644
index 000000000000..9b6569885211
--- /dev/null
+++ b/net-www/jakarta/files/digest-jakarta-3.1-r2
@@ -0,0 +1,2 @@
+MD5 32025cd19b28c416532eb17e7cda1218 jakarta-tomcat.tar.gz
+MD5 f3c6f2df40562b36eed067a8b6580526 jakarta-ant.tar.gz
diff --git a/net-www/jakarta/jakarta-3.1-r2.ebuild b/net-www/jakarta/jakarta-3.1-r2.ebuild
new file mode 100644
index 000000000000..95250477f41c
--- /dev/null
+++ b/net-www/jakarta/jakarta-3.1-r2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-www/jakarta/jakarta-3.1-r2.ebuild,v 1.1 2001/01/16 00:36:21 achim Exp $
+
+P=jakarta-3.1
+A="jakarta-tomcat.tar.gz jakarta-ant.tar.gz"
+S=${WORKDIR}
+DESCRIPTION="Apache Servlet Engine"
+SRC_URI="http://jakarta.apache.org/builds/tomcat/release/v3.1/src/jakarta-tomcat.tar.gz
+ http://jakarta.apache.org/builds/tomcat/release/v3.1/src/jakarta-ant.tar.gz"
+HOMEPAGE="http://jakarta.apache.org"
+
+DEPEND=">=sys-apps/bash-2.04
+ >=sys-libs/glibc-2.1.3
+ >=dev-lang/jdk-1.2
+ >=net-www/apache-ssl-1.3"
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_compile() {
+ export CLASSPATH=/opt/java/src.jar:/opt/java/lib/tools.jar
+
+ echo "Building ant..."
+ cd ${S}/jakarta-ant
+ ./bootstrap.sh
+ echo "Building tomcat..."
+ cd ${S}/jakarta-tomcat
+ ./build.sh
+ cd src/native/apache/jserv
+ apxs -c mod_jserv.c jserv*.c
+ cd ${S}/build/tomcat/classes
+ jar -cf tomcat.jar javax org
+ rm -rf javax
+ rm -rf org
+}
+
+src_install() {
+ dodir /opt
+ cp -a ${S}/build/tomcat ${D}/opt
+ insinto /opt/tomcat/lib
+ doins ${S}/build/tomcat/classes/tomcat.jar
+ doins ${S}/build/tomcat/lib/xml.jar
+ rm -rf ${D}/opt/tomcat/classes
+ insinto /usr/lib/apache
+ doins ${S}/jakarta-tomcat/src/native/apache/jserv/mod_jserv.so
+ insinto /etc/httpd
+ doins ${O}/files/tomcat.conf
+ insinto /etc/rc.d/init.d
+ insopts -m755
+ doins ${O}/files/jakarta
+ #insinto /opt/tomcat/conf
+ #doins ${O}/files/web.xml
+
+ cd ${S}/jakarta-tomcat
+ dodoc BUGS LICENSE README RELEASE-* TODO etc/*.txt src/doc/faq src/doc/readme
+ docinto html
+ dodoc *.html etc/*.html
+ docinto html/guide
+ dodoc src/doc/uguide/*.html
+ dodoc src/doc/uguide/*.css
+ docinto html/guide/images
+ dodoc src/doc/uguide/images/*.gif
+ dodir /usr/local/httpd/logs
+
+
+}
+
+pkg_config() {
+
+ einfo "Activating Servlet Engine..."
+ ${ROOT}/usr/sbin/rc-update add jakarta
+}
+
+
+