Commit 63f5e7d2 authored by Jakub Jirutka's avatar Jakub Jirutka

[various]: unify names of licenses according to SPDX

This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
parent 5bca7d48

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="TCP proxy for non-IPv6 applications"
url="http://toxygen.net/6tunnel"
arch="all"
license="GPL2"
license="GPL-2.0"
makedepends="automake autoconf"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/wojtekka/$pkgname/archive/$pkgver.tar.gz
......
......@@ -7,7 +7,7 @@ pkgrel=0
pkgdesc="Language and environment for statistical computing"
url="https://www.r-project.org"
arch="all !s390x"
license="GPL-2 GPL-3 LGPL-2.1"
license="GPL-2.0 GPL-3 LGPL-2.1"
depends="$pkgname-mathlib"
depends_dev="gcc gfortran icu-dev libjpeg-turbo libpng-dev make openblas-dev
pcre-dev>=8.10 readline-dev xz-dev zlib-dev bzip2-dev curl-dev>=7.28
......
......@@ -5,7 +5,7 @@ pkgrel=1
pkgdesc="A fully-featured word processor"
url="http://www.abisource.com"
arch="all"
license="GPL2+"
license="GPL-2.0-or-later"
makedepends="gtk+3.0-dev libgsf-dev enchant-dev fribidi-dev wv-dev
popt-dev libjpeg-turbo-dev librsvg-dev bzip2-dev goffice-dev pcre-dev
libxslt-dev"
......
......@@ -6,7 +6,7 @@ _ver=${pkgver/_pre/pre}
pkgrel=3
pkgdesc="Text-based addressbook designed for use with Mutt"
url="http://abook.sourceforge.net"
license="GPL2"
license="GPL-2.0"
arch="all"
makedepends="ncurses-dev readline-dev automake autoconf gettext-dev"
subpackages="$pkgname-doc $pkgname-lang"
......
......@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="A password dictionary attack tool"
url="https://labs.portcullis.co.uk/tools/acccheck/"
arch="noarch"
license="GPLv2"
license="GPL-2.0"
depends="perl"
depends_dev=""
makedepends="$depends_dev"
......
......@@ -6,7 +6,7 @@ pkgrel=2
pkgdesc="A web-based system administration interface for vlc"
url="https://git.alpinelinux.org/cgit/acf/acf-vlc-daemon"
arch="noarch"
license="GPL2"
license="GPL-2.0"
depends="acf-core vlc-daemon"
depends_dev=""
makedepends="$depends_dev"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="American fuzzy lop - a fuzzer relying on genetic algorithms instead brute force"
url="http://lcamtuf.coredump.cx/afl/"
arch="all"
license="ASL 2.0"
license="Apache-2.0"
depends="clang llvm"
makedepends="clang-dev llvm-dev"
subpackages="$pkgname-doc"
......
......@@ -6,7 +6,7 @@ pkgrel=8
pkgdesc="A client for the Apple Filing Protocol (AFP)"
url="http://alexthepuffin.googlepages.com/"
arch="all"
license="GPL2"
license="GPL-2.0"
depends=""
depends_dev="libgcrypt-dev libedit-dev ncurses-dev"
makedepends="$depends_dev autoconf automake libtool linux-headers"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="ANSI color to HTML converter"
url="http://anonscm.debian.org/gitweb/?p=collab-maint/aha.git;a=summary"
arch="all"
license="MPL 1.1"
license="MPL-1.1"
depends=""
depends_dev=""
makedepends=""
......
......@@ -7,7 +7,7 @@ pkgrel=5
pkgdesc="Key cracker for the 802.11 WEP and WPA-PSK protocols"
url="http://www.aircrack-ng.org"
arch="all"
license="GPL2"
license="GPL-2.0"
depends="ethtool wireless-tools iw sqlite grep pciutils"
makedepends="coreutils libressl-dev sqlite-dev libnl-dev linux-headers pcre-dev
bsd-compat-headers zlib-dev"
......
......@@ -5,7 +5,7 @@ pkgrel=0
pkgdesc="A clean minimalistic theme for Xfce, GTK 2 and 3"
url="http://shimmerproject.org/project/albatross/"
arch="noarch"
license="GPLv2 or CC-BY-SA"
license="GPL-2.0 or CC-BY-SA"
makedepends="$depends_dev"
subpackages="$pkgname-gtk2 $pkgname-gtk3 $pkgname-metacity $pkgname-xfwm4"
source="albatross-$pkgver.tar.gz::https://github.com/shimmerproject/Albatross/archive/v$pkgver.tar.gz"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
url="http://joeyh.name/code/alien"
arch="noarch"
license="GPL2"
license="GPL-2.0"
depends="perl"
depends_dev=""
makedepends="$depends_dev"
......
......@@ -6,7 +6,7 @@ pkgrel=4
pkgdesc="Secure anycast tunneling protocol implementation for flexible and fault-tolerant VPNs"
url="http://www.anytun.org"
arch="all"
license="GPL3"
license="GPL-3.0"
depends=""
depends_dev="libressl-dev boost-dev linux-headers"
makedepends="$depends_dev"
......
......@@ -7,7 +7,7 @@ pkgrel=0
pkgdesc="A java-based build tool."
url="http://ant.apache.org/"
arch="noarch"
license="ASL-2.0"
license="Apache-2.0"
depends="openjdk8-jre-base"
makedepends=""
source="http://archive.apache.org/dist/ant/binaries/$pkgname-$pkgver-bin.tar.bz2"
......
......@@ -6,7 +6,7 @@ pkgrel=2
pkgdesc="ARandR provides a simple visual front end for XRandR"
url="http://christian.amsuess.com/tools/arandr/"
arch="noarch"
license="GPL3"
license="GPL-3.0"
depends="py-gtk xrandr"
makedepends="py2-docutils gettext"
subpackages="$pkgname-doc $pkgname-lang"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="FUSE based filesystem for mounting compressed archives"
url="http://www.cybernoia.de/software/archivemount/"
arch="all"
license="LGPLv2+"
license="LGPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev fuse-dev libarchive-dev"
......
......@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="An ARP ping utility"
url="http://www.habets.pp.se/synscan/programs.php?prog=arping"
arch="all"
license="GPL2+"
license="GPL-2.0-or-later"
depends="!iputils"
makedepends="libnet-dev libpcap-dev"
checkdepends="subunit-dev check-dev"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="A Command line recorder for asciinema.org service"
url="https://github.com/asciinema/asciinema/"
arch="all"
license="GPLv3"
license="GPL-3.0"
depends="ncurses"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz"
......
......@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="A cross-platform C++ library for network programming"
url="https://think-async.com"
arch="all"
license="Boost"
license="BSL-1.0"
depends=""
depends_dev="boost-dev libressl-dev"
makedepends="$depends_dev"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="Package dependency solver"
url="http://potassco.sourceforge.net/"
arch="all"
license="LGPL3"
license="LGPL-3.0"
depends="boost gringo clasp"
makedepends="boost-dev cmake re2c"
install=""
......
......@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="GSM modem dongle channel driver"
url="https://github.com/oleg-krv/asterisk-chan-dongle/"
arch="all"
license="GPL2"
license="GPL-2.0"
depends="asterisk"
depends_dev=""
makedepends="$depends_dev asterisk-dev automake autoconf"
......
......@@ -6,7 +6,7 @@ pkgrel=2
pkgdesc="AJAX IRC client. It is a drop-in replacement for qwebirc."
url="http://www.atheme.net/iris.html"
arch="noarch"
license="GPL2"
license="GPL-2.0"
depends="py-twisted py-simplejson py-openssl py-zope-interface"
depends_dev=""
makedepends="$depends_dev python2-dev"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="A document viewer for MATE"
url="https://github.com/mate-desktop/atril"
arch="all"
license="GPLv2"
license="GPL-2.0"
depends="mate-icon-theme abiword-plugin-epub"
# make check is broken: https://github.com/mate-desktop/atril/issues/167
options="!check"
......
......@@ -6,7 +6,7 @@ pkgrel=0
pkgdesc="Freedesktop OCS binding for Qt"
url="http://www.kde.org/"
arch="all"
license="LGPL2+"
license="LGPL-2.0-or-later"
makedepends="qt-dev cmake automoc4"
subpackages="$pkgname-dev"
source="http://download.kde.org/stable/attica/attica-$pkgver.tar.bz2"
......
......@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="Multitrack audio editor"
url="http://audacity.sourceforge.net"
arch="all"
license="GPL2"
license="GPL-2.0"
makedepends="$depends_dev
alsa-lib-dev
bash
......
......@@ -4,7 +4,7 @@ pkgver=2.13
pkgrel=0
pkgdesc="A GNU tool for automatically configuring source code"
arch="noarch"
license="GPL2"
license="GPL-2.0"
url="https://www.gnu.org/software/autoconf"
depends="m4 perl"
source="ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-${pkgver}.tar.gz
......
......@@ -6,7 +6,7 @@ pkgrel=2
pkgdesc="A python command and library to 'wake on lan' a remote host"
url="https://github.com/cyraxjoe/awake"
arch="noarch"
license="GPL3"
license="GPL-3.0"
depends="py3-awake"
makedepends="python3-dev"
subpackages="py3-$pkgname:py3 $pkgname-doc"
......
......@@ -7,7 +7,7 @@ pkgrel=0
pkgdesc="lua-configurable window manager framework"
url="http://awesome.naquadah.org/"
arch="all"
license="GPL2+"
license="GPL-2.0-or-later"
depends="imagemagick lua5.1-lgi cairo-gobject pango"
makedepends="lua lua5.1 lua5.1-dev libxcb-dev pango-dev cairo-dev cmake gperf glib-dev
imlib2-dev libxdg-basedir-dev libev-dev startup-notification-dev
......
......@@ -5,7 +5,7 @@ pkgrel=0
pkgdesc="Dynamic, any to any, pixel format conversion library"
url="http://gegl.org/babl/"
arch="all"
license="LGPL3+"
license="LGPL-3.0-or-later"
subpackages="$pkgname-dev"
source="http://ftp.gimp.org/pub/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
......
......@@ -6,7 +6,7 @@ pkgrel=4
pkgdesc="A banner grabbing tool"
url="https://sourceforge.net/projects/bannergrab"
arch="all"
license="GPL3+"
license="GPL-3.0-or-later"
makedepends="libressl-dev"