From 97860d1b6d999016cdbc04714e06f5c25f213d28 Mon Sep 17 00:00:00 2001 From: Sören Tempel Date: Sat, 7 May 2022 01:07:34 +0200 Subject: main/libmaxminddb: split -libs to don't force cronjob installation Without this commit, the cronjob is unconditionally installed. Even for software which only uses libmaxminddb as a library. On my system, wireshark pulls in libmaxminddb and libmaxminddb cronjob outputs: No MaxMind license key found; exiting. Please enter your license key into /etc/libmaxminddb.cron.conf. weekly even though I don't use MaxMind directly on my system. By splitting the -libs subpackage we can ensure that package which depend on libmaxminddb don't pull in the cronjob by default. --- main/libmaxminddb/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/libmaxminddb/APKBUILD b/main/libmaxminddb/APKBUILD index 21e97c2a3d7..171a4196956 100644 --- a/main/libmaxminddb/APKBUILD +++ b/main/libmaxminddb/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Timo Teräs pkgname=libmaxminddb pkgver=1.6.0 -pkgrel=0 +pkgrel=1 pkgdesc="Maxmind GeoIP2 database library" url="https://github.com/maxmind/libmaxminddb" arch="all" license="Apache-2.0" depends="curl" checkdepends="perl" -subpackages="$pkgname-static $pkgname-dev $pkgname-doc" +subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs" source="https://github.com/maxmind/libmaxminddb/releases/download/$pkgver/libmaxminddb-$pkgver.tar.gz libmaxminddb.cron libmaxminddb.confd -- cgit v1.2.3