summaryrefslogtreecommitdiff
path: root/net-libs/udns
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-libs/udns
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/udns')
-rw-r--r--net-libs/udns/Manifest5
-rw-r--r--net-libs/udns/metadata.xml11
-rw-r--r--net-libs/udns/udns-0.4.ebuild52
3 files changed, 68 insertions, 0 deletions
diff --git a/net-libs/udns/Manifest b/net-libs/udns/Manifest
new file mode 100644
index 000000000000..ecb9eef940a9
--- /dev/null
+++ b/net-libs/udns/Manifest
@@ -0,0 +1,5 @@
+DIST udns-0.4.tar.gz 84716 SHA256 115108dc791a2f9e99e150012bcb459d9095da2dd7d80699b584ac0ac3768710 SHA512 2990d57b3b6bf176a12ee07fd4391921e13634fc8409e8ce4df8dbe7b3556a116ae59ab328a1b6a95ebc94298f6b56ec7197a06a649d8d642b371b8ecef3e40b WHIRLPOOL 363522b4a9fb813b494d312f2dd8556f246bb4589f68940f1de8daef9009fe09025a7d988e6e415eee33a3c1c04c520aa174dfd67a1ea2280b97292e97de4d7d
+EBUILD udns-0.4.ebuild 1071 SHA256 a9a4753bdac7cbe2ce431924d6ef30c750ecd95c326e60c15b6071dc7be3e1fd SHA512 94a2a9f396392cd6d624e670b80a86336d40359e3f71a1e148ee836885d4ab2741da262c8bd34dd812eb65bf00921afabc90a5121c9533138cdce3cd5de8f7b5 WHIRLPOOL cbebf68ff1733e6a1045771a1f0dedfd5985550c8abc6415c6fae34a9a935cd35dbb922469fc914e0750aaa0c270e40aefa4015b388f2d60f6648f1bedd6fd07
+MISC ChangeLog 2509 SHA256 169321c6fbfe8799ddab472a87757cd92c1497f224479ed971d7aea1b358cafd SHA512 06bccad8d992a1d03e8901c700dbbc4d6899e25db3d8d4e809917adef1c923e69a35f1af4235894a568c23df1b9eaa6d68d242cced6957ebfea3ff172b189523 WHIRLPOOL cdef9b6f60dab7e6bbf540a9fcbb9da670171818f1d0a634a3e90b748061036dcda44cd2b9b4f75ad1c2424ff67c1470ee1f0c7c39818b44de23864a04448522
+MISC ChangeLog-2015 4323 SHA256 63e69a29b6212d847d6ebad390f988ce696e22ca8ae85d43f91a789d79eb21ad SHA512 d5257e15e97dd1281df49fdc9a3072cafb5450d86010a6c47fe89d5fe025b6f93a4f343d84b8080b19d41af5c66b08a40f1ca8ed309ca73c11ff385f089f6240 WHIRLPOOL a156c235a737b84d1bfa23c756516d27f8f22c1e79336b31e62e4dc4fd18859c9d8e129687f6d9b1078b51c2b883aa4cc42fa5d004f1147fe84989c9b206377f
+MISC metadata.xml 401 SHA256 72858cc9e2fe056082a82234ed055720fe465bf7365a0409ba7e3f1cc3926a6a SHA512 dea311676ce60848f158807241d561e062fb5b51a37137b732af1014d9ea702e57870c3125067ce90795bf97b1d3a2da8cad242fb4cc4e210ae7509b7f3362dc WHIRLPOOL 87e10b67e3695ad832337f6861e33fbc3abb30234061a21e0d78dc77bf9305f58f07ac7ad2e39bf188f83be8d0591275e280fc4f82086bf9116e40c81c9880c0
diff --git a/net-libs/udns/metadata.xml b/net-libs/udns/metadata.xml
new file mode 100644
index 000000000000..f0db182dbd42
--- /dev/null
+++ b/net-libs/udns/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+<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..4702098a5cba
--- /dev/null
+++ b/net-libs/udns/udns-0.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}