Opened 19 years ago

Closed 16 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)
Port:

Description (last modified by jmroot (Joshua Root))

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

comment:1 Changed 18 years ago by rhwood@…

severity: normalenhancement

Make the list of bugs easier to scan.

comment:2 Changed 17 years ago by nox@…

Milestone: MacPorts base enhancements
Priority: ExpectedNormal
Summary: RFE: license metatdataRFE: license metadata
Version: 1.2

comment:3 Changed 17 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 16 years ago by jmroot (Joshua Root)

Description: modified (diff)
Milestone: MacPorts base enhancementsMacPorts 1.8.0

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

Cc: jmr@… added
Resolution: fixed
Status: newclosed

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.