spdx-licenses-list: update to 3.21.

This commit is contained in:
classabbyamp 2023-06-24 16:11:16 -04:00 committed by classabbyamp
parent 9b446ac405
commit e1e20d20ed
3 changed files with 41 additions and 3 deletions

View file

@ -0,0 +1,9 @@
#!/bin/bash
# checks for licenses that are no longer custom in packages
mapfile -t licenses < common/travis/license.lst
for lic in "${licenses[@]}"; do
grep -rl "custom:$lic"'[,"]' --include=template srcpkgs \
| cut -d/ -f2 | xargs -rn1 printf "%s: $lic is no longer custom\n"
done

View file

@ -22,6 +22,8 @@ APSL-1.0
APSL-1.1 APSL-1.1
APSL-1.2 APSL-1.2
APSL-2.0 APSL-2.0
ASWF-Digital-Assets-1.0
ASWF-Digital-Assets-1.1
Abstyles Abstyles
AdaCore-doc AdaCore-doc
Adobe-2006 Adobe-2006
@ -37,9 +39,11 @@ Artistic-1.0-Perl
Artistic-1.0-cl8 Artistic-1.0-cl8
Artistic-1.0 Artistic-1.0
Artistic-2.0 Artistic-2.0
Asterisk-exception
Autoconf-exception-2.0 Autoconf-exception-2.0
Autoconf-exception-3.0 Autoconf-exception-3.0
Autoconf-exception-generic Autoconf-exception-generic
Autoconf-exception-macro
BSD-1-Clause BSD-1-Clause
BSD-2-Clause-Patent BSD-2-Clause-Patent
BSD-2-Clause-Views BSD-2-Clause-Views
@ -75,6 +79,7 @@ BitTorrent-1.1
Bitstream-Charter Bitstream-Charter
Bitstream-Vera Bitstream-Vera
BlueOak-1.0.0 BlueOak-1.0.0
Boehm-GC
Bootloader-exception Bootloader-exception
Borceux Borceux
Brian-Gladman-3-Clause Brian-Gladman-3-Clause
@ -129,6 +134,7 @@ CC-BY-SA-2.1-JP
CC-BY-SA-2.5 CC-BY-SA-2.5
CC-BY-SA-3.0-AT CC-BY-SA-3.0-AT
CC-BY-SA-3.0-DE CC-BY-SA-3.0-DE
CC-BY-SA-3.0-IGO
CC-BY-SA-3.0 CC-BY-SA-3.0
CC-BY-SA-4.0 CC-BY-SA-4.0
CC-PDDC CC-PDDC
@ -234,6 +240,7 @@ GPL-1.0-only
GPL-1.0-or-later GPL-1.0-or-later
GPL-2.0-only GPL-2.0-only
GPL-2.0-or-later GPL-2.0-or-later
GPL-3.0-interface-exception
GPL-3.0-linking-exception GPL-3.0-linking-exception
GPL-3.0-linking-source-exception GPL-3.0-linking-source-exception
GPL-3.0-only GPL-3.0-only
@ -265,6 +272,7 @@ ISC
ImageMagick ImageMagick
Imlib2 Imlib2
Info-ZIP Info-ZIP
Inner-Net-2.0
Intel-ACPI Intel-ACPI
Intel Intel
Interbase-1.0 Interbase-1.0
@ -286,6 +294,7 @@ LGPL-3.0-linking-exception
LGPL-3.0-only LGPL-3.0-only
LGPL-3.0-or-later LGPL-3.0-or-later
LGPLLR LGPLLR
LLGPL
LLVM-exception LLVM-exception
LOOP LOOP
LPL-1.0 LPL-1.0
@ -298,6 +307,7 @@ LPPL-1.3c
LZMA-SDK-9.11-to-9.20 LZMA-SDK-9.11-to-9.20
LZMA-SDK-9.22 LZMA-SDK-9.22
LZMA-exception LZMA-exception
Latex2e-translated-notice
Latex2e Latex2e
Leptonica Leptonica
LiLiQ-P-1.1 LiLiQ-P-1.1
@ -306,10 +316,14 @@ LiLiQ-Rplus-1.1
Libpng Libpng
Libtool-exception Libtool-exception
Linux-OpenIB Linux-OpenIB
Linux-man-pages-1-para
Linux-man-pages-copyleft-2-para
Linux-man-pages-copyleft-var
Linux-man-pages-copyleft Linux-man-pages-copyleft
Linux-syscall-note Linux-syscall-note
MIT-0 MIT-0
MIT-CMU MIT-CMU
MIT-Festival
MIT-Modern-Variant MIT-Modern-Variant
MIT-Wu MIT-Wu
MIT-advertising MIT-advertising
@ -344,6 +358,7 @@ NGPL
NICTA-1.0 NICTA-1.0
NIST-PD-fallback NIST-PD-fallback
NIST-PD NIST-PD
NIST-Software
NLOD-1.0 NLOD-1.0
NLOD-2.0 NLOD-2.0
NLPL NLPL
@ -398,8 +413,10 @@ OLDAP-2.5
OLDAP-2.6 OLDAP-2.6
OLDAP-2.7 OLDAP-2.7
OLDAP-2.8 OLDAP-2.8
OLFL-1.3
OML OML
OPL-1.0 OPL-1.0
OPL-UK-3.0
OPUBL-1.0 OPUBL-1.0
OSET-PL-2.1 OSET-PL-2.1
OSL-1.0 OSL-1.0
@ -443,6 +460,7 @@ SCEA
SGI-B-1.0 SGI-B-1.0
SGI-B-1.1 SGI-B-1.1
SGI-B-2.0 SGI-B-2.0
SGP4
SHL-0.5 SHL-0.5
SHL-0.51 SHL-0.51
SHL-2.0 SHL-2.0
@ -482,6 +500,7 @@ TPL-1.0
TTWL TTWL
TU-Berlin-1.0 TU-Berlin-1.0
TU-Berlin-2.0 TU-Berlin-2.0
TermReadKey
UCAR UCAR
UCL-1.0 UCL-1.0
UPL-1.0 UPL-1.0
@ -489,6 +508,7 @@ Unicode-DFS-2015
Unicode-DFS-2016 Unicode-DFS-2016
Unicode-TOU Unicode-TOU
Universal-FOSS-exception-1.0 Universal-FOSS-exception-1.0
UnixCrypt
Unlicense Unlicense
VOSTROM VOSTROM
VSL-1.0 VSL-1.0
@ -498,13 +518,16 @@ W3C-20150513
W3C W3C
WTFPL WTFPL
Watcom-1.0 Watcom-1.0
Widget-Workshop
Wsuipa Wsuipa
WxWindows-exception-3.1 WxWindows-exception-3.1
X11-distribute-modifications-variant X11-distribute-modifications-variant
X11 X11
XFree86-1.1 XFree86-1.1
XSkat XSkat
Xdebug-1.03
Xerox Xerox
Xfig
Xnet Xnet
YPL-1.0 YPL-1.0
YPL-1.1 YPL-1.1
@ -521,6 +544,7 @@ bzip2-1.0.6
checkmk checkmk
copyleft-next-0.3.0 copyleft-next-0.3.0
copyleft-next-0.3.1 copyleft-next-0.3.1
cryptsetup-OpenSSL-exception
curl curl
deprecated_AGPL-1.0 deprecated_AGPL-1.0
deprecated_AGPL-3.0 deprecated_AGPL-3.0
@ -554,6 +578,7 @@ deprecated_bzip2-1.0.5
deprecated_eCos-2.0 deprecated_eCos-2.0
deprecated_wxWindows deprecated_wxWindows
diffmark diffmark
dtoa
dvipdfm dvipdfm
eCos-exception-2.0 eCos-exception-2.0
eGenix eGenix
@ -565,9 +590,11 @@ gnuplot
i2p-gpl-java-exception i2p-gpl-java-exception
iMatix iMatix
libpng-2.0 libpng-2.0
libpri-OpenH323-exception
libselinux-1.0 libselinux-1.0
libtiff libtiff
libutil-David-Nugent libutil-David-Nugent
metamail
mif-exception mif-exception
mpi-permissive mpi-permissive
mpich2 mpich2
@ -577,6 +604,7 @@ psfrag
psutils psutils
snprintf snprintf
u-boot-exception-2.0 u-boot-exception-2.0
vsftpd-openssl-exception
w3m w3m
x11vnc-openssl-exception x11vnc-openssl-exception
xinetd xinetd

