pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libasyncns Initial import of libasyncns-0.7:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/015faf35fb94
branches:  trunk
changeset: 563994:015faf35fb94
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Aug 25 12:18:09 2009 +0000

description:
Initial import of libasyncns-0.7:

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.

By default libasyncns spawns a number of worker threads (LWPs) to
process name queries. Alternatively or when POSIX Threads are not
supported, libasyncns can fork() off worker processes instead.

diffstat:

 net/libasyncns/DESCR    |  23 +++++++++++++++++++++++
 net/libasyncns/Makefile |  22 ++++++++++++++++++++++
 net/libasyncns/PLIST    |   7 +++++++
 net/libasyncns/distinfo |   5 +++++
 4 files changed, 57 insertions(+), 0 deletions(-)

diffs (73 lines):

diff -r 05fa460a0bad -r 015faf35fb94 net/libasyncns/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libasyncns/DESCR      Tue Aug 25 12:18:09 2009 +0000
@@ -0,0 +1,23 @@
+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.
+
+By default libasyncns spawns a number of worker threads (LWPs) to
+process name queries. Alternatively or when POSIX Threads are not
+supported, libasyncns can fork() off worker processes instead.
diff -r 05fa460a0bad -r 015faf35fb94 net/libasyncns/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libasyncns/Makefile   Tue Aug 25 12:18:09 2009 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/25 12:18:09 wiz Exp $
+#
+
+DISTNAME=      libasyncns-0.7
+CATEGORIES=    net
+MASTER_SITES=  http://0pointer.de/lennart/projects/libasyncns/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://0pointer.de/lennart/projects/libasyncns/
+COMMENT=       C library for executing name service queries asynchronously
+LICENSE=       gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+TEST_TARGET=   check
+
+PKGCONFIG_OVERRIDE+=   libasyncns.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff -r 05fa460a0bad -r 015faf35fb94 net/libasyncns/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libasyncns/PLIST      Tue Aug 25 12:18:09 2009 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/25 12:18:09 wiz Exp $
+include/asyncns.h
+lib/libasyncns.la
+lib/pkgconfig/libasyncns.pc
+share/doc/libasyncns/README
+share/doc/libasyncns/README.html
+share/doc/libasyncns/style.css
diff -r 05fa460a0bad -r 015faf35fb94 net/libasyncns/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libasyncns/distinfo   Tue Aug 25 12:18:09 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/25 12:18:09 wiz Exp $
+
+SHA1 (libasyncns-0.7.tar.gz) = 6b67944c3623e23d08e58a7e6eec8eaf08e5395b
+RMD160 (libasyncns-0.7.tar.gz) = caa0cc61bdd1ba6a9294fe4f1043009a0addacee
+Size (libasyncns-0.7.tar.gz) = 374866 bytes



Home | Main Index | Thread Index | Old Index