Skip to content
Snippets Groups Projects
  • Jakub Jirutka's avatar
    63f5e7d2
    [various]: unify names of licenses according to SPDX · 63f5e7d2
    Jakub Jirutka authored
    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/
    63f5e7d2
    History
    [various]: unify names of licenses according to SPDX
    Jakub Jirutka authored
    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/
APKBUILD 1.68 KiB
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-provisioning-cisco
pkgver=0.1.0
pkgrel=0
pkgdesc="Files for provisioning Cisco Small Business Voice Gateways and ATAs"
url="http://www.cisco.com/c/en/us/support/unified-communications/small-business-voice-gateways-ata/tsd-products-support-series-home.html"
arch="noarch"
license="AS-IS"
depends=""
makedepends=""
# Source obtained from http://software.cisco.com/download/release.html?mdfid=283998771&softwareid=282463187&release=1.3.1
# and cached on dev.alpinelinux.org
source="http://dev.alpinelinux.org/archive/$pkgname/SPA112_SPA122_1.3.1_003_FW.zip
init.cfg
SPA112.cfg"
subpackages=""

package() {
	cd "$srcdir"
	mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Cisco
	cp *.cfg *.bin "$pkgdir"/var/www/provisioning/htdocs/Cisco
}

md5sums="ccfb754a02b92418e241af6e23f23143  SPA112_SPA122_1.3.1_003_FW.zip
4c826d078240d8e64ba084ea811a65d1  init.cfg
2c53d509b9fe3ac51907df05d9f981ec  SPA112.cfg"
sha256sums="1c439efa769878af5a4a509e7693c606772c883f1abbab7be42874dad554e2ed  SPA112_SPA122_1.3.1_003_FW.zip
21fb6bcf79ad5919777279d3ece759ce1179959b6e870fb1f32e91bf39e777be  init.cfg
87422399d7f0b172d258dc6b32f667d551727e978a71e4d1c35e509f18ecc2f8  SPA112.cfg"
sha512sums="86beaf3e4cb88be24d4aff823106c174a832914113c855bb1b589a7890864c42a68cb095f2e97ff7bb5aff9365b3063a60bb24d5691e4942be642ee191dd4630  SPA112_SPA122_1.3.1_003_FW.zip
46d2544ad730b77ad36f10de07792804101c1e7bdc1c4ff0ebdca845dd2cb59ef3928fa85cd22d7e075f4504a21f804e9fd26d44db8021d29cca9271f02b3dac  init.cfg
0ece33f6ce9012a97e0e0856da93b2e6c0628caa0bc856ecce813c1caf9a3de4b6ed29358d14becc46bebd0e1f1487791587980d4b64159039bfde85b3324342  SPA112.cfg"