From ab38dd45d68d56c8c65200c53e5bf202a8d7d1b4 Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Wed, 26 Feb 2020 19:17:56 -0600 Subject: [PATCH] unbound: Move libunbound.so.8 to a sub-package --- common/shlibs | 2 +- srcpkgs/libunbound | 1 + srcpkgs/unbound/template | 11 +++++++++-- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/libunbound diff --git a/common/shlibs b/common/shlibs index 86ae8ed7c39..05cb77cadb7 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3018,7 +3018,7 @@ libdockapp.so.3 libdockapp-0.7.2_1 libkrdccore.so.5 krdc-17.04.3_1 libArcus.so.3 libArcus-3.1.0_1 libgutenprint.so.9 gutenprint-5.3.3_1 -libunbound.so.8 unbound-1.8.0_1 +libunbound.so.8 libunbound-1.10.0_2 libmirage.so.11 libmirage-3.1.0_1 libwkhtmltox.so.0 libwkhtmltopdf-0.12.5_1 libixml.so.10 libupnp1.8-1.8.2_1 diff --git a/srcpkgs/libunbound b/srcpkgs/libunbound new file mode 120000 index 00000000000..f53a1fd5a8d --- /dev/null +++ b/srcpkgs/libunbound @@ -0,0 +1 @@ +unbound \ No newline at end of file diff --git a/srcpkgs/unbound/template b/srcpkgs/unbound/template index 608feade80e..48396e0a987 100644 --- a/srcpkgs/unbound/template +++ b/srcpkgs/unbound/template @@ -1,7 +1,7 @@ # Template file for 'unbound' pkgname=unbound version=1.10.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-libevent --with-conf-file=/etc/unbound/unbound.conf --with-pidfile=/run/unbound.pid --with-ssl=${XBPS_CROSS_BASE}/usr @@ -26,8 +26,15 @@ post_install() { vlicense LICENSE } +libunbound_package() { + short_desc+=" - shared library" + pkg_install() { + vmove "usr/lib/libunbound.so.*" + } +} + unbound-devel_package() { - depends="unbound>=$version libressl-devel libevent-devel" + depends="libunbound>=${version}_${revision} libressl-devel libevent-devel" short_desc+=" - development files" pkg_install() { vmove usr/include