mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +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/
33 lines
949 B
Plaintext
33 lines
949 B
Plaintext
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
|
# Maintainer:
|
|
pkgname=dstat
|
|
pkgver=0.7.3
|
|
pkgrel=0
|
|
pkgdesc="A versatile resource statistics tool"
|
|
url="http://dag.wieers.com/home-made/dstat/"
|
|
arch="noarch"
|
|
license="GPL-2.0-or-later"
|
|
depends="python2"
|
|
depends_dev="python2-dev"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="${pkgname}-${pkgver}.tar.gz::https://github.com/dagwieers/${pkgname}/archive/${pkgver}.tar.gz"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make || return 1
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR=$pkgdir install || return 1
|
|
}
|
|
|
|
md5sums="be27c905e6737993306dbbcee735e8ad dstat-0.7.3.tar.gz"
|
|
sha256sums="46e63821857b69fbc60cb2c7d893ccdd6f31cd9ef24b8bb0b68951e1c7374898 dstat-0.7.3.tar.gz"
|
|
sha512sums="db37cc8bb7afd235ae9088e76c4defaa4d76651b111fbfdcd0980bc96376de20d57964912799a413397a79651730503bdeb8fea5cb97ab4d6d81632f528aefd2 dstat-0.7.3.tar.gz"
|