From ab43a097b8b179e0f4280fbef3ac257ef736c962 Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Sun, 29 Apr 2007 00:01:43 +0000 Subject: [PATCH] Revbump for migration to gen-2 eclasses. Package-Manager: portage-2.1.2.5 --- dev-java/struts-legacy/ChangeLog | 8 ++++- dev-java/struts-legacy/Manifest | 15 +++++--- .../files/digest-struts-legacy-1.0-r2 | 3 ++ .../struts-legacy/struts-legacy-1.0-r2.ebuild | 36 +++++++++++++++++++ 4 files changed, 57 insertions(+), 5 deletions(-) create mode 100644 dev-java/struts-legacy/files/digest-struts-legacy-1.0-r2 create mode 100644 dev-java/struts-legacy/struts-legacy-1.0-r2.ebuild diff --git a/dev-java/struts-legacy/ChangeLog b/dev-java/struts-legacy/ChangeLog index 1c51ccb0d379..772c43d72a5f 100644 --- a/dev-java/struts-legacy/ChangeLog +++ b/dev-java/struts-legacy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/struts-legacy # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-legacy/ChangeLog,v 1.14 2007/02/21 23:44:26 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-legacy/ChangeLog,v 1.15 2007/04/29 00:01:43 caster Exp $ + +*struts-legacy-1.0-r2 (29 Apr 2007) + + 29 Apr 2007; Vlastimil Babka + +struts-legacy-1.0-r2.ebuild: + Revbump for migration to gen-2 eclasses. 21 Feb 2007; Piotr Jaroszyński ChangeLog: Transition to Manifest2. diff --git a/dev-java/struts-legacy/Manifest b/dev-java/struts-legacy/Manifest index d8870824c7e2..3d8e8a5390a6 100644 --- a/dev-java/struts-legacy/Manifest +++ b/dev-java/struts-legacy/Manifest @@ -3,10 +3,14 @@ EBUILD struts-legacy-1.0-r1.ebuild 1166 RMD160 3c0d771f9e5bb4df35e7fb1cc08651e18 MD5 fe83e7b9b35ea9242e73975d09eeb7a2 struts-legacy-1.0-r1.ebuild 1166 RMD160 3c0d771f9e5bb4df35e7fb1cc08651e18b62101f struts-legacy-1.0-r1.ebuild 1166 SHA256 91e4bfebbee5b9aa13f15907ac9363ca90e97d2d135fd166519ac6af8ee27495 struts-legacy-1.0-r1.ebuild 1166 -MISC ChangeLog 2061 RMD160 940645080d575bcf1d068efb1216bd2f8b487c99 SHA1 3d0daa4de296d7afa722af6961603d0cae602f81 SHA256 eb355e00eebc136f7c88d715e6a5b876d9d0b412eecd2208e00c2741b8670a69 -MD5 9d95a897889f099e93cb999c18bc2724 ChangeLog 2061 -RMD160 940645080d575bcf1d068efb1216bd2f8b487c99 ChangeLog 2061 -SHA256 eb355e00eebc136f7c88d715e6a5b876d9d0b412eecd2208e00c2741b8670a69 ChangeLog 2061 +EBUILD struts-legacy-1.0-r2.ebuild 1121 RMD160 185d3b13e509b39a427ca6edb6d9339068a0fa62 SHA1 5f880d4b343b845f06055bde4b036951accfe721 SHA256 f3266c3d2fd8738fb67c8a1bf6903cbf3335978ef1dddf1929711ce1fe60d5aa +MD5 f3c0fe6a62b90ab4b211995a959abcaa struts-legacy-1.0-r2.ebuild 1121 +RMD160 185d3b13e509b39a427ca6edb6d9339068a0fa62 struts-legacy-1.0-r2.ebuild 1121 +SHA256 f3266c3d2fd8738fb67c8a1bf6903cbf3335978ef1dddf1929711ce1fe60d5aa struts-legacy-1.0-r2.ebuild 1121 +MISC ChangeLog 2226 RMD160 83ef068e3da5a720c736a47735d36d63fda90793 SHA1 24e9ae65d89421bf18fea15eb26a3c968e1c32f0 SHA256 6cd771812572b9287f57c18226f27202542fd67c0d3e9168b6bf3be05893dd8b +MD5 586a0a1e56ba277a82ebda4bd3e45779 ChangeLog 2226 +RMD160 83ef068e3da5a720c736a47735d36d63fda90793 ChangeLog 2226 +SHA256 6cd771812572b9287f57c18226f27202542fd67c0d3e9168b6bf3be05893dd8b ChangeLog 2226 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -14,3 +18,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata MD5 7df7b0382b2fec4a7b4702a78e44e110 files/digest-struts-legacy-1.0-r1 262 RMD160 32f371712bb6a8babe9f1546b23f3d8bdcf99bf9 files/digest-struts-legacy-1.0-r1 262 SHA256 fe7a1515a96422b677c139a8a5379dcfa0856038ed38232a8273a87ae19aa584 files/digest-struts-legacy-1.0-r1 262 +MD5 7df7b0382b2fec4a7b4702a78e44e110 files/digest-struts-legacy-1.0-r2 262 +RMD160 32f371712bb6a8babe9f1546b23f3d8bdcf99bf9 files/digest-struts-legacy-1.0-r2 262 +SHA256 fe7a1515a96422b677c139a8a5379dcfa0856038ed38232a8273a87ae19aa584 files/digest-struts-legacy-1.0-r2 262 diff --git a/dev-java/struts-legacy/files/digest-struts-legacy-1.0-r2 b/dev-java/struts-legacy/files/digest-struts-legacy-1.0-r2 new file mode 100644 index 000000000000..dd41ac15b16e --- /dev/null +++ b/dev-java/struts-legacy/files/digest-struts-legacy-1.0-r2 @@ -0,0 +1,3 @@ +MD5 805b7f3e787c1469f57fed9f5eebc3a1 struts-legacy-1.0-src.tar.gz 12767 +RMD160 cd4915010f5151c21cdbece3d8c0f1d40ee246ee struts-legacy-1.0-src.tar.gz 12767 +SHA256 c43f2585c703437a85e4b3ea0301e01d38690de225f845ace8399144c89262d0 struts-legacy-1.0-src.tar.gz 12767 diff --git a/dev-java/struts-legacy/struts-legacy-1.0-r2.ebuild b/dev-java/struts-legacy/struts-legacy-1.0-r2.ebuild new file mode 100644 index 000000000000..9e0acbdcb3c8 --- /dev/null +++ b/dev-java/struts-legacy/struts-legacy-1.0-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-legacy/struts-legacy-1.0-r2.ebuild,v 1.1 2007/04/29 00:01:43 caster Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Jakarta Struts Legacy Library" +SRC_URI="mirror://apache/jakarta/struts/struts-legacy/${P}-src.tar.gz" +HOMEPAGE="http://jakarta.apache.org/struts/" +IUSE="doc" +COMMON_DEP="dev-java/commons-logging" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +# 1.6 adds some abstract method somewhere that this doesn't override +DEPEND="|| ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) + ${COMMON_DEP}" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +S=${WORKDIR}/${P}-src + +src_compile() { + sed -i 's:compile,docs:compile:' build.xml || die "sed failed" + echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" > build.properties + echo "jdk.version=1.4" >> build.properties + + eant dist $(use_doc docs) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + newdoc STATUS.txt STATUS + use doc && java-pkg_dojavadoc dist/docs/api +} -- 2.26.2