New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #7493 (closed enhancement: fixed)

Opened 11 years ago

Last modified 7 years ago

RFE: license metadata

Reported by: ben@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version:
Keywords: Cc: jmr@…

Description (last modified by jmr@…) (diff)

If DP intends to distribute binary packages, we'll run into some complex license issues, e.g.:

If we're to keep track of these, it will be necessary to include a field for license type in the Portfile. Fink's example:

I expect there are many license issues in individual ports -- e.g. doubt that all GPL ports install the COPYING flie as required.

Change History

comment:1 Changed 10 years ago by rhwood@…

  • severity changed from normal to enhancement

Make the list of bugs easier to scan.

comment:2 Changed 9 years ago by nox@…

  • Priority changed from Expected to Normal
  • Version 1.2 deleted
  • Summary changed from RFE: license metatdata to RFE: license metadata
  • Milestone set to MacPorts base enhancements

comment:3 Changed 9 years ago by afb@…

Here is the current workaround for the package target:

post-pkg {
    if {[file exists ${workpath}/${name}-${version}.pkg/Contents/Resources/English.lproj]} {
        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/English.lproj
    } else {
        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources
    file copy -force -- ${filespath}/License.html ${resources}

comment:4 Changed 8 years ago by jmr@…

  • Description modified (diff)
  • Milestone changed from MacPorts base enhancements to MacPorts 1.8.0

comment:5 Changed 7 years ago by jmr@…

  • Status changed from new to closed
  • Cc jmr@… added
  • Resolution set to fixed

Added in r50801. For now the contents are unconstrained and nothing clever is done with the info (it's just displayed in port info output). We can change the former if it turns out to be necessary, and we'll definitely need to change the latter when we start building and distributing binaries.

Note: See TracTickets for help on using tickets.