aports/main/tcpproxy/APKBUILD
Jakub Jirutka 63f5e7d295 [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/
2017-12-30 21:05:50 +01:00

37 lines
1.4 KiB
Plaintext

# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=tcpproxy
pkgver=2.0.0_beta15
_pkgver=2.0.0-beta15
pkgrel=4
pkgdesc="Transparent TCP Proxy"
url="http://www.quietsche-entchen.de/cgi-bin/wiki.cgi/proxies/TcpProxy"
arch="all"
license="GPL-2.0-or-later"
depends=
makedepends="ctags linux-headers"
install=""
subpackages=""
source="http://www.quietsche-entchen.de/download/$pkgname-$_pkgver.tar.gz
tcpproxy.initd"
_builddir="$srcdir"/$pkgname-$_pkgver
build() {
cd "$_builddir"
make || return 1
}
package() {
cd "$_builddir"
install -m755 -D "$pkgname" "$pkgdir"/usr/sbin/$pkgname || return 1
install -m755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
}
md5sums="e946f807049d6296f54aa57b5c17f1c8 tcpproxy-2.0.0-beta15.tar.gz
6896b9e6c52ec58a30123d641f5cfd93 tcpproxy.initd"
sha256sums="05cce1d5127fc816465a8f7809ee8e6278cec403478179371dd1f85ac8fc86c0 tcpproxy-2.0.0-beta15.tar.gz
236457fd1479853ec40c1db2ee2c1b7b742904a76b2df7e79641746076ae6e83 tcpproxy.initd"
sha512sums="d5b0a8a11a5c90a86d5576d46c81985ba7f5a05b37b9eb1dc84ca1bdca123477e1246860fe2d16aca4a7db2b4ac8bb19bef4fe9a96dd5c6e8fc88ed4d6f50675 tcpproxy-2.0.0-beta15.tar.gz
de15102ec839e6ada80143a50b89187ede371de48ae5cfad8511aadbe8737d60121995ecdb0f155214440ac4f727b06885d205e3b31614164f3110ecff000d68 tcpproxy.initd"