aports/testing/mhddfs/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

32 lines
1.1 KiB
Plaintext

# Contributor: Zsolt M <zsolt@meszarovics.me>
# Maintainer:
pkgname=mhddfs
pkgver=0.1.39
pkgrel=0
pkgdesc="A fuse-based file system for unifying several mount points into one."
url="http://mhddfs.uvw.ru"
arch="all"
license="GPL-3.0"
depends="fuse"
depends_dev="fuse-dev attr-dev"
makedepends="$depends_dev"
_uthashver=1.9.9
source="http://mhddfs.uvw.ru/downloads/${pkgname}_${pkgver}.tar.gz
uthash-v${_uthashver}.tar.gz::https://github.com/troydhanson/uthash/archive/v${_uthashver}.tar.gz
local-uthash.patch"
builddir="$srcdir"/${pkgname}-${pkgver}
build() {
cd "$builddir"
srcdir=${srcdir} make
}
package() {
cd "$builddir"
install -Dsm755 mhddfs "$pkgdir"/usr/bin/${pkgname}
}
sha512sums="cf1952e665e82a92ccfef9215d4faf78cd235566b67e6ebc3a60ab53089d9391bc41a08e6b203ad052e4a08bdd14428f2d9abe48f341aeb0c80ae1da80f83f89 mhddfs_0.1.39.tar.gz
40b888529db6baba7bdb0a11c3f782719c40470f6b8e4d75ed480c4c465606e990abf65786156a93f4e2f9c8805cbc098550cc3c62e33b7345fa5bf6d146a8c4 uthash-v1.9.9.tar.gz
e288ab2efad8955e621460e46dc6ec7c14f6471498ec3df6900fad00bfbb91d3ba9cabed10f17257c6aa15f5be6558c75d4220e57b935beb1cef0893d7a9bbab local-uthash.patch"