summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2019-09-25 19:09:30 +0200
committerMarc Schiffbauer <mschiff@gentoo.org>2019-09-25 19:10:06 +0200
commite98b691267f4f28b155c00d1c987ceb9e951a5fe (patch)
tree011ebf89f4e7c48526fe9f87a1a189f13ab3f6fa /net-dns/ldns-utils
parentnet-libs/ldns: bump version (diff)
downloadgentoo-e98b691267f4f28b155c00d1c987ceb9e951a5fe.tar.gz
gentoo-e98b691267f4f28b155c00d1c987ceb9e951a5fe.tar.bz2
gentoo-e98b691267f4f28b155c00d1c987ceb9e951a5fe.zip
net-dns/ldns-utils: bump version
Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'net-dns/ldns-utils')
-rw-r--r--net-dns/ldns-utils/Manifest1
-rw-r--r--net-dns/ldns-utils/ldns-utils-1.7.1.ebuild66
-rw-r--r--net-dns/ldns-utils/metadata.xml2
3 files changed, 69 insertions, 0 deletions
diff --git a/net-dns/ldns-utils/Manifest b/net-dns/ldns-utils/Manifest
index 51c3ade23c2a..7654e7092d5c 100644
--- a/net-dns/ldns-utils/Manifest
+++ b/net-dns/ldns-utils/Manifest
@@ -1 +1,2 @@
DIST ldns-1.7.0.tar.gz 1304424 BLAKE2B 2f37aa2d00c1d9cf18711bd4f873f4722df01c4f4d0f627e054f04b2473c0fbf19449e293a130d5c8b98dcebafeb3d7b3f5923ae0244bd80139cea77f2171e06 SHA512 8a4e48bcc2a244b92447a9830b60efbb656fb7955f3559ef2eb6f8e724c4c0208776350c44ccf7dcf1ffe0b7b9d9ccc4cbddc5bc16e8888db494ab4d0bce3bd8
+DIST ldns-1.7.1.tar.gz 1244394 BLAKE2B 8f2d9c6e34c4f13924ce1531a5757c4a619fc31ebc5a0a3d4aaf43fcfc8b53e8f371984b1c60ab74f735a05a9ca0710fc29a40fffeaef66eb54395eb3a727a0d SHA512 e8f72a4ff4aa544acac5e7be9a8ba38c6b8d388bb26f9a0ed04c1a921622f8582cc8539beafc76a29187a55c94069b7c1875e77522e1a7e7bb3e297dd1e4c2b7
diff --git a/net-dns/ldns-utils/ldns-utils-1.7.1.ebuild b/net-dns/ldns-utils/ldns-utils-1.7.1.ebuild
new file mode 100644
index 000000000000..6a6ba48f563a
--- /dev/null
+++ b/net-dns/ldns-utils/ldns-utils-1.7.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="+dane ecdsa ed25519 ed448 examples gost ssl"
+
+REQUIRED_USE="
+ ecdsa? ( ssl )
+ ed25519? ( ssl )
+ ed448? ( ssl )
+ dane? ( ssl )
+ gost? ( ssl )
+"
+
+DEPEND=">=net-libs/ldns-${PV}[dane?,ecdsa?,ed25519?,ed448?,gost?]
+ examples? ( net-libs/libpcap )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ # >=openssl-1.1.0 required for dane-ta
+ if has_version "<dev-libs/openssl-1.1.0"; then
+ local dane_ta_usage="--disable-dane-ta-usage"
+ else
+ local dane_ta_usage=""
+ fi
+
+ ECONF_SOURCE=${S} \
+ econf \
+ --with-drill \
+ $(use_with ssl) \
+ $(use_with examples) \
+ $(use_enable dane) \
+ $(use_enable ecdsa) \
+ $(use_enable ed25519) \
+ $(use_enable ed448) \
+ $(use_enable gost) \
+ $(use_enable ssl sha2) \
+ $dane_ta_usage
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ #cd "${S}"/drill
+ emake DESTDIR="${D}" install-drill
+ dodoc drill/{ChangeLog.22-nov-2005,README,REGRESSIONS}
+
+ if use examples; then
+ emake DESTDIR="${D}" install-examples
+ newdoc examples/README README.examples
+ fi
+}
diff --git a/net-dns/ldns-utils/metadata.xml b/net-dns/ldns-utils/metadata.xml
index 03fefe6a973c..8980068eb12e 100644
--- a/net-dns/ldns-utils/metadata.xml
+++ b/net-dns/ldns-utils/metadata.xml
@@ -14,6 +14,8 @@
<use>
<flag name="dane">Enable DNS-based Authentication of Named Entities (DANE) support</flag>
<flag name="ecdsa">Enable ECDSA support</flag>
+ <flag name="ed25519">Enable ED25519 support</flag>
+ <flag name="ed448">Enable ED448 support</flag>
<flag name="gost">Enable GOST support</flag>
</use>
</pkgmetadata>