mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
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/
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
# Contributor:
|
|
# Maintainer: Jay Christopherson <jaychris@gmail.com>
|
|
pkgname=udpcast
|
|
pkgver=20120424
|
|
pkgrel=0
|
|
pkgdesc="Port of UDPcast file transfer tool"
|
|
url="https://www.udpcast.linux.lu/index.html"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev linux-headers m4 perl"
|
|
install=""
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
source="https://www.udpcast.linux.lu/download/udpcast-$pkgver.tar.gz
|
|
console.patch
|
|
"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare || return 1
|
|
update_config_guess || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="b9b67a577ca5659a93bcb9e43f298fb2 udpcast-20120424.tar.gz
|
|
ec69737cfb30c87265eabfec8c7abe04 console.patch"
|
|
sha256sums="ce9090ef80b6035a744a9b5ac335e61c99baa92c39ff53277266fbfcb836445a udpcast-20120424.tar.gz
|
|
56112c12c0bd74c0844ff33f73a943dca31fbb9cd9859e842f169a969ea99d1e console.patch"
|
|
sha512sums="b16a1d3215cbefba1e4d6bb0b38f4715e476c41ddc93fa1a38c5e707af786f4a97badd1eea494f7838f276f370af414d8379db04a14b9b3ff32a1318f16db33d udpcast-20120424.tar.gz
|
|
7abfcf317b5985f680258abc913a48cfd21a26f77625780e57d93960f7efeb0f214ce4d4188bd75cedb9dccac5a5fe9befed2044e3df3b0e8228ac6e0663c41c console.patch"
|