View file

@ -1,15 +1,16 @@
# Template file for 'spdx-licenses-list' # Template file for 'spdx-licenses-list'
# common/travis/license.lst should be updated in sync with this package # common/travis/license.lst should be updated in sync with this package
# run common/scripts/check-custom-licenses after updating to find
# license fields in packages that can have 'custom:' removed
pkgname=spdx-licenses-list pkgname=spdx-licenses-list
version=3.20 version=3.21
revision=1 revision=1
short_desc="SPDX License List" short_desc="SPDX License List"
maintainer="mobinmob <mobinmob@disroot.org>" maintainer="mobinmob <mobinmob@disroot.org>"
license="CC-BY-3.0" license="CC-BY-3.0"
homepage="https://spdx.org" homepage="https://spdx.org"
distfiles="https://github.com/spdx/license-list-data/archive/v${version}.tar.gz" distfiles="https://github.com/spdx/license-list-data/archive/v${version}.tar.gz"
checksum=fba795a26f8d646340b0cef2d22c3fa490158809636b225c7a0c2214a91c156f checksum=7f7a4ffb4aa2d6ac32610a629a6fe127e5d5a3a5e41774b555dccc9284f3e149
do_install() { do_install() {
vmkdir usr/share/spdx vmkdir usr/share/spdx