From owner-freebsd-java@FreeBSD.ORG Sun Dec 18 16:00:52 2011 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B98D41065670 for ; Sun, 18 Dec 2011 16:00:52 +0000 (UTC) (envelope-from chance@itu.int) Received: from test.hwa-yi.com.tw (61-219-6-243.HINET-IP.hinet.net [61.219.6.243]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7368FC08 for ; Sun, 18 Dec 2011 16:00:52 +0000 (UTC) Received: by test.hwa-yi.com.tw (Postfix, from userid 783) id 5407D18E2323; Sun, 18 Dec 2011 23:44:13 +0800 (CST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on NASTP X-Spam-Level: *** X-Spam-Status: No, score=3.1 required=5.0 tests=ALL_TRUSTED, AWL, HTML_MESSAGE, HTML_MIME_NO_HTML_TAG,MIME_HTML_ONLY,MIME_QP_LONG_LINE autolearn=no version=3.2.5 Received: from itu.int (unknown [69.162.119.107]) (Authenticated sender: scan) by test.hwa-yi.com.tw (Postfix) with ESMTPA id 3C1E118E23B3 for ; Sun, 18 Dec 2011 23:41:37 +0800 (CST) From: International Telecomunication Union To: java@FreeBSD.org Date: 18 Dec 2011 13:41:59 -0200 Message-ID: <20111218134159.9AD5743E61B212AC@itu.int> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Amaizing chance X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 16:00:52 -0000 [1]3D"International [2]International Telecomunication Union International Call-In Prize Giveaway= 3D"As Want to Win $10 000? Need money? Enter to Win $10 000 to use how= ever you want! How To Enter Each day from Thursday December 1st through to Saturday December 31= , you will have the chance to win $10 000 in cash. You can have as many chan= ces as you want. Simply call any of the numbers below. If you are the person= number 1000 to call that number you get $10 000 cash. *Please read all the terms and conditions on the botttomof this pag= e before calling! +996312973000 +996312973001 +996312973002 +996312973003 +996312973004 +996312973005 +996312973006 +996312973007 +996312973008 +996312973009 +996312973010 +996312973011 +996312973012 +996312973013 +996312973014 +996312973015 +996312973016 +996312973017 +996312973018 +996312973019 +996312973020 +996312973021 +996312973022 +996312973023 +996312973024 +996312973025 +996312973026 +996312973027 +996312973028 +996312973029 +996312973030 +996312973031 +996312973032 +996312973033 +996312973034 +996312973035 +996312973036 +996312973037 +996312973038 +996312973039 +996312973040 +996312973041 +996312973042 +996312973043 +996312973044 +996312973045 +996312973046 +996312973047 +996312973048 +996312973049 +996312973050 +996312973051 +996312973052 +996312973053 +996312973054 +996312973055 +996312973056 +996312973057 +996312973058 +996312973059 +996312973060 +996312973061 +996312973062 +996312973063 +996312973064 +996312973065 +996312973066 +996312973067 +996312973068 +996312973069 +996312973070 +996312973071 +996312973072 +996312973073 +996312973074 +996312973075 +996312973076 +996312973077 +996312973078 +996312973079 +996312973080 +996312973081 +996312973082 +996312973083 +996312973084 +996312973085 +996312973086 +996312973087 +996312973088 +996312973089 +996312973090 +996312973091 +996312973092 +996312973093 +996312973094 +996312973095 +996312973096 +996312973097 +996312973098 +996312973099 REMEMBER: YOU could be the winner= on any number and you can call as many times as you want! You are guarantee= d to win as long as you are the person number 1000 to call! Sponsored by: 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D= 3D"" 3D"" 3D"" 3D"" [home_3b.jpg"] 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D"" 3D"= By calling any of the numbers abov= e, you are accepting these terms and you will be automatically entered into = the International Call-In Prize Giveaway. International Call-In Prize Giveaw= ay is open only to legal residents of any country who are at least 18 years = of age. International Call-In Prize Giveaway is void in Puerto Rico. Offer v= oid where otherwise prohibited by law. Winners are responsible for taxes on = all prizes. No purchase necessary to play or win. Copyright © 2011 Inte= rnational Telecomunication Union. All Rights Reserved. *You agree to call only from your phone number. If you are the winn= er a person from our staff will contact you within moments from your call to= the number you called from to ask you for your details. Do not call from ph= one lines you do not own. Every call is charged $0.12/minute. You DO NOT hav= e to hold the line more than 1 minute. References 1. 3D"http://www.itu.int/ITU-D/ict/= 2. =3D"http://www.itu.int/ITU-D/ict/index.html" From owner-freebsd-java@FreeBSD.ORG Sun Dec 18 19:25:03 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA397106566B for ; Sun, 18 Dec 2011 19:25:03 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from mail.ultra-secure.de (mail.ultra-secure.de [78.47.114.122]) by mx1.freebsd.org (Postfix) with ESMTP id 0E9398FC18 for ; Sun, 18 Dec 2011 19:25:02 +0000 (UTC) Received: (qmail 82685 invoked by uid 89); 18 Dec 2011 19:13:14 -0000 Received: by simscan 1.4.0 ppid: 82680, pid: 82682, t: 0.0591s scanners: attach: 1.4.0 clamav: 0.97.1/m:54/d:14135 Received: from unknown (HELO x301-risk.ewadmin.local) (rainer@ultra-secure.de@212.71.117.92) by mail.ultra-secure.de with ESMTPA; 18 Dec 2011 19:13:14 -0000 From: Rainer Duffner Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 18 Dec 2011 20:13:13 +0100 Message-Id: <2D19A95C-0DE5-4955-8A52-9D104B500339@ultra-secure.de> To: freebsd-java@freebsd.org Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Subject: Oracle terminate DLJ - does this have consequences for FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 19:25:03 -0000 Hi, seems this already happened in August. Found on slashdot now, original article here: http://robilad.livejournal.com/90792.html http://jdk-distros.java.net/ Does that have any consequences for diablo-jdk? Ubuntu is, as usual, going berserk and apparently considers deleting it = from the installed base.... From owner-freebsd-java@FreeBSD.ORG Sun Dec 18 20:03:07 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9886106566B for ; Sun, 18 Dec 2011 20:03:07 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4884C8FC13 for ; Sun, 18 Dec 2011 20:03:07 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBIK2vgL059923 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 18 Dec 2011 20:02:57 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBIK2vgL059923 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1324238578; bh=PJ80eXR/XVWUyz2TiyOHPBCtrSQ/n1RJ4dgE+PA3V+g=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=U9ARQkaFwqDOyZsiFBAxT9BgZzWkbUCHoJINbdpBPq6MsW7ynjeinX//bQs5qvy0x ZvR4VFtPUkUR+NwcHcAlMuYZYyMUIXV+qpP36BysmqILwYD86kVxUTQ6MWMzfIknm8 2bW+tpau+CHvY9BOr+H1sVX6wEiSDgn2ngXWa5PE= Message-ID: <4EEE46EA.1020302@infracaninophile.co.uk> Date: Sun, 18 Dec 2011 20:02:50 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Rainer Duffner References: <2D19A95C-0DE5-4955-8A52-9D104B500339@ultra-secure.de> In-Reply-To: <2D19A95C-0DE5-4955-8A52-9D104B500339@ultra-secure.de> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC7D95BA96642EEE9AC6A0BB9" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-java@freebsd.org Subject: Re: Oracle terminate DLJ - does this have consequences for FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 20:03:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC7D95BA96642EEE9AC6A0BB9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 18/12/2011 19:13, Rainer Duffner wrote: > seems this already happened in August. >=20 > Found on slashdot now, original article here: >=20 > http://robilad.livejournal.com/90792.html >=20 > http://jdk-distros.java.net/ >=20 >=20 > Does that have any consequences for diablo-jdk? >=20 > Ubuntu is, as usual, going berserk and apparently considers deleting it= from the installed base.... Yeah. It means FreeBSD gets to provide the standard Java distribution -- which is now OpenJDK -- free to use, and without itself having to stump up thousands of dollars via the FreeBSD Foundation simply for a place at the table. This is Java coming into line with the other big languages of the Internet age (perl, python, php, etc.), casting off the restrictive licensing it had hobbled itself with initially and so enabling itself to succeed in a way commensurate with its technical quality[*]. diablo-jdk was an unfortunate necessity for a while. It no longer is, and that's really good news. Cheers, Matthew [*] GPLv2 rather than a BSD-style license, but still a big step forwards.= --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigC7D95BA96642EEE9AC6A0BB9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7uRvEACgkQ8Mjk52CukIzbAgCfX4EVEEg0Az17cO8Jnm/GdmPo Kj0An0N8c0w9xgUCm78aLcK/Q04rw2La =jir7 -----END PGP SIGNATURE----- --------------enigC7D95BA96642EEE9AC6A0BB9-- From owner-freebsd-java@FreeBSD.ORG Sun Dec 18 21:07:06 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4893B1065670 for ; Sun, 18 Dec 2011 21:07:06 +0000 (UTC) (envelope-from heiner_ej@yahoo.de) Received: from nm38-vm1.bullet.mail.bf1.yahoo.com (nm38-vm1.bullet.mail.bf1.yahoo.com [72.30.239.17]) by mx1.freebsd.org (Postfix) with SMTP id C25258FC0C for ; Sun, 18 Dec 2011 21:07:05 +0000 (UTC) Received: from [98.139.215.142] by nm38.bullet.mail.bf1.yahoo.com with NNFMP; 18 Dec 2011 20:53:44 -0000 Received: from [98.139.211.202] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 18 Dec 2011 20:53:44 -0000 Received: from [127.0.0.1] by smtp211.mail.bf1.yahoo.com with NNFMP; 18 Dec 2011 20:53:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1324241624; bh=9G2nyqxZCckV8TqhHYP6ila99atp+sUKxPrtUdOQTk4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=f5TLHLevFh0KE2ILZ7I9Z/0o/i5piJ7QvEhH3zubGAAwMLY+C16T672m4o4xMQm/cDsfgSQ1RveJ239Tuw9basOfayb0VU9mPPXoTb9ac//z5b2Ba5ARlyq8tDReSvuL+Nvy8O1dF1pRBg5q+4AmO8yAokwlWY/r4+FXbe+wtLc= X-Yahoo-Newman-Id: 383979.52851.bm@smtp211.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ZubvJ3cVM1mmNipiLH4UwSX14hwn7auxLQAvigceSgM786I yXZ_mdRgk0EcJTFJk1yAcNXwZlU9hyN8EWCP1PktdbivW0qPDoY6DjXpsmwZ 7yQ4RoBCa7m7B87Y.EMk.HireKSb4kcNnuNTlUssG_z.kLSnSlYyOUrttlnB aTa0Nu3HJ.w5gxDbOu_9AclkTXzlNKZcY3wV6Hrupr9bjczgemQAVv1byYen 3W9XYUpwwA7jukV_UuFNr0jechbI1jW7TPx9R3ZXx2ytrb9TPz1ZXo6f5CxR XgTMtEkSIqI8l3cJKcbMHHTucNQ8rHarNn21jq3Ruh0dVQB4d6DI5KYcEoxc ugHUaK4odLXIo9lLaG1gYQIPF5UGrPj402PVE8uHv03IO8goSQo9Ba0hTbhR FBZs3hHOOLjfHTqQ8_P9vUgDfz_3yKxt9IXpuODqVO6OZ8EOrD8_D3brYKVM mWKNE.CCyuAusr5ZkRvmd60JmJa63pvhScqziMEYXo9Dtyl81MkvUc284Tel EMfoZ7zaDy7kTUuz6f1ZC1Ps_Sx7FcotdisjfH05mgYnDVEVoCFtI4uE1Kg- - X-Yahoo-SMTP: 1E6x48qswBCS_99WpQQ3CarqUCtAng-- Received: from i72.ip (heiner_ej@84.166.252.9 with plain) by smtp211.mail.bf1.yahoo.com with SMTP; 18 Dec 2011 12:53:44 -0800 PST Message-ID: <4EEE52D1.6060802@yahoo.de> Date: Sun, 18 Dec 2011 21:53:37 +0100 From: Heiner Strauss User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:8.0) Gecko/20111111 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <2D19A95C-0DE5-4955-8A52-9D104B500339@ultra-secure.de> <4EEE46EA.1020302@infracaninophile.co.uk> In-Reply-To: <4EEE46EA.1020302@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Oracle terminate DLJ - does this have consequences for FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 21:07:06 -0000 Am 12/18/11 21:02, schrieb Matthew Seaman: > On 18/12/2011 19:13, Rainer Duffner wrote: >> seems this already happened in August. >> >> Found on slashdot now, original article here: >> >> http://robilad.livejournal.com/90792.html >> >> http://jdk-distros.java.net/ >> >> >> Does that have any consequences for diablo-jdk? >> >> Ubuntu is, as usual, going berserk and apparently considers deleting it from the installed base.... > Yeah. It means FreeBSD gets to provide the standard Java distribution > -- which is now OpenJDK -- free to use, and without itself having to > stump up thousands of dollars via the FreeBSD Foundation simply for a > place at the table. > > This is Java coming into line with the other big languages of the > Internet age (perl, python, php, etc.), casting off the restrictive > licensing it had hobbled itself with initially and so enabling itself to > succeed in a way commensurate with its technical quality[*]. > > diablo-jdk was an unfortunate necessity for a while. It no longer is, > and that's really good news. > > Cheers, > > Matthew > > [*] GPLv2 rather than a BSD-style license, but still a big step forwards. > And how do you bootstrap it ? From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 08:38:42 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F278F106566C for ; Mon, 19 Dec 2011 08:38:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 827598FC08 for ; Mon, 19 Dec 2011 08:38:41 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pBJ8cbxe073657 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 19 Dec 2011 08:38:37 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pBJ8cbxe073657 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1324283917; bh=m+scz8AreLexsvEk7IL7zR+Vqn1pfdRBb5Sd0P9y89k=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=FTVbHYgyprfEnJ8t5R+o2kS/WHQJQirPej89YSEd8z284rzuFChnuVBcqnQWq4lPI xYvSSuTaYFHMxRINwR0sETW7LlQEah2071xCUVv+8YslX2L7KfcCjukZA4Y3tBI0sM SXTLxkjitn+W1n5UeEMGO55L7U22nCaQTGv2yZ+Q= Message-ID: <4EEEF805.5090006@infracaninophile.co.uk> Date: Mon, 19 Dec 2011 08:38:29 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <2D19A95C-0DE5-4955-8A52-9D104B500339@ultra-secure.de> <4EEE46EA.1020302@infracaninophile.co.uk> <4EEE52D1.6060802@yahoo.de> In-Reply-To: <4EEE52D1.6060802@yahoo.de> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDBD63AC5F83B386B92115E29" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Oracle terminate DLJ - does this have consequences for FreeBSD X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 08:38:42 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDBD63AC5F83B386B92115E29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 18/12/2011 20:53, Heiner Strauss wrote: > And how do you bootstrap it ? Same way you bootstrap any previous version of Java on FreeBSD: you download a pre-compiled JDK and use that. Given OpenJDK is supplied under the GPL, then downloading an OpenJDK7 .pkg would be the way to go here. Of course, there's a chicken and egg problem there: someone has to compile OpenJDK7 for the first time. OK, yes, you'ld just use OpenJDK6. And in turn to compile that you would have used whatever version of Java 5.x you had available, amongst which were diablo or any of the Linux JDKs run under the Linuxulator. Probably the really hard step here would be bootstrapping Java on a completely new CPU architecture. That is something only a relatively small group of (presumably) highly expert people that would ever need to deal with. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigDBD63AC5F83B386B92115E29 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7u+AwACgkQ8Mjk52CukIyg6QCeOYu67MzZfyjWFp5vNynjJf85 13gAn1QC4yqmFJOReHEsf4qJ8d2vwHe3 =/wiC -----END PGP SIGNATURE----- --------------enigDBD63AC5F83B386B92115E29-- From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 11:07:09 2011 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A4251065670 for ; Mon, 19 Dec 2011 11:07:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6D8DD8FC0C for ; Mon, 19 Dec 2011 11:07:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJB79xn010996 for ; Mon, 19 Dec 2011 11:07:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJB78hT010994 for freebsd-java@FreeBSD.org; Mon, 19 Dec 2011 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Dec 2011 11:07:08 GMT Message-Id: <201112191107.pBJB78hT010994@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 11:07:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/162991 java java/openjdk6 fails to build o java/162522 java OpenJDK 6 is not setting close on exec o ports/161945 java java/openjdk6: install jars to generate zoneinfo files o java/160553 java Jaikoz java based audio tagger core dumps o ports/159787 java java/openjdk6 nio muti-thread bug o ports/156674 java [PATCH] java/openjdk6: make x11-fonts/dejavu a build d o ports/155967 java [bsd.java.mk] [patch] javavm wrapper insists on diablo o ports/155657 java java/openjdk6: missing symlink for include/freebsd/* o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c o ports/151923 java [patch] java/openjdk6: free and native openjdk bootstr o ports/151042 java [patch] java/openjdk6 Respect CC o java/147512 java Crash of RXTX-2.1-7 on AMD64 system o java/138729 java java/jdk16: setting 'export AWT_TOOLKIT=MToolkit' caus o java/138728 java java/jdk16: SIGSEGV in java runtime o java/128948 java java/jdk16 built from source can't bind a socket, but o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones f java/121692 java java/jdk16: Java 1.5 1.5.0.14p8 crashes in RMI TCP Con o ports/120372 java java/linux-sun-jdk16: linux-sun-jre1.6.0 plugin doesn' o java/120146 java java/jdk15: netbeans 6.0 causes java core dump on amd6 o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o java/118956 java eclipse and netbeans break on diablo-jdk15 o java/116667 java linux-sun-javac1.4 hangs on SMP o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to o java/114644 java tomcat goes out of PermSpace, jvm crashes o ports/113751 java java/linux-sun-jdk15: linux-sun-jdk-1.5.0.12,2 - java f java/112595 java Java appletviewer frequently hangs (kse_release loop) 29 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 14:57:36 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F34761065670 for ; Mon, 19 Dec 2011 14:57:36 +0000 (UTC) (envelope-from info@o-notation.org) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id 888D98FC12 for ; Mon, 19 Dec 2011 14:57:36 +0000 (UTC) Received: from kant.vitec-loesung.de (p5DC93648.dip.t-dialin.net [93.201.54.72]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0Lzna3-1Qgkc328ix-014WgT; Mon, 19 Dec 2011 15:45:00 +0100 Received: from [10.0.0.46] (sprawl.vitec-loesung.de [10.0.0.46]) by kant.vitec-loesung.de (Postfix) with ESMTP id 9176B2A23E for ; Mon, 19 Dec 2011 15:42:41 +0100 (CET) Message-ID: <4EEF4D5F.4090508@o-notation.org> Date: Mon, 19 Dec 2011 15:42:39 +0100 From: Matthias User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:rX7bbtTovixtBeUdEb+Vnr33T3mmR7JK+a7mA9mIMr0 SV257j612UNAEY7U5ysT0C3a5uXZYlj0gFe3YxDwiln+cYR4/x Ux3DpDJe150FValiTqCJKFdGJLTWRF/AvbUfx8coPnKTBkE4vE 6m31kiEHS1pQQd5wQFwlP+pbkMc6uey5ncSznclficdUBYhoxO /XGYC/fymPa3Ekl1aLSjri/xKE5RFNFD6X1v28FLQgPFue9upV sQ+MitU7SVH5A8bIHTg+kiZoJFXgQfuzSFYRLEd1hOTjjK3cIT D1qXT/dNk5V70F/2spPPl9RiY9zspyK5JZyosjTVPv40GGWY+c cTJNS+JHIf2UTXIgtM+w= Subject: openjdk and jni X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 14:57:37 -0000 Hello group, for a project i try to port the JNotify lib to FreeBSD. I use the kevents to get the file events; i put it in a jni-lib: There is add-Method to register the event with path and eventmask(blocking mode), returning the filehandle. By registering the event i add a struct to kevent.udate for additional information(fh, mask, path). A callback-method is called from jni-lib with values of the kevent.udata-struct, when a event is fired. That's the idea... The Problem: When i register different paths directly via the Java-Jni-Wrapper-Class, every event is fired and i get all the values of the callback-method. When i register the same paths via the JNotify-wrapper-class->Java-Jni-Wrapper-Class, the events are fired too, but the values of the callback-method are totally wrong(not the values of the first registered event). All parameters showing nonsens. Tests are showing, that the values of the struct returned by the kevent are already bad. Are there any limitations of openjdk and jni? Why is it running fine when using the java-jni-class and using a wrapper-class the results are nonsens? Any hints are welcome... Matthias From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 18:40:06 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDEA6106564A for ; Mon, 19 Dec 2011 18:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B36518FC08 for ; Mon, 19 Dec 2011 18:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJIe6LK029528 for ; Mon, 19 Dec 2011 18:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJIe5RF029527; Mon, 19 Dec 2011 18:40:05 GMT (envelope-from gnats) Resent-Date: Mon, 19 Dec 2011 18:40:05 GMT Resent-Message-Id: <201112191840.pBJIe5RF029527@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jason Helfman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3185F106564A; Mon, 19 Dec 2011 18:39:33 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 105728FC08; Mon, 19 Dec 2011 18:39:32 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id EBF006FED91; Mon, 19 Dec 2011 10:39:32 -0800 (PST) Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I0P2kyRBrO3c; Mon, 19 Dec 2011 10:39:32 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.120]) by mail.experts-exchange.com (Postfix) with SMTP id C4E546FED81; Mon, 19 Dec 2011 10:39:32 -0800 (PST) Received: (nullmailer pid 72550 invoked by uid 1001); Mon, 19 Dec 2011 18:39:04 -0000 Message-Id: <1324319944.277110.72549.nullmailer@experts-exchange.com> Date: Mon, 19 Dec 2011 10:39:04 -0800 From: Jason Helfman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: jilles@stack.nl, jkim@FreeBSD.org Subject: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Helfman List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 18:40:06 -0000 >Number: 163456 >Category: java >Synopsis: [patch] java/openjdk6: build and distribute open timezone data (tzdata) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 19 18:40:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jason Helfman >Release: FreeBSD 8.2-RELEASE amd64 >Organization: Experts Exchange, LLC. >Environment: System: FreeBSD dormouse.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Timezone data hasn't been updated since 2010 in OpenJDK. This patch downloads open timezone data, uses the built java tool javazic.jar to translate files so java may use them, and distributes into the correct location. Builds cleanly in Tinderbox => http://jgh.devio.us/files/logs/openjdk6-b24_1.log.gz This patch encapsulates the spirit of ports/161945, and potentially could be seen as a duplicate if compilefontconfig.jar were copied into ${PREFIX}/openjdk6/jre/lib/ >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/Makefile,v retrieving revision 1.53 diff -u -r1.53 Makefile --- Makefile 30 Nov 2011 21:18:29 -0000 1.53 +++ Makefile 19 Dec 2011 17:21:17 -0000 @@ -7,6 +7,7 @@ PORTNAME= openjdk6 PORTVERSION= b24 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \ http://download.java.net/jaxp/openjdk/jdk6/:jaxp \ @@ -17,13 +18,16 @@ http://icedtea.classpath.org/download/drops/:jaxws \ http://icedtea.classpath.org/download/drops/:jaf \ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,} \ - http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg + http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg \ + ftp://ftp.iana.org/tz/releases/:tzdata \ + http://www.iana.org/time-zones/repository/releases/:tzdata DISTNAME= openjdk-6-src-${PORTVERSION}-${OPENJDK_BUILDDATE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${JAXPFILE}:jaxp \ ${JAXWSFILE}:jaxws \ ${JAFFILE}:jaf \ - ${ANTFILE}:ant + ${ANTFILE}:ant \ + ${TZDATAFILE}:tzdata EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${ANTFILE} MAINTAINER= java@FreeBSD.org @@ -64,6 +68,8 @@ JAFFILE= jdk6-jaf-${JAF_BUILD}.zip JTREGVERSION= b03 JTREGFILE= jtreg-4.1-bin-${JTREGVERSION}_11_jul_2011.zip +TZDATA_BUILD= 2011n +TZDATAFILE= tzdata${TZDATA_BUILD}${EXTRACT_SUFX} # do not depend on devel/apache-ant to avoid circular dependency, but # use .tar.bz2 distfile to avoid duplicated downloads @@ -258,6 +264,24 @@ @${ECHO_MSG} "" .endif +post-build-script: + @${ECHO_MSG} "Building new timezone data..." + @${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/lib/zi/* + @${MKDIR} ${WRKSRC}/${TZDATA_BUILD} && ${TAR} xf ${DISTDIR}/${TZDATAFILE} -C ${WRKSRC}/${TZDATA_BUILD} + cd ${WRKSRC}/${TZDATA_BUILD} && ${WRKSRC}/build/${OPENJDK_OSARCH}/bin/java -jar \ + ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/javazic.jar -V ${TZDATA_BUILD} \ + -d ${WRKSRC}/build/${OPENJDK_OSARCH}/lib/zi/ \ + africa \ + antarctica \ + asia \ + australasia \ + etcetera \ + europe \ + factory \ + northamerica \ + southamerica \ + systemv 2>/dev/null + do-install: @${MKDIR} ${PREFIX}/openjdk6/ @${CP} -Rp ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/ ${PREFIX}/openjdk6/ Index: distinfo =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/distinfo,v retrieving revision 1.25 diff -u -r1.25 distinfo --- distinfo 30 Nov 2011 21:18:29 -0000 1.25 +++ distinfo 19 Dec 2011 06:43:20 -0000 @@ -8,5 +8,5 @@ SIZE (jdk6-jaf-b20.zip) = 71243 SHA256 (apache-ant-1.8.2-bin.tar.bz2) = ecb49f5017807c9320bf19702149328cf4779a01bddca2b6c47e3ebb0e39c9c7 SIZE (apache-ant-1.8.2-bin.tar.bz2) = 6740047 -SHA256 (jtreg-4.1-bin-b03_11_jul_2011.zip) = 7ae38e80d3342670cc9142eee423d0a755bf005e4d83b40c5681f0f7d95f1cce -SIZE (jtreg-4.1-bin-b03_11_jul_2011.zip) = 4901245 +SHA256 (tzdata2011n.tar.gz) = a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd +SIZE (tzdata2011n.tar.gz) = 204684 >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 18:44:51 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C895D1065677; Mon, 19 Dec 2011 18:44:51 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 86E218FC17; Mon, 19 Dec 2011 18:44:51 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 5E9536FEDA0; Mon, 19 Dec 2011 10:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:organization:in-reply-to:content-disposition :content-type:content-type:mime-version:references:message-id :subject:subject:from:from:date:date:received:received:received; s=ee; t=1324320291; x=1326134691; bh=xw3PxWiLRlbm8+VPUZetbREV01 DrXDMGraG8b7XoANo=; b=g4ktmK6Nr0x87jT8lam3aHM1gLuIrqfbKLNgEVp3XK SODhInMnCUL5hWRMTf2dbGZo6gYTCdybRtkTdiDTVj77dDUpyc/xenAemTqCtJ7p GvpIZfkD7kEHNiJluhSbEUdD9v0wCB4FR0UvX+jqMcfrfAm8FDDj+rwSxU7R+LqK g= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AfVmbna2bYV6; Mon, 19 Dec 2011 10:44:51 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.120]) by mail.experts-exchange.com (Postfix) with SMTP id 37BE66FED8A; Mon, 19 Dec 2011 10:44:51 -0800 (PST) Received: (nullmailer pid 72829 invoked by uid 1001); Mon, 19 Dec 2011 18:44:22 -0000 Date: Mon, 19 Dec 2011 10:44:22 -0800 From: Jason Helfman To: bug-followup@freebsd.org Message-ID: <20111219184422.GD53882@dormouse.experts-exchange.com> References: <1324319944.277110.72549.nullmailer@experts-exchange.com> <201112191840.pBJIe5HB029523@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <201112191840.pBJIe5HB029523@freefall.freebsd.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: Experts-Exchange, LLC. http://www.experts-exchange.com X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@freebsd.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 18:44:51 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Updated patch. jtreg was removed from distinfo -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="openjdk6-tzdata.patch.txt" Index: Makefile =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/Makefile,v retrieving revision 1.53 diff -u -r1.53 Makefile --- Makefile 30 Nov 2011 21:18:29 -0000 1.53 +++ Makefile 19 Dec 2011 17:21:17 -0000 @@ -7,6 +7,7 @@ PORTNAME= openjdk6 PORTVERSION= b24 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \ http://download.java.net/jaxp/openjdk/jdk6/:jaxp \ @@ -17,13 +18,16 @@ http://icedtea.classpath.org/download/drops/:jaxws \ http://icedtea.classpath.org/download/drops/:jaf \ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,} \ - http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg + http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg \ + ftp://ftp.iana.org/tz/releases/:tzdata \ + http://www.iana.org/time-zones/repository/releases/:tzdata DISTNAME= openjdk-6-src-${PORTVERSION}-${OPENJDK_BUILDDATE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${JAXPFILE}:jaxp \ ${JAXWSFILE}:jaxws \ ${JAFFILE}:jaf \ - ${ANTFILE}:ant + ${ANTFILE}:ant \ + ${TZDATAFILE}:tzdata EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${ANTFILE} MAINTAINER= java@FreeBSD.org @@ -64,6 +68,8 @@ JAFFILE= jdk6-jaf-${JAF_BUILD}.zip JTREGVERSION= b03 JTREGFILE= jtreg-4.1-bin-${JTREGVERSION}_11_jul_2011.zip +TZDATA_BUILD= 2011n +TZDATAFILE= tzdata${TZDATA_BUILD}${EXTRACT_SUFX} # do not depend on devel/apache-ant to avoid circular dependency, but # use .tar.bz2 distfile to avoid duplicated downloads @@ -258,6 +264,24 @@ @${ECHO_MSG} "" .endif +post-build-script: + @${ECHO_MSG} "Building new timezone data..." + @${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/lib/zi/* + @${MKDIR} ${WRKSRC}/${TZDATA_BUILD} && ${TAR} xf ${DISTDIR}/${TZDATAFILE} -C ${WRKSRC}/${TZDATA_BUILD} + cd ${WRKSRC}/${TZDATA_BUILD} && ${WRKSRC}/build/${OPENJDK_OSARCH}/bin/java -jar \ + ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/javazic.jar -V ${TZDATA_BUILD} \ + -d ${WRKSRC}/build/${OPENJDK_OSARCH}/lib/zi/ \ + africa \ + antarctica \ + asia \ + australasia \ + etcetera \ + europe \ + factory \ + northamerica \ + southamerica \ + systemv 2>/dev/null + do-install: @${MKDIR} ${PREFIX}/openjdk6/ @${CP} -Rp ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/ ${PREFIX}/openjdk6/ Index: distinfo =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/distinfo,v retrieving revision 1.25 diff -u -r1.25 distinfo --- distinfo 30 Nov 2011 21:18:29 -0000 1.25 +++ distinfo 19 Dec 2011 18:42:09 -0000 @@ -8,5 +8,7 @@ SIZE (jdk6-jaf-b20.zip) = 71243 SHA256 (apache-ant-1.8.2-bin.tar.bz2) = ecb49f5017807c9320bf19702149328cf4779a01bddca2b6c47e3ebb0e39c9c7 SIZE (apache-ant-1.8.2-bin.tar.bz2) = 6740047 +SHA256 (tzdata2011n.tar.gz) = a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd +SIZE (tzdata2011n.tar.gz) = 204684 SHA256 (jtreg-4.1-bin-b03_11_jul_2011.zip) = 7ae38e80d3342670cc9142eee423d0a755bf005e4d83b40c5681f0f7d95f1cce SIZE (jtreg-4.1-bin-b03_11_jul_2011.zip) = 4901245 --i0/AhcQY5QxfSsSZ-- From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 18:50:10 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2104106566B for ; Mon, 19 Dec 2011 18:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CFFCC8FC19 for ; Mon, 19 Dec 2011 18:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJIo8uJ038347 for ; Mon, 19 Dec 2011 18:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJIo8u0038346; Mon, 19 Dec 2011 18:50:08 GMT (envelope-from gnats) Date: Mon, 19 Dec 2011 18:50:08 GMT Message-Id: <201112191850.pBJIo8u0038346@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Jason Helfman Cc: Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Helfman List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 18:50:10 -0000 The following reply was made to PR java/163456; it has been noted by GNATS. From: Jason Helfman To: bug-followup@freebsd.org Cc: freebsd-java@freebsd.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) Date: Mon, 19 Dec 2011 10:44:22 -0800 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Updated patch. jtreg was removed from distinfo -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="openjdk6-tzdata.patch.txt" Index: Makefile =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/Makefile,v retrieving revision 1.53 diff -u -r1.53 Makefile --- Makefile 30 Nov 2011 21:18:29 -0000 1.53 +++ Makefile 19 Dec 2011 17:21:17 -0000 @@ -7,6 +7,7 @@ PORTNAME= openjdk6 PORTVERSION= b24 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \ http://download.java.net/jaxp/openjdk/jdk6/:jaxp \ @@ -17,13 +18,16 @@ http://icedtea.classpath.org/download/drops/:jaxws \ http://icedtea.classpath.org/download/drops/:jaf \ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,} \ - http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg + http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg \ + ftp://ftp.iana.org/tz/releases/:tzdata \ + http://www.iana.org/time-zones/repository/releases/:tzdata DISTNAME= openjdk-6-src-${PORTVERSION}-${OPENJDK_BUILDDATE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${JAXPFILE}:jaxp \ ${JAXWSFILE}:jaxws \ ${JAFFILE}:jaf \ - ${ANTFILE}:ant + ${ANTFILE}:ant \ + ${TZDATAFILE}:tzdata EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${ANTFILE} MAINTAINER= java@FreeBSD.org @@ -64,6 +68,8 @@ JAFFILE= jdk6-jaf-${JAF_BUILD}.zip JTREGVERSION= b03 JTREGFILE= jtreg-4.1-bin-${JTREGVERSION}_11_jul_2011.zip +TZDATA_BUILD= 2011n +TZDATAFILE= tzdata${TZDATA_BUILD}${EXTRACT_SUFX} # do not depend on devel/apache-ant to avoid circular dependency, but # use .tar.bz2 distfile to avoid duplicated downloads @@ -258,6 +264,24 @@ @${ECHO_MSG} "" .endif +post-build-script: + @${ECHO_MSG} "Building new timezone data..." + @${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/lib/zi/* + @${MKDIR} ${WRKSRC}/${TZDATA_BUILD} && ${TAR} xf ${DISTDIR}/${TZDATAFILE} -C ${WRKSRC}/${TZDATA_BUILD} + cd ${WRKSRC}/${TZDATA_BUILD} && ${WRKSRC}/build/${OPENJDK_OSARCH}/bin/java -jar \ + ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/javazic.jar -V ${TZDATA_BUILD} \ + -d ${WRKSRC}/build/${OPENJDK_OSARCH}/lib/zi/ \ + africa \ + antarctica \ + asia \ + australasia \ + etcetera \ + europe \ + factory \ + northamerica \ + southamerica \ + systemv 2>/dev/null + do-install: @${MKDIR} ${PREFIX}/openjdk6/ @${CP} -Rp ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/ ${PREFIX}/openjdk6/ Index: distinfo =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/distinfo,v retrieving revision 1.25 diff -u -r1.25 distinfo --- distinfo 30 Nov 2011 21:18:29 -0000 1.25 +++ distinfo 19 Dec 2011 18:42:09 -0000 @@ -8,5 +8,7 @@ SIZE (jdk6-jaf-b20.zip) = 71243 SHA256 (apache-ant-1.8.2-bin.tar.bz2) = ecb49f5017807c9320bf19702149328cf4779a01bddca2b6c47e3ebb0e39c9c7 SIZE (apache-ant-1.8.2-bin.tar.bz2) = 6740047 +SHA256 (tzdata2011n.tar.gz) = a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd +SIZE (tzdata2011n.tar.gz) = 204684 SHA256 (jtreg-4.1-bin-b03_11_jul_2011.zip) = 7ae38e80d3342670cc9142eee423d0a755bf005e4d83b40c5681f0f7d95f1cce SIZE (jtreg-4.1-bin-b03_11_jul_2011.zip) = 4901245 --i0/AhcQY5QxfSsSZ-- From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 19:40:10 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81270106566B for ; Mon, 19 Dec 2011 19:40:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 55C0D8FC08 for ; Mon, 19 Dec 2011 19:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJJeAQA084256 for ; Mon, 19 Dec 2011 19:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJJeAeg084255; Mon, 19 Dec 2011 19:40:10 GMT (envelope-from gnats) Date: Mon, 19 Dec 2011 19:40:10 GMT Message-Id: <201112191940.pBJJeAeg084255@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 19:40:10 -0000 The following reply was made to PR java/163456; it has been noted by GNATS. From: Andriy Gapon To: Jason Helfman Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) Date: Mon, 19 Dec 2011 21:34:55 +0200 on 19/12/2011 20:44 Jason Helfman said the following: > Updated patch. jtreg was removed from distinfo Jason, I wonder if it would make sense to add a dependency on misc/zoneinfo and use data from there instead of separately downloading and using it. -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 19:54:41 2011 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFDAC1065673 for ; Mon, 19 Dec 2011 19:54:41 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 2A66C8FC13 for ; Mon, 19 Dec 2011 19:54:40 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA12587; Mon, 19 Dec 2011 21:34:56 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RcizA-000GH8-BF; Mon, 19 Dec 2011 21:34:56 +0200 Message-ID: <4EEF91DF.9090701@FreeBSD.org> Date: Mon, 19 Dec 2011 21:34:55 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111206 Thunderbird/8.0 MIME-Version: 1.0 To: Jason Helfman References: <1324319944.277110.72549.nullmailer@experts-exchange.com> <201112191840.pBJIe5HB029523@freefall.freebsd.org> <20111219184422.GD53882@dormouse.experts-exchange.com> In-Reply-To: <20111219184422.GD53882@dormouse.experts-exchange.com> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 19:54:42 -0000 on 19/12/2011 20:44 Jason Helfman said the following: > Updated patch. jtreg was removed from distinfo Jason, I wonder if it would make sense to add a dependency on misc/zoneinfo and use data from there instead of separately downloading and using it. -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 21:55:40 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23E21106564A; Mon, 19 Dec 2011 21:55:40 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id AA1058FC0C; Mon, 19 Dec 2011 21:55:39 +0000 (UTC) Received: by ggnp1 with SMTP id p1so6390006ggn.13 for ; Mon, 19 Dec 2011 13:55:38 -0800 (PST) Received: by 10.50.183.233 with SMTP id ep9mr29039175igc.67.1324330113644; Mon, 19 Dec 2011 13:28:33 -0800 (PST) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id x18sm71186862ibi.2.2011.12.19.13.28.32 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Dec 2011 13:28:33 -0800 (PST) Sender: Jason Helfman Date: Mon, 19 Dec 2011 13:28:01 -0800 From: jgh@FreeBSD.org To: Andriy Gapon Message-ID: <20111219212801.GB24344@dormouse.experts-exchange.com> References: <1324319944.277110.72549.nullmailer@experts-exchange.com> <201112191840.pBJIe5HB029523@freefall.freebsd.org> <20111219184422.GD53882@dormouse.experts-exchange.com> <4EEF91DF.9090701@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <4EEF91DF.9090701@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPring: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC User-Agent: Mutt/1.5.21 (2010-09-15) Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 21:55:40 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Mon, Dec 19, 2011 at 09:34:55PM +0200, Andriy Gapon thus spake: >on 19/12/2011 20:44 Jason Helfman said the following: >> Updated patch. jtreg was removed from distinfo > >Jason, > >I wonder if it would make sense to add a dependency on misc/zoneinfo and use >data from there instead of separately downloading and using it. > >-- >Andriy Gapon This wouldn't work, as java needs to prepare the files and distribute them. I have updated the patch, and it works now. The updated zonefiles were being clobbered. Had to move build location. Updated patch is attached. -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="openjdk.txt" Index: Makefile =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/Makefile,v retrieving revision 1.53 diff -u -r1.53 Makefile --- Makefile 30 Nov 2011 21:18:29 -0000 1.53 +++ Makefile 19 Dec 2011 21:24:11 -0000 @@ -7,6 +7,7 @@ PORTNAME= openjdk6 PORTVERSION= b24 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \ http://download.java.net/jaxp/openjdk/jdk6/:jaxp \ @@ -17,13 +18,16 @@ http://icedtea.classpath.org/download/drops/:jaxws \ http://icedtea.classpath.org/download/drops/:jaf \ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,} \ - http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg + http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg \ + ftp://ftp.iana.org/tz/releases/:tzdata \ + http://www.iana.org/time-zones/repository/releases/:tzdata DISTNAME= openjdk-6-src-${PORTVERSION}-${OPENJDK_BUILDDATE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${JAXPFILE}:jaxp \ ${JAXWSFILE}:jaxws \ ${JAFFILE}:jaf \ - ${ANTFILE}:ant + ${ANTFILE}:ant \ + ${TZDATAFILE}:tzdata EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${ANTFILE} MAINTAINER= java@FreeBSD.org @@ -64,6 +68,8 @@ JAFFILE= jdk6-jaf-${JAF_BUILD}.zip JTREGVERSION= b03 JTREGFILE= jtreg-4.1-bin-${JTREGVERSION}_11_jul_2011.zip +TZDATA_BUILD= 2011n +TZDATAFILE= tzdata${TZDATA_BUILD}${EXTRACT_SUFX} # do not depend on devel/apache-ant to avoid circular dependency, but # use .tar.bz2 distfile to avoid duplicated downloads @@ -258,6 +264,24 @@ @${ECHO_MSG} "" .endif +post-build-script: + @${ECHO_MSG} "Building new timezone data..." + @${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi/* + @${MKDIR} ${WRKSRC}/${TZDATA_BUILD} && ${TAR} xf ${DISTDIR}/${TZDATAFILE} -C ${WRKSRC}/${TZDATA_BUILD} + cd ${WRKSRC}/${TZDATA_BUILD} && ${WRKSRC}/build/${OPENJDK_OSARCH}/bin/java -jar \ + ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/javazic.jar -V ${TZDATA_BUILD} \ + -d ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi/ \ + africa \ + antarctica \ + asia \ + australasia \ + etcetera \ + europe \ + factory \ + northamerica \ + southamerica \ + systemv 2>/dev/null + do-install: @${MKDIR} ${PREFIX}/openjdk6/ @${CP} -Rp ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/ ${PREFIX}/openjdk6/ Index: distinfo =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/distinfo,v retrieving revision 1.25 diff -u -r1.25 distinfo --- distinfo 30 Nov 2011 21:18:29 -0000 1.25 +++ distinfo 19 Dec 2011 18:42:09 -0000 @@ -8,5 +8,7 @@ SIZE (jdk6-jaf-b20.zip) = 71243 SHA256 (apache-ant-1.8.2-bin.tar.bz2) = ecb49f5017807c9320bf19702149328cf4779a01bddca2b6c47e3ebb0e39c9c7 SIZE (apache-ant-1.8.2-bin.tar.bz2) = 6740047 +SHA256 (tzdata2011n.tar.gz) = a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd +SIZE (tzdata2011n.tar.gz) = 204684 SHA256 (jtreg-4.1-bin-b03_11_jul_2011.zip) = 7ae38e80d3342670cc9142eee423d0a755bf005e4d83b40c5681f0f7d95f1cce SIZE (jtreg-4.1-bin-b03_11_jul_2011.zip) = 4901245 --h31gzZEtNLTqOjlF-- From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 22:00:30 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A70AE106568D for ; Mon, 19 Dec 2011 22:00:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 511178FC13 for ; Mon, 19 Dec 2011 22:00:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJM0KxF012050 for ; Mon, 19 Dec 2011 22:00:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJM0KGQ012049; Mon, 19 Dec 2011 22:00:20 GMT (envelope-from gnats) Date: Mon, 19 Dec 2011 22:00:20 GMT Message-Id: <201112192200.pBJM0KGQ012049@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: jgh@FreeBSD.org Cc: Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jgh@FreeBSD.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 22:00:30 -0000 The following reply was made to PR java/163456; it has been noted by GNATS. From: jgh@FreeBSD.org To: Andriy Gapon Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) Date: Mon, 19 Dec 2011 13:28:01 -0800 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Mon, Dec 19, 2011 at 09:34:55PM +0200, Andriy Gapon thus spake: >on 19/12/2011 20:44 Jason Helfman said the following: >> Updated patch. jtreg was removed from distinfo > >Jason, > >I wonder if it would make sense to add a dependency on misc/zoneinfo and use >data from there instead of separately downloading and using it. > >-- >Andriy Gapon This wouldn't work, as java needs to prepare the files and distribute them. I have updated the patch, and it works now. The updated zonefiles were being clobbered. Had to move build location. Updated patch is attached. -jgh -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="openjdk.txt" Index: Makefile =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/Makefile,v retrieving revision 1.53 diff -u -r1.53 Makefile --- Makefile 30 Nov 2011 21:18:29 -0000 1.53 +++ Makefile 19 Dec 2011 21:24:11 -0000 @@ -7,6 +7,7 @@ PORTNAME= openjdk6 PORTVERSION= b24 +PORTREVISION= 1 CATEGORIES= java devel MASTER_SITES= http://download.java.net/openjdk/jdk6/promoted/${PORTVERSION}/ \ http://download.java.net/jaxp/openjdk/jdk6/:jaxp \ @@ -17,13 +18,16 @@ http://icedtea.classpath.org/download/drops/:jaxws \ http://icedtea.classpath.org/download/drops/:jaf \ ${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:ant,} \ - http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg + http://download.java.net/openjdk/jtreg/promoted/4.1/${JTREGVERSION}/:jtreg \ + ftp://ftp.iana.org/tz/releases/:tzdata \ + http://www.iana.org/time-zones/repository/releases/:tzdata DISTNAME= openjdk-6-src-${PORTVERSION}-${OPENJDK_BUILDDATE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${JAXPFILE}:jaxp \ ${JAXWSFILE}:jaxws \ ${JAFFILE}:jaf \ - ${ANTFILE}:ant + ${ANTFILE}:ant \ + ${TZDATAFILE}:tzdata EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${ANTFILE} MAINTAINER= java@FreeBSD.org @@ -64,6 +68,8 @@ JAFFILE= jdk6-jaf-${JAF_BUILD}.zip JTREGVERSION= b03 JTREGFILE= jtreg-4.1-bin-${JTREGVERSION}_11_jul_2011.zip +TZDATA_BUILD= 2011n +TZDATAFILE= tzdata${TZDATA_BUILD}${EXTRACT_SUFX} # do not depend on devel/apache-ant to avoid circular dependency, but # use .tar.bz2 distfile to avoid duplicated downloads @@ -258,6 +264,24 @@ @${ECHO_MSG} "" .endif +post-build-script: + @${ECHO_MSG} "Building new timezone data..." + @${RM} -rf ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi/* + @${MKDIR} ${WRKSRC}/${TZDATA_BUILD} && ${TAR} xf ${DISTDIR}/${TZDATAFILE} -C ${WRKSRC}/${TZDATA_BUILD} + cd ${WRKSRC}/${TZDATA_BUILD} && ${WRKSRC}/build/${OPENJDK_OSARCH}/bin/java -jar \ + ${WRKSRC}/build/${OPENJDK_OSARCH}/btjars/javazic.jar -V ${TZDATA_BUILD} \ + -d ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/jre/lib/zi/ \ + africa \ + antarctica \ + asia \ + australasia \ + etcetera \ + europe \ + factory \ + northamerica \ + southamerica \ + systemv 2>/dev/null + do-install: @${MKDIR} ${PREFIX}/openjdk6/ @${CP} -Rp ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/ ${PREFIX}/openjdk6/ Index: distinfo =================================================================== RCS file: /home/jhelfman/ncvs/ports/java/openjdk6/distinfo,v retrieving revision 1.25 diff -u -r1.25 distinfo --- distinfo 30 Nov 2011 21:18:29 -0000 1.25 +++ distinfo 19 Dec 2011 18:42:09 -0000 @@ -8,5 +8,7 @@ SIZE (jdk6-jaf-b20.zip) = 71243 SHA256 (apache-ant-1.8.2-bin.tar.bz2) = ecb49f5017807c9320bf19702149328cf4779a01bddca2b6c47e3ebb0e39c9c7 SIZE (apache-ant-1.8.2-bin.tar.bz2) = 6740047 +SHA256 (tzdata2011n.tar.gz) = a343e542486b2b8ebdeca474eed79f1c04f69420ca943c2b9bdea1d2385e38cd +SIZE (tzdata2011n.tar.gz) = 204684 SHA256 (jtreg-4.1-bin-b03_11_jul_2011.zip) = 7ae38e80d3342670cc9142eee423d0a755bf005e4d83b40c5681f0f7d95f1cce SIZE (jtreg-4.1-bin-b03_11_jul_2011.zip) = 4901245 --h31gzZEtNLTqOjlF-- From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 22:09:02 2011 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 731A11065675; Mon, 19 Dec 2011 22:09:02 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 559268FC1A; Mon, 19 Dec 2011 22:09:01 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id AAA14386; Tue, 20 Dec 2011 00:09:00 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RclOF-000GN5-O9; Tue, 20 Dec 2011 00:08:59 +0200 Message-ID: <4EEFB5FB.6000903@FreeBSD.org> Date: Tue, 20 Dec 2011 00:08:59 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111206 Thunderbird/8.0 MIME-Version: 1.0 To: jgh@FreeBSD.org References: <1324319944.277110.72549.nullmailer@experts-exchange.com> <201112191840.pBJIe5HB029523@freefall.freebsd.org> <20111219184422.GD53882@dormouse.experts-exchange.com> <4EEF91DF.9090701@FreeBSD.org> <20111219212801.GB24344@dormouse.experts-exchange.com> In-Reply-To: <20111219212801.GB24344@dormouse.experts-exchange.com> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 22:09:02 -0000 on 19/12/2011 23:28 jgh@FreeBSD.org said the following: > On Mon, Dec 19, 2011 at 09:34:55PM +0200, Andriy Gapon thus spake: >> on 19/12/2011 20:44 Jason Helfman said the following: >>> Updated patch. jtreg was removed from distinfo >> >> Jason, >> >> I wonder if it would make sense to add a dependency on misc/zoneinfo and use >> data from there instead of separately downloading and using it. > > This wouldn't work, as java needs to prepare the files and distribute them. > I have updated the patch, and it works now. The updated zonefiles were being > clobbered. Had to move build location. Updated patch is attached. Oh, I didn't mean to use the files as is. My suggestion was to create Java tz files from the already installed zoneinfo files. So that e.g. Java software and other software have the same idea of the timezones. -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Mon Dec 19 22:10:14 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFD991065670 for ; Mon, 19 Dec 2011 22:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9B87F8FC14 for ; Mon, 19 Dec 2011 22:10:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBJMAEqI021128 for ; Mon, 19 Dec 2011 22:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBJMAEnu021127; Mon, 19 Dec 2011 22:10:14 GMT (envelope-from gnats) Date: Mon, 19 Dec 2011 22:10:14 GMT Message-Id: <201112192210.pBJMAEnu021127@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Andriy Gapon Cc: Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andriy Gapon List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 22:10:14 -0000 The following reply was made to PR java/163456; it has been noted by GNATS. From: Andriy Gapon To: jgh@FreeBSD.org Cc: bug-followup@FreeBSD.org, freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) Date: Tue, 20 Dec 2011 00:08:59 +0200 on 19/12/2011 23:28 jgh@FreeBSD.org said the following: > On Mon, Dec 19, 2011 at 09:34:55PM +0200, Andriy Gapon thus spake: >> on 19/12/2011 20:44 Jason Helfman said the following: >>> Updated patch. jtreg was removed from distinfo >> >> Jason, >> >> I wonder if it would make sense to add a dependency on misc/zoneinfo and use >> data from there instead of separately downloading and using it. > > This wouldn't work, as java needs to prepare the files and distribute them. > I have updated the patch, and it works now. The updated zonefiles were being > clobbered. Had to move build location. Updated patch is attached. Oh, I didn't mean to use the files as is. My suggestion was to create Java tz files from the already installed zoneinfo files. So that e.g. Java software and other software have the same idea of the timezones. -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 03:53:33 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF5C0106564A; Tue, 20 Dec 2011 03:53:33 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2B48FC0C; Tue, 20 Dec 2011 03:53:33 +0000 (UTC) Received: by iadj38 with SMTP id j38so8193726iad.13 for ; Mon, 19 Dec 2011 19:53:33 -0800 (PST) Received: by 10.50.171.5 with SMTP id aq5mr564318igc.76.1324353212812; Mon, 19 Dec 2011 19:53:32 -0800 (PST) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id mb4sm514094igc.1.2011.12.19.19.53.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Dec 2011 19:53:32 -0800 (PST) Sender: Jason Helfman Date: Mon, 19 Dec 2011 19:53:00 -0800 From: Jason Helfman To: Andriy Gapon Message-ID: <20111220035300.GA27625@dormouse.experts-exchange.com> References: <201112192210.pBJMAEnu021127@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed In-Reply-To: <201112192210.pBJMAEnu021127@freefall.freebsd.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 03:53:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Dec 19, 2011 at 10:10:14PM +0000, Andriy Gapon thus spake: > Oh, I didn't mean to use the files as is. My suggestion was to create Java tz > files from the already installed zoneinfo files. So that e.g. Java software and > other software have the same idea of the timezones. > > -- > Andriy Gapon In doing some research, and testing, regarding this idea, I don't believe this suggestion is the best route to go. 1) You can't build the java files based on installed zonefiles. 2) You can't guarantee that the extracted files are going to be the latest timezone data, and haven't been extrated before at a different release level. 3) No port, at the moment, depends on misc/zonedata. In my humble opinion, it is best to handle this inside this port given the nature of the beast that OpenJDK is, and minimize introductions of potential variables. - -jgh - -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJO8AacAAoJECBZmmNBUNPcfHwH/jE/JQgmXnY72KiS8XCA5MJz TzDuRw+If8rBQp4sxuCPsiYr8esxugVvWvxps3WVH8GmBioaZecxFidDqcNkcBaA 4jmFIzduSXJj64kImfJOfwWNDaqmV3M0Vq3xnePdRHf1yRcIbl0jXzZex5p0IP54 l5bZU0T+A71R10WyybqxZRhONh+oCT8Nnd+Kd++CvNLg1TabCU7kgMJ32Kh+eaBk aO9aR7o9kiKeEHBai38zghfF1Tv3SytngS6FycD09fb0abwCtQZZ6rMurvCgoJ8C ACNrAWa0UV36SrImULIzCNsdJ05wS1tYBRJaOeFuQ3nleOdgdBOjkqc3kYUJBiI= =7oMe -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 07:53:53 2011 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E63E41065678; Tue, 20 Dec 2011 07:53:53 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 07E8E8FC0A; Tue, 20 Dec 2011 07:53:52 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id JAA22045; Tue, 20 Dec 2011 09:53:51 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RcuWE-000J6k-S0; Tue, 20 Dec 2011 09:53:50 +0200 Message-ID: <4EF03F0D.1050809@FreeBSD.org> Date: Tue, 20 Dec 2011 09:53:49 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111206 Thunderbird/8.0 MIME-Version: 1.0 To: Jason Helfman References: <201112192210.pBJMAEnu021127@freefall.freebsd.org> <20111220035300.GA27625@dormouse.experts-exchange.com> In-Reply-To: <20111220035300.GA27625@dormouse.experts-exchange.com> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 07:53:54 -0000 on 20/12/2011 05:53 Jason Helfman said the following: > On Mon, Dec 19, 2011 at 10:10:14PM +0000, Andriy Gapon thus spake: >> Oh, I didn't mean to use the files as is. My suggestion was to create >> Java tz files from the already installed zoneinfo files. So that e.g. >> Java software and other software have the same idea of the timezones. > > > In doing some research, and testing, regarding this idea, I don't believe > this suggestion is the best route to go. > > 1) You can't build the java files based on installed zonefiles. 2) You > can't guarantee that the extracted files are going to be the latest > timezone data, and haven't been extrated before at a different release > level. 3) No port, at the moment, depends on misc/zonedata. > > In my humble opinion, it is best to handle this inside this port given the > nature of the beast that OpenJDK is, and minimize introductions of > potential variables. OK. Thank you for investigating this. And for the patch, of course. -- Andriy Gapon From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 17:50:13 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BE6B1065672 for ; Tue, 20 Dec 2011 17:50:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 62F118FC1B for ; Tue, 20 Dec 2011 17:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBKHoDn1060917 for ; Tue, 20 Dec 2011 17:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBKHoD7P060916; Tue, 20 Dec 2011 17:50:13 GMT (envelope-from gnats) Date: Tue, 20 Dec 2011 17:50:13 GMT Message-Id: <201112201750.pBKHoD7P060916@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Greg Lewis Cc: Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Greg Lewis List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 17:50:13 -0000 The following reply was made to PR java/163456; it has been noted by GNATS. From: Greg Lewis To: Jason Helfman Cc: FreeBSD-gnats-submit@freebsd.org, jilles@stack.nl, jkim@freebsd.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) Date: Tue, 20 Dec 2011 09:47:57 -0800 G'day Jason, On Mon, Dec 19, 2011 at 10:39:04AM -0800, Jason Helfman wrote: > Timezone data hasn't been updated since 2010 in OpenJDK. This patch downloads open timezone data, uses the built java tool > javazic.jar to translate files so java may use them, and distributes into the correct location. > > Builds cleanly in Tinderbox => http://jgh.devio.us/files/logs/openjdk6-b24_1.log.gz > > This patch encapsulates the spirit of ports/161945, and potentially could be seen as a duplicate if compilefontconfig.jar > were copied into ${PREFIX}/openjdk6/jre/lib/ Thanks for doing this! I wonder if with a little more work we couldn't make this work for all of the JDK ports instead of having to reimplement it for openjdk7, jdk16, jdk15, diablo, etc. I.e., can we pull this out into a separate port that installs the appropriate zoneinfo files into somewhere like ${LOCALBASE}/share/java/zoneinfo and then symlink the zi directory in all of the jdk and jre ports to that directory. I haven't looked deeply into your change but I assume the biggest problem with this is that you need a JDK with javazic.jar already installed before you can process the raw zoneinfo files so we'd be creating a circular dependency. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 18:40:30 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 715B7106566B; Tue, 20 Dec 2011 18:40:30 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 43F148FC0C; Tue, 20 Dec 2011 18:40:30 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBKIeU8l011835; Tue, 20 Dec 2011 18:40:30 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBKIeUM0011823; Tue, 20 Dec 2011 18:40:30 GMT (envelope-from edwin) Date: Tue, 20 Dec 2011 18:40:30 GMT Message-Id: <201112201840.pBKIeUM0011823@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-java@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/163486: [UPDATE] java/linux-sun-jdk16 to 6u30 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 18:40:30 -0000 Synopsis: [UPDATE] java/linux-sun-jdk16 to 6u30 Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-java Responsible-Changed-By: edwin Responsible-Changed-When: Tue Dec 20 18:40:29 UTC 2011 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=163486 From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 18:57:37 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C7DA1065676 for ; Tue, 20 Dec 2011 18:57:37 +0000 (UTC) (envelope-from mike.jakubik@intertainservices.com) Received: from mail.intertainservices.com (mail.intertainservices.com [69.77.177.114]) by mx1.freebsd.org (Postfix) with ESMTP id 690C68FC0A for ; Tue, 20 Dec 2011 18:57:37 +0000 (UTC) Received: from [172.16.10.157] (unknown [172.16.10.157]) by mail.intertainservices.com (Postfix) with ESMTPSA id 4AC8156638 for ; Tue, 20 Dec 2011 13:40:04 -0500 (EST) Message-ID: <1324406404.1967.2.camel@localhost> From: Mike Jakubik To: freebsd-java@freebsd.org Date: Tue, 20 Dec 2011 13:40:04 -0500 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-intertainservices-MailScanner-Information: Please contact the ISP for more information X-intertainservices-MailScanner-ID: 4AC8156638.AA6ED X-intertainservices-MailScanner: Found to be clean X-intertainservices-MailScanner-From: mike.jakubik@intertainservices.com X-Spam-Status: No Subject: Compiling OpenJDK6 with a different compiler X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 18:57:37 -0000 Hello, I am trying to compile OpneJDK6 with gcc 4.6, however this port does not seem to respect the CC and CXX environment variables. Any suggestions on how i can get around this? My /etc/make.conf. .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc46) CPUTYPE?=corei7 CC=gcc46 CXX=g++46 CPP=cpp46 CFLAGS+=-mtune=corei7 -maes -mssse3 -msse4.1 -msse4.2 .endif Thanks. From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 19:26:22 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0F641065675 for ; Tue, 20 Dec 2011 19:26:22 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B519D8FC1E for ; Tue, 20 Dec 2011 19:26:22 +0000 (UTC) Received: by iadj38 with SMTP id j38so9978394iad.13 for ; Tue, 20 Dec 2011 11:26:22 -0800 (PST) Received: by 10.42.150.130 with SMTP id a2mr2989725icw.43.1324409182123; Tue, 20 Dec 2011 11:26:22 -0800 (PST) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id g34sm7920922ibk.10.2011.12.20.11.26.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 11:26:21 -0800 (PST) Sender: Jason Helfman Date: Tue, 20 Dec 2011 11:25:49 -0800 From: Jason Helfman To: Greg Lewis Message-ID: <20111220192549.GA58911@dormouse.experts-exchange.com> References: <201112201750.pBKHoD7P060916@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed In-Reply-To: <201112201750.pBKHoD7P060916@freefall.freebsd.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 19:26:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Dec 20, 2011 at 05:50:13PM +0000, Greg Lewis thus spake: > Thanks for doing this! I wonder if with a little more work we couldn't > make this work for all of the JDK ports instead of having to reimplement > it for openjdk7, jdk16, jdk15, diablo, etc. Yeah, I suppose this could be done, and sounds fitting. I haven't researched it enough for all jdk implementations, however it going into openjdk{6,7}, at a minimum is a good start, in my opinion, until a more lucrative method is found. I couldn't believe that the timezone data hasn't been updated in openjdk6 since 2010, and I believe supplying at least updated zoneinfo is something we should consider. > I.e., can we pull this out into a separate port that installs the > appropriate zoneinfo files into somewhere like > ${LOCALBASE}/share/java/zoneinfo and then symlink the zi directory in all > of the jdk and jre ports to that directory. Installation of the zoneinfo files isn't the key, though. It is the raw timezone files that are required so java can build against them. But if those were built against then installed for java, that could work. > > I haven't looked deeply into your change but I assume the biggest problem > with this is that you need a JDK with javazic.jar already installed before > you can process the raw zoneinfo files so we'd be creating a circular > dependency. You don't need it installed. You can use the tool at build-time. My patch uses the ${WRKSRC} built bin/java and javazic.jar tool to build the zone files. It puts them into their new working directory, and they are installed with the install target. Hope this explains things a little more clearly. - -jgh - -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJO8OE9AAoJECBZmmNBUNPcSucH+gNbdBWQ9qpQTryvt2N4+Cqv ZSFjgZRaDcYUtNH2SNUS+aK8qTGWy6d/fKtkREZwe/2OS8AT8Ptg+2qSkRS/d+P2 ymKPvqzxBnU8QjZSGqW2bHckWR01UUkpFo23RD66wk/KvcfOTYQlMMHCVKpI5mVG kNbYH4r9wFEjkzS0TNboGiDOZ8kZEmWwnyGGQqIjYZM2MKc5SsnRhaW2WYwYGuEH O65y/ePjr4QAY6WLVFYijYEiguieErJWu514KqRQiB7QVoc9aBcaXzMUW9mzSpjg Cnk2iqBfdCmUZ7r3WBa3cKRjYWtOKlR/6JUlqKTUA662BWV7tlEDoXhml/VjxoI= =3UgU -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 22:10:12 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77BFF1065672 for ; Tue, 20 Dec 2011 22:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F045F8FC08 for ; Tue, 20 Dec 2011 22:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBKMABqp006869 for ; Tue, 20 Dec 2011 22:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBKMABS6006868; Tue, 20 Dec 2011 22:10:11 GMT (envelope-from gnats) Date: Tue, 20 Dec 2011 22:10:11 GMT Message-Id: <201112202210.pBKMABS6006868@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Jilles Tjoelker Cc: Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 22:10:12 -0000 The following reply was made to PR java/163456; it has been noted by GNATS. From: Jilles Tjoelker To: Greg Lewis Cc: Jason Helfman , FreeBSD-gnats-submit@freebsd.org, jkim@freebsd.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) Date: Tue, 20 Dec 2011 23:05:04 +0100 On Tue, Dec 20, 2011 at 09:47:57AM -0800, Greg Lewis wrote: > On Mon, Dec 19, 2011 at 10:39:04AM -0800, Jason Helfman wrote: > > Timezone data hasn't been updated since 2010 in OpenJDK. This patch downloads open timezone data, uses the built java tool > > javazic.jar to translate files so java may use them, and distributes into the correct location. > > Builds cleanly in Tinderbox => http://jgh.devio.us/files/logs/openjdk6-b24_1.log.gz Great. > > This patch encapsulates the spirit of ports/161945, and potentially could be seen as a duplicate if compilefontconfig.jar > > were copied into ${PREFIX}/openjdk6/jre/lib/ > Thanks for doing this! I wonder if with a little more work we couldn't > make this work for all of the JDK ports instead of having to reimplement > it for openjdk7, jdk16, jdk15, diablo, etc. > I.e., can we pull this out into a separate port that installs the > appropriate zoneinfo files into somewhere like > ${LOCALBASE}/share/java/zoneinfo and then symlink the zi directory in all > of the jdk and jre ports to that directory. This would avoid the need to update and recompile all JDKs whenever tzdata changes. > I haven't looked deeply into your change but I assume the biggest problem > with this is that you need a JDK with javazic.jar already installed before > you can process the raw zoneinfo files so we'd be creating a circular > dependency. Yes, this causes a bootstrapping problem. It is not much worse than the bootstrapping problem Java already has, though. The bootstrap requirement changes from a JDK to a JDK-with-javazic.jar. Also, the files generated by javazic.jar are architecture-independent so this should not make bootstrapping a new architecture harder (except that ports has no concept of architecture-independent binary packages). Another alternative is a second tzdata-java port that downloads the generated files, so it does not need Java to build. Don't let this stop you from committing the changes to openjdk6, though. -- Jilles Tjoelker From owner-freebsd-java@FreeBSD.ORG Tue Dec 20 23:06:01 2011 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 170CF106566B; Tue, 20 Dec 2011 23:06:01 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7568FC0A; Tue, 20 Dec 2011 23:05:59 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA09435; Wed, 21 Dec 2011 01:05:57 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Rd8kv-000JiC-5C; Wed, 21 Dec 2011 01:05:57 +0200 Message-ID: <4EF114D2.3010101@FreeBSD.org> Date: Wed, 21 Dec 2011 01:05:54 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111206 Thunderbird/8.0 MIME-Version: 1.0 To: Jason Helfman References: <201112201750.pBKHoD7P060916@freefall.freebsd.org> <20111220192549.GA58911@dormouse.experts-exchange.com> In-Reply-To: <20111220192549.GA58911@dormouse.experts-exchange.com> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Jilles Tjoelker , freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 23:06:01 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 on 20/12/2011 21:25 Jason Helfman said the following: > On Tue, Dec 20, 2011 at 05:50:13PM +0000, Greg Lewis thus spake: >> Thanks for doing this! I wonder if with a little more work we couldn't >> make this work for all of the JDK ports instead of having to reimplement >> it for openjdk7, jdk16, jdk15, diablo, etc. > > Yeah, I suppose this could be done, and sounds fitting. I haven't > researched it enough for all jdk implementations, however it going into > openjdk{6,7}, at a minimum is a good start, in my opinion, until a more > lucrative method is found. I couldn't believe that the timezone data hasn't > been updated in openjdk6 since 2010, and I believe supplying at least > updated zoneinfo is something we should consider. > >> I.e., can we pull this out into a separate port that installs the >> appropriate zoneinfo files into somewhere like >> ${LOCALBASE}/share/java/zoneinfo and then symlink the zi directory in >> all of the jdk and jre ports to that directory. > > Installation of the zoneinfo files isn't the key, though. It is the raw > timezone files that are required so java can build against them. But if > those were built against then installed for java, that could work. I think that "java building against the raw files" really means converting those files to some private java format and installing those converted files along with jdk/jre. >> I haven't looked deeply into your change but I assume the biggest >> problem with this is that you need a JDK with javazic.jar already >> installed before you can process the raw zoneinfo files so we'd be >> creating a circular dependency. > > You don't need it installed. You can use the tool at build-time. My patch > uses the ${WRKSRC} built bin/java and javazic.jar tool to build the zone > files. It puts them into their new working directory, and they are > installed with the install target. You don't need it installed if the building of java timezone files is done within a jdk port. OTOH, if java timezone data lives in a separate port, then it needs to be updatable independently and thus it needs some tools for the zoneinfo -> java tz conversion. E.g. please see some earlier deliberations on this topic which never came to fruition: http://article.gmane.org/gmane.os.freebsd.devel.java/11756 http://article.gmane.org/gmane.os.freebsd.devel.java/11638 Now that you have this thing going I hope that you would be interested to implement it as close to perfection as possible :-) Even if not, then what you already have is much better that the status quo. Thank you. P.S. Just noticed Jilles' followup, could have saved myself some typing :) But since this is already written then I am just hitting Send. - -- Andriy Gapon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO8RTSAAoJEHSlLSemUf4v3kgIAIU2OYbWixecMhc7ps7lyXsp m2/84MCJHZ4Ro35LjaOM3jnYoLWudAYMTYV/fYts5jzmreGUmNTen4nJKfd5EktY pnxtVlSbBMkTaeDbYT/VVfjf4wLOEsCBc1yxiVjuGVsUTLsfU3VK/HPB5AHklVn3 zlQS6HYKPpmsQupt7MztCxaU1LeEPk+Gbft8oJmg8KdHa+8PKmDb3IfDUSjVd8ce O7v1cmSeI4o9EhHterB3TiUcEtu3cTsu2Byg2IJO2ymh4RY5slViJe5+/FHHBbcu R5QH4m/9RwHpfiHRZJ3uK5LBAgsKJgZx8GekVME+UxvJyYkngd/ioMkcQOQMZs8= =A+Wn -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Wed Dec 21 03:57:08 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52803106566B; Wed, 21 Dec 2011 03:57:08 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 08C428FC0A; Wed, 21 Dec 2011 03:57:07 +0000 (UTC) Received: by iadj38 with SMTP id j38so10835707iad.13 for ; Tue, 20 Dec 2011 19:57:07 -0800 (PST) Received: by 10.50.168.4 with SMTP id zs4mr993495igb.28.1324439827431; Tue, 20 Dec 2011 19:57:07 -0800 (PST) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id wo4sm5407497igc.5.2011.12.20.19.57.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 20 Dec 2011 19:57:06 -0800 (PST) Sender: Jason Helfman Date: Tue, 20 Dec 2011 19:56:34 -0800 From: Jason Helfman To: Andriy Gapon Message-ID: <20111221035634.GA54362@dormouse.experts-exchange.com> References: <201112201750.pBKHoD7P060916@freefall.freebsd.org> <20111220192549.GA58911@dormouse.experts-exchange.com> <4EF114D2.3010101@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed In-Reply-To: <4EF114D2.3010101@FreeBSD.org> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Jilles Tjoelker , freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 03:57:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Dec 21, 2011 at 01:05:54AM +0200, Andriy Gapon thus spake: >You don't need it installed if the building of java timezone files is done >within a jdk port. OTOH, if java timezone data lives in a separate port, then >it needs to be updatable independently and thus it needs some tools for the >zoneinfo -> java tz conversion. > >E.g. please see some earlier deliberations on this topic which never came to >fruition: >http://article.gmane.org/gmane.os.freebsd.devel.java/11756 >http://article.gmane.org/gmane.os.freebsd.devel.java/11638 > >Now that you have this thing going I hope that you would be interested to >implement it as close to perfection as possible :-) >Even if not, then what you already have is much better that the status quo. >Thank you. > >P.S. Just noticed Jilles' followup, could have saved myself some typing :) >But since this is already written then I am just hitting Send. > The original stab at this is here: http://lists.freebsd.org/pipermail/freebsd-java/2011-December/009470.html This link has a shar that creates timezone data port, and replaces openjdk6 zi distributed zoneinformation. It uses openjdk as a build dependency. It can be re-worked to install to ${LOCALBASE}/share/java/zoneinfo, and then have other ports link to it post-install. I can rename to something more appropriate like jdk-tzdata. Thoughts? - -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJO8VjyAAoJECBZmmNBUNPcf+UH/RyrhcqScw/W9Kw+mgK3BoTf kvnl7Q0eFHjozwtYm8yRIus4HgVgf9USA+WPmDnoEFUGsEs7ZX6F6Sj1P1DB5U/s RoS33THniEwKKKdPakuSdvMrW5GLeMRXpTP+9lnyy84r9FmOy3nuw4V5lRHZZRuz J4rvZpy9qDTk2eqoBhnfi970KA9yyzgNibqYTu5k4SzvYTV0acAHIJfadi6DV9GK ZdTVFl6ggisxY89D4q0XvZezxyBIja4hM3YK+Bn2Pc1FcINk81PBDcBuh+gGbjki I8kwMikTukPhPh7tBdjzpPPv0dwAYQqybEbXKoTMEryB/NeXmnezIk58/Th8LYk= =VUdH -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Sat Dec 24 21:03:06 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D48691065680; Sat, 24 Dec 2011 21:03:06 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB80D8FC0C; Sat, 24 Dec 2011 21:03:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBOL363J037805; Sat, 24 Dec 2011 21:03:06 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBOL36lp037801; Sat, 24 Dec 2011 21:03:06 GMT (envelope-from glewis) Date: Sat, 24 Dec 2011 21:03:06 GMT Message-Id: <201112242103.pBOL36lp037801@freefall.freebsd.org> To: scheidell@freebsd.org, glewis@FreeBSD.org, freebsd-java@FreeBSD.org From: glewis@FreeBSD.org Cc: Subject: Re: ports/163486: [UPDATE] java/linux-sun-jdk16 to 6u30 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 21:03:06 -0000 Synopsis: [UPDATE] java/linux-sun-jdk16 to 6u30 State-Changed-From-To: open->closed State-Changed-By: glewis State-Changed-When: Sat Dec 24 21:03:06 UTC 2011 State-Changed-Why: Committed, with minor changes. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=163486 From owner-freebsd-java@FreeBSD.ORG Sat Dec 24 21:10:13 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C30C6106566C for ; Sat, 24 Dec 2011 21:10:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DBAE28FC19 for ; Sat, 24 Dec 2011 21:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBOLACFD038337 for ; Sat, 24 Dec 2011 21:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBOLACea038336; Sat, 24 Dec 2011 21:10:12 GMT (envelope-from gnats) Date: Sat, 24 Dec 2011 21:10:12 GMT Message-Id: <201112242110.pBOLACea038336@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/163486: commit references a PR X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 21:10:13 -0000 The following reply was made to PR ports/163486; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/163486: commit references a PR Date: Sat, 24 Dec 2011 21:03:00 +0000 (UTC) glewis 2011-12-24 21:02:46 UTC FreeBSD ports repository Modified files: java/linux-sun-jdk16 Makefile distinfo pkg-plist Log: . Update to JDK6 Update 30. PR: 163486 Submitted by: scheidell@ Revision Changes Path 1.46 +2 -2 ports/java/linux-sun-jdk16/Makefile 1.31 +2 -2 ports/java/linux-sun-jdk16/distinfo 1.27 +28 -12 ports/java/linux-sun-jdk16/pkg-plist _______________________________________________ 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" From owner-freebsd-java@FreeBSD.ORG Sat Dec 24 22:44:14 2011 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6739B1065676; Sat, 24 Dec 2011 22:44:14 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2203D8FC08; Sat, 24 Dec 2011 22:44:13 +0000 (UTC) Received: by iadj38 with SMTP id j38so19857338iad.13 for ; Sat, 24 Dec 2011 14:44:13 -0800 (PST) Received: by 10.50.77.129 with SMTP id s1mr19901800igw.25.1324766653399; Sat, 24 Dec 2011 14:44:13 -0800 (PST) Received: from dormouse.experts-exchange.com ([72.29.164.238]) by mx.google.com with ESMTPS id f32sm54657593ibf.9.2011.12.24.14.44.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Dec 2011 14:44:12 -0800 (PST) Sender: Jason Helfman Date: Sat, 24 Dec 2011 14:43:38 -0800 From: Jason Helfman To: Andriy Gapon Message-ID: <20111224224338.GA89131@dormouse.experts-exchange.com> References: <201112201750.pBKHoD7P060916@freefall.freebsd.org> <20111220192549.GA58911@dormouse.experts-exchange.com> <4EF114D2.3010101@FreeBSD.org> <20111221035634.GA54362@dormouse.experts-exchange.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed In-Reply-To: <20111221035634.GA54362@dormouse.experts-exchange.com> X-Operating-System: FreeBSD 8.2-RELEASE amd64 Organization: The FreeBSD Project, http://www.freebsd.org X-Living-The-Dream: I love the SLO Life! X-PGP-FingerPrint: 8E0D C457 9A0F C91C 23F3 0454 2059 9A63 4150 D3DC X-PGP-Key: http://people.freebsd.org/~jgh/jgh.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Jilles Tjoelker , freebsd-java@FreeBSD.org Subject: Re: java/163456: [patch] java/openjdk6: build and distribute open timezone data (tzdata) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 22:44:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Dec 20, 2011 at 07:56:34PM -0800, Jason Helfman thus spake: >On Wed, Dec 21, 2011 at 01:05:54AM +0200, Andriy Gapon thus spake: >>You don't need it installed if the building of java timezone files is done >>within a jdk port. OTOH, if java timezone data lives in a separate port, then >>it needs to be updatable independently and thus it needs some tools for the >>zoneinfo -> java tz conversion. >> >>E.g. please see some earlier deliberations on this topic which never came to >>fruition: >>http://article.gmane.org/gmane.os.freebsd.devel.java/11756 >>http://article.gmane.org/gmane.os.freebsd.devel.java/11638 >> >>Now that you have this thing going I hope that you would be interested to >>implement it as close to perfection as possible :-) >>Even if not, then what you already have is much better that the status quo. >>Thank you. >> >>P.S. Just noticed Jilles' followup, could have saved myself some typing :) >>But since this is already written then I am just hitting Send. >> > >The original stab at this is here: >http://lists.freebsd.org/pipermail/freebsd-java/2011-December/009470.html > >This link has a shar that creates timezone data port, and replaces openjdk6 >zi distributed zoneinformation. It uses openjdk as a build dependency. >It can be re-worked to install to ${LOCALBASE}/share/java/zoneinfo, >and then have other ports link to it post-install. > >I can rename to something more appropriate like jdk-tzdata. > >Thoughts? > Is this something that could be considered for committing into the tree whilst a better long-term solution is being sought and developed so all jdk's may use it? Happy Holidays everyone! Respectively, Jason - -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJO9lWaAAoJECBZmmNBUNPctm4H/R7EsCJfNNcfu/zoto+cU5Jf me+rS+Ttk4bMMkRoD9kxKrOMSAU6nwzFJABaNKH7lCeORcXYlTY6R9mIaDUICREk h59NWbAWNbraJ3WYr6uq0YhradKz9hyBizwjv2HiToz0tX/+PMuAvRFaTCeCE1G6 ORYZZrVp1ohgryfm6U5IMStU6WoInsQVMC8MeNAwizzlqYfkOVZdW+zqYy1tnNIA jjBT7EyB13HrKFy4tFhQnSpxGa76qysZFOC7HWQapWlANlV7xidACigRPBXkxnbl snT5b41A9Loy3HHTIkIHVSaO8nuE3gN9nuYVTumD1BaYgb1bOk+u0rGHd9hBZig= =kh6o -----END PGP SIGNATURE-----