Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/java-sdk-docs: ChangeLog java-sdk-docs-1.6.0.18.ebuild
Date: Tue, 11 May 2010 07:53:20
Message-Id: 20100511075315.D68022C4F8@corvid.gentoo.org
1 caster 10/05/11 07:53:15
2
3 Modified: ChangeLog
4 Added: java-sdk-docs-1.6.0.18.ebuild
5 Log:
6 Version bump, fixes bug #319235
7 (Portage version: 2.2_rc67/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.69 dev-java/java-sdk-docs/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?rev=1.69&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?rev=1.69&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?r1=1.68&r2=1.69
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v
19 retrieving revision 1.68
20 retrieving revision 1.69
21 diff -u -r1.68 -r1.69
22 --- ChangeLog 3 Jan 2010 20:49:01 -0000 1.68
23 +++ ChangeLog 11 May 2010 07:53:15 -0000 1.69
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-java/java-sdk-docs
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.68 2010/01/03 20:49:01 fauli Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.69 2010/05/11 07:53:15 caster Exp $
29 +
30 +*java-sdk-docs-1.6.0.18 (11 May 2010)
31 +
32 + 11 May 2010; Vlastimil Babka <caster@g.o>
33 + +java-sdk-docs-1.6.0.18.ebuild:
34 + Version bump, fixes bug #319235
35
36 03 Jan 2010; Christian Faulhammer <fauli@g.o>
37 java-sdk-docs-1.6.0.10.ebuild:
38
39
40
41 1.1 dev-java/java-sdk-docs/java-sdk-docs-1.6.0.18.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: java-sdk-docs-1.6.0.18.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.18.ebuild,v 1.1 2010/05/11 07:53:15 caster Exp $
51
52 ORIG_NAME="jdk-6u18-docs.zip"
53 SRC_URI="jdk-6u18-docs.zip"
54 DESCRIPTION="Sun's documentation bundle (including API) for Java SE"
55 HOMEPAGE="http://java.sun.com/javase/6/docs/"
56 LICENSE="sun-j2sl-6"
57 SLOT="1.6.0"
58 KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
59 IUSE=""
60 DEPEND="app-arch/unzip"
61 RDEPEND=""
62 RESTRICT="fetch"
63
64 DOWNLOAD_URL="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u18-docs-oth-JPR@CDS-CDS_Developer"
65 S="${WORKDIR}/docs"
66
67 pkg_nofetch() {
68 einfo "Please download ${ORIG_NAME} from "
69 einfo "${DOWNLOAD_URL}"
70 einfo "(select English and agree to the licence) and place it in ${DISTDIR}"
71
72 # It appears they at least bump the filename nowadays
73 # einfo "named as ${SRC_URI}. Because Sun changes the doc zip file"
74 # einfo "without changing the filename, we have to resort to renaming to keep"
75 # einfo "the md5sum verification working for existing and new downloads."
76 # einfo ""
77
78 einfo "If you find the file on the download page replaced with a higher"
79 einfo "version, please report to the bug 67266 (link below)."
80 einfo "If emerge fails because of a checksum error it is possible that"
81 einfo "the upstream release changed without renaming. Try downloading the file"
82 einfo "again (or a newer revision if available). Otherwise report this to"
83 einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
84 }
85
86 src_install(){
87 insinto /usr/share/doc/${P}/html
88 doins index.html
89
90 for i in *; do
91 [[ -d $i ]] && doins -r $i
92 done
93 }