aports/testing/ctorrent-dnh/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

30 lines
1.1 KiB
Plaintext

# Contributor: Denis Ryabyy <vv1r0x@gmail.com>
# Maintainer: Denis Ryabyy <vv1r0x@gmail.com>
pkgname=ctorrent-dnh
pkgver=3.3.2
pkgrel=0
pkgdesc="Enhanced CTorrent is a BitTorrent client for unix-like environments"
url="http://www.rahul.net/dholmes/ctorrent/"
arch="all"
license="GPL-2.0"
source="http://www.rahul.net/dholmes/ctorrent/${pkgname}${pkgver}.tar.gz
unistd.patch"
builddir="$srcdir/${pkgname}${pkgver}"
build() {
cd "$builddir"
./configure --prefix=/usr && make
}
package () {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
md5sums="59b23dd05ff70791cd6449effa7fc3b6 ctorrent-dnh3.3.2.tar.gz
d017bf6725e4d56d118bfe817bd211e4 unistd.patch"
sha256sums="c87366c91475931f75b924119580abd06a7b3cb3f00fef47346552cab1e24863 ctorrent-dnh3.3.2.tar.gz
893d308cdfbca91d610982713de8954d14a1623a6120442d366c0141af218a86 unistd.patch"
sha512sums="e59b2b899b8603e42a5754d5ce65f661b135b8e107140e0472af379b2b06ee2985239ed0ebf19dcaef788e617b99eac35ad32ad2d10352e2fcf5a6dc084d27dd ctorrent-dnh3.3.2.tar.gz
0f1e851202c8945c6a8c630b1ea54426bef542c7661c75d0ea97a7bd176cf503ba529a2439b4c13f7c3e7631854c9a207a788ac77fd5774e43b236c76bc57bf0 unistd.patch"