summaryrefslogtreecommitdiff
path: root/net-dns/ldns-utils
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-dns/ldns-utils
reinit the tree, so we can have metadata
Diffstat (limited to 'net-dns/ldns-utils')
-rw-r--r--net-dns/ldns-utils/Manifest10
-rw-r--r--net-dns/ldns-utils/files/1.6.12-cflags.patch22
-rw-r--r--net-dns/ldns-utils/ldns-utils-1.6.12.ebuild61
-rw-r--r--net-dns/ldns-utils/ldns-utils-1.6.17.ebuild55
-rw-r--r--net-dns/ldns-utils/ldns-utils-1.7.0.ebuild55
-rw-r--r--net-dns/ldns-utils/metadata.xml19
6 files changed, 222 insertions, 0 deletions
diff --git a/net-dns/ldns-utils/Manifest b/net-dns/ldns-utils/Manifest
new file mode 100644
index 000000000000..07e06efdb13d
--- /dev/null
+++ b/net-dns/ldns-utils/Manifest
@@ -0,0 +1,10 @@
+AUX 1.6.12-cflags.patch 938 SHA256 cf964d5abdd921acf539b6d8185e99def2f43aff47d2d1489b87cd2b342dc8e9 SHA512 bd03ef07cdc407d2ad3714027c91339ada3d79bc3302884b05c4e0ada18d93d232cd718b67a35234b98c29a35f26730df631e0854b8a64399498a7e9f83e6216 WHIRLPOOL a768d441d92aa00194e150d2992a70c83f796228166a315d120273a6677ecf907ad197937aeaa94884285b3686774c95cc76776d7b615006b181db0207c5609e
+DIST ldns-1.6.12.tar.gz 1057607 SHA256 b966787510a169ca0ed78f9a8a5de01fb309909575e721ead92095d4677aa51c SHA512 f928be35a5c0bc2b918f005dd592cc531451f373ed9d77a54d5207a2a80b9d525faabf75bba75483d3476cfeff75a66ad4d9527a84a983216dae4fac30213773 WHIRLPOOL 0e8cf513991850b065144568ec1ea3188ddb6bbf6b3cf08490186552884b2b2dd42ae8ab8995f54c183a989976ab292772411f2582a5bd595d4d54d25e2b4096
+DIST ldns-1.6.17.tar.gz 1315403 SHA256 8b88e059452118e8949a2752a55ce59bc71fa5bc414103e17f5b6b06f9bcc8cd SHA512 5de42b4b8622591db51efb0956735deee9cd5e0bee12249a03b65c5b45d7c51bf9c2edb310ef9d7431af49aef77d968bfa2455a7dedfa80cde3d433436c83785 WHIRLPOOL 08c8a13df3dbeccd5dc5ceeb52730a61ab231e70a85524e826f9275bbcde6e09d6e2fc5234303a6bceb431d2b91f510140ce61a2b59d77afbb2759a0627c7cb7
+DIST ldns-1.7.0.tar.gz 1304424 SHA256 c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc SHA512 8a4e48bcc2a244b92447a9830b60efbb656fb7955f3559ef2eb6f8e724c4c0208776350c44ccf7dcf1ffe0b7b9d9ccc4cbddc5bc16e8888db494ab4d0bce3bd8 WHIRLPOOL 4450b94dd3e2586230f1691b626947cad7ac2031e343d1e522343570d5b713cfd4bacd52e91713139a88c2fe2406f5f42594d2da0a0474c807f47fd2e98726b1
+EBUILD ldns-utils-1.6.12.ebuild 1351 SHA256 8657865c02ed24a364aafe6c5985832fe6fa50517187cf1b9eedf136dc2993e9 SHA512 74b2120348484901b4736f10cc4fc4f36b4ae728fb3173623c8e5274205c1bbe5b6d535ddf62c20e367fedbcdc0591a870fae871ac99679325267a67721b3829 WHIRLPOOL b1a438f70fa7539f42a86d3367f9966959d54be6684e9707fdb425a52fc8896c440f054f812886ec1d05aa533bd031cf2cac21c18e3b3d20c51bd7324d757418
+EBUILD ldns-utils-1.6.17.ebuild 1138 SHA256 089878fd200a9e18bbf991c970167c4c820c6db6ac62e711b70aca7dbcc3a414 SHA512 3ae6b8549ed43e1957127129094ece798f1e7f64dae5521f83eeb59a37bc72ae7e97963b68fadf3c5446c8c019d3800ce06f7e29acaf2c6e748750aed6db03d0 WHIRLPOOL 91ece1a1c67eb4f2c7a1a550d1dc0c5e96fb11dfe023fd9fccac58a82ac139c280a7348d6f25f1ca76a167287dfc07fd7cdbcc1dccb7e80a1c37de6ceb615ffc
+EBUILD ldns-utils-1.7.0.ebuild 1142 SHA256 edf009ec8928911f5d160a4bf4eae491c1bf4d2c27833fb09b27b0905a3b2df3 SHA512 728a69b608ee8d9388ca6331f1da4e6e0e5932f6380fc788fbc9787aabba5e3acc35bbe6462f10173e08ea9f0cd6cec600e18812aa542ffb0039ca3408d6a1b7 WHIRLPOOL ff7af9b1abd89b69863efba907a0c3c8f646594878a32df49a6f590827781fe6389edb6c681de572c6d71179fbc7f96519af8ba5a32c4f4f660168afc2bb0731
+MISC ChangeLog 2669 SHA256 1b3f8097400ed89fd4e179189283dd0c0c453891e3df046150f51bdc5cd6344a SHA512 5d2f00d4e868d09014db185ae60fd0256d5005617231a99a39f8701273c270f68ad6e4736e811db18159918dc36c8cf4951d9bf80f780b57a988e276c6475170 WHIRLPOOL 41d302cb68644c958e20772e1289c16542b91df8ec69d4e3d389c5380b555004bf9986281cec2b7e2946eb751815fdc3984143d1abcc7826b6e781324391429b
+MISC ChangeLog-2015 5180 SHA256 de2a478ae5c298732ab347a0528bfa3aa3f9dba3719f696ff2cc8777db70dc78 SHA512 4e01764ec1f7397a283c3770d9bf1ba4ba6fdc9414834d4d49cbe381a70af19d0cf17608cc6e632fe9a9bd28b2bcacb90d55f92ad497210d452b6a08cfa20c22 WHIRLPOOL 0beb0100fa1735daca3dabdf497a636cbf4fac5fe4b68540b078a08ddd79d7b6b980efcae44a9d3f35a68e1ad68dc046faa39765d592a007911d4bcc89f336fb
+MISC metadata.xml 742 SHA256 f1d66e5af20604a8f5d75ac742b15890a4364acc95a73f771ac3863af5b9ad19 SHA512 a0c0fc0a7dd05890fa9b2d6bf99c5b96990d76993d27d18a382ab69e1200aa5f472865c5de928575d773f70ef21314519bc46a1d2a138da34d569bf56a7d8748 WHIRLPOOL 490e60171be38bed4b6de3ad645c80f3dea9950441c212744348a541622042995f8d07ddae75949fd1a180a5c36728f8bc2e3b5ab519b54ffebbd34893a3b38a
diff --git a/net-dns/ldns-utils/files/1.6.12-cflags.patch b/net-dns/ldns-utils/files/1.6.12-cflags.patch
new file mode 100644
index 000000000000..5e14a20ad37c
--- /dev/null
+++ b/net-dns/ldns-utils/files/1.6.12-cflags.patch
@@ -0,0 +1,22 @@
+diff -Naur ldns-1.6.12.orig/drill/configure.ac ldns-1.6.12/drill/configure.ac
+--- ldns-1.6.12.orig/drill/configure.ac 2011-11-17 00:48:16.000000000 +0900
++++ ldns-1.6.12/drill/configure.ac 2012-01-12 00:20:51.944503474 +0900
+@@ -33,7 +33,6 @@
+ ACX_CHECK_COMPILER_FLAG(xc99, [C99FLAG="-xc99"])
+
+ AC_TYPE_SIZE_T
+-ACX_CHECK_COMPILER_FLAG(O2, [CFLAGS="$CFLAGS -O2"])
+
+ ACX_CHECK_COMPILER_FLAG_NEEDED($C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600,
+ [
+diff -Naur ldns-1.6.12.orig/examples/configure.ac ldns-1.6.12/examples/configure.ac
+--- ldns-1.6.12.orig/examples/configure.ac 2011-09-29 22:04:19.000000000 +0900
++++ ldns-1.6.12/examples/configure.ac 2012-01-12 00:21:03.191504702 +0900
+@@ -31,7 +31,6 @@
+
+
+ AC_TYPE_SIZE_T
+-ACX_CHECK_COMPILER_FLAG(O2, [CFLAGS="$CFLAGS -O2"])
+
+ ACX_CHECK_COMPILER_FLAG_NEEDED($C99FLAG -D__EXTENSIONS__ -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600,
+ [
diff --git a/net-dns/ldns-utils/ldns-utils-1.6.12.ebuild b/net-dns/ldns-utils/ldns-utils-1.6.12.ebuild
new file mode 100644
index 000000000000..6b15334d520a
--- /dev/null
+++ b/net-dns/ldns-utils/ldns-utils-1.6.12.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+inherit autotools eutils
+
+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="amd64 ppc x86"
+IUSE="examples gost ssl"
+
+DEPEND=">=net-libs/ldns-${PV}[gost?,ssl?]
+ examples? ( net-libs/libpcap )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ # bug #369339
+ epatch "${FILESDIR}/1.6.12-cflags.patch"
+
+ ( cd drill && eautoreconf )
+ ( cd examples && eautoreconf )
+}
+
+src_configure() {
+ cd "${S}"/drill
+ econf $(use_with ssl) || die
+
+ if use examples; then
+ cd "${S}"/examples
+ econf \
+ $(use_enable gost) \
+ $(use_enable ssl sha2) \
+ $(use_with ssl) || die
+ fi
+}
+
+src_compile() {
+ emake -C drill || die "emake for drill failed"
+ if use examples; then
+ emake -C examples || die "emake for examples failed"
+ fi
+}
+
+src_install() {
+ cd "${S}"/drill
+ emake DESTDIR="${D}" install || die "emake install for drill failed"
+ dodoc ChangeLog.22-nov-2005 README REGRESSIONS || die
+
+ if use examples; then
+ cd "${S}"/examples
+ emake DESTDIR="${D}" install || die "emake install for examples failed"
+ newdoc README README.examples || die
+ fi
+}
diff --git a/net-dns/ldns-utils/ldns-utils-1.6.17.ebuild b/net-dns/ldns-utils/ldns-utils-1.6.17.ebuild
new file mode 100644
index 000000000000..0bee257bbba9
--- /dev/null
+++ b/net-dns/ldns-utils/ldns-utils-1.6.17.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?,ssl?]
+ 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
+}
diff --git a/net-dns/ldns-utils/ldns-utils-1.7.0.ebuild b/net-dns/ldns-utils/ldns-utils-1.7.0.ebuild
new file mode 100644
index 000000000000..804bffc870e2
--- /dev/null
+++ b/net-dns/ldns-utils/ldns-utils-1.7.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 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?,ssl?]
+ 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
+}
diff --git a/net-dns/ldns-utils/metadata.xml b/net-dns/ldns-utils/metadata.xml
new file mode 100644
index 000000000000..03fefe6a973c
--- /dev/null
+++ b/net-dns/ldns-utils/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mschiff@gentoo.org</email>
+ <name>Marc Schiffbauer</name>
+ </maintainer>
+ <longdescription lang="en">
+ ldns is a library with the aim to simplify DNS programing in C. All
+ lowlevel DNS/DNSSEC operations are supported. We also define a higher
+ level API which allows a programmer to (for instance) create or sign
+ packets.
+ </longdescription>
+ <use>
+ <flag name="dane">Enable DNS-based Authentication of Named Entities (DANE) support</flag>
+ <flag name="ecdsa">Enable ECDSA support</flag>
+ <flag name="gost">Enable GOST support</flag>
+ </use>
+</pkgmetadata>