diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2015-12-16 13:39:38 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2015-12-16 13:40:07 +0100 |
commit | f45bc89bf88e566afa79de57ac0d2073ebb6117b (patch) | |
tree | 270ed2a2766f207b8e3446004374d43f3e40a70d /dev-java/tomcat-native | |
parent | kde-apps/ark: Drop old (diff) | |
download | gentoo-f45bc89bf88e566afa79de57ac0d2073ebb6117b.tar.gz gentoo-f45bc89bf88e566afa79de57ac0d2073ebb6117b.tar.bz2 gentoo-f45bc89bf88e566afa79de57ac0d2073ebb6117b.zip |
dev-java/tomcat-native: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java/tomcat-native')
-rw-r--r-- | dev-java/tomcat-native/Manifest | 1 | ||||
-rw-r--r-- | dev-java/tomcat-native/tomcat-native-1.2.3.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index 56249133065b..9c4c27ee741d 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -1,3 +1,4 @@ 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 +DIST tomcat-native-1.2.3-src.tar.gz 387023 SHA256 36bf786371742c98ca8b167d3cb59ad2162169bdcaab122da8d0e923dc10742f SHA512 3e64525d1801d776ba9d0cfa568bfcec74144160354b376be078afb30d506adfdbadaf84a76ab557963ba64fc333c589a73e917faea020cdcf33e36e316945af WHIRLPOOL 2681e27bced3da011a585d9d455d10bfa16cd167093869a515fa582cf2608cfd5ff68e9b3575741b3c62bd0840036fd8b436314eaeb5a4475ed339d97b9a4b54 diff --git a/dev-java/tomcat-native/tomcat-native-1.2.3.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.3.ebuild new file mode 100644 index 000000000000..a9cfc4233870 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.3.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 +} |