summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Schmitz <ercpe@gentoo.org>2014-12-14 11:31:16 +0000
committerJohann Schmitz <ercpe@gentoo.org>2014-12-14 11:31:16 +0000
commita81bd9e719c36c210a6fa64114acba0f8505735c (patch)
tree99448670821e37c1d27ae3e13a375b234da1534a /dev-java
parentBump statevar to 1.0.1.0 (diff)
downloadgentoo-2-a81bd9e719c36c210a6fa64114acba0f8505735c.tar.gz
gentoo-2-a81bd9e719c36c210a6fa64114acba0f8505735c.tar.bz2
gentoo-2-a81bd9e719c36c210a6fa64114acba0f8505735c.zip
Version bump of tomcat-servlet-api
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/tomcat-servlet-api/ChangeLog8
-rw-r--r--dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.57.ebuild35
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-java/tomcat-servlet-api/ChangeLog b/dev-java/tomcat-servlet-api/ChangeLog
index ae580062b6d6..a8b28acb5095 100644
--- a/dev-java/tomcat-servlet-api/ChangeLog
+++ b/dev-java/tomcat-servlet-api/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/tomcat-servlet-api
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/ChangeLog,v 1.172 2014/11/29 13:35:44 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/ChangeLog,v 1.173 2014/12/14 11:31:16 ercpe Exp $
+
+*tomcat-servlet-api-7.0.57 (14 Dec 2014)
+
+ 14 Dec 2014; Johann Schmitz <ercpe@gentoo.org>
+ +tomcat-servlet-api-7.0.57.ebuild:
+ Version bump of tomcat-servlet-api
29 Nov 2014; Agostino Sarubbo <ago@gentoo.org>
tomcat-servlet-api-6.0.41.ebuild, tomcat-servlet-api-7.0.56.ebuild:
diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.57.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.57.ebuild
new file mode 100644
index 000000000000..03452241e753
--- /dev/null
+++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.57.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tomcat-servlet-api/tomcat-servlet-api-7.0.57.ebuild,v 1.1 2014/12/14 11:31:16 ercpe Exp $
+
+EAPI="5"
+JAVA_PKG_IUSE="source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_A="apache-${P}-src"
+MY_P="${MY_A/-servlet-api/}"
+DESCRIPTION="Tomcat's Servlet API 3.0/JSP API 2.2 implementation"
+HOMEPAGE="http://tomcat.apache.org/"
+SRC_URI="mirror://apache/tomcat/tomcat-7/v${PV}/src/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="3.0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}/${MY_P}/"
+
+java_prepare() {
+ cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
+ rm -fR */*/build.xml ||die
+ find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + || die
+}
+
+src_install() {
+ java-pkg_dojar "${S}"/output/build/lib/*.jar
+ use source && java-pkg_dosrc java/javax/servlet/
+}