diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/tomcat-native/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/tomcat-native/Manifest | 16 | ||||
-rw-r--r-- | dev-java/tomcat-native/files/digest-tomcat-native-1.1.8 | 3 | ||||
-rw-r--r-- | dev-java/tomcat-native/metadata.xml | 23 | ||||
-rw-r--r-- | dev-java/tomcat-native/tomcat-native-1.1.8.ebuild | 42 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-java/tomcat-native/ChangeLog b/dev-java/tomcat-native/ChangeLog new file mode 100644 index 000000000000..bbbcf4b3fd73 --- /dev/null +++ b/dev-java/tomcat-native/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/tomcat-native +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-native/ChangeLog,v 1.1 2007/01/05 01:27:31 wltjr Exp $ + +*tomcat-native-1.1.8 (05 Jan 2007) + + 05 Jan 2007; William L. Thomson Jr. <wltjr@gentoo.org> +metadata.xml, + +tomcat-native-1.1.8.ebuild: + Initial ebuild for libtcnative-1.so, Tomcat's native APR library + diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest new file mode 100644 index 000000000000..6a7a8f156f1b --- /dev/null +++ b/dev-java/tomcat-native/Manifest @@ -0,0 +1,16 @@ +DIST tomcat-native-1.1.8-src.tar.gz 174445 RMD160 0bb333973e7d177fd6d3e2dca1d0003633dfca3e SHA1 ed8a007abd5b658536caa5e5da76140d8112648a SHA256 c4924e416def6993e8ee41e9cb88346705da8f5d51be0523d7567b34530ed1c2 +EBUILD tomcat-native-1.1.8.ebuild 1034 RMD160 bc29b994388f7d3bfaf7e9600dd82e5c6fc75280 SHA1 adce641be9672b7e9973c931137ffa0805d0e42b SHA256 8738b7c6d8392b962d63e27b5660573aa422c61cd0c528f2b0c72098782f3df6 +MD5 ecffba0c843e47fd07a564336926f73a tomcat-native-1.1.8.ebuild 1034 +RMD160 bc29b994388f7d3bfaf7e9600dd82e5c6fc75280 tomcat-native-1.1.8.ebuild 1034 +SHA256 8738b7c6d8392b962d63e27b5660573aa422c61cd0c528f2b0c72098782f3df6 tomcat-native-1.1.8.ebuild 1034 +MISC ChangeLog 330 RMD160 16ffcb0e34b979b983489f98f686e06f77fbfc55 SHA1 c1c173444258ccb7ee8cd3f3c1352b233b0528aa SHA256 4ad889abdae2d5dc02aa513d6efb40b0179947735386ec35c27203add0357db5 +MD5 a04a7922eae5d935e39c64396aef38af ChangeLog 330 +RMD160 16ffcb0e34b979b983489f98f686e06f77fbfc55 ChangeLog 330 +SHA256 4ad889abdae2d5dc02aa513d6efb40b0179947735386ec35c27203add0357db5 ChangeLog 330 +MISC metadata.xml 825 RMD160 1cc8173f5c1ae14d688ccf43578ff621088dd24f SHA1 f44e742a7063a22368c408e3070774dbcfacb625 SHA256 1af9155a727e8470663f21324746f6c9567af0f47fb4b63f3dadba0ee43a5eda +MD5 9105446be4be62fef50c033bc88ce3aa metadata.xml 825 +RMD160 1cc8173f5c1ae14d688ccf43578ff621088dd24f metadata.xml 825 +SHA256 1af9155a727e8470663f21324746f6c9567af0f47fb4b63f3dadba0ee43a5eda metadata.xml 825 +MD5 c3c4345d80959b6ca66da9cfa46dab84 files/digest-tomcat-native-1.1.8 271 +RMD160 6fa60799886346789f8f0d53df7e3495538b9e64 files/digest-tomcat-native-1.1.8 271 +SHA256 14dee750ccf48a3823a5e8d51875948043e5a39347b6987965aa1949d535219d files/digest-tomcat-native-1.1.8 271 diff --git a/dev-java/tomcat-native/files/digest-tomcat-native-1.1.8 b/dev-java/tomcat-native/files/digest-tomcat-native-1.1.8 new file mode 100644 index 000000000000..97bf046bf231 --- /dev/null +++ b/dev-java/tomcat-native/files/digest-tomcat-native-1.1.8 @@ -0,0 +1,3 @@ +MD5 ca9cf9faa07548cec385c9667af4276a tomcat-native-1.1.8-src.tar.gz 174445 +RMD160 0bb333973e7d177fd6d3e2dca1d0003633dfca3e tomcat-native-1.1.8-src.tar.gz 174445 +SHA256 c4924e416def6993e8ee41e9cb88346705da8f5d51be0523d7567b34530ed1c2 tomcat-native-1.1.8-src.tar.gz 174445 diff --git a/dev-java/tomcat-native/metadata.xml b/dev-java/tomcat-native/metadata.xml new file mode 100644 index 000000000000..9201b994ac57 --- /dev/null +++ b/dev-java/tomcat-native/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + + <herd>java</herd> + + <maintainer> + <email>wltjr@gentoo.org</email> + <name>William L. Thomson Jr.</name> + </maintainer> + + <longdescription> + Native library for Tomcat to use the Apache Portable Runtime to + provide superior scalability, performance, and better integration with + native server technologies. The Apache Portable Runtime is a highly + portable library that is at the heart of Apache HTTP Server 2.x. APR + has many uses, including access to advanced IO functionality (such as + sendfile, epoll and OpenSSL), OS level functionality (random number + generation, system status, etc), and native process handling (shared + memory, NT pipes and Unix sockets). + </longdescription> + +</pkgmetadata> diff --git a/dev-java/tomcat-native/tomcat-native-1.1.8.ebuild b/dev-java/tomcat-native/tomcat-native-1.1.8.ebuild new file mode 100644 index 000000000000..c2e26c38fc84 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.1.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-native/tomcat-native-1.1.8.ebuild,v 1.1 2007/01/05 01:27:31 wltjr Exp $ + +inherit eutils java-pkg-2 + +DESCRIPTION="Native APR library for Tomcat" + +SLOT="0" +SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${P}-src.tar.gz" +HOMEPAGE="http://tomcat.apache.org/" +KEYWORDS="~amd64 ~x86" +LICENSE="Apache-2.0" + +RDEPEND=">=dev-libs/apr-1 + dev-libs/openssl" + +DEPEND="|| ( >=virtual/jdk-1.5 >=virtual/jdk-1.6 ) + ${RDEPEND}" + +S=${WORKDIR}/${P}-src + +src_compile(){ + cd ${S}/jni/native + econf --with-apr=/usr/bin/apr-1-config \ + --with-ssl=/usr || die "Could not configure native sources" + emake || die "Could not build libtcnative-1.so" +} + +src_install() { + cd ${S}/jni/native + make DESTDIR="${D}" install || die "Could not install libtcnative-1.so" +} + +pkg_postinst() { + einfo + einfo " APR should be available with Tomcat, for more information" + einfo " please see http://tomcat.apache.org/tomcat-6.0-doc/apr.html" + einfo + einfo " Please report any bugs to http://bugs.gentoo.org/" + einfo +} |