import libdnsres, a non-blocking thread-safe API for resolving DNS
names. from Rui Reis with a few changes; help and ok sturm@
This commit is contained in:
parent
5b4142b0e6
commit
6c4810b47b
24
net/libdnsres/Makefile
Normal file
24
net/libdnsres/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/04/03 15:10:17 aanriot Exp $
|
||||
|
||||
COMMENT= "non-blocking thread-safe API for resolving DNS names"
|
||||
|
||||
DISTNAME= libdnsres-0.1a
|
||||
SHARED_LIBS= dnsres 0.1 # .0.1
|
||||
CATEGORIES= net devel
|
||||
|
||||
HOMEPAGE= http://monkey.org/~provos/libdnsres/
|
||||
|
||||
MAINTAINER= Rui Reis <rui@rui.cx>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://monkey.org/~provos/
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
USE_LIBTOOL= yes
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/libdnsres/distinfo
Normal file
5
net/libdnsres/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (libdnsres-0.1a.tar.gz) = 069cc39d7ddf85c9be9ada679d5363c2
|
||||
RMD160 (libdnsres-0.1a.tar.gz) = 05a92882d1fc0394792e9f28be4584650b46e323
|
||||
SHA1 (libdnsres-0.1a.tar.gz) = 570b5d8071dacf16ba7588d6c3fc6f4c3ed55976
|
||||
SHA256 (libdnsres-0.1a.tar.gz) = c0b94f27cb537eed42bc32ca9771f0955f717c66d34d1361e0a75600c6589307
|
||||
SIZE (libdnsres-0.1a.tar.gz) = 360583
|
9
net/libdnsres/pkg/DESCR
Normal file
9
net/libdnsres/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
Libdnsres provides a non-blocking thread-safe API for resolving DNS
|
||||
names. It requires that your main application is built on top of
|
||||
libevent. Libdnsres' API essentially mirrors the traditional
|
||||
gethostbyname and getaddrinfo interfaces. All return values have been
|
||||
replaced by callbacks instead.
|
||||
|
||||
The code borrows heavily from the BSD resolver library. In fact, it is
|
||||
an extremely ugly hack to make the BSD resolver library non-blocking and
|
||||
thread-safe without changing the API too much.
|
2
net/libdnsres/pkg/PFRAG.shared
Normal file
2
net/libdnsres/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/04/03 15:10:17 aanriot Exp $
|
||||
@lib lib/libdnsres.so.${LIBdnsres_VERSION}
|
6
net/libdnsres/pkg/PLIST
Normal file
6
net/libdnsres/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/03 15:10:17 aanriot Exp $
|
||||
%%SHARED%%
|
||||
include/dnsres.h
|
||||
lib/libdnsres.a
|
||||
lib/libdnsres.la
|
||||
@man man/man3/dnsres.3
|
Loading…
Reference in New Issue
Block a user