pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: University of Illinois/NCSA Open Source License in license/mk.conf



Mayuresh <mayuresh%warunjikar.in@localhost> writes:

> Is above license supported, with some name that I may have missed. If not,
> please consider adding it.
>
> Need it for:
>
> https://emscripten.org/docs/introducing_emscripten/emscripten_license.html

First, the normal path is to add licenses in wip when you add the
package, if it doesn't exist, and it's necessary.

In this case, it's an OR license of MIT and NCSA.

I have a script that produces wdiff with every license, and I look for
short output.  With their NCSA text I don't find it.


The purpose of pkgsrc's licensing framework is to help people avoid
software that has licenses they don't like (or rather, to avoid all
software unless it has a license they consider ok).   The framework is
not meant to substitute for a commercial redistributor engaging counsel
and thinking.  Thus, we do not always represent the full complexity.

Here, I would

LICENSE=	mit # OR "NCSA Open Source License"

and stop there.  I have not found anyone who objects to using software
with an MIT license, so accomodating the theoretical existence of
someone who doesn't like that and does like the NCSA license is not
something I want to spend time on.

----------------------------------------
#!/bin/sh

TMP=/tmp/find-license.$$

if mkdir $TMP; then
    echo "Output in $TMP"
else
    echo "TMP fail"
    exit 1
fi

L=$1

if [ ! -f $L ]; then
    echo "Can't read $L"
    exit 1
else
    echo Comparing $L
fi

LDIR=/usr/pkgsrc/licenses

for c in `(cd /usr/pkgsrc/licenses && ls) | egrep -v CVS`; do
    wdiff -3 $L ${LDIR}/$c > $TMP/$c
done



Home | Main Index | Thread Index | Old Index