mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +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/
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=retawq
|
|
pkgver=0.2.6c
|
|
pkgrel=3
|
|
pkgdesc="retawq is an interactive, multi-threaded network client for text terminals"
|
|
url="http://retawq.sourceforge.net/"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="$depends_dev ncurses-dev libressl-dev"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://prdownloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
|
|
libressl.patch
|
|
"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--path-archprefix="$pkgdir"/usr \
|
|
--path-prefix="$pkgdir"/usr \
|
|
--path-man="$pkgdir"/usr/share/man \
|
|
--path-doc="$pkgdir"/usr/share/doc/$pkgname \
|
|
--enable-cookies \
|
|
--enable-local-cgi \
|
|
--set-tls=2 \
|
|
--enable-ipv6 \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
mkdir -p "$pkgdir"/usr/share/man
|
|
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
md5sums="ee60188bea597680bd39e435a8c73ff9 retawq-0.2.6c.tar.gz
|
|
d730cb94bde88fa2868472aeb6aa17e1 libressl.patch"
|
|
sha256sums="a42e82494f00e054c2de1b065bbc8fb439d93eb69f9b97cc4868e71e48a9eae0 retawq-0.2.6c.tar.gz
|
|
ee179683d46b612f2a4c3970a874fb6d563336bf953dbbc824740ddde05de675 libressl.patch"
|
|
sha512sums="555f61460decf3108e85f0d0153d281a7b9a9fd2474563fcf47145bf969025ffcfad6d5dc0ae946bde11bdf880cc26ceb5cde3194194a1cbbaadc4a672a094f8 retawq-0.2.6c.tar.gz
|
|
3f54adee86945c2b5a2acc300cfc580186759a7545868578780e6bf60f17b29e39c1a4f55745e48dbfdfa05010bddf0ec98cdb510aa5dd19d437c5f45e97a632 libressl.patch"
|