Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/ldns-utils/
Date: Sun, 10 Dec 2017 21:15:25
Message-Id: 1512940511.f758c4488f51417e1c2b17f67c02baa56e52cd61.mschiff@gentoo
1 commit: f758c4488f51417e1c2b17f67c02baa56e52cd61
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 10 21:02:22 2017 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 10 21:15:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f758c448
7
8 net-dns/ldns-utils: revbump to remove ssl from dep on ldns
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild | 55 +++++++++++++++++++++++++++
13 1 file changed, 55 insertions(+)
14
15 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
16 new file mode 100644
17 index 00000000000..fa3472999ef
18 --- /dev/null
19 +++ b/net-dns/ldns-utils/ldns-utils-1.7.0-r1.ebuild
20 @@ -0,0 +1,55 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=5
25 +
26 +MY_P=${P/-utils}
27 +
28 +DESCRIPTION="Set of utilities to simplify various dns(sec) tasks"
29 +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/"
30 +SRC_URI="http://www.nlnetlabs.nl/downloads/ldns/${MY_P}.tar.gz"
31 +
32 +LICENSE="BSD"
33 +SLOT="0"
34 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
35 +IUSE="+dane ecdsa examples gost ssl"
36 +
37 +DEPEND=">=net-libs/ldns-${PV}[dane?,ecdsa?,gost?]
38 + examples? ( net-libs/libpcap )"
39 +RDEPEND="${DEPEND}"
40 +
41 +S=${WORKDIR}/${MY_P}
42 +
43 +src_configure() {
44 + cd "${S}"/drill
45 + econf $(use_with ssl)
46 +
47 + if use examples; then
48 + cd "${S}"/examples
49 + econf \
50 + $(use_enable dane) \
51 + $(use_enable ecdsa) \
52 + $(use_enable gost) \
53 + $(use_enable ssl sha2) \
54 + $(use_with ssl)
55 + fi
56 +}
57 +
58 +src_compile() {
59 + emake -C drill
60 + if use examples; then
61 + emake -C examples
62 + fi
63 +}
64 +
65 +src_install() {
66 + cd "${S}"/drill
67 + emake DESTDIR="${D}" install
68 + dodoc ChangeLog.22-nov-2005 README REGRESSIONS
69 +
70 + if use examples; then
71 + cd "${S}"/examples
72 + emake DESTDIR="${D}" install
73 + newdoc README README.examples
74 + fi
75 +}