Request for mime type registration for application/vnd.pkg5.info

jmr John.Rice at Sun.COM
Fri Mar 27 19:18:02 CET 2009


Hi,

I am a developer working on the Packaging System which is part of the
OpenSolaris.org project [1]. I would like to register a mime type for
OpenSolaris.org's IPS packaging system, pkg(5) [2]:

MimeType: application/vnd.pkg5.info
File extension(s): .p5i
Magic number(s): None

The contents of the file are in JSON format (http://www.json.org/) and
specify one or more Publishers to add to a users system that is running
OpenSolaris, along with an optional number of packages [3]. The mime
type is bound to files of .p5i extension [4] and clicking on such a file
on the OpenSolaris system launches the Package Manager application to
process the file, prompting the user to install the named Repositories
and Packages.

I have read rfc4288:
- Media Type Specification and Registration Procedures:
http://tools.ietf.org/html/rfc4288

And as per guidelines in Section 5, wanted to submit this mime type for
initial review and comment before submitting a formal request via:

http://www.iana.org/cgi-bin/mediatypes.pl


Best regards,

John Rice

Snr. Staff Engineer
Dublin, Ireland
Sun Microsystems

[1]: http://www.opensolaris.org/os/
[2]: http://opensolaris.org/sc/src/pkg/gate/src/man/pkg.5.txt
http://www.opensolaris.org/os/project/pkg/
http://www.opensolaris.org/os/package/
[3]: http://blogs.sun.com/jmr/entry/packagemanager_for_2009_06
[4]: Example .p5i file:
-----------------------------------
{
  "publishers": [

    {
      "name": "opensolaris.org",
      "packages": [
        "SUNWfirefoxl10n-pl-PL", "SUNWthunderbirdl10n-pl-PL"
      ],
      "repositories": [
        {
          "collection_type": "core",
          "description": "opensolaris.org",
          "legal_uris": [
            "http://opensolaris.org/license.html"
          ],
          "mirrors": [],
          "name": "opensolaris.org",
          "origins": [
            "http://osol-re.sfbay.sun.com/"
          ],
          "refresh_seconds": 43200,
          "registration_uri": "",
          "related_uris": []
        }
      ]
    },

    {
      "name": "sunfree",
      "packages": [
        "IPSFWjoe"
      ],
      "repositories": [
        {
          "collection_type": "supplemental",
          "description": "sunfree",
          "legal_uris": [],
          "mirrors": [],
          "name": "sunfree",
          "origins": [
            "http://pkg.sunfreeware.com:9000/"
          ],
          "refresh_seconds": 43200,
          "registration_uri": "",
          "related_uris": []
        }
      ]
    },

    {
      "name": "contrib",
      "repositories": [
        {
          "collection_type": "supplemental",
          "description": "contrib",
          "legal_uris": [
            "http://pkg.opensolaris.org/contrib/license.html"
          ],
          "mirrors": [],
          "name": "contrib",
          "origins": [
            "http://pkg.opensolaris.org/contrib/"
          ],
          "refresh_seconds": 43200,
          "registration_uri": "",
          "related_uris": []
        }
      ]
    }

  ],
  "version": 1
}




More information about the Ietf-types mailing list