Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2009 07:41:02 -0500
From:      "Joseph S. Atkinson" <jsa@wickedmachine.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        java@FreeBSD.org
Subject:   ports/130542: java/jdk16-doc changed distifo
Message-ID:  <1231936862.63728@mephisto.wickedmachine.net>
Resent-Message-ID: <200901141250.n0ECo1us043922@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130542
>Category:       ports
>Synopsis:       java/jdk16-doc changed distifo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 14 12:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Atkinson
>Release:        FreeBSD 7.1-RELEASE-p2 i386
>Organization:
Kinda messy 
>Environment:


System: FreeBSD 7.1-RELEASE-p2 #2: Wed Jan 14 02:45:00 EST 2009
    jsa@mephisto.wickedmachine.net:/usr/obj/usr/src/sys/MEPHISTO



>Description:


About to study Java for college classes, decided to install documentation. Following the instructions given, you no longer recieve the distfile required. Sun appears to have moved to versioning (and pluralizing!) the docs as well...


>How-To-Repeat:


Download and place distfile as per instructions given by `make`, then run `make install` again. It will not detect the distfile. Simply renaming the distfile to the appropriate title will show a checksum error.


>Fix:


--- jdk16-doc.diff begins here ---
--- Makefile.orig	2009-01-14 07:04:02.000000000 -0500
+++ Makefile	2009-01-14 07:07:13.000000000 -0500
@@ -7,10 +7,10 @@
 
 PORTNAME=	jdk-doc
 PORTVERSION=	${JDK_VERSION:S/_/./g}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	java
 MASTER_SITES=	#
-DISTNAME=	jdk-6-doc
+DISTNAME=	jdk-6u10-docs
 
 MAINTAINER=	java@FreeBSD.org
 COMMENT=	Java Development Kit ${JDK_MAJOR_VER} Documentation
--- distinfo.orig	2009-01-14 07:07:31.000000000 -0500
+++ distinfo	2009-01-14 07:07:43.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (jdk-6-doc.zip) = 6596298c9edb02bfe8de14892405e02e
-SHA256 (jdk-6-doc.zip) = 30df77761591681cbb259dce028a728926813fcd18e7f87ad9631f64fe7f08bd
-SIZE (jdk-6-doc.zip) = 54898268
+MD5 (jdk-6u10-docs.zip) = 01a8f6b06f6a5396a96dd656162710e6
+SHA256 (jdk-6u10-docs.zip) = 429e805af7d8c01f357e3ae2c600a0913b17f207b35f7f9f3b22cdcea6476481
+SIZE (jdk-6u10-docs.zip) = 58890428
--- jdk16-doc.diff ends here ---

I also considered using the following or something similar:
DISTNAME=	jdk-6u${JDK_UPDATE}-docs
JDK_UPDATE=	10


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1231936862.63728>