summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2015-11-12 20:12:20 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2015-11-12 20:12:20 +0100
commit89a2e7916e1cae380103b0c9ab1fbecee47b55ff (patch)
tree4885a94fec7a53f6485af54bfeca1c51928a0983 /dev-java/tomcat-native
parentdev-python/cryptography: Move to virtual for modules with mixed support (diff)
downloadgentoo-89a2e7916e1cae380103b0c9ab1fbecee47b55ff.tar.gz
gentoo-89a2e7916e1cae380103b0c9ab1fbecee47b55ff.tar.bz2
gentoo-89a2e7916e1cae380103b0c9ab1fbecee47b55ff.zip
dev-java/tomcat-native: version bump
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-java/tomcat-native')
-rw-r--r--dev-java/tomcat-native/Manifest1
-rw-r--r--dev-java/tomcat-native/tomcat-native-1.2.2.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest
index a4b3064b585e..56249133065b 100644
--- a/dev-java/tomcat-native/Manifest
+++ b/dev-java/tomcat-native/Manifest
@@ -1,2 +1,3 @@
DIST tomcat-native-1.1.32-src.tar.gz 387267 SHA256 26936848f727e162f513bd2b5f7b2300d7d716a5e92e5f4ebcd0e1eff8e09584 SHA512 695f710f91cf720b3115f9933f5dab56e7465ee0fcf6508b53d1de172ba59165b08f27b3cdfef741b60dbf0b3da97ae3ea87c5a0ef9f1d879a9820259197dcba WHIRLPOOL 587c25124ab5b07365a0c26ee558086b690d6b0cb568f6670ecd7b8a79a25fa74091bc7a10574732b96600eca0ae4141119adc40c51b45c7ef87de631a38aeb8
DIST tomcat-native-1.1.33-src.tar.gz 388787 SHA256 523dde7393c57307eedf4972ebbe19a9e9af6f7699e3b1ef6dabd7a11677866e SHA512 62b3c806cd926ca13878b514714a422f4a5d932ccaee4cc328c101cfa92fd890f708d1fb429320a42f1e340b46f70c82a07b9ecf6cbd9d03c0e719b95e24e09b WHIRLPOOL afb57fdf32becae8860ed042d74e27a7208759c4a7c16163148e65c986b4dcfa9521e83bbe0a3fa6874a87f577be2ad31a043d3ec1888c11faec7ace21035419
+DIST tomcat-native-1.2.2-src.tar.gz 400183 SHA256 9bd4deb1a816efda8208bfb4f55ee1689571e1d05a5c1e84faf2ad1021a9cae6 SHA512 2e1aa3fd473824fe35b4aa9b53b6d4d674086902132139aa2930e0ecd0336e177ef0f29e114415122525722653ee4475758d1af1e99e5121341b293354f48a96 WHIRLPOOL 6637002a9aeb0a18d4580a51c0e060f95d854249c17e34324b0d8af43d5f07b2943192655a9dc3fd952b9702e174a337005e61a9f0f5f51c472c6156d5b4c60a
diff --git a/dev-java/tomcat-native/tomcat-native-1.2.2.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.2.ebuild
new file mode 100644
index 000000000000..a9cfc4233870
--- /dev/null
+++ b/dev-java/tomcat-native/tomcat-native-1.2.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Native APR library for Tomcat"
+
+SLOT="0"
+SRC_URI="mirror://apache/tomcat/tomcat-connectors/native/${PV}/source/${P}-src.tar.gz"
+HOMEPAGE="http://tomcat.apache.org/"
+KEYWORDS="~amd64 ~x86"
+LICENSE="Apache-2.0"
+IUSE="test"
+
+RDEPEND="dev-libs/apr:1
+ dev-libs/openssl:=
+ >=virtual/jre-1.7"
+
+DEPEND=">=virtual/jdk-1.7
+ test? ( dev-java/ant-junit:0 )"
+
+S=${WORKDIR}/${P}-src
+
+src_configure(){
+ cd native || die
+ econf --with-apr=/usr/bin/apr-1-config \
+ --with-ssl=/usr || die "Could not configure native sources"
+}
+
+src_compile() {
+ eant jar -f build.xml
+
+ cd native || die
+ default
+}
+
+src_install() {
+ java-pkg_newjar "dist/${P}.jar" "${PN}.jar"
+
+ cd native
+ emake DESTDIR="${D}" install || die "Could not install libtcnative-1.so"
+}
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+pkg_postinst() {
+ elog
+ elog " APR should be available with Tomcat, for more information"
+ elog " please see http://tomcat.apache.org/tomcat-6.0-doc/apr.html"
+ elog
+ elog " Please report any bugs to https://bugs.gentoo.org/"
+ elog
+}