mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +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/
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=incron
|
|
pkgver=0.5.10
|
|
pkgrel=0
|
|
pkgdesc="Inotify cron system"
|
|
url="http://inotify.aiken.cz"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
makedepends="argp-standalone"
|
|
subpackages="$pkgname-doc"
|
|
options="suid"
|
|
source="http://inotify.aiken.cz/download/incron/incron-$pkgver.tar.bz2
|
|
fix-headers.patch
|
|
incrond.initd
|
|
incron-aarch64.patch
|
|
"
|
|
builddir="$srcdir/incron-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make PREFIX=/usr
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" PREFIX=/usr install
|
|
install -Dm755 "$srcdir"/incrond.initd "$pkgdir"/etc/init.d/incrond
|
|
install -Dm644 incron.conf.example "$pkgdir"/etc/incron.conf
|
|
}
|
|
|
|
sha512sums="5d9ae4d4e3929ba16ad06652f21ef319041e13f9b15000d08053a973bef706b5d0137b9235c29049aed1673a2f41379b2b677eeedefacaf68308ad54405e4bfd incron-0.5.10.tar.bz2
|
|
ab25665b6b736b81bfa84b1092608e0f2c15484a2e920b1859827bd870d04a894760020be6ab27226ff8cb75bab1ef8dc34d006a4531fc658e32137374412c9c fix-headers.patch
|
|
458d5a4e9ab062b3e9a7dddf46c25bae431ec6c93862304f444e94cfb41b28e9ae21d5e621e94ce9cf55b26878d8fe978c19eeaa473779772a24adf709fd4cd8 incrond.initd
|
|
46af5174748bec8ddad84f43b00a4b10f3bed3af2884fa4106797e96e2ea1be399642c049760035635275354a4a66d1ce33c58e6856bda3e98054c8627277287 incron-aarch64.patch"
|