Opened 11 years ago

Closed 7 years ago

#7493 closed enhancement (fixed)

RFE: license metadata

Reported by: ben@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version:
Keywords: Cc: jmroot (Joshua Root)

Description (last modified by jmroot (Joshua Root))

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 (5)

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@…

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

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 jmroot (Joshua Root)

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

comment:5 Changed 7 years ago by jmroot (Joshua Root)

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

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.