New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #7493 (closed enhancement: fixed)

Opened 8 years ago

Last modified 5 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@…
Port:

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

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

http://www.gnome.org/~markmc/openssl-and-the-gpl.html

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:

http://fink.sourceforge.net/doc/packaging/policy.php?phpLang=en#licenses

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 8 years ago by rhwood@…

  • severity changed from normal to enhancement

Make the list of bugs easier to scan.

comment:2 Changed 7 years ago by nox@…

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

comment:3 Changed 6 years ago by afb@…

Here is the current workaround for the Installer.app 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 5 years ago by jmr@…

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

comment:5 Changed 5 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.