Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaranm@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Duplicate licences
Date: Sat, 21 Jan 2006 05:10:45
Message-Id: 20060121050720.3e88cf4f@snowdrop.home
1 The duplicate licences situation is getting rather silly... We don't
2 include each variation for licences that vary only by the copyright
3 holder (if we did, we'd need a zillion new GPL-2s and BSDs, but instead
4 they just use <placeholder>s), and we don't care about whitespace
5 variations.
6
7 Also note that if a program's licence consists only of a copyright line
8 with no licence, we can't legally distribute it. Also also note that
9 sticking licences in the tree that just say "see the BLAH file" is very
10 very stupid.
11
12 Here's an ugly hack of a script, which is very very buggy:
13
14 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
15
16 Here's the output, which is far from perfect:
17
18 appres bdftopcf bitmap editres fslsfonts fstobdf oclock pclcomp
19 proxymngr rgb sessreg smproxy xbitmaps xclipboard xconsole xf86dga xfd
20 xfindproxy xfsinfo xkill xlogo xlsatoms xlsclients xlsfonts xmag
21 xmodmap xprop xproxymanagementprotocol xset xsm xstdcmap xwd xwininfo
22 xwud xkbprint xkbutils libXres xf86-input-magictouch xf86-input-palmax
23 xf86-video-apm xf86-video-dummy xf86-video-fbdev xf86-video-vmware
24 xvinfo font-adobe-100dpi font-adobe-75dpi
25
26 visual vpython
27
28 xf86-video-sunbw2 xf86-video-suncg14 xf86-video-suncg3
29 xf86-video-suncg6 xf86-video-sunleo xf86-video-suntcx
30 AMS fontcacheproto
31
32 xf86-input-joystick xf86-input-void xsetmode xsetpointer
33
34 libXxf86dga libXxf86misc
35
36 libXprintUtil printproto
37
38 font-micro-misc font-misc-misc
39
40 xf86-input-elo2300 xf86-input-microtouch
41
42 LICENSE-BITSTREAM font-bitstream-type1
43
44 fonttosfnt libXvMC libfontenc luit mkfontscale
45
46 kbproto libxkbui setxkbmap xdbedizzy
47
48 trapproto xtrap
49
50 font-bitstream-100dpi font-bitstream-75dpi
51
52 dmxproto libdmx
53
54 xf86-video-tdfx xf86driproto
55
56 libXprintAppUtil xphelloworld xplsprinters xprehashprinterlist
57
58 xf86-input-magellan xf86-input-spaceorb
59
60 beforelight libXScrnSaver libXpm listres viewres xbiff
61 xf86-video-rendition xf86-video-vesa xf86-video-vga
62 encodings font-alias gccmakedep mkfontdir xf86-video-v4l
63 xorg-sgml-doctools
64 resourceproto xf86bigfontproto xf86dgaproto xf86miscproto xf86rushproto
65
66 font-bh-100dpi font-bh-75dpi
67
68 bigreqsproto iceauth imake libSM libXau libXext lndir xauth xcmiscproto
69 xdpyinfo xinit xmore xsetroot
70 aczoom evieext libXevie
71
72 font-bh-lucidatypewriter-100dpi font-bh-lucidatypewriter-75dpi
73 font-daewoo-misc font-screen-cyrillic font-xfree86-type1 xorg-cf-files
74 xcalc xditview xev xeyes xfontsel xgc xload xman xmessage
75
76 xf86-input-elographics xf86-input-mutouch
77
78 font-bh-ttf font-bh-type1
79
80 font-adobe-utopia-100dpi font-adobe-utopia-75dpi font-adobe-utopia-type1
81
82 --
83 Ciaran McCreesh : Gentoo Developer (King of all Londinium)
84 Mail : ciaranm at gentoo.org
85 Web : http://dev.gentoo.org/~ciaranm

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Duplicate licences Joshua Baergen <joshuabaergen@g.o>