Opened 12 years ago

Closed 12 years ago

#31743 closed defect (fixed)

Case of (sub)port names needs to be canonicalized before use

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 2.0.4
Component: base Version: 2.0.3
Keywords: Cc:
Port:

Description

Ports should be recorded in the registry (and display status messages and try to fetch archives and write log files) with their canonical case, not the user-specified case:

$ sudo port install ZIP
--->  Fetching archive for ZIP
--->  Attempting to fetch ZIP-3.00_0+universal.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/ZIP
--->  Fetching ZIP
--->  Attempting to fetch zip30.tgz from http://distfiles.macports.org/zip
--->  Verifying checksum(s) for ZIP
--->  Extracting ZIP
--->  Configuring ZIP
--->  Building ZIP
--->  Staging ZIP into destroot
--->  Installing ZIP @3.00_0+universal
--->  Activating ZIP @3.00_0+universal
--->  Cleaning ZIP
$ port installed zip
The following ports are currently installed:
  ZIP @3.00_0+universal (active)
$ port info zip
zip @3.00 (archivers)
Variants:             (+)universal

Description:          Zip is different from gzip in that it allows packing multiple files into a single archive (without the assistance of tar). It is compatible with pkzip,
                      pkunzip, and other Windows zip utilities. This utility is necessary to install several packages in a pure Darwin installation, as Darwin does not come with
                      zip/unzip.
Homepage:             http://www.info-zip.org/

Platforms:            darwin, freebsd
License:              BSD
Maintainers:          nomaintainer@macports.org

This used to be working; I think the introduction of subports may have messed this up.

Change History (1)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.