The duplicate licences situation is getting rather silly... We don't
include each variation for licences that vary only by the copyright
holder (if we did, we'd need a zillion new GPL-2s and BSDs, but instead
they just use <placeholder>s), and we don't care about whitespace
variations.
Also note that if a program's licence consists only of a copyright line
with no licence, we can't legally distribute it. Also also note that
sticking licences in the tree that just say "see the BLAH file" is very
very stupid.
Here's an ugly hack of a script, which is very very buggy:
for a in !(CVS) ; do [[ -z "${a/*.pdf}" ]] && continue ; tr '\015' '\n' < ${a} | grep -vi 'copy\(right\|ing\)' | xargs -0 | tr -s '[[:space:]]' | tr '[[:space:]]' ' ' | sed -e 's/in no event shall \([a-zA-Z0-9]\+ \)\{1,5\}be//ig' -e 's/the name of \([a-zA-Z0-9]\+ \)\{1,5\}shall not//ig' -e 's/authorization from\( [a-zA-Z0-9]\+\)\{1,5\}\.//ig' -e 's/all rights reserved.//ig' -e 's/\. \([a-zA-Z0-9]\+ \)\{1,5\}makes no rep//gi' | tr -d '[[:space:]]' | md5sum | xargs -I, echo , ${a} || break ; done | sort -k1 | uniq --all-repeated=separate -w32 | cut -d- -f2- | tr -d ' ' | fmt -w999
Here's the output, which is far from perfect:
appres bdftopcf bitmap editres fslsfonts fstobdf oclock pclcomp
proxymngr rgb sessreg smproxy xbitmaps xclipboard xconsole xf86dga xfd
xfindproxy xfsinfo xkill xlogo xlsatoms xlsclients xlsfonts xmag
xmodmap xprop xproxymanagementprotocol xset xsm xstdcmap xwd xwininfo
xwud xkbprint xkbutils libXres xf86-input-magictouch xf86-input-palmax
xf86-video-apm xf86-video-dummy xf86-video-fbdev xf86-video-vmware
xvinfo font-adobe-100dpi font-adobe-75dpi
visual vpython
xf86-video-sunbw2 xf86-video-suncg14 xf86-video-suncg3
xf86-video-suncg6 xf86-video-sunleo xf86-video-suntcx
AMS fontcacheproto
xf86-input-joystick xf86-input-void xsetmode xsetpointer
libXxf86dga libXxf86misc
libXprintUtil printproto
font-micro-misc font-misc-misc
xf86-input-elo2300 xf86-input-microtouch
LICENSE-BITSTREAM font-bitstream-type1
fonttosfnt libXvMC libfontenc luit mkfontscale
kbproto libxkbui setxkbmap xdbedizzy
trapproto xtrap
font-bitstream-100dpi font-bitstream-75dpi
dmxproto libdmx
xf86-video-tdfx xf86driproto
libXprintAppUtil xphelloworld xplsprinters xprehashprinterlist
xf86-input-magellan xf86-input-spaceorb
beforelight libXScrnSaver libXpm listres viewres xbiff
xf86-video-rendition xf86-video-vesa xf86-video-vga
encodings font-alias gccmakedep mkfontdir xf86-video-v4l
xorg-sgml-doctools
resourceproto xf86bigfontproto xf86dgaproto xf86miscproto xf86rushproto
font-bh-100dpi font-bh-75dpi
bigreqsproto iceauth imake libSM libXau libXext lndir xauth xcmiscproto
xdpyinfo xinit xmore xsetroot
aczoom evieext libXevie
font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi
font-daewoo-misc font-screen-cyrillic font-xfree86-type1 xorg-cf-files
xcalc xditview xev xeyes xfontsel xgc xload xman xmessage
xf86-input-elographics xf86-input-mutouch
font-bh-ttf font-bh-type1
font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-adobe-utopia-type1
--
Ciaran McCreesh : Gentoo Developer (King of all Londinium)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
include each variation for licences that vary only by the copyright
holder (if we did, we'd need a zillion new GPL-2s and BSDs, but instead
they just use <placeholder>s), and we don't care about whitespace
variations.
Also note that if a program's licence consists only of a copyright line
with no licence, we can't legally distribute it. Also also note that
sticking licences in the tree that just say "see the BLAH file" is very
very stupid.
Here's an ugly hack of a script, which is very very buggy:
for a in !(CVS) ; do [[ -z "${a/*.pdf}" ]] && continue ; tr '\015' '\n' < ${a} | grep -vi 'copy\(right\|ing\)' | xargs -0 | tr -s '[[:space:]]' | tr '[[:space:]]' ' ' | sed -e 's/in no event shall \([a-zA-Z0-9]\+ \)\{1,5\}be//ig' -e 's/the name of \([a-zA-Z0-9]\+ \)\{1,5\}shall not//ig' -e 's/authorization from\( [a-zA-Z0-9]\+\)\{1,5\}\.//ig' -e 's/all rights reserved.//ig' -e 's/\. \([a-zA-Z0-9]\+ \)\{1,5\}makes no rep//gi' | tr -d '[[:space:]]' | md5sum | xargs -I, echo , ${a} || break ; done | sort -k1 | uniq --all-repeated=separate -w32 | cut -d- -f2- | tr -d ' ' | fmt -w999
Here's the output, which is far from perfect:
appres bdftopcf bitmap editres fslsfonts fstobdf oclock pclcomp
proxymngr rgb sessreg smproxy xbitmaps xclipboard xconsole xf86dga xfd
xfindproxy xfsinfo xkill xlogo xlsatoms xlsclients xlsfonts xmag
xmodmap xprop xproxymanagementprotocol xset xsm xstdcmap xwd xwininfo
xwud xkbprint xkbutils libXres xf86-input-magictouch xf86-input-palmax
xf86-video-apm xf86-video-dummy xf86-video-fbdev xf86-video-vmware
xvinfo font-adobe-100dpi font-adobe-75dpi
visual vpython
xf86-video-sunbw2 xf86-video-suncg14 xf86-video-suncg3
xf86-video-suncg6 xf86-video-sunleo xf86-video-suntcx
AMS fontcacheproto
xf86-input-joystick xf86-input-void xsetmode xsetpointer
libXxf86dga libXxf86misc
libXprintUtil printproto
font-micro-misc font-misc-misc
xf86-input-elo2300 xf86-input-microtouch
LICENSE-BITSTREAM font-bitstream-type1
fonttosfnt libXvMC libfontenc luit mkfontscale
kbproto libxkbui setxkbmap xdbedizzy
trapproto xtrap
font-bitstream-100dpi font-bitstream-75dpi
dmxproto libdmx
xf86-video-tdfx xf86driproto
libXprintAppUtil xphelloworld xplsprinters xprehashprinterlist
xf86-input-magellan xf86-input-spaceorb
beforelight libXScrnSaver libXpm listres viewres xbiff
xf86-video-rendition xf86-video-vesa xf86-video-vga
encodings font-alias gccmakedep mkfontdir xf86-video-v4l
xorg-sgml-doctools
resourceproto xf86bigfontproto xf86dgaproto xf86miscproto xf86rushproto
font-bh-100dpi font-bh-75dpi
bigreqsproto iceauth imake libSM libXau libXext lndir xauth xcmiscproto
xdpyinfo xinit xmore xsetroot
aczoom evieext libXevie
font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi
font-daewoo-misc font-screen-cyrillic font-xfree86-type1 xorg-cf-files
xcalc xditview xev xeyes xfontsel xgc xload xman xmessage
xf86-input-elographics xf86-input-mutouch
font-bh-ttf font-bh-type1
font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-adobe-utopia-type1
--
Ciaran McCreesh : Gentoo Developer (King of all Londinium)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm