pkgsrc-Users archive

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

Re: LICENSE of portaudio (Re: [PATCH] audio/portaudio-devel (Re: wip/fldigi has problem on Mac OS X 10.6.8



Makoto Fujiwara <makoto%ki.nu@localhost> writes:

> But portaudio clearly has LICENSE.txt. And it seems to me,
> almost no limitation except:
>
>  * The above copyright notice and this permission notice shall be
>  * included in all copies or substantial portions of the Software.

My point was that lack of limitation is not the same as affirmative
permission.

I unpacked the current portaudio-devel, and found LICENSE.txt.  It looks
like a free license, granting the usual permissions.  I copied it to a
file and removed the comment syntax, and then ran wdiff -3 against all
the existing licenses.  The shortest diff (ls -lS), more or less, is to
/usr/pkgsrc/licenses/mit:

  ======================================================================
  [-The MIT License-]{+PortAudio Portable Real-Time Audio Library
  Latest version at: http://www.audiomulch.com/portaudio/
  <platform> Implementation+}
  ======================================================================
   [-<year> <copyright holders>-] {+1999-2000 <author(s)>+}
  ======================================================================


  {+Any person wishing to distribute modifications to the Software is
  requested to send the modifications to the original developer so that
  they can be incorporated into the canonical version.+}
  ======================================================================

So if this is unchanged, it should just get LICENSE=mit.

My hackish script to find the closest match:

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

set -e

LICENSE=$1; shift

if [ x"$1" = x ]; then
    echo "usage: find-license license-file"
fi

ALL=$(cd /usr/pkgsrc/licenses && ls)

DIR=LICENSE-$LICENSE
mkdir -p $DIR
cd $DIR

for l in $ALL; do
    wdiff -3 /usr/pkgsrc/licenses/$l ../$LICENSE > $l || true
done

ls -lS
----------------------------------------


Also, it looks like expatobjc-license should be removed; wdiff -3 to mit
produces:

  ======================================================================
  [-The MIT License-]
  ======================================================================
   [-<year> <copyright holders>-] {+2002 Rafael R. Sevilla+}
  ======================================================================

Attachment: pgp0l2JnF9qPt.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index