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= )
!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
$(use_with xml libxml2)
$(use_with gssapi)
$(use_with readline)
+ $(use_enable caps linux-caps)
)
# bug 607400
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= )
!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
$(use_with xml libxml2)
$(use_with gssapi)
$(use_with readline)
+ $(use_enable caps linux-caps)
)
# bug 607400