Migrated to gen-2 eclass for bug #157483. Fetch restrict to comply with license.
authorVlastimil Babka <caster@gentoo.org>
Fri, 8 Dec 2006 22:00:59 +0000 (22:00 +0000)
committerVlastimil Babka <caster@gentoo.org>
Fri, 8 Dec 2006 22:00:59 +0000 (22:00 +0000)
Package-Manager: portage-2.1.2_rc2-r5

dev-java/sun-j2ee-deployment-bin/ChangeLog
dev-java/sun-j2ee-deployment-bin/Manifest
dev-java/sun-j2ee-deployment-bin/files/digest-sun-j2ee-deployment-bin-1.1-r1
dev-java/sun-j2ee-deployment-bin/files/digest-sun-j2ee-deployment-bin-1.1-r2 [new file with mode: 0644]
dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1-r1.ebuild
dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1-r2.ebuild [new file with mode: 0644]

index 6dc2aff0a2a73e4153e6ff407fef59b0e355514f..7f9c6b2e8a657dbd64b1203da494a586ad8fadbd 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for dev-java/sun-j2ee-deployment-bin
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee-deployment-bin/ChangeLog,v 1.5 2005/08/12 14:09:46 betelgeuse Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee-deployment-bin/ChangeLog,v 1.6 2006/12/08 22:00:59 caster Exp $
+
+*sun-j2ee-deployment-bin-1.1-r2 (08 Dec 2006)
+
+  08 Dec 2006; Vlastimil Babka <caster@gentoo.org>
+  sun-j2ee-deployment-bin-1.1-r1.ebuild,
+  +sun-j2ee-deployment-bin-1.1-r2.ebuild:
+  Migrated to gen-2 eclass for bug #157483. Fetch restrict to comply with
+  license. Don't worry, CDDL source ebuild should come soon.
 
   12 Aug 2005; Petteri Räty <betelgeuse@gentoo.org>
   sun-j2ee-deployment-bin-1.1-r1.ebuild:
index 51a9f3623fa5676c429a75e30b344aceecd90431..97388156048de48d27322c43d0d359a25c912510 100644 (file)
@@ -1,14 +1,24 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 75499a4dae1ff06ec2fec0f1b625384d ChangeLog 857
+DIST j2ee_deployment-1_1-fr-class.zip 23165 RMD160 f1c88c7f2a795e835be6d602ed7a17d845ac5f1c SHA1 1f606d5f7f477d60486c2eaef4ede4084d77b877 SHA256 9254f972032ad3f0ba9bd6d51eba5e3f800972d404b432fc790f8546b8fbb88c
+DIST j2ee_deployment-1_1-fr-doc.zip 153966 RMD160 34375b342d1a57a6ff823541da61a37a5af08681 SHA1 94adc32a9a7cedbf5eeb3b76f4b8e13e5380605e SHA256 d6b9c9326d695904669c145ab475d003f736fd3461077cfd58ced07734db18a1
+EBUILD sun-j2ee-deployment-bin-1.1-r1.ebuild 1508 RMD160 8f4e073eccde34c1c5734a6e62b84015c4d011f8 SHA1 71b2a52c710e538a137b120a355c47e4c66a41d7 SHA256 d5f08e05a6c6d61e5ac4616f1a71d7b7522aa344854d3694424fb709ced4c48f
+MD5 0a195c43389216c4b4766677df2b0806 sun-j2ee-deployment-bin-1.1-r1.ebuild 1508
+RMD160 8f4e073eccde34c1c5734a6e62b84015c4d011f8 sun-j2ee-deployment-bin-1.1-r1.ebuild 1508
+SHA256 d5f08e05a6c6d61e5ac4616f1a71d7b7522aa344854d3694424fb709ced4c48f sun-j2ee-deployment-bin-1.1-r1.ebuild 1508
+EBUILD sun-j2ee-deployment-bin-1.1-r2.ebuild 1561 RMD160 9d8ff82c4b66a0d40aa23650ff2cd620c49b45c4 SHA1 12549de7a7cbb4c1383ec57f7b00c1cdf4527b6e SHA256 11c80b2a6c4d3466ac41de29b4b734d7b010afbc32900088ae9cd8b4f4593b98
+MD5 363a9a303413cc96dea8b5063aa7cc27 sun-j2ee-deployment-bin-1.1-r2.ebuild 1561
+RMD160 9d8ff82c4b66a0d40aa23650ff2cd620c49b45c4 sun-j2ee-deployment-bin-1.1-r2.ebuild 1561
+SHA256 11c80b2a6c4d3466ac41de29b4b734d7b010afbc32900088ae9cd8b4f4593b98 sun-j2ee-deployment-bin-1.1-r2.ebuild 1561
+MISC ChangeLog 1170 RMD160 9b84c8dfb580d4debc92779a14610e2547270694 SHA1 e8737a8b9f84fc7adffeb103c389d5d586e1513f SHA256 8228c7ad256924acd2ff2fa7d56243321065176223c6e1b611e5bec0af051198
+MD5 0bfd0be2a7ba42c840d2ff6820722c2d ChangeLog 1170
+RMD160 9b84c8dfb580d4debc92779a14610e2547270694 ChangeLog 1170
+SHA256 8228c7ad256924acd2ff2fa7d56243321065176223c6e1b611e5bec0af051198 ChangeLog 1170
+MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
 MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
