mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 22:52:40 +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/
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=clsync
|
|
pkgver=0.4.2
|
|
pkgrel=1
|
|
pkgdesc="File live sync daemon based on inotify"
|
|
url="https://github.com/xaionaro/clsync"
|
|
arch="x86 x86_64"
|
|
license="GPL-3.0-or-later"
|
|
depends=""
|
|
depends_dev="glib-dev fts-dev libcap-dev libexecinfo-dev linux-headers musl-dev"
|
|
makedepends="$depends_dev autoconf automake file libtool"
|
|
subpackages="$pkgname-doc $pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/xaionaro/$pkgname/archive/v$pkgver.tar.gz
|
|
musl-fix.patch"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
options="!check" # upstream does not provide tests
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cd "$builddir"
|
|
autoreconf -i
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
./configure \
|
|
CFLAGS="$CFLAGS -lfts -lexecinfo" \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--enable-capabilities \
|
|
--enable-seccomp \
|
|
--disable-debug
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
# https://github.com/xaionaro/clsync/issues/150
|
|
rm "$pkgdir"/usr/bin/gencompilerflags
|
|
}
|
|
|
|
sha512sums="d14a2efc4bf58d9d5c7a3fe5634cacdd182cd7cd814b0e9ebd99024a7282b056d1f7ceeec6903666391c3572d599a18e205af818b098ed7768d5c0e0f4cd1200 clsync-0.4.2.tar.gz
|
|
98e81408911731f6e203368094ea0e9eda312648eef8c5beec98b13c6ee43bccee59f0777805bea4d26cbe4e964d2ff95fe863be5be7750b50358d213f106542 musl-fix.patch"
|