${PORTSDIR}/LEGAL rewrite

Kris Kennaway kris at obsecurity.org
Sat May 22 16:14:08 PDT 2004


On Sat, May 22, 2004 at 11:50:33PM +0200, Clement Laforet wrote:
> Hi everybody,
> 
> As some of you may have noticed, I played with ${PORTSDIR}/LEGAL today.
> This file is, IMHO, useless, since it's too human-readable (i.e. it's
> unusable if you want to use a script based on it).
> Futhermore, it's outdated, inaccurate and nobody really knows how it
> works.
> As far as I know, it's only used for website copyright section
> (http://www.freebsd.org/copyright/LEGAL).
> 
> We should convert it to a new format "a la INDEX".
> Like this one:
> <portname>|<distfile patterns>|<reason>
> 
> samples:
> games/actx|actx-*|contains commercial|character data
> games/adom|adom-*|Copy of CD must be sent toauthor
> games/alephone-data|AlephOne-*|Don't sell for profit
> security/altivore|altivore.c|No redistribution allowed
> etc.
> 
> Multiple distfiles patterns can be supported with ";" as FS.
> What I propose to do:
> 1. Convert LEGAL to new format
> 2. Write a LEGAL -> LEGAL.html converter for www build
> 3. Adapt LEGALlint.pl to check LEGAL and remove restricted files from
>    ${DISTDIR}
> 
> Comments?

Probably a good idea, but I have plans to overhaul the license-related
variables along the lines of what OpenBSD does (explicitly listing
whether the port may be redistributed and/or sold on CD, FTP).  I'm
hoping to start work on this in June.  It may make sense to hold off
for a few weeks so we can coordinate.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040522/1d714d9c/attachment.bin


More information about the freebsd-ports mailing list