diff options
-rw-r--r-- | net-dns/ldns-utils/ChangeLog | 10 | ||||
-rw-r--r-- | net-dns/ldns-utils/ldns-utils-1.6.2.ebuild | 52 | ||||
-rw-r--r-- | net-dns/ldns-utils/metadata.xml | 15 |
3 files changed, 77 insertions, 0 deletions
diff --git a/net-dns/ldns-utils/ChangeLog b/net-dns/ldns-utils/ChangeLog new file mode 100644 index 000000000000..6a3fbdc34581 --- /dev/null +++ b/net-dns/ldns-utils/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-dns/ldns-utils +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ldns-utils/ChangeLog,v 1.1 2009/11/21 01:53:45 matsuu Exp $ + +*ldns-utils-1.6.2 (21 Nov 2009) + + 21 Nov 2009; MATSUU Takuto <matsuu@gentoo.org> +ldns-utils-1.6.2.ebuild, + +metadata.xml: + Initial import, bug #192728. + diff --git a/net-dns/ldns-utils/ldns-utils-1.6.2.ebuild b/net-dns/ldns-utils/ldns-utils-1.6.2.ebuild new file mode 100644 index 000000000000..6b396d4a9e3c --- /dev/null +++ b/net-dns/ldns-utils/ldns-utils-1.6.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ldns-utils/ldns-utils-1.6.2.ebuild,v 1.1 2009/11/21 01:53:45 matsuu Exp $ + +EAPI="2" + +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 ~x86" +IUSE="examples ssl" + +DEPEND=">=net-libs/ldns-${PV}[ssl?] + examples? ( net-libs/libpcap )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + cd "${S}"/drill + econf $(use_with ssl) || die + + if use examples; then + cd "${S}"/examples + econf \ + $(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 + + if use examples; then + cd "${S}"/examples + emake DESTDIR="${D}" install || die "emake install for examples failed" + 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..9d02b9725e69 --- /dev/null +++ b/net-dns/ldns-utils/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>matsuu@gentoo.org</email> +</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> +</pkgmetadata> + |