-MD5 5d6e32cd5b7e84331d58ef358cb59afc sun-j2ee-deployment-bin-1.1-r1.ebuild 882
-MD5 f225a8129f59a9c5ed7517cf247b106a files/digest-sun-j2ee-deployment-bin-1.1-r1 151
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFC/LKRQiJ/wx066S4RAgceAJ0YHPN3hTg0m8FF0Idy591ZC0rUqwCfdauv
-/RKn5arI1RaTRelrohxcGqs=
-=pLrE
------END PGP SIGNATURE-----
+RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
+SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158
+MD5 d0feeff31dfeeb5c356d0d0de1892e77 files/digest-sun-j2ee-deployment-bin-1.1-r1 545
+RMD160 5c353f5338c3b4132003c35ab6fc3bf4a1b96808 files/digest-sun-j2ee-deployment-bin-1.1-r1 545
+SHA256 1fd0c2016e92ccb4a35ca189b6293fccbf1341736cc96ea46d75150c1185bc9a files/digest-sun-j2ee-deployment-bin-1.1-r1 545
+MD5 d0feeff31dfeeb5c356d0d0de1892e77 files/digest-sun-j2ee-deployment-bin-1.1-r2 545
+RMD160 5c353f5338c3b4132003c35ab6fc3bf4a1b96808 files/digest-sun-j2ee-deployment-bin-1.1-r2 545
+SHA256 1fd0c2016e92ccb4a35ca189b6293fccbf1341736cc96ea46d75150c1185bc9a files/digest-sun-j2ee-deployment-bin-1.1-r2 545
index 93d17abf1eda36636d1f9ed6c19905cb31b9f158..b8916213a2a1103ceabec9aa148a0e37a461033b 100644 (file)
@@ -1,2 +1,6 @@
 MD5 1f88b820fc13e9c9ac741e4890720295 j2ee_deployment-1_1-fr-class.zip 23165
+RMD160 f1c88c7f2a795e835be6d602ed7a17d845ac5f1c j2ee_deployment-1_1-fr-class.zip 23165
+SHA256 9254f972032ad3f0ba9bd6d51eba5e3f800972d404b432fc790f8546b8fbb88c j2ee_deployment-1_1-fr-class.zip 23165
 MD5 2062ca498f40ea97a3a32655e82eca48 j2ee_deployment-1_1-fr-doc.zip 153966
+RMD160 34375b342d1a57a6ff823541da61a37a5af08681 j2ee_deployment-1_1-fr-doc.zip 153966
+SHA256 d6b9c9326d695904669c145ab475d003f736fd3461077cfd58ced07734db18a1 j2ee_deployment-1_1-fr-doc.zip 153966
diff --git a/dev-java/sun-j2ee-deployment-bin/files/digest-sun-j2ee-deployment-bin-1.1-r2 b/dev-java/sun-j2ee-deployment-bin/files/digest-sun-j2ee-deployment-bin-1.1-r2
new file mode 100644 (file)
index 0000000..b891621
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 1f88b820fc13e9c9ac741e4890720295 j2ee_deployment-1_1-fr-class.zip 23165
+RMD160 f1c88c7f2a795e835be6d602ed7a17d845ac5f1c j2ee_deployment-1_1-fr-class.zip 23165
+SHA256 9254f972032ad3f0ba9bd6d51eba5e3f800972d404b432fc790f8546b8fbb88c j2ee_deployment-1_1-fr-class.zip 23165
+MD5 2062ca498f40ea97a3a32655e82eca48 j2ee_deployment-1_1-fr-doc.zip 153966
+RMD160 34375b342d1a57a6ff823541da61a37a5af08681 j2ee_deployment-1_1-fr-doc.zip 153966
+SHA256 d6b9c9326d695904669c145ab475d003f736fd3461077cfd58ced07734db18a1 j2ee_deployment-1_1-fr-doc.zip 153966
index a5fa1fbd124107b245725a9aef79c62005b8220d..2cfced5562a3fb136d48bd64f48d93273bc29eb6 100644 (file)
@@ -1,23 +1,42 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1-r1.ebuild,v 1.2 2005/08/12 14:09:46 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1-r1.ebuild,v 1.3 2006/12/08 22:00:59 caster Exp $
 
 inherit java-pkg
 
 MY_PV=${PV/./_}
 
