From owner-svn-ports-head@FreeBSD.ORG Tue Mar 4 02:52:53 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C87D11B2; Tue, 4 Mar 2014 02:52:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B42532C9; Tue, 4 Mar 2014 02:52:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s242qrPD064425; Tue, 4 Mar 2014 02:52:53 GMT (envelope-from zi@svn.freebsd.org) Received: (from zi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s242qqJO064418; Tue, 4 Mar 2014 02:52:52 GMT (envelope-from zi@svn.freebsd.org) Message-Id: <201403040252.s242qqJO064418@svn.freebsd.org> From: Ryan Steinmetz Date: Tue, 4 Mar 2014 02:52:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346986 - in head/dns: . getdns getdns/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 02:52:53 -0000 Author: zi Date: Tue Mar 4 02:52:52 2014 New Revision: 346986 URL: http://svnweb.freebsd.org/changeset/ports/346986 QAT: https://qat.redports.org/buildarchive/r346986/ Log: New port: dns/getdns: getdns is a modern asynchronous DNS API. It implements DNS entry points from a design developed and vetted by application developers, in an API specification edited by Paul Hoffman. With the development of this API, we intend to offer application developers a modernized and flexible way to access DNS security (DNSSEC) and other powerful new DNS features; a particular hope is to inspire application developers towards innovative security solutions in their applications. WWW: http://getdnsapi.net/ Added: head/dns/getdns/ head/dns/getdns/Makefile (contents, props changed) head/dns/getdns/distinfo (contents, props changed) head/dns/getdns/files/ head/dns/getdns/files/pkg-message.in (contents, props changed) head/dns/getdns/pkg-descr (contents, props changed) head/dns/getdns/pkg-plist (contents, props changed) Modified: head/dns/Makefile Modified: head/dns/Makefile ============================================================================== --- head/dns/Makefile Tue Mar 4 01:14:05 2014 (r346985) +++ head/dns/Makefile Tue Mar 4 02:52:52 2014 (r346986) @@ -53,6 +53,7 @@ SUBDIR += fpdns SUBDIR += gdnsd SUBDIR += geta + SUBDIR += getdns SUBDIR += ghtool SUBDIR += hesiod SUBDIR += hostdb Added: head/dns/getdns/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/getdns/Makefile Tue Mar 4 02:52:52 2014 (r346986) @@ -0,0 +1,60 @@ +# Created by: Ryan Steinmetz +# $FreeBSD$ + +PORTNAME= getdns +PORTVERSION= 0.1.0 +CATEGORIES= dns ipv6 +MASTER_SITES= http://getdnsapi.net/dist/ \ + http://mirrors.rit.edu/zi/ + +MAINTAINER= zi@FreeBSD.org +COMMENT= Modern asynchronous DNS API + +LICENSE= BSD3CLAUSE + +LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 \ + libidn.so:${PORTSDIR}/dns/libidn \ + libldns.so:${PORTSDIR}/dns/ldns \ + libunbound.so:${PORTSDIR}/dns/unbound + +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-libidn=${LOCALBASE} --docdir=${DOCSDIR} \ + --with-trust-anchor=${LOCALBASE}/etc/unbound/root.key + +PLIST_SUB+= PORTVERSION="${PORTVERSION}" +SUB_FILES+= pkg-message + +OPTIONS_SUB= yes +OPTIONS_DEFINE= EXAMPLES DOCS LIBEV LIBUV LIBEVENT + +LIBEV_DESC= Build with libev extension +LIBUV_DESC= Build with libuv extension +LIBEVENT_DESC= Build with libevent extension + +LIBEV_LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev +LIBUV_LIB_DEPENDS= libuv.so:${PORTSDIR}/devel/libuv +LIBEVENT_LIB_DEPENDS= event-1:${PORTSDIR}/devel/libevent + +.include + +post-patch: + @${REINPLACE_CMD} -Ee 's,^(sharedoc = ).*,\1${WRKDIR}/doc,' \ + -e '/echo .\*\*\*/d' ${WRKSRC}/Makefile.in + +post-install: +.if ${PORT_OPTIONS:MDOCS} || ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${WRKDIR}/examples + @${MV} ${WRKDIR}/doc/spec/${PORTNAME}*gz ${WRKDIR}/examples/${PORTNAME}.tgz + @${RM} -fr ${WRKDIR}/doc/spec +.endif +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKDIR}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/) +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + @(cd ${WRKDIR}/examples && ${TAR} --strip-components=1 -xf ${PORTNAME}.tgz) + @(cd ${WRKDIR}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/) +.endif + +.include Added: head/dns/getdns/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/getdns/distinfo Tue Mar 4 02:52:52 2014 (r346986) @@ -0,0 +1,2 @@ +SHA256 (getdns-0.1.0.tar.gz) = 23ddcdaa3e48ef794bf8695bbb6d51b30cdabc2915e5c448757d4e6baa32bfe8 +SIZE (getdns-0.1.0.tar.gz) = 501192 Added: head/dns/getdns/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/getdns/files/pkg-message.in Tue Mar 4 02:52:52 2014 (r346986) @@ -0,0 +1,12 @@ +*** +*** !!! IMPORTANT !!!! libgetdns needs a DNSSEC trust anchor! +*** +*** For the library to be able to perform DNSSEC, the root +*** trust anchor needs to be present in presentation format +*** in the file: +*** %%LOCALBASE%%/etc/unbound/root.key +*** +*** We recomend using unbound-anchor to retrieve and install +*** the root trust anchor like this: +*** unbound-anchor -a "%%LOCALBASE%%/etc/unbound/root.key" +*** Added: head/dns/getdns/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/getdns/pkg-descr Tue Mar 4 02:52:52 2014 (r346986) @@ -0,0 +1,10 @@ +getdns is a modern asynchronous DNS API. + +It implements DNS entry points from a design developed and vetted by application +developers, in an API specification edited by Paul Hoffman. With the development +of this API, we intend to offer application developers a modernized and flexible +way to access DNS security (DNSSEC) and other powerful new DNS features; +a particular hope is to inspire application developers towards innovative +security solutions in their applications. + +WWW: http://getdnsapi.net/ Added: head/dns/getdns/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/getdns/pkg-plist Tue Mar 4 02:52:52 2014 (r346986) @@ -0,0 +1,107 @@ +@comment $FreeBSD$ +include/getdns/getdns.h +include/getdns/getdns_extra.h +%%LIBEV%%include/getdns/getdns_ext_libev.h +%%LIBEVENT%%include/getdns/getdns_ext_libevent.h +%%LIBUV%%include/getdns/getdns_ext_libuv.h +lib/libgetdns-%%PORTVERSION%%.so +lib/libgetdns-%%PORTVERSION%%.so.0 +lib/libgetdns.a +lib/libgetdns.la +lib/libgetdns.so +%%LIBEV%%lib/libgetdns_ext_ev-%%PORTVERSION%%.so +%%LIBEV%%lib/libgetdns_ext_ev-%%PORTVERSION%%.so.0 +%%LIBEV%%lib/libgetdns_ext_ev.a +%%LIBEV%%lib/libgetdns_ext_ev.la +%%LIBEV%%lib/libgetdns_ext_ev.so +%%LIBEVENT%%lib/libgetdns_ext_event-%%PORTVERSION%%.so +%%LIBEVENT%%lib/libgetdns_ext_event-%%PORTVERSION%%.so.0 +%%LIBEVENT%%lib/libgetdns_ext_event.a +%%LIBEVENT%%lib/libgetdns_ext_event.la +%%LIBEVENT%%lib/libgetdns_ext_event.so +%%LIBUV%%lib/libgetdns_ext_uv-%%PORTVERSION%%.so +%%LIBUV%%lib/libgetdns_ext_uv-%%PORTVERSION%%.so.0 +%%LIBUV%%lib/libgetdns_ext_uv.a +%%LIBUV%%lib/libgetdns_ext_uv.la +%%LIBUV%%lib/libgetdns_ext_uv.so +man/man3/getdns_address.3.gz +man/man3/getdns_address_sync.3.gz +man/man3/getdns_cancel_callback.3.gz +man/man3/getdns_context.3.gz +man/man3/getdns_context_create.3.gz +man/man3/getdns_context_create_with_extended_memory_functions.3.gz +man/man3/getdns_context_create_with_memory_functions.3.gz +man/man3/getdns_context_destroy.3.gz +man/man3/getdns_context_set.3.gz +man/man3/getdns_context_set_append_name.3.gz +man/man3/getdns_context_set_context_update_callback.3.gz +man/man3/getdns_context_set_dns_root_servers.3.gz +man/man3/getdns_context_set_dns_transport.3.gz +man/man3/getdns_context_set_follow_redirects.3.gz +man/man3/getdns_context_set_limit_outstanding_queries.3.gz +man/man3/getdns_context_set_namespaces.3.gz +man/man3/getdns_context_set_resolution_type.3.gz +man/man3/getdns_context_set_timeout.3.gz +man/man3/getdns_convert.3.gz +man/man3/getdns_convert_dns_name_to_fqdn.3.gz +man/man3/getdns_convert_fqdn_to_dns_name.3.gz +man/man3/getdns_dict.3.gz +man/man3/getdns_dict_create.3.gz +man/man3/getdns_dict_destroy.3.gz +man/man3/getdns_dict_get.3.gz +man/man3/getdns_dict_get_bindata.3.gz +man/man3/getdns_dict_get_data_type.3.gz +man/man3/getdns_dict_get_dict.3.gz +man/man3/getdns_dict_get_int.3.gz +man/man3/getdns_dict_get_list.3.gz +man/man3/getdns_dict_get_names.3.gz +man/man3/getdns_dict_set.3.gz +man/man3/getdns_dict_set_bindata.3.gz +man/man3/getdns_dict_set_dict.3.gz +man/man3/getdns_dict_set_int.3.gz +man/man3/getdns_dict_set_list.3.gz +man/man3/getdns_free_sync_request_memory.3.gz +man/man3/getdns_general.3.gz +man/man3/getdns_general_sync.3.gz +man/man3/getdns_hostname.3.gz +man/man3/getdns_hostname_sync.3.gz +man/man3/getdns_list.3.gz +man/man3/getdns_list_create.3.gz +man/man3/getdns_list_destroy.3.gz +man/man3/getdns_list_get.3.gz +man/man3/getdns_list_get_bindata.3.gz +man/man3/getdns_list_get_data_type.3.gz +man/man3/getdns_list_get_dict.3.gz +man/man3/getdns_list_get_int.3.gz +man/man3/getdns_list_get_length.3.gz +man/man3/getdns_list_get_list.3.gz +man/man3/getdns_list_set.3.gz +man/man3/getdns_list_set_bindata.3.gz +man/man3/getdns_list_set_dict.3.gz +man/man3/getdns_list_set_int.3.gz +man/man3/getdns_list_set_list.3.gz +man/man3/getdns_service.3.gz +man/man3/getdns_service_sync.3.gz +man/man3/libgetdns.3.gz +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/LICENSE +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-all-functions.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-reverse.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-simple-answers.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-synchronous.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-tree.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/getdns.tgz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/getdns_core_only.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/getdns_core_only.h +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/getdns_libevent.h +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/make-examples-linux.sh +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/make-examples-mac.sh +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% +@dirrm include/getdns