From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2C863139694 for ; Mon, 27 Feb 2017 08:52:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6209B21C0C6; Mon, 27 Feb 2017 08:51:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2FF5B21C0C6 for ; Mon, 27 Feb 2017 08:51:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A36E5340806 for ; Mon, 27 Feb 2017 08:51:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C95D65632 for ; Mon, 27 Feb 2017 08:51:50 +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: <1488185498.3411797d824754bfc734523d971375fda06111b6.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.12.ebuild X-VCS-Directories: dev-java/tomcat-native/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 3411797d824754bfc734523d971375fda06111b6 X-VCS-Branch: master Date: Mon, 27 Feb 2017 08:51:50 +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: b49a238a-ee36-4e30-bb0f-141844d10550 X-Archives-Hash: 7f98c975a9c5008e4b518568c38fb1d9 commit: 3411797d824754bfc734523d971375fda06111b6 Author: Miroslav Šulc gentoo org> AuthorDate: Mon Feb 27 08:51:38 2017 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Mon Feb 27 08:51:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3411797d dev-java/tomcat-native: version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-java/tomcat-native/Manifest | 1 + dev-java/tomcat-native/tomcat-native-1.2.12.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index cd9594b4d2..d6d64d1613 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -1,4 +1,5 @@ DIST tomcat-native-1.2.10-src.tar.gz 391853 SHA256 553a796f1efb9d52a22a24636baca45ae265327f2a2d2f3169436b4012df9c35 SHA512 ab12525e031f4b0221634bde0b3af826c2231a8655032917bd09fe26075cc8b9bce7a7c5de369f525230155d50ec41ff84fb074c45ef9f34319f910e907d66a6 WHIRLPOOL f6786ec3f9d5a8f8c9fb2ec174b7da637016019453575efa2e093b77fe2bfbfae653d9ac0c1199dea6391754a8b64e8601a29ec54818f353b2e3471e9057d0d4 +DIST tomcat-native-1.2.12-src.tar.gz 399836 SHA256 e7add177c98a7f07220c306d65e182c45dbcd7501115e9ed56f1690c5472ded9 SHA512 87543ab353545563001ac339834ec5b230a139bbeb7382c0b5b269d0d00875bfc3f5a3212923ca941e0d31aa0f60c34f34310e89794a99f37aafdaf9ecca7a99 WHIRLPOOL 71c92d599f24008a137124270d0b7af8ab680754520fcc386feac51226feffda2f72f9097129f32e77ed75752ee941440603088e323f682abd86a2ad9cf67fb4 DIST tomcat-native-1.2.4-src.tar.gz 387352 SHA256 29d53d4646229a839ccb71b7b3caa25c256aab1965c33cc9d140247213b9b171 SHA512 c080867510fb9006832172ee0b1997cee067c6e0275b3f9bdf94f69c14b9a02317352d9cadd8a41d366fb5f25c42f7f8af419e0b699aaa5eefee20db96559e97 WHIRLPOOL bf0acc6a78a79b51d3802fb1e1bfb0ec3e71993723a1be58c5ac14d6d24bab6e54fc9d505e4d5c0852ce335b6edc47c6b57f99055c875258fa0414a702e06fb2 DIST tomcat-native-1.2.7-src.tar.gz 390573 SHA256 19e87bc6ea7f763bf9e6515f8c31d8e9bb3e0c1132b36769cdf32c6702723d25 SHA512 3d973d65969e52f0b7a8ea24736926e205b1e95bf80ed4a79bdfeeefb59b7494b3cb1618a0a24afcd026c946f9bf4d3d4b3800eecdf001cc50d814981edc2733 WHIRLPOOL 613cdc15c4ee7305303096fa099f553d065cc898696c09b060bc1d57522ac9c445a34ebe9883e240f9a7ab9ed77b1cb3cd492a723281bcbda2f60e0b399e2a64 DIST tomcat-native-1.2.8-src.tar.gz 391842 SHA256 408ece0b027c8967b3aa85533c5fca642827e235b1857d28df918a4eab861d30 SHA512 4e9fde4a9fbec73813eb8a42d3ee1728b6ba64f04a007d15f89dfa7e7380af95586f843091d7691e84b84062824b3ce7a0a6c3402dfe31de352d8884652b7b83 WHIRLPOOL 6165552f88b5dab32f0046252989f5ae603b5195744d03b9348cad047af178a20766ccf1062701dafe844b65eaefadac914666e5d30104ef65c6657a3fbdf94c diff --git a/dev-java/tomcat-native/tomcat-native-1.2.12.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.12.ebuild new file mode 100644 index 0000000000..8090c98661 --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.12.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 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 +}