mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02: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/
27 lines
838 B
Plaintext
27 lines
838 B
Plaintext
# Contributor: Danilo Godec <danilo.godec@agenda.si>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=nuttcp
|
|
pkgver=8.1.4
|
|
pkgrel=0
|
|
pkgdesc="A network performance measurement tool"
|
|
url="http://www.nuttcp.net"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
makedepends="linux-headers"
|
|
source="http://nuttcp.net/nuttcp/nuttcp-$pkgver/nuttcp-$pkgver.c"
|
|
builddir="$srcdir"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
${CC:-gcc} $CFLAGS -o nuttcp $LDFLAGS nuttcp-$pkgver.c
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
install -Dm755 nuttcp "$pkgdir"/usr/sbin/nuttcp
|
|
}
|
|
|
|
md5sums="f3e236273f509f4f3993d9f842ffd860 nuttcp-8.1.4.c"
|
|
sha256sums="d063efc143ed4e740439b859be075b4a4c35194a7d47e62378dd44d73974cfd7 nuttcp-8.1.4.c"
|
|
sha512sums="5bc1505d708ed9555c03bb5358f8a94f483b725d99c5b1de74447a888bb4d9485385602538d7be2b56026a87f9fd2255744e7528f92cfb5fe54f5f4ab7c2e1fc nuttcp-8.1.4.c"
|