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 719D459CA3 for ; Fri, 11 Mar 2016 15:16:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3355E085B; Fri, 11 Mar 2016 15:16:00 +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 5EE4FE085B for ; Fri, 11 Mar 2016 15:16:00 +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 4437734069F for ; Fri, 11 Mar 2016 15:15:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0CB608E9 for ; Fri, 11 Mar 2016 15:15:57 +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: <1457709352.812dabc6ae1b06f92169b3070c9a39fe4299c02b.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.5.ebuild X-VCS-Directories: dev-java/tomcat-native/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 812dabc6ae1b06f92169b3070c9a39fe4299c02b X-VCS-Branch: master Date: Fri, 11 Mar 2016 15:15:57 +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: 7fa58271-1517-4f0d-93d2-8a0a252cd0b2 X-Archives-Hash: 96f1173ab4b182f596fb46d66626df94 commit: 812dabc6ae1b06f92169b3070c9a39fe4299c02b Author: Miroslav Šulc gentoo org> AuthorDate: Fri Mar 11 15:14:56 2016 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Mar 11 15:15:52 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812dabc6 dev-java/tomcat-native: version bump Package-Manager: portage-2.2.28 dev-java/tomcat-native/Manifest | 1 + dev-java/tomcat-native/tomcat-native-1.2.5.ebuild | 58 +++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-java/tomcat-native/Manifest b/dev-java/tomcat-native/Manifest index 2f911c5..6c5c681 100644 --- a/dev-java/tomcat-native/Manifest +++ b/dev-java/tomcat-native/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-java/tomcat-native/tomcat-native-1.2.5.ebuild b/dev-java/tomcat-native/tomcat-native-1.2.5.ebuild new file mode 100644 index 0000000..a2925ec --- /dev/null +++ b/dev-java/tomcat-native/tomcat-native-1.2.5.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 +}