summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-10-02 22:35:47 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-10-02 22:35:47 +0000
commitbb47b2b69c0d800ec2c17a6f6b731a0e4edf4167 (patch)
tree1347dd29ceb15671a78de47abc9ecc21b17de4a1 /dev-java/struts-xwork
parentAdded MY_PV bash variable to deal with _rc1 version numbers impacting naming ... (diff)
downloadhistorical-bb47b2b69c0d800ec2c17a6f6b731a0e4edf4167.tar.gz
historical-bb47b2b69c0d800ec2c17a6f6b731a0e4edf4167.tar.bz2
historical-bb47b2b69c0d800ec2c17a6f6b731a0e4edf4167.zip
New package for dev-java/struts-xwork, the XWork Core of Struts 2.
Package-Manager: portage-HEAD/cvs/Linux x86_64 Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'dev-java/struts-xwork')
-rw-r--r--dev-java/struts-xwork/ChangeLog9
-rw-r--r--dev-java/struts-xwork/Manifest19
-rw-r--r--dev-java/struts-xwork/metadata.xml5
-rw-r--r--dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild66
4 files changed, 99 insertions, 0 deletions
diff --git a/dev-java/struts-xwork/ChangeLog b/dev-java/struts-xwork/ChangeLog
new file mode 100644
index 000000000000..5dbf04e13739
--- /dev/null
+++ b/dev-java/struts-xwork/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/struts-xwork
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-xwork/ChangeLog,v 1.1 2013/10/02 22:35:39 tomwij Exp $
+
+*struts-xwork-2.3.15.2 (02 Oct 2013)
+
+ 02 Oct 2013; Tom Wijsman <TomWij@gentoo.org> +metadata.xml,
+ +struts-xwork-2.3.15.2.ebuild:
+ New package for dev-java/struts-xwork, the XWork Core of Struts 2.
diff --git a/dev-java/struts-xwork/Manifest b/dev-java/struts-xwork/Manifest
new file mode 100644
index 000000000000..4062d0f46515
--- /dev/null
+++ b/dev-java/struts-xwork/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST struts-2.3.15.2-src.zip 6957356 SHA256 26d85c52e7764ece49ccd7b9df38353003326116363a630ee8ae33bc26db3cd5 SHA512 55df8ea52717781efe1b34b0b09b8677c88ce50cf160119bebfec979f22d95b0a801b9e1184dba3733ca80e9db27297d42412ae550eaa4451e4aad6f25b66825 WHIRLPOOL dcc7d263c22ada417e3e3c518d10e2a8937cda0755110bcf29981c1eec7ce8e3b9b6260c708e0292916d9e5fb11b9d35a061b2e823254d0c2030a95035a67a86
+DIST struts-build.xml-2.3.15.2.tar.xz 20744 SHA256 c76b3d852140f3ff62718949ec752673b99845abe028445fbca69fd9f4879d5b SHA512 d4c21ff8dea2990507bff4968311a4f6a44c17ae1cbbd321b818d3fe558c131ee6c0132d5e61509f61aa53e284b61fb3cce24b89020f9889cf9ef960b7c31da3 WHIRLPOOL 7f42a22a5a43f91aba871ce4f04a38b0f1314b47395d22054bc6922b7565bb6c978141bb5a1b1274f7bfc9bd51a863ddcde9f711c1374f1cb5c707b0613e1897
+EBUILD struts-xwork-2.3.15.2.ebuild 1691 SHA256 bd8a41bd313aaf61d7fb5decb8159da98b78ee4bcb0a91df9bb0aedea722ecd1 SHA512 f8afdebbe6b72739a9e486c6a0e0ad9a3291898c26e6f2f966122a85b5939dc652b752de66c6a501a0745bd8884161dc06cd23011e6746d3e426fe6033bdc35b WHIRLPOOL 411cd4bc64f37ef9f4c44088c7b8dbfca61bf572b52168c1dbbe955f65523deb530fec38e52284ee2413ea0a63d2c9b58e7de9df44cf473d792edd9f77efd3d2
+MISC ChangeLog 417 SHA256 ccc499029cafc254bc007cf87f7be106f574bb82e14e63fe8ee31cfb3fe7d35b SHA512 61bccb484ae8ff305fa2670088bd3e897d7442175dc33f8b9130b1bdc190743a1222e410a845e2629e264eeac55398e2b3c61c469132911ed7fbd94517f16ff0 WHIRLPOOL b3f3c3ba41f1330a6a1289bc11a8c354c91fe9dc0edcd6300e947b7ed910f8455bb7f937f8c5fad99d4f729bc977f48a2e8c68e0a3703edd69ee728b739bef00
+MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.21 (GNU/Linux)
+
+iQEcBAEBCAAGBQJSTJ58AAoJEJWyH81tNOV98FgH/0/8UotW+eOXnptcRPxb+YLZ
+lqPsq871Eb4cMkA9gN3q1GzkbAWMl7LNPXC7oiMU5HCunhvkqt4ycUCpCt+5w4Zn
+FaTciH/pY/tKJPOzRmu81DV6BVoAKpbQq6EMDCEIPOsexgeLa3A4mTqUUqvHxVax
+XHR1BAlx9KEcUuNvIX4APLgPGD7wrDvHIF3lC2484BbJV3Cqd40XQoEla50rO8AF
+9+vmlwz9WFr4JxEibOCbUFNCLp/9fuk3RTZsmwHZ5+6GMu6+L+Ymwqq/5VBoiINE
+Q7ElZl9EItuvlAEBLgqvTwKb2LKj61sRTYJvjWMCyS+Sp34X8pZHiPxjSl/oy5E=
+=nmgQ
+-----END PGP SIGNATURE-----
diff --git a/dev-java/struts-xwork/metadata.xml b/dev-java/struts-xwork/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/struts-xwork/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild b/dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild
new file mode 100644
index 000000000000..533eedee4f9a
--- /dev/null
+++ b/dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-xwork/struts-xwork-2.3.15.2.ebuild,v 1.1 2013/10/02 22:35:39 tomwij Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc examples source test"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="struts"
+MY_P="${MY_PN}-${PV}-src"
+
+DESCRIPTION="A powerful Model View Controller Framework for JSP/Servlets: XWork Core"
+SRC_URI="mirror://apache/struts/source/${MY_P}.zip
+ http://dev.gentoo.org/~tomwij/files/dist/${MY_PN}-build.xml-${PV}.tar.xz"
+HOMEPAGE="http://struts.apache.org/index.html"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="~amd64"
+
+COMMON_DEPS="dev-java/asm:3
+ dev-java/commons-io:1
+ dev-java/commons-lang:3.1
+ dev-java/commons-logging:0
+ dev-java/ognl:3.0
+ dev-java/slf4j-api:0"
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEPS}"
+
+DEPEND=">=virtual/jdk-1.5
+ test? ( dev-java/ant-junit:0 )
+ ${COMMON_DEPS}"
+
+S="${WORKDIR}/${MY_PN}-${PV}/src/xwork-core"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="asm-3,commons-io-1,commons-lang-3.1,commons-logging,ognl-3.0,slf4j-api"
+
+# Could not open files of the name xwork-jar.xml
+RESTRICT="test"
+
+src_unpack() {
+ unpack ${MY_P}.zip
+ cd "${WORKDIR}"/${MY_PN}-${PV}/src || die
+ unpack ${MY_PN}-build.xml-${PV}.tar.xz
+}
+
+java_prepare() {
+ find . -name '*.jar' -print -delete || die
+
+ java-pkg_getjars asm-4,commons-io-1,commons-lang-2.1,commons-logging,ognl-3.0,slf4j-api
+}
+
+src_test() {
+ EANT_TEST_EXTRA_ARGS="-Djunit.present=true" java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_dojar target/xwork-core.jar
+
+ use doc && java-pkg_dojavadoc target/site/apidocs
+ use source && java-pkg_dosrc src/main/java/com
+}