summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/udns
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/udns')
-rw-r--r--net-libs/udns/Manifest1
-rw-r--r--net-libs/udns/metadata.xml13
-rw-r--r--net-libs/udns/udns-0.4.ebuild53
3 files changed, 67 insertions, 0 deletions
diff --git a/net-libs/udns/Manifest b/net-libs/udns/Manifest
new file mode 100644
index 000000000000..01d9dca635f4
--- /dev/null
+++ b/net-libs/udns/Manifest
@@ -0,0 +1 @@
+DIST udns-0.4.tar.gz 84716 SHA256 115108dc791a2f9e99e150012bcb459d9095da2dd7d80699b584ac0ac3768710 SHA512 2990d57b3b6bf176a12ee07fd4391921e13634fc8409e8ce4df8dbe7b3556a116ae59ab328a1b6a95ebc94298f6b56ec7197a06a649d8d642b371b8ecef3e40b WHIRLPOOL 363522b4a9fb813b494d312f2dd8556f246bb4589f68940f1de8daef9009fe09025a7d988e6e415eee33a3c1c04c520aa174dfd67a1ea2280b97292e97de4d7d
diff --git a/net-libs/udns/metadata.xml b/net-libs/udns/metadata.xml
new file mode 100644
index 000000000000..93d64bde5f89
--- /dev/null
+++ b/net-libs/udns/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name="tools">Build and install dnsget, ex-rdns and rblcheck tools</flag>
+</use>
+<longdescription>
+UDNS is a stub DNS resolver library with ability to perform both syncronous and asyncronous DNS queries.
+</longdescription>
+</pkgmetadata>
diff --git a/net-libs/udns/udns-0.4.ebuild b/net-libs/udns/udns-0.4.ebuild
new file mode 100644
index 000000000000..4180cfb0c5b4
--- /dev/null
+++ b/net-libs/udns/udns-0.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils multilib toolchain-funcs
+
+DESCRIPTION="Async-capable DNS stub resolver library"
+HOMEPAGE="http://www.corpit.ru/mjt/udns.html"
+SRC_URI="http://www.corpit.ru/mjt/udns/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ppc ~ppc64 sparc x86 ~x86-fbsd"
+IUSE="ipv6 static +tools"
+
+# Yes, this doesn't depend on any other library beside "system" set
+DEPEND=""
+RDEPEND=""
+
+src_configure() {
+ # Uses non-standard configure script, econf doesn't work
+ CC=$(tc-getCC) ./configure $(use_enable ipv6) || die "Configure failed"
+}
+
+src_compile() {
+ if use tools; then
+ emake shared
+ else
+ emake sharedlib
+ fi
+}
+
+src_install() {
+ dolib.so libudns.so.0
+ dosym libudns.so.0 "/usr/$(get_libdir)/libudns.so"
+
+ if use tools; then
+ newbin dnsget_s dnsget
+ newbin ex-rdns_s ex-rdns
+ newbin rblcheck_s rblcheck
+ fi
+
+ insinto /usr/include
+ doins udns.h
+
+ doman udns.3
+ if use tools; then
+ doman dnsget.1 rblcheck.1
+ fi
+ dodoc NEWS NOTES TODO
+}