summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-08-22 22:20:49 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-08-22 22:21:35 +0300
commit5671ce5fc8e43f958645aa793bc02949320e8c36 (patch)
tree7df249a5be03ceeb2d8973dc14fec71d848d8b06 /net-dns/bind-tools
parentsys-apps/systemd: bump to 243-rc2 (diff)
downloadgentoo-5671ce5fc8e43f958645aa793bc02949320e8c36.tar.gz
gentoo-5671ce5fc8e43f958645aa793bc02949320e8c36.tar.bz2
gentoo-5671ce5fc8e43f958645aa793bc02949320e8c36.zip
net-dns/bind-tools: Add caps use flag (kill automagic)
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-dns/bind-tools')
-rw-r--r--net-dns/bind-tools/bind-tools-9.14.4.ebuild14
-rw-r--r--net-dns/bind-tools/bind-tools-9.15.2.ebuild15
2 files changed, 19 insertions, 10 deletions
diff --git a/net-dns/bind-tools/bind-tools-9.14.4.ebuild b/net-dns/bind-tools/bind-tools-9.14.4.ebuild
index 1185d4288364..f96ea235fc52 100644
--- a/net-dns/bind-tools/bind-tools-9.14.4.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.14.4.ebuild
@@ -17,10 +17,11 @@ SRC_URI="https://downloads.isc.org/isc/bind9/${PV}/${MY_P}.tar.gz"
LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc gssapi idn ipv6 libedit libressl readline ssl xml"
+IUSE="caps doc gssapi idn ipv6 libedit libressl readline ssl xml"
# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
-CDEPEND="
+COMMON_DEPEND="
+ caps? ( sys-libs/libcap )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
@@ -32,11 +33,13 @@ CDEPEND="
!libedit? (
readline? ( sys-libs/readline:0= )
)"
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_EPEND}
!<net-dns/bind-9.10.2"
+BDEPEND="virtual/pkgconfig"
+
S="${WORKDIR}/${MY_P}"
# bug 479092, requires networking
@@ -71,6 +74,7 @@ src_configure() {
$(use_with xml libxml2)
$(use_with gssapi)
$(use_with readline)
+ $(use_enable caps linux-caps)
)
# bug 607400
diff --git a/net-dns/bind-tools/bind-tools-9.15.2.ebuild b/net-dns/bind-tools/bind-tools-9.15.2.ebuild
index 5602d1fded9f..46ab17b3d09f 100644
--- a/net-dns/bind-tools/bind-tools-9.15.2.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.15.2.ebuild
@@ -17,10 +17,11 @@ SRC_URI="https://downloads.isc.org/isc/bind9/${PV}/${MY_P}.tar.gz"
LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0"
SLOT="0"
KEYWORDS=""
-IUSE="doc gssapi idn ipv6 libedit libressl readline ssl xml"
+IUSE="caps doc gssapi idn ipv6 libedit libressl readline ssl xml"
# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
-CDEPEND="
+COMMON_DEPEND="
+ caps? ( sys-libs/libcap )
ssl? (
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
@@ -32,11 +33,14 @@ CDEPEND="
!libedit? (
readline? ( sys-libs/readline:0= )
)"
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
+
+DEPEND="${COMMON_DEPEND}"
+
+RDEPEND="${COMMON_DEPEND}
!<net-dns/bind-9.10.2"
+BDEPEND="virtual/pkgconfig"
+
S="${WORKDIR}/${MY_P}"
# bug 479092, requires networking
@@ -69,6 +73,7 @@ src_configure() {
$(use_with xml libxml2)
$(use_with gssapi)
$(use_with readline)
+ $(use_enable caps linux-caps)
)
# bug 607400