Perl 5 License=?= {Artistic-1 GPL-1}

Dan Ports dports at macports.org
Wed Sep 21 11:17:00 PDT 2011


On Wed, Sep 21, 2011 at 03:26:09PM -0500, Ryan Schmidt wrote:
> Something like:
> 
> port info --line --name --license all | grep -E ' [[:digit:]]'

Some time last month, I did something like
  port info --line --license all | sort | uniq -c
to find out what licenses ports were using and then hunted down and
fixed some that were using non-standard names or formatting.

Ideally, we could have port lint print a warning if it sees a license
it doesn't recognize (or a port without a license line!). But this
might be difficult to achieve because the list of known licenses lives
in portmgr/jobs/port_binary_distributable.tcl, not in base or the
dports tree.

For that matter, I'm not sure what documentation we have, if any, about
what's supposed to go in the license line...

Dan

-- 
Dan R. K. Ports              MIT CSAIL                http://drkp.net/


More information about the macports-dev mailing list