summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld>2002-12-30 17:32:25 +0000
committersommerfeld <sommerfeld>2002-12-30 17:32:25 +0000
commit27b22e7690d393992132c15c9c29e24e312b78d0 (patch)
tree5345edcb8fe8d08dd42f8e932e90ef30df56bf89 /net
parent3a9ef8b5fb7429bb884ea7ba2af820b8b70e62d9 (diff)
downloadpkgsrc-27b22e7690d393992132c15c9c29e24e312b78d0.tar.gz
Yet another asynchronous dns resolver library. Written by Greg Hudson.
Diffstat (limited to 'net')
-rw-r--r--net/libares/DESCR1
-rw-r--r--net/libares/Makefile16
-rw-r--r--net/libares/PLIST22
-rw-r--r--net/libares/buildlink2.mk20
-rw-r--r--net/libares/distinfo4
5 files changed, 63 insertions, 0 deletions
diff --git a/net/libares/DESCR b/net/libares/DESCR
new file mode 100644
index 00000000000..4b194056fe8
--- /dev/null
+++ b/net/libares/DESCR
@@ -0,0 +1 @@
+Yet another asynchronous dns resolver library. Written by Greg Hudson.
diff --git a/net/libares/Makefile b/net/libares/Makefile
new file mode 100644
index 00000000000..3486ecb9401
--- /dev/null
+++ b/net/libares/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/12/30 17:32:25 sommerfeld Exp $
+#
+
+DISTNAME= ares-1.1.1
+PKGNAME= libares-1.1.1
+CATEGORIES= net
+MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/ares/
+
+MAINTAINER= sommerfeld@netbsd.org
+#HOMEPAGE= none
+COMMENT= Asynchronous DNS resolver library
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/libares/PLIST b/net/libares/PLIST
new file mode 100644
index 00000000000..37733106894
--- /dev/null
+++ b/net/libares/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/30 17:32:25 sommerfeld Exp $
+include/ares.h
+lib/libares.a
+man/man3/ares_destroy.3
+man/man3/ares_expand_name.3
+man/man3/ares_fds.3
+man/man3/ares_free_errmem.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_init.3
+man/man3/ares_init_options.3
+man/man3/ares_mkquery.3
+man/man3/ares_parse_a_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
diff --git a/net/libares/buildlink2.mk b/net/libares/buildlink2.mk
new file mode 100644
index 00000000000..170ac0df41a
--- /dev/null
+++ b/net/libares/buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/12/30 17:32:25 sommerfeld Exp $
+
+.if !defined(LIBARES_BUILDLINK2_MK)
+LIBARES_BUILDLINK2_MK= # defined
+
+BUILDLINK_DEPENDS.libares?= libares>=1.1.1
+BUILDLINK_PKGSRCDIR.libares?= ../../net/libares
+
+BUILDLINK_PACKAGES+= libares
+EVAL_PREFIX+= BUILDLINK_PREFIX.libares=libares
+BUILDLINK_PREFIX.libares_DEFAULT= ${LOCALBASE}
+
+BUILDLINK_FILES.libares= include/ares.h
+BUILDLINK_FILES.libares+= lib/libares.*
+
+BUILDLINK_TARGETS+= libares-buildlink
+
+libares-buildlink: _BUILDLINK_USE
+
+.endif # LIBARES_BUILDLINK2_MK
diff --git a/net/libares/distinfo b/net/libares/distinfo
new file mode 100644
index 00000000000..e4d68ff289f
--- /dev/null
+++ b/net/libares/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/12/30 17:32:25 sommerfeld Exp $
+
+SHA1 (ares-1.1.1.tar.gz) = eafe6ba9c85122538f06dabd735a048abea8bb1e
+Size (ares-1.1.1.tar.gz) = 65463 bytes