aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-02-04 08:25:54 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2010-02-04 08:25:54 +0000
commitfae8374e9f4742c3bf2a3c5029cad5912267819a (patch)
treeba8afbc44df81395668b74fdbc570f3e10c7f95c
parent2e305347a6630558760c8ac08711eab4264e3caa (diff)
downloadports-fae8374e9f4742c3bf2a3c5029cad5912267819a.tar.gz
ports-fae8374e9f4742c3bf2a3c5029cad5912267819a.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/
Notes
Notes: svn path=/head/; revision=249223
-rw-r--r--dns/Makefile1
-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
4 files changed, 50 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index cc5f53dd2e92..f04cff9a812b 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -68,6 +68,7 @@
SUBDIR += libbind
SUBDIR += libdjbdns
SUBDIR += libidn
+ SUBDIR += linux-f10-libasyncns
SUBDIR += linux-f8-libidn
SUBDIR += maradns
SUBDIR += mdnsd
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/