mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 15:12:02 +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/
43 lines
1.7 KiB
Plaintext
43 lines
1.7 KiB
Plaintext
# Contributor: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
|
|
# Maintainer: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
|
|
pkgname=apache2-mod-authnz-external
|
|
_realname=mod_authnz_external
|
|
pkgver=3.3.2
|
|
pkgrel=0
|
|
pkgdesc="Apache module for external authentication"
|
|
url="https://code.google.com/p/mod-auth-external/"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
depends="apache2"
|
|
makedepends="apache2-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mod-auth-external/$_realname-$pkgver.tar.gz
|
|
$pkgname.apache2.conf"
|
|
builddir="$srcdir/$_realname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make || return 1
|
|
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
install -Dm755 ".libs/$_realname.so" "$pkgdir/usr/lib/apache2/$_realname.so"
|
|
install -Dm644 "$srcdir/$pkgname.apache2.conf" \
|
|
"$pkgdir/etc/apache2/conf.d/authnz-external-module.conf" || return 1
|
|
local f
|
|
for f in AUTHENTICATORS README; do
|
|
install -Dm644 "$f" \
|
|
"$pkgdir/usr/share/doc/$pkgname/$f" || return 1
|
|
done
|
|
}
|
|
|
|
md5sums="34981f7f26abfc8d71c93391e15d679c mod_authnz_external-3.3.2.tar.gz
|
|
86f27d2072039fb1f8f37e8e8981343e apache2-mod-authnz-external.apache2.conf"
|
|
sha256sums="a16b31d81c20e024e7efe480fe98b48d5ce40d520b0a13ff38ab003cc527f1e8 mod_authnz_external-3.3.2.tar.gz
|
|
c43a8f06c96eee433f96e00c52961f60e9c4b1db3ac62f1c815f9142629c5861 apache2-mod-authnz-external.apache2.conf"
|
|
sha512sums="8216744dbaed8dbde0d33658e38594463409e613412bd94f3e5f5a816f5e793a395ddda7c582ff1d1e69e48efdd1efb48c168d4cbc37cc7807a0dcb92eace0be mod_authnz_external-3.3.2.tar.gz
|
|
aad10cd570ae77b24a658898f1edb0ee08501e98ef76b68efd101037f53b7de123aecc87e535957b401925c665f952b381c4d4bf874c946ba0caeb979b222c35 apache2-mod-authnz-external.apache2.conf"
|