Bug 27358 - Naming scheme for JDK ports (java)
Summary: Naming scheme for JDK ports (java)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ernst de Haan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-15 21:00 UTC by Ernst de Haan
Modified: 2002-06-12 22:02 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst de Haan 2001-05-15 21:00:03 UTC
The ports for the different JDKs do not seem to conform to a certain naming
scheme. The currently available JDKs are listed below.

   Port name             Version  Platform  Provider
   ----------------      -------  --------  --------
   java/jdk              1.1      FreeBSD   FreeBSD
   java/jdk12-beta       1.2      FreeBSD   FreeBSD
   java/linux-jdk        1.2      Linux     Blackdown
   java/linux-jdk13      1.3      Linux     Sun


A new JDK is in the process of being submitted as a new port:

   Port name             Version  Platform  Provider
   ----------------      -------  --------  --------
   java/???              1.3      Linux     IBM

And other JDKs may qualify as candidates as well:

   Port name             Version  Platform  Provider
   ----------------      -------  --------  --------
   java/???              1.1      Linux     IBM
   java/???              1.2      Linux     IBM
   java/???              1.2      Linux     Sun

And what if both Bill Huey and Greg Lewis would come up with a native JDK 1.3
for FreeBSD? Perhaps we should leave such situations out of the picture for a
moment, but something like this *may* happen.

If me or anybody else would like to add one of these JDKs, then what would
have to be the name for this port? I know that we could ofcourse find unique
names, but perhaps we should come up with a naming scheme, apply it to the
existing JDK ports and apply it to any new JDK ports.

Fix: 

One possible naming scheme would be the following:

   * For native FreeBSD JDK ports, name the port "jdkXX" where XX is the major
     (2-digit) version number of the JDK, for example "11", "12", "13" or
     "14".

   * If there would be multiple native JDK ports, then these could be
     distinguished by using the name "PPP-jdkXX" where PPP is the name of the
     provider.

   * For Linux JDK ports, name the port "linux-PPP-jdkXX" where PPP is the
     name of the provider in lowercase, for example "blackdown", "ibm", "sun"
     or "inprise". And XX is again the major (2-digit) version number of the
     JDK.

Any suggestions?
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2001-11-03 08:18:14 UTC
Responsible Changed
From-To: freebsd-ports->analyzed

Since we already have the IBM port in as linux-ibm-jdk13, should we keep this 
open?
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2001-11-03 09:01:34 UTC
State Changed
From-To: open->analyzed

Since we already have the IBM port in as linux-ibm-jdk13, should we keep this 
open? 


Comment 3 Pete Fritchman freebsd_committer freebsd_triage 2001-11-03 09:01:34 UTC
Responsible Changed
From-To: analyzed->freebsd-ports

Oops, braino
Comment 4 Pete Fritchman freebsd_committer freebsd_triage 2001-11-21 01:36:39 UTC
Responsible Changed
From-To: freebsd-ports->znerd

Submitter is now a committer
Comment 5 Ernst de Haan freebsd_committer freebsd_triage 2002-06-12 22:02:33 UTC
State Changed
From-To: analyzed->closed

Solved.