blob: 5490430d6a06b9acd420e46229447bf18071aab4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
#!/bin/bash
while [ $# -gt 0 ] ; do
case "$1" in
cc-by-sa-2)
echo "CC-BY-SA-2.0";;
cc-by-sa-4)
echo "CC-BY-SA-4.0";;
cc-by-4)
echo "CC-BY-4.0";;
gpl)
echo "GPL-1";;
gpl2)
echo "GPL-2";;
gpl2+)
echo "GPL-2+";;
gpl3)
echo "GPL-3";;
gpl3+)
echo "GPL-3+";;
gpl3+cc-by-sa-4)
$0 gpl3+ cc-by-sa-4;;
gplofllppl)
$0 gpl ofl lppl;;
lppl1)
echo "LPPL-1.3";;
lppl)
echo "LPPL-1.3";;
lppl1.2)
echo "LPPL-1.2";;
lppl1.3)
echo "LPPL-1.3";;
lppl1.3c)
echo "LPPL-1.3c";;
# Some tlpobj from texlive have this like that. This means both and are
# only few of them, so split manually.
lppl1.3ofl)
$0 lppl1.3 ofl;;
lppl1.3lppl1.3)
$0 lppl1.3;;
lpplgpl)
$0 lppl gpl;;
lpplgpl2)
$0 lppl gpl2;;
lppllppl)
$0 lppl;;
gfl)
echo "LPPL-1.3";;
gfsl)
echo "LPPL-1.3";;
#unknown)
# echo "TeX-unknown";;
#noinfo)
# echo "TeX-noinfo";;
#nosource)
# echo "TeX-nosource";;
collection)
echo "GPL-2";;
other-free)
echo "TeX-other-free";;
other-freelppl)
$0 other-free lppl;;
other-freelppl1.3)
$0 other-free lppl1.3;;
#other)
# echo "TeX-other";;
#other-nonfree)
# echo "TeX-other-nonfree";;
lgpl)
echo "LGPL-2";;
lgpl2.1)
echo "LGPL-2.1";;
lgpl3)
echo "LGPL-3";;
pd)
echo "public-domain";;
pdgpl3)
$0 pd gpl3;;
apache2)
echo "Apache-2.0";;
artistic2)
echo "Artistic-2";;
artistic)
echo "Artistic";;
bsd)
echo "BSD";;
bsd3)
echo "BSD";;
knuth)
echo "TeX";;
fdl)
echo "FDL-1.1";;
ofl)
echo "OFL";;
oflapache2lppl1.3)
$0 ofl apache2 lppl1.3;;
ofllppl)
$0 ofl lppl;;
ofllppl1.3)
$0 ofl lppl1.3;;
opl)
echo "OPL";;
mit)
echo "MIT";;
mitlppl)
$0 mit lppl;;
bsd2)
echo "BSD-2";;
#nosell)
# echo "nosell";;
#nocommercial)
# echo "nosell";;
*)
echo "The $1 license is not mapped yet!"
exit 1;;
esac
shift
done
|