From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 96A221384B4 for ; Wed, 16 Dec 2015 12:40:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0ED9C21C01D; Wed, 16 Dec 2015 12:40:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B58A21C01D for ; Wed, 16 Dec 2015 12:40:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD21334072E for ; Wed, 16 Dec 2015 12:40:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E682B05 for ; Wed, 16 Dec 2015 12:40:14 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1450269607.f45bc89bf88e566afa79de57ac0d2073ebb6117b.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/tomcat-native/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/tomcat-native/Manifest dev-java/tomcat-native/tomcat-native-1.2.3.ebuild X-VCS-Directories: dev-java/tomcat-native/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: f45bc89bf88e566afa79de57ac0d2073ebb6117b X-VCS-Branch: master Date: Wed, 16 Dec 2015 12:40:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2d33cf22-85e3-4ece-82ea-ef9282bff59d X-Archives-Hash: c496b3d95ecb1d7fa9a85eb1073e18c1 commit: f45bc89bf88e566afa79de57ac0d2073ebb6117b Author: Miroslav Šulc gentoo org> AuthorDate: Wed Dec 16 12:39:38 2015 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Dec 16 12:40:07 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f45bc89b dev-java/tomcat-native: version bump Package-Manager: portage-2.2.26 dev-java/tomcat-native/Manifest | 1 + dev-java/tomcat-native/tomcat-native-1.2.3.ebuild | 58 +++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index 5624913..9c4c27e 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 0000000..a9cfc42 --- /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 +}