ports/163486: [UPDATE] java/linux-sun-jdk16 to 6u30
Michael Scheidell
scheidell at FreeBSD.org
Tue Dec 20 18:40:14 UTC 2011
>Number: 163486
>Category: ports
>Synopsis: [UPDATE] java/linux-sun-jdk16 to 6u30
>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: Tue Dec 20 18:40:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Michael Scheidell
>Release: 8.x, i386
>Organization:
SECNAP Network Security Corp
>Environment:
>Description:
While trying to compile a java base program, and redirected to sun's web site, I noticed that 6u29 is not
available (it is, but you need to know the url). 6u30 is available via link
- Update to 6u30
- pet portlint (Makefile, pkg-plist)
>How-To-Repeat:
install something that needs java jdk. tro to find it.
>Fix:
this patch
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/java/linux-sun-jdk16/Makefile,v
retrieving revision 1.45
diff -u -u -r1.45 Makefile
--- Makefile 30 Nov 2011 19:32:27 -0000 1.45
+++ Makefile 20 Dec 2011 18:29:42 -0000
@@ -31,7 +31,7 @@
USE_LINUX= yes
USE_LINUX_APPS= xorglibs
JDK_VERSION= 1.6.0
-JDK_REVISION= 29
+JDK_REVISION= 30
DL_JDK_VERSION= ${JDK_VERSION}_${JDK_REVISION}
ONLY_FOR_ARCHS= i386 amd64
DOWNLOAD_URL?= http://www.oracle.com/technetwork/java/javase/downloads/index.html
@@ -60,7 +60,7 @@
post-patch:
${REINPLACE_CMD} -i.orig -e 's:^#!/bin/bash:#!/bin/sh:' ${WRKSRC}/bin/jcontrol
- @${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f
+ @${FIND} ${WRKSRC} -name '*.orig' -delete
# XXX: This is missing a "${BRANDELF} -t Linux <executables>".
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/java/linux-sun-jdk16/distinfo,v
retrieving revision 1.30
diff -u -u -r1.30 distinfo
--- distinfo 30 Nov 2011 19:32:27 -0000 1.30
+++ distinfo 20 Dec 2011 18:29:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (jdk-6u29-linux-i586.bin) = 1117f4dfc45632b68ec0f4d5e61e5cafc1d85dc655ee3df5fa6f50128b8c3faf
-SIZE (jdk-6u29-linux-i586.bin) = 85146345
+SHA256 (jdk-6u30-linux-i586.bin) = b551be83a690bc9fec0107d9aa4f828cd47e150fa54cbedbfa8f80c99e2f18b5
+SIZE (jdk-6u30-linux-i586.bin) = 85282052
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/java/linux-sun-jdk16/pkg-plist,v
retrieving revision 1.26
diff -u -u -r1.26 pkg-plist
--- pkg-plist 30 Nov 2011 19:32:27 -0000 1.26
+++ pkg-plist 20 Dec 2011 18:29:43 -0000
@@ -4686,7 +4686,7 @@
%%T%%/sample/webservices/EbayServer/src/ebay/server/Main.java
%%T%%/src.zip
@exec mkdir -p %D/share/doc/java
- at unexec rmdir %D/share/doc/java 2>/dev/null || true
+ at dirrmtry %D/share/doc/java
@exec %%LOCALBASE%%/bin/registervm "%D/%%T%%/bin/java # Linux-Sun-JDK%%PORTVERSION%%"
@dirrm %%T%%/sample/webservices/EbayServer/src/ebay/server
@dirrm %%T%%/sample/webservices/EbayServer/src/ebay
______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://www.spammertrap.com/
______________________________________________________________________
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list