1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/dns/linux-f10-libasyncns/Makefile
Ion-Mihai Tetcu fae8374e9f 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/
2010-02-04 08:25:54 +00:00

24 lines
492 B
Makefile

# 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>