diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2016-01-12 17:07:31 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2016-01-12 17:08:16 +0100 |
commit | 4a18bafabd4c05adce58406424f697e4c88362b3 (patch) | |
tree | d0b01eeb1679da86e1b80e984a863bca13d83fdb /dev-java | |
parent | net-print/cups: ebuild maintenance; update live version (diff) | |
download | gentoo-4a18bafabd4c05adce58406424f697e4c88362b3.tar.gz gentoo-4a18bafabd4c05adce58406424f697e4c88362b3.tar.bz2 gentoo-4a18bafabd4c05adce58406424f697e4c88362b3.zip |
dev-java/tomcat-native: version bump
Package-Manager: portage-2.2.26
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.4.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index 9c4c27ee741d..db56b5136c55 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -2,3 +2,4 @@ DIST tomcat-native-1.1.32-src.tar.gz 387267 SHA256 26936848f727e162f513bd2b5f7b2 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 DIST tomcat-native-1.2.3-src.tar.gz 387023 SHA256 36bf786371742c98ca8b167d3cb59ad2162169bdcaab122da8d0e923dc10742f SHA512 3e64525d1801d776ba9d0cfa568bfcec74144160354b376be078afb30d506adfdbadaf84a76ab557963ba64fc333c589a73e917faea020cdcf33e36e316945af WHIRLPOOL 2681e27bced3da011a585d9d455d10bfa16cd167093869a515fa582cf2608cfd5ff68e9b3575741b3c62bd0840036fd8b436314eaeb5a4475ed339d97b9a4b54 +DIST tomcat-native-1.2.4-src.tar.gz 387352 SHA256 29d53d4646229a839ccb71b7b3caa25c256aab1965c33cc9d140247213b9b171 SHA512 c080867510fb9006832172ee0b1997cee067c6e0275b3f9bdf94f69c14b9a02317352d9cadd8a41d366fb5f25c42f7f8af419e0b699aaa5eefee20db96559e97 WHIRLPOOL bf0acc6a78a79b51d3802fb1e1bfb0ec3e71993723a1be58c5ac14d6d24bab6e54fc9d505e4d5c0852ce335b6edc47c6b57f99055c875258fa0414a702e06fb2 diff --git a/dev-java/tomcat-native/tomcat-native-1.2.4.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.4.ebuild new file mode 100644 index 000000000000..a2925ec1b794 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.4.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 +} |