#36883 closed defect (fixed)
Wrong MIME type for dmg files
Reported by: | monkam-l@… | Owned by: | admin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | server/hosting | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), monkam-l@… | |
Port: |
Description
I am not able to download the leopard pkg I always get MacPorts-2.1.2-10.5-Leopard.man and not a .pkg file. How can I fix this would like to use it again. I don´t wont to use the source code method because there is a .pkg installer for OS X 10.5 according to the Mac Ports Download site Mac OS X Package (.pkg) Installer
The easiest way to install MacPorts on a Mac OS X system is by downloading the dmg for Mountain Lion, Lion, Snow Leopard or Leopard and running the system's Installer by double-clicking on the pkg contained therein, following the on-screen instructions until completion.
Installer for legacy platform Leopard also available.
link is below http://www.macports.org/install.php
thank you in advance
Change History (5)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → server/hosting |
---|---|
Owner: | changed from macports-tickets@… to admin@… |
Summary: | leopard pkq → Wrong MIME type for dmg files |
Version: | 2.1.2 |
comment:3 follow-up: 5 Changed 12 years ago by monkam-l@…
Cc: | monkam-l@… added |
---|
Cc Me! what does it mean sry I am a newbie
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to monkam-l@…:
Cc Me! what does it mean sry I am a newbie
It means I clicked the "CcMe!" button next to the Cc field at the top of this ticket. This causes my email address to be added to the Cc field of the ticket. This causes me to receive an email whenever anyone writes a comment in the ticket.
Because you are the reporter of the ticket, you automatically receive such emails, whether or not your email address is in the Cc field.
It looks like the new distfiles server is presenting the wrong MIME type for .dmg files:
That should be application/x-apple-diskimage or at least application/octet-stream, not application/x-troff-man or text/plain.
I guess no MIME type is configured for .dmg on the server so it defaults to text/plain. And for the MacPorts dmg, the ".1" portion of the filename is looking like a manpage suffix.
The server's default MIME type should be changed from text/plain to application/octet-stream and a MIME type for .dmg should be added as application/x-apple-diskimage.