From jsa@wickedmachine.net  Wed Jan 14 12:41:03 2009
Return-Path: <jsa@wickedmachine.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B048F1065677
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Jan 2009 12:41:03 +0000 (UTC)
	(envelope-from jsa@wickedmachine.net)
Received: from mephisto.wickedmachine.net (tn-76-7-136-60.dhcp.embarqhsd.net [76.7.136.60])
	by mx1.freebsd.org (Postfix) with ESMTP id 557518FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Jan 2009 12:41:02 +0000 (UTC)
	(envelope-from jsa@wickedmachine.net)
Received: from mephisto.wickedmachine.net (localhost [127.0.0.1])
	by mephisto.wickedmachine.net (8.14.3/8.14.3) with ESMTP id n0ECf1cu074241;
	Wed, 14 Jan 2009 07:41:02 -0500 (EST)
	(envelope-from jsa@wickedmachine.net)
Message-Id: <1231936862.63728@mephisto.wickedmachine.net>
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: java/jdk16-doc changed distifo
X-Send-Pr-Version: gtk-send-pr 0.4.9 
X-GNATS-Notify:

>Number:         130542
>Category:       ports
>Synopsis:       java/jdk16-doc changed distifo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-java
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 14 12:50:00 UTC 2009
>Closed-Date:    Wed Mar 25 12:29:19 UTC 2009
>Last-Modified:  Wed Mar 25 12:30:01 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->java 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jan 14 12:50:13 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130542 
Responsible-Changed-From-To: java->freebsd-java 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jan 19 15:32:52 UTC 2009 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130542 

From: "Joseph S. Atkinson" <jsatkinson@embarqmail.com>
To: bug-followup@FreeBSD.org, java@freebsd.org
Cc:  
Subject: Re: ports/130542: java/jdk16-doc changed distifo
Date: Fri, 06 Feb 2009 19:51:31 -0500

 Hi, this timed out with no response or action taken. The documentation 
 distribution still sits branded u10 on the page here:
 
 http://java.sun.com/javase/downloads/index.jsp
State-Changed-From-To: open->closed 
State-Changed-By: glewis 
State-Changed-When: Wed Mar 25 12:29:18 UTC 2009 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130542 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/130542: commit references a PR
Date: Wed, 25 Mar 2009 12:29:10 +0000 (UTC)

 glewis      2009-03-25 12:28:56 UTC
 
   FreeBSD ports repository
 
   Modified files:
     java/jdk16-doc       Makefile distinfo 
   Log:
   . Chase a change in the distfile.
   
   PR:             130542
   Submitted by:   "Joseph S. Atkinson" <jsa@wickedmachine.net>
   
   Revision  Changes    Path
   1.2       +3 -3      ports/java/jdk16-doc/Makefile
   1.2       +3 -3      ports/java/jdk16-doc/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
