From m.seaman@infracaninophile.co.uk  Wed Dec 11 02:51:20 2002
Return-Path: <m.seaman@infracaninophile.co.uk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CCCEC37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Dec 2002 02:51:20 -0800 (PST)
Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9E24043EB2
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Dec 2002 02:51:19 -0800 (PST)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])
	by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gBBApF46038186
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Dec 2002 10:51:15 GMT
	(envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk)
Received: (from matthew@localhost)
	by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gBBApA1K038185;
	Wed, 11 Dec 2002 10:51:10 GMT
Message-Id: <200212111051.gBBApA1K038185@happy-idiot-talk.infracaninophile.co.uk>
Date: Wed, 11 Dec 2002 10:51:10 GMT
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Reply-To: Matthew Seaman <m.seaman@infracaninophile.co.uk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Update java/bouncycastle to version 1.16
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46184
>Category:       ports
>Synopsis:       [PATCH] Update java/bouncycastle to version 1.16
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 11 03:00:14 PST 2002
>Closed-Date:    Mon Apr 07 01:50:41 PDT 2003
>Last-Modified:  Mon Apr 07 01:50:41 PDT 2003
>Originator:     Matthew Seaman
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Infracaninophile
>Environment:
System: FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.7-STABLE FreeBSD 4.7-STABLE #22: Sat Dec 7 00:45:57 GMT 2002 root@happy-idiot-talk.infracaninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386

happy-idiot-talk:/tmp:% java -version
java version "1.3.1-p7"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-root-021102-09:14)
Classic VM (build 1.3.1-p7-root-021102-09:14, green threads, nojit)

>Description:

java/bouncycastle port is currently at version 1.11.  However the
jce-jdk13-111.tar.gz tarball downloaded from
http://www.bouncycastle.org/download/ suddenly seems to contain
jce-jdk13-116, which naturally fails the checksum test:

happy-idiot-talk:...ports/java/bouncycastle:% env DISTDIR=/tmp make fetch
>How-To-Repeat:

cd /usr/ports/java/bouncycastle
make install

>Fix:

Upgrade port to use version 1.16:

happy-idiot-talk:...ports/java/bouncycastle:# diff -u Makefile{.orig,}
--- Makefile.orig       Wed Dec 11 10:44:51 2002
+++ Makefile    Wed Dec 11 10:45:09 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      bouncycastle
-PORTVERSION=   1.11
+PORTVERSION=   1.16
 CATEGORIES=    java security
 MASTER_SITES=  http://www.bouncycastle.org/download/
 DISTNAME=      jce-jdk13-${PORTVERSION:S/.//}



happy-idiot-talk:...ports/java/bouncycastle:# diff -u distinfo{.orig,}
--- distinfo.orig       Wed Dec 11 10:42:15 2002
+++ distinfo    Wed Dec 11 10:44:23 2002
@@ -1 +1 @@
-MD5 (jce-jdk13-111.tar.gz) = ae49a186451407bd1b351ea21e4754c6
+MD5 (jce-jdk13-116.tar.gz) = ee2afc87e789b8635f0a616aaabfb298
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Mon Apr 7 01:48:56 PDT 2003 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46184 
>Unformatted:
 >> jce-jdk13-111.tar.gz doesn't seem to exist in /tmp/.
 >> Attempting to fetch from ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/.
 fetch: ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/jce-jdk13-111.tar.gz: File unavailable (e.g., file not found, no access)
 >> Attempting to fetch from http://www.bouncycastle.org/download/.
 Receiving jce-jdk13-111.tar.gz (1315288 bytes): 100%
 1315288 bytes transferred in 23.4 seconds (54.80 kBps)
 happy-idiot-talk:...ports/java/bouncycastle:% tar -ztvf /tmp/jce-jdk13-111.tar.gz | head -5
 drwxr-xr-x dgh/dgh           0 Nov 29 20:46 2002 jce-jdk13-116/
 -rw-r--r-- dgh/dgh        3495 Jun 15 06:14 2001 jce-jdk13-116/index.html
 -rw-r--r-- dgh/dgh        1164 Jun 15 06:14 2001 jce-jdk13-116/LICENSE.html
 -rw-r--r-- dgh/dgh        7311 Nov 26 08:24 2002 jce-jdk13-116/CONTRIBUTORS.html
 -rw-r--r-- dgh/dgh       24317 Nov 29 07:53 2002 jce-jdk13-116/releasenotes.html
 
 
