aboutsummaryrefslogtreecommitdiffstats
path: root/dns/linux-f10-libasyncns
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2010-02-04 16:25:54 +0800
committeritetcu <itetcu@FreeBSD.org>2010-02-04 16:25:54 +0800
commit874381ff97f6c88e4183cdd2875290594292d93c (patch)
tree692aa652011317231b505eea458ebeea20caa2de /dns/linux-f10-libasyncns
parent803434ef94bf3dd4a4ec30eb41988e0ac2ccfc68 (diff)
downloadfreebsd-ports-gnome-874381ff97f6c88e4183cdd2875290594292d93c.tar.gz
freebsd-ports-gnome-874381ff97f6c88e4183cdd2875290594292d93c.tar.zst
freebsd-ports-gnome-874381ff97f6c88e4183cdd2875290594292d93c.zip
libasyncns is a C library for Linux/Unix for executing name service queries
asynchronously. It is an asynchronous wrapper around getaddrinfo(3), getnameinfo(3), res_query(3) and res_search(3) from libc and libresolv. In contrast to GNU's asynchronous name resolving API getaddrinfo_a(), libasyncns does not make use of UNIX signals for reporting completion of name queries. Instead, the API exports a standard UNIX file descriptor which may be integerated cleanly into custom main loops. In contrast to asynchronous DNS resolving libraries like libdenise, skadns, adns, libasyncns is just an asynchronous wrapper around the libc's synchronous getaddrinfo() API, which has the advantage of allowing name resolution using techniques like Multicast DNS, LDAP or NIS using standard libc NSS (Name Service Switch) modules. libasyncns is compatible with IPv6 if the underlying libc is. libasyncns is very tiny, consisting of just one header and one source file. It has no dependencies besides libc. WWW: http://0pointer.de/lennart/projects/libasyncns/
Diffstat (limited to 'dns/linux-f10-libasyncns')
-rw-r--r--dns/linux-f10-libasyncns/Makefile23
-rw-r--r--dns/linux-f10-libasyncns/distinfo.i3866
-rw-r--r--dns/linux-f10-libasyncns/pkg-descr20
3 files changed, 49 insertions, 0 deletions
diff --git a/dns/linux-f10-libasyncns/Makefile b/dns/linux-f10-libasyncns/Makefile
new file mode 100644
index 000000000000..447d4364885e
--- /dev/null
+++ b/dns/linux-f10-libasyncns/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: dns/libasyncns
+# Date created: 2009-12-20
+# Whom: itetcu@
+#
+# $FreeBSD$
+#
+
+PORTNAME= libasyncns
+PORTVERSION= 0.7
+CATEGORIES= dns devel linux
+PKGNAMEPREFIX= linux-f10-
+DISTNAME= ${PORTNAME}-${PORTVERSION}-${RPMVERSION}
+
+MAINTAINER= itetcu@FreeBSD.org
+COMMENT= C library for executing DNS queries asynchronously (Linux Fedora 10)
+
+USE_LINUX_RPM= yes
+LINUX_DIST_VER= 10
+RPMVERSION= 1.fc10
+USE_LDCONFIG= yes
+AUTOMATIC_PLIST=yes
+
+.include <bsd.port.mk>
diff --git a/dns/linux-f10-libasyncns/distinfo.i386 b/dns/linux-f10-libasyncns/distinfo.i386
new file mode 100644
index 000000000000..58c4d8706864
--- /dev/null
+++ b/dns/linux-f10-libasyncns/distinfo.i386
@@ -0,0 +1,6 @@
+MD5 (rpm/i386/fedora/10/libasyncns-0.7-1.fc10.i386.rpm) = 0a8afc7dfdb3bc013a4d38b254a3c700
+SHA256 (rpm/i386/fedora/10/libasyncns-0.7-1.fc10.i386.rpm) = cb7065c1e8339559df984c12de0a7a70e67b72d6ee6bd54ec7dd07ccc089625f
+SIZE (rpm/i386/fedora/10/libasyncns-0.7-1.fc10.i386.rpm) = 24560
+MD5 (rpm/i386/fedora/10/libasyncns-0.7-1.fc10.src.rpm) = 8ed2912f049363fe0e38ef64aa309421
+SHA256 (rpm/i386/fedora/10/libasyncns-0.7-1.fc10.src.rpm) = e9cee4abd8268a82f1ad4d548b4edf9a179ac21c8c005033eb88474f99eb0952
+SIZE (rpm/i386/fedora/10/libasyncns-0.7-1.fc10.src.rpm) = 377044
diff --git a/dns/linux-f10-libasyncns/pkg-descr b/dns/linux-f10-libasyncns/pkg-descr
new file mode 100644
index 000000000000..36b59b4cd45c
--- /dev/null
+++ b/dns/linux-f10-libasyncns/pkg-descr
@@ -0,0 +1,20 @@
+libasyncns is a C library for Linux/Unix for executing name service queries
+asynchronously. It is an asynchronous wrapper around getaddrinfo(3),
+getnameinfo(3), res_query(3) and res_search(3) from libc and libresolv.
+
+In contrast to GNU's asynchronous name resolving API getaddrinfo_a(),
+libasyncns does not make use of UNIX signals for reporting completion of name
+queries. Instead, the API exports a standard UNIX file descriptor which may be
+integerated cleanly into custom main loops.
+
+In contrast to asynchronous DNS resolving libraries like libdenise, skadns,
+adns, libasyncns is just an asynchronous wrapper around the libc's synchronous
+getaddrinfo() API, which has the advantage of allowing name resolution using
+techniques like Multicast DNS, LDAP or NIS using standard libc NSS (Name
+Service Switch) modules. libasyncns is compatible with IPv6 if the underlying
+libc is.
+
+libasyncns is very tiny, consisting of just one header and one source file. It
+has no dependencies besides libc.
+
+WWW: http://0pointer.de/lennart/projects/libasyncns/