mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 17:01:34 +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/
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py-rtslib
|
|
_realname=rtslib-fb
|
|
pkgver=2.1_p63
|
|
_ver=${pkgver/_rc/rc}
|
|
_ver=${_ver/_p/.fb}
|
|
pkgrel=1
|
|
pkgdesc="Python library that provides an object API to RisingTide Systems generic SCSI Target"
|
|
url="https://github.com/open-iscsi/rtslib-fb"
|
|
arch="noarch"
|
|
license="AGPL-3.0"
|
|
depends="python2"
|
|
makedepends="$depends_dev py-setuptools py-configobj py-ethtool py-ipaddr"
|
|
source="https://github.com/open-iscsi/rtslib-fb/archive/v${_ver}.tar.gz"
|
|
options="!check"
|
|
builddir="$srcdir"/${_realname}-${_ver}
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
default_prepare
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --root="$pkgdir"
|
|
# install -D -m644 specs/ib_srpt.spec $pkgdir/var/lib/target/fabric/ib_srpt.spec
|
|
# install -D -m644 specs/iscsi.spec $pkgdir/var/lib/target/fabric/iscsi.spec
|
|
# install -D -m644 specs/loopback.spec $pkgdir/var/lib/target/fabric/loopback.spec
|
|
# install -D -m644 specs/qla2xxx.spec $pkgdir/var/lib/target/fabric/qla2xxx.spec
|
|
# install -D -m644 specs/tcm_fc.spec $pkgdir/var/lib/target/fabric/tcm_fc.spec
|
|
}
|
|
|
|
sha512sums="faf5732299def9f5eb9147f930e8b48c9e9a26a918b41aa60f06a1f079e6e0453eb3c2d19136b244ef2349c23d31b7fa15cb4a0b6302ffbcd878033a45a11d1a v2.1.fb63.tar.gz"
|