c-ares is a C library that performs DNS requests and name resolves

asynchronously.

c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT.
The fork was made on ares 1.1.1.
This commit is contained in:
adrianp 2005-12-01 17:27:10 +00:00
parent 6a2c48e229
commit 4e4a78db3c
5 changed files with 70 additions and 0 deletions

5
net/libcares/DESCR Normal file
View file

@ -0,0 +1,5 @@
c-ares is a C library that performs DNS requests and name resolves
asynchronously.
c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT.
The fork was made on ares 1.1.1.

15
net/libcares/Makefile Normal file
View file

@ -0,0 +1,15 @@
# $NetBSD: Makefile,v 1.1.1.1 2005/12/01 17:27:10 adrianp Exp $
DISTNAME= c-ares-1.3.0
PKGNAME= libcares-1.3.0
CATEGORIES= net
MASTER_SITES= http://daniel.haxx.se/projects/c-ares/
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://daniel.haxx.se/projects/c-ares/
COMMENT= Asynchronous resolver library
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
.include "../../mk/bsd.pkg.mk"

27
net/libcares/PLIST Normal file
View file

@ -0,0 +1,27 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/01 17:27:10 adrianp Exp $
include/ares.h
include/ares_version.h
lib/libcares.la
man/man3/ares_cancel.3
man/man3/ares_destroy.3
man/man3/ares_expand_name.3
man/man3/ares_expand_string.3
man/man3/ares_fds.3
man/man3/ares_free_hostent.3
man/man3/ares_free_string.3
man/man3/ares_gethostbyaddr.3
man/man3/ares_gethostbyname.3
man/man3/ares_getnameinfo.3
man/man3/ares_init.3
man/man3/ares_init_options.3
man/man3/ares_mkquery.3
man/man3/ares_parse_a_reply.3
man/man3/ares_parse_aaaa_reply.3
man/man3/ares_parse_ptr_reply.3
man/man3/ares_process.3
man/man3/ares_query.3
man/man3/ares_search.3
man/man3/ares_send.3
man/man3/ares_strerror.3
man/man3/ares_timeout.3
man/man3/ares_version.3

View file

@ -0,0 +1,18 @@
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/12/01 17:27:10 adrianp Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCARES_BUILDLINK3_MK:= ${LIBCARES_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libcares
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcares}
BUILDLINK_PACKAGES+= libcares
.if !empty(LIBCARES_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.libcares+= libcares>=1.3.0
BUILDLINK_PKGSRCDIR.libcares?= ../../net/libcares
.endif # LIBCARES_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}

5
net/libcares/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2005/12/01 17:27:10 adrianp Exp $
SHA1 (c-ares-1.3.0.tar.gz) = 73c2bfa9dc1bde6b364a485c0c05ecf05688debe
RMD160 (c-ares-1.3.0.tar.gz) = f788b06b881ed71366f10761ae673965439ad07a
Size (c-ares-1.3.0.tar.gz) = 355195 bytes