summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-01-09 16:00:03 -0600
committerWilliam Hubbs <williamh@gentoo.org>2017-01-11 17:33:06 -0600
commit00a72565a585d7854f52a8b3c5811d840ed6b8fc (patch)
tree8f3269136ba4f9264ec29415df237243d356b4f8 /net-dns
parentsys-apps/s6-portable-utils: 2.1.0.0 version bump (diff)
downloadgentoo-00a72565a585d7854f52a8b3c5811d840ed6b8fc.tar.gz
gentoo-00a72565a585d7854f52a8b3c5811d840ed6b8fc.tar.bz2
gentoo-00a72565a585d7854f52a8b3c5811d840ed6b8fc.zip
net-dns/s6-dns: New package
s6-dns provides several small DNS client utilities and a library used by the s6-networking suite. Closes: https://github.com/gentoo/gentoo/pull/3407
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/s6-dns/Manifest1
-rw-r--r--net-dns/s6-dns/metadata.xml16
-rw-r--r--net-dns/s6-dns/s6-dns-2.1.0.0.ebuild53
3 files changed, 70 insertions, 0 deletions
diff --git a/net-dns/s6-dns/Manifest b/net-dns/s6-dns/Manifest
new file mode 100644
index 00000000000..2f12ce661df
--- /dev/null
+++ b/net-dns/s6-dns/Manifest
@@ -0,0 +1 @@
+DIST s6-dns-2.1.0.0.tar.gz 77415 SHA256 8455f3b1edad8f01a1340cb1242c141755729bfd5d71059739eced5c006539ad SHA512 c75722b3ddd9d1646116654983558efde22d0d5d3ff1c296a8d5e2ba44abe0d5a86fc86804cf90bea2ee8c3e82028e182d28cdbf5155d46c6b3d8f4d1c3387fc WHIRLPOOL 7c1eb845d6101c53fd65579bd46ad83c0085ee734d2623b616a34db0721bbca913820f21c6979bdc1c87582d8a92c547f7f9a5b640c4f31badbc3bd0098f75fd
diff --git a/net-dns/s6-dns/metadata.xml b/net-dns/s6-dns/metadata.xml
new file mode 100644
index 00000000000..e93f8569c70
--- /dev/null
+++ b/net-dns/s6-dns/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>samuel@sholland.org</email>
+ <name>Samuel Holland</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ s6-dns is a suite of DNS client programs and libraries for Unix systems,
+ as an alternative to the BIND, djbdns or other DNS clients.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-dns/s6-dns/s6-dns-2.1.0.0.ebuild b/net-dns/s6-dns/s6-dns-2.1.0.0.ebuild
new file mode 100644
index 00000000000..93fddfcfc6e
--- /dev/null
+++ b/net-dns/s6-dns/s6-dns-2.1.0.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="suite of DNS client programs and libraries for Unix systems"
+HOMEPAGE="http://www.skarnet.org/software/s6-dns/"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~x86"
+IUSE="static static-libs"
+
+DEPEND=">=sys-devel/make-3.81
+ static? (
+ >=dev-libs/skalibs-2.4.0.0[static-libs]
+ )
+ !static? (
+ >=dev-libs/skalibs-2.4.0.0
+ )
+"
+RDEPEND="
+ !static? (
+ >=dev-libs/skalibs-2.4.0.0:=
+ )
+"
+
+HTML_DOCS="doc/*"
+
+src_prepare() {
+ default
+
+ # Remove QA warning about LDFLAGS addition
+ sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die
+}
+
+src_configure() {
+ econf \
+ --bindir=/bin \
+ --dynlibdir=/$(get_libdir) \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --with-dynlib=/$(get_libdir) \
+ --with-lib=/usr/$(get_libdir)/skalibs \
+ --with-sysdeps=/usr/$(get_libdir)/skalibs \
+ $(use_enable !static shared) \
+ $(use_enable static allstatic) \
+ $(use_enable static static-libc) \
+ $(use_enable static-libs static)
+}