diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2016-05-10 09:20:43 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2016-05-10 09:21:21 +0200 |
commit | 194993e080f08531f3a7282bb79cb9b9d2ab75f9 (patch) | |
tree | a93035d44ad9049cd53efdbee119b71c900bf49f /dev-java | |
parent | games-emulation/sdlmame: fix buildins with gcc-4.9.3 with patch from Alexande... (diff) | |
download | gentoo-194993e080f08531f3a7282bb79cb9b9d2ab75f9.tar.gz gentoo-194993e080f08531f3a7282bb79cb9b9d2ab75f9.tar.bz2 gentoo-194993e080f08531f3a7282bb79cb9b9d2ab75f9.zip |
dev-java/tomcat-native: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/tomcat-native/Manifest | 1 | ||||
-rw-r--r-- | dev-java/tomcat-native/tomcat-native-1.2.7.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index 6c5c681de4a2..a50b01beea23 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -1,2 +1,3 @@ DIST tomcat-native-1.2.4-src.tar.gz 387352 SHA256 29d53d4646229a839ccb71b7b3caa25c256aab1965c33cc9d140247213b9b171 SHA512 c080867510fb9006832172ee0b1997cee067c6e0275b3f9bdf94f69c14b9a02317352d9cadd8a41d366fb5f25c42f7f8af419e0b699aaa5eefee20db96559e97 WHIRLPOOL bf0acc6a78a79b51d3802fb1e1bfb0ec3e71993723a1be58c5ac14d6d24bab6e54fc9d505e4d5c0852ce335b6edc47c6b57f99055c875258fa0414a702e06fb2 DIST tomcat-native-1.2.5-src.tar.gz 389032 SHA256 8841f233027da5069a940168ebb7164a79ce1a622e2064c167e6ebf21fe88dcb SHA512 07a4c35b12d2af2739e7f65c4f009afc208d28e5091c19af9ccd008ed97b9956190cab9da7772c8d1283778d7aacc7e09e0e8560aa755813e3d87761a9f1e817 WHIRLPOOL fcdc1aa4733bde037d894200bf547b43a949af77a92e7eaa028d7011ea7cd2094817572b1dbcaa5a59399ad528492c8e71147f103f853c1f6d403e4dda7ab34b +DIST tomcat-native-1.2.7-src.tar.gz 390573 SHA256 19e87bc6ea7f763bf9e6515f8c31d8e9bb3e0c1132b36769cdf32c6702723d25 SHA512 3d973d65969e52f0b7a8ea24736926e205b1e95bf80ed4a79bdfeeefb59b7494b3cb1618a0a24afcd026c946f9bf4d3d4b3800eecdf001cc50d814981edc2733 WHIRLPOOL 613cdc15c4ee7305303096fa099f553d065cc898696c09b060bc1d57522ac9c445a34ebe9883e240f9a7ab9ed77b1cb3cd492a723281bcbda2f60e0b399e2a64 diff --git a/dev-java/tomcat-native/tomcat-native-1.2.7.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.7.ebuild new file mode 100644 index 000000000000..a2925ec1b794 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.7.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 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 +} |