aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2022-05-07 01:07:34 +0200
committerLeo <thinkabit.ukim@gmail.com>2022-05-10 19:28:50 +0000
commit97860d1b6d999016cdbc04714e06f5c25f213d28 (patch)
tree8dcaecc3bf62d989d23c38a9dfd50ac4d58fbcb4
parentbafd8e0560ff66fb164ee6146ed395f280743666 (diff)
downloadaports-97860d1b6d999016cdbc04714e06f5c25f213d28.tar.gz
aports-97860d1b6d999016cdbc04714e06f5c25f213d28.tar.bz2
aports-97860d1b6d999016cdbc04714e06f5c25f213d28.tar.xz
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.
-rw-r--r--main/libmaxminddb/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/libmaxminddb/APKBUILD b/main/libmaxminddb/APKBUILD
index 21e97c2a3d..171a419695 100644
--- a/main/libmaxminddb/APKBUILD
+++ b/main/libmaxminddb/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Timo Teräs <timo.teras@iki.fi>
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