diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2017-12-10 22:02:22 +0100 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2017-12-10 22:15:11 +0100 |
commit | f758c4488f51417e1c2b17f67c02baa56e52cd61 (patch) | |
tree | fe09d924b40c0020c3302b04310cb2aabcc4f538 /net-dns/ldns-utils | |
parent | sys-apps/dbus-broker: bump to 9 (diff) | |
download | gentoo-f758c4488f51417e1c2b17f67c02baa56e52cd61.tar.gz gentoo-f758c4488f51417e1c2b17f67c02baa56e52cd61.tar.bz2 gentoo-f758c4488f51417e1c2b17f67c02baa56e52cd61.zip |
net-dns/ldns-utils: revbump to remove ssl from dep on ldns
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'net-dns/ldns-utils')
-rw-r--r-- | net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild b/net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild new file mode 100644 index 000000000000..fa3472999ef4 --- /dev/null +++ b/net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P=${P/-utils} + +DESCRIPTION="Set of utilities to simplify various dns(sec) tasks" +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/ldns/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="+dane ecdsa examples gost ssl" + +DEPEND=">=net-libs/ldns-${PV}[dane?,ecdsa?,gost?] + examples? ( net-libs/libpcap )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_configure() { + cd "${S}"/drill + econf $(use_with ssl) + + if use examples; then + cd "${S}"/examples + econf \ + $(use_enable dane) \ + $(use_enable ecdsa) \ + $(use_enable gost) \ + $(use_enable ssl sha2) \ + $(use_with ssl) + fi +} + +src_compile() { + emake -C drill + if use examples; then + emake -C examples + fi +} + +src_install() { + cd "${S}"/drill + emake DESTDIR="${D}" install + dodoc ChangeLog.22-nov-2005 README REGRESSIONS + + if use examples; then + cd "${S}"/examples + emake DESTDIR="${D}" install + newdoc README README.examples + fi +} |