+CLASS_URI="j2ee_deployment-${MY_PV}-fr-class.zip"
+DOC_URI="j2ee_deployment-${MY_PV}-fr-doc.zip"
+
 DESCRIPTION="J2EE Application Deployment Specification"
 HOMEPAGE="http://java.sun.com/j2ee/tools/deployment/"
-SRC_URI="http://dev.gentoo.org/~karltk/projects/java/distfiles/j2ee_deployment-${MY_PV}-fr-class.zip
-       doc? ( http://dev.gentoo.org/~karltk/projects/java/distfiles/j2ee_deployment-${MY_PV}-fr-doc.zip )"
+SRC_URI="${CLASS_URI}
+       doc? ( ${DOC_URI} )"
 LICENSE="sun-bcla-j2ee-deployment"
 SLOT="1.1"
 KEYWORDS="~amd64 x86"
 IUSE="doc"
 DEPEND="app-arch/unzip"
 RDEPEND=">=virtual/jre-1.3"
+RESTRICT="fetch"
+
 S=${WORKDIR}
 
+DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=J2EE_DEPLOYMENT-1.1-FR-CLASS-G-F&SiteId=JSC&TransactionId=noreg"
+DOWNLOAD_URL_DOC="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=J2EE_DEPLOYMENT-1.1-FR-DOC-G-F&SiteId=JSC&TransactionId=noreg"
+
+pkg_nofetch() {
+       einfo "Please download \"J2EE Deployment API Class Files 1.1\" - ${CLASS_URI}"
+       einfo "from ${HOMEPAGE} and move it to ${DISTDIR}"
+       einfo "Direct URL: ${DOWNLOAD_URL}"
+       if use doc; then
+               einfo "Also download \"API Documentation 1.1\" - ${DOC_URI}"
+               einfo "from ${HOMEPAGE} and move it to ${DISTDIR}"
+               einfo "Direct URL: ${DOWNLOAD_URL_DOC}"
+       fi
+}
+
 src_compile() {
        jar cvf ${PN}.jar javax || die
 }
diff --git a/dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1-r2.ebuild b/dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1-r2.ebuild
new file mode 100644 (file)
index 0000000..0207cc2
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-j2ee-deployment-bin/sun-j2ee-deployment-bin-1.1-r2.ebuild,v 1.1 2006/12/08 22:00:59 caster Exp $
+
+inherit java-pkg-2
+
+MY_PV=${PV/./_}
+
+CLASS_URI="j2ee_deployment-${MY_PV}-fr-class.zip"
+DOC_URI="j2ee_deployment-${MY_PV}-fr-doc.zip"
+
+DESCRIPTION="J2EE Application Deployment Specification"
+HOMEPAGE="http://java.sun.com/j2ee/tools/deployment/"
+SRC_URI="${CLASS_URI}
+       doc? ( ${DOC_URI} )"
+LICENSE="sun-bcla-j2ee-deployment"
+SLOT="1.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+DEPEND=">=virtual/jdk-1.4
+       app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+RESTRICT="fetch"
+
+S=${WORKDIR}
+
+DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=J2EE_DEPLOYMENT-1.1-FR-CLASS-G-F&SiteId=JSC&TransactionId=noreg"
+DOWNLOAD_URL_DOC="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=J2EE_DEPLOYMENT-1.1-FR-DOC-G-F&SiteId=JSC&TransactionId=noreg"
+
+pkg_nofetch() {
+       einfo "Please download \"J2EE Deployment API Class Files 1.1\" - ${CLASS_URI}"
+       einfo "from ${HOMEPAGE} and move it to ${DISTDIR}"
+       einfo "Direct URL: ${DOWNLOAD_URL}"
+       if use doc; then
+               einfo "Also download \"API Documentation 1.1\" - ${DOC_URI}"
+               einfo "from ${HOMEPAGE} and move it to ${DISTDIR}"
+               einfo "Direct URL: ${DOWNLOAD_URL_DOC}"
+       fi
+}
+
+src_compile() {
+       jar cvf ${PN}.jar javax || die "Failed to create the ${PN}.jar"
+}
+
+src_install() {
+       java-pkg_dojar ${PN}.jar
+
+       use doc && java-pkg_dojavadoc doc
+}