mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +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/
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
# Contributor: Michael Mason <ms13sp@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=hypermail
|
|
pkgver=2.3.0
|
|
pkgrel=4
|
|
pkgdesc="Mail Archiver"
|
|
url="http://www.hypermail-project.org"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="lua"
|
|
makedepends="pcre-dev bison gdbm-dev"
|
|
install=""
|
|
subpackages=""
|
|
source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz
|
|
mdir2mbox.lua"
|
|
|
|
_builddir="$srcdir"/hypermail
|
|
prepare() {
|
|
cd "$_builddir"
|
|
update_config_sub || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--with-httpddir=/var/www \
|
|
--with-cgidir=/var/www/cgi-bin \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
package() {
|
|
cd "$_builddir"
|
|
|
|
#does not understand DESTDIR so going to install ourselves
|
|
#make DESTDIR="$pkgdir" install
|
|
|
|
install -m755 -D archive/rdmsg "$pkgdir"/usr/bin/rdmsg
|
|
install -m755 -D archive/msg2archive "$pkgdir"/usr/bin/msgarchive
|
|
install -m755 -D src/hypermail "$pkgdir"/usr/bin/hypermail
|
|
install -m755 -D "$srcdir"/mdir2mbox.lua "$pkgdir"/usr/bin/mdir2mbox.lua
|
|
}
|
|
|
|
md5sums="510c46b98314f4e98796719f27865846 hypermail-2.3.0.tar.gz
|
|
079b00d4ea667a0efd6fd370b1a4d5d8 mdir2mbox.lua"
|
|
sha256sums="619938b0cf54eae786f36ef237f106ef7bff7a5c69904ca32afd8d47bf1605d1 hypermail-2.3.0.tar.gz
|
|
447069efc7d1ae3cf32f348ca1ddfa18a1354dc74289bcdce9b69fc92ec84eb0 mdir2mbox.lua"
|
|
sha512sums="6f4db2613a53f27e88a9827057be57df49b1dfff6dfcc7b531fdb983b03e64818f5845411f9eb42fc7ae8829281c67773d16fcb3b9d3fa2a7c92d5100fa9bb57 hypermail-2.3.0.tar.gz
|
|
203c292c46d40c35023629795ef0baa254c036ccfdb5628b3abf2d0c965bff9274f39571dfcb27aa508d9b801356d793fd5f78466ebb69b2306f56b28ac85b9c mdir2mbox.lua"
|