Index: head/dns/Makefile =================================================================== --- head/dns/Makefile (revision 386670) +++ head/dns/Makefile (revision 386671) @@ -1,194 +1,195 @@ # $FreeBSD$ # COMMENT = Domain Name Service tools SUBDIR += adns SUBDIR += adsuck SUBDIR += ares SUBDIR += autotrust SUBDIR += bind-tools SUBDIR += bind10 SUBDIR += bind910 SUBDIR += bind99 SUBDIR += bindgraph SUBDIR += bundy SUBDIR += c-ares SUBDIR += checkdns SUBDIR += cli53 SUBDIR += credns SUBDIR += crossip SUBDIR += curvedns SUBDIR += ddclient SUBDIR += ddns SUBDIR += denominator SUBDIR += dhisd SUBDIR += djbdns SUBDIR += djbdns-tools SUBDIR += dlint SUBDIR += dnrd SUBDIR += dns2tcp SUBDIR += dns_balance SUBDIR += dnscap SUBDIR += dnscheck SUBDIR += dnscheckengine SUBDIR += dnscrypt-proxy SUBDIR += dnsflood SUBDIR += dnshistory SUBDIR += dnsjava SUBDIR += dnsmasq SUBDIR += dnsmasq-devel SUBDIR += dnsmax-perl SUBDIR += dnsperf SUBDIR += dnsproxy SUBDIR += dnsreflector SUBDIR += dnstable SUBDIR += dnstop SUBDIR += dnstracer SUBDIR += dnsutl SUBDIR += dnswalk SUBDIR += dnswall SUBDIR += doc SUBDIR += dualserver SUBDIR += ez-ipupdate SUBDIR += fastresolve SUBDIR += firedns SUBDIR += fpdns SUBDIR += gdnsd SUBDIR += gdnsd2 SUBDIR += geta SUBDIR += getdns SUBDIR += ghtool SUBDIR += hesiod SUBDIR += hostdb SUBDIR += hs-dns SUBDIR += hs-gnuidn SUBDIR += idnkit SUBDIR += idnkit2 SUBDIR += inadyn SUBDIR += inadyn-mt SUBDIR += ipcheck SUBDIR += ironsides SUBDIR += knot + SUBDIR += knot2 SUBDIR += ldapdns SUBDIR += ldns SUBDIR += ldnsm SUBDIR += libasr SUBDIR += libasr-devel SUBDIR += libbind SUBDIR += libdjbdns SUBDIR += libidn SUBDIR += linux-c6-libasyncns SUBDIR += linux-f10-libasyncns SUBDIR += mDNSResponder_nss SUBDIR += maradns SUBDIR += maradns1 SUBDIR += mdnsd SUBDIR += mydns SUBDIR += mydns-ng SUBDIR += noip SUBDIR += nsd SUBDIR += nsd3 SUBDIR += nslint SUBDIR += nsping SUBDIR += nss_mdns SUBDIR += nss_resinit SUBDIR += odsclient SUBDIR += opendd SUBDIR += opendnssec SUBDIR += opendnssec13 SUBDIR += openresolv SUBDIR += p5-AnyEvent-CacheDNS SUBDIR += p5-AnyEvent-DNS-EtcHosts SUBDIR += p5-BIND-Conf_Parser SUBDIR += p5-BIND-Config-Parser SUBDIR += p5-DNS-Config SUBDIR += p5-DNS-EasyDNS SUBDIR += p5-DNS-Ldns SUBDIR += p5-DNS-Zone SUBDIR += p5-DNS-ZoneParse SUBDIR += p5-Data-Validate-Domain SUBDIR += p5-Mozilla-PublicSuffix SUBDIR += p5-Net-Amazon-Route53 SUBDIR += p5-Net-Bonjour SUBDIR += p5-Net-DNS SUBDIR += p5-Net-DNS-Async SUBDIR += p5-Net-DNS-Check SUBDIR += p5-Net-DNS-Codes SUBDIR += p5-Net-DNS-Lite SUBDIR += p5-Net-DNS-Match SUBDIR += p5-Net-DNS-RR-SRV-Helper SUBDIR += p5-Net-DNS-Resolver-Programmable SUBDIR += p5-Net-DNS-SEC SUBDIR += p5-Net-DNS-TestNS SUBDIR += p5-Net-DNS-ToolKit SUBDIR += p5-Net-DNS-Zone-Parser SUBDIR += p5-Net-DNS-ZoneCheck SUBDIR += p5-Net-DNS-ZoneFile-Fast SUBDIR += p5-Net-DNSBL-MultiDaemon SUBDIR += p5-Net-DNSBL-Statistics SUBDIR += p5-Net-DRI SUBDIR += p5-Net-Domain-ExpireDate SUBDIR += p5-Net-Domain-TLD SUBDIR += p5-Net-LibIDN SUBDIR += p5-Net-Nslookup SUBDIR += p5-Net-RBLClient SUBDIR += p5-POE-Component-Client-DNS SUBDIR += p5-POE-Component-Client-DNS-Recursive SUBDIR += p5-POE-Component-Client-DNSBL SUBDIR += p5-POE-Component-Resolver SUBDIR += p5-POE-Component-Server-DNS SUBDIR += p5-POE-Filter-DNS-TCP SUBDIR += p5-Stanford-DNSserver SUBDIR += p5-Tie-DNS SUBDIR += p5-URBL-Prepare SUBDIR += p5-pgeodns SUBDIR += pdnsd SUBDIR += pear-File_DNS SUBDIR += pear-Horde_Idna SUBDIR += pear-Net_DNS SUBDIR += pear-Net_DNS2 SUBDIR += powerdns SUBDIR += powerdns-recursor SUBDIR += py-adns SUBDIR += py-bonjour SUBDIR += py-dns SUBDIR += py-dns3 SUBDIR += py-dnspython SUBDIR += py-easyzone SUBDIR += py-idnkit2 SUBDIR += py-ldns SUBDIR += py-namebench SUBDIR += py-publicsuffix SUBDIR += py-pydnstable SUBDIR += py-pywdns SUBDIR += py-twistedNames SUBDIR += radns SUBDIR += rbldnsd SUBDIR += rbllookup SUBDIR += rbllookup-ng SUBDIR += rubygem-dnsruby SUBDIR += rubygem-net-dns SUBDIR += rubygem-public_suffix SUBDIR += rubygem-public_suffix_service SUBDIR += samba-nsupdate SUBDIR += scavenge SUBDIR += sheerdns SUBDIR += sleuth SUBDIR += sshfp SUBDIR += tinystats SUBDIR += totd SUBDIR += udns SUBDIR += unbound SUBDIR += updatedd SUBDIR += validns SUBDIR += vizone SUBDIR += walker SUBDIR += wdns SUBDIR += wrapsrv SUBDIR += yadifa SUBDIR += zkt SUBDIR += zonecheck SUBDIR += zonenotify .include Index: head/dns/knot2/Makefile =================================================================== --- head/dns/knot2/Makefile (nonexistent) +++ head/dns/knot2/Makefile (revision 386671) @@ -0,0 +1,73 @@ +# Created by: Leo Vandewoestijne +# $FreeBSD$ + +PORTNAME= knot +DISTVERSION= 2.0.0-beta +CATEGORIES= dns ipv6 +MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ + http://dns-lab.com/downloads/knot-dns/ +PKGNAMESUFFIX= 2 + +MAINTAINER= freebsd@dns-lab.com +COMMENT= High performance authoritative-only DNS server + +LICENSE= GPLv3 + +LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls \ + libjansson.so:${PORTSDIR}/devel/jansson \ + liblmdb.so:${PORTSDIR}/databases/lmdb \ + libnettle.so:${PORTSDIR}/security/nettle \ + liburcu.so:${PORTSDIR}/sysutils/liburcu + +CONFLICTS= knot-1.* knot1-[0-6].* + +USES= alias libtool pkgconfig tar:xz +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-rundir=/var/run/knot \ + --with-storage=/var/db/knot \ + --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig + +.if defined(BATCH) || defined(PACKAGE_BUILDING) +CONFIGURE_ARGS+= --disable-silent-rules +.endif + +INSTALL_TARGET= install-strip + +USE_RC_SUBR= ${PORTNAME} +SUB_FILES= pkg-message + +USERS= knot +GROUPS= knot +SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}" + +PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS + +OPTIONS_DEFINE= DNSTAP FASTPARSER IDN + +DNSTAP_DESC= dnstap support (see dnstap.info) +DNSTAP_CONFIGURE_ENABLE= dnstap +DNSTAP_LIB_DEPENDS= libfstrm.so:${PORTSDIR}/devel/fstrm \ + libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c + +FASTPARSER_DESC= Fast zone parser (demanding compilation) +FASTPARSER_CONFIGURE_ENABLE= fastparser + +IDN_CONFIGURE_WITH= libidn +IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn + +post-patch: + @${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \ + ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@storage_dir\@|' \ + ${WRKSRC}/src/Makefile.in + @${RM} -rf ${WRKSRC}/src/zscanner/scanner.c + +post-install: + ${MV} ${STAGEDIR}${ETCDIR}/knot.sample.conf \ + ${STAGEDIR}${ETCDIR}/knot.conf.sample + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ + +.include Property changes on: head/dns/knot2/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/knot2/distinfo =================================================================== --- head/dns/knot2/distinfo (nonexistent) +++ head/dns/knot2/distinfo (revision 386671) @@ -0,0 +1,2 @@ +SHA256 (knot-2.0.0-beta.tar.xz) = 7ed997d15b523abcaede51d7ce3670a687d7658b96eb742b9dd87ac5d3e0e9af +SIZE (knot-2.0.0-beta.tar.xz) = 939468 Property changes on: head/dns/knot2/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/knot2/files/knot.in =================================================================== --- head/dns/knot2/files/knot.in (nonexistent) +++ head/dns/knot2/files/knot.in (revision 386671) @@ -0,0 +1,54 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: knot +# REQUIRE: SERVERS cleanvar +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf to enable knot: +# +# knot_enable="YES": Set to NO by default. +# Set it to YES to enable knot. +# knot_config="": Set to /usr/local/etc/knot/knot.conf +# by default. + +. /etc/rc.subr + +name=knot +rcvar=knot_enable + +load_rc_config ${name} + +: ${knot_enable:=NO} +: ${knot_config="%%PREFIX%%/etc/knot/knot.conf"} + +command=%%PREFIX%%/sbin/knotd +command_args="-c ${knot_config} -d" +control=%%PREFIX%%/sbin/knotc +pidfile=/var/run/knot/knot.pid + +required_files=${knot_config} + +extra_commands=reload +reload_cmd="${name}_reload" +start_precmd="${name}_prestart" + +knot_prestart() +{ + if [ ! -d /var/run/knot ]; then + install -d -o %%USERS%% -g %%GROUPS%% /var/run/knot + fi + if [ ! -d /var/db/knot ]; then + install -d -o %%USERS%% -g %%GROUPS%% /var/db/knot + fi + ${control} -c ${knot_config} checkconf +} + +knot_reload() +{ + echo "Reloading ${name}." + ${control} -c ${knot_config} reload +} + +run_rc_command "$1" Property changes on: head/dns/knot2/files/knot.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/knot2/files/pkg-message.in =================================================================== --- head/dns/knot2/files/pkg-message.in (nonexistent) +++ head/dns/knot2/files/pkg-message.in (revision 386671) @@ -0,0 +1,17 @@ +###################################################################### + + To start using Knot DNS, you should complete the following tasks: + + cp %%ETCDIR%%/knot.conf.sample %%ETCDIR%%/knot.conf + $EDITOR %%ETCDIR%%/knot.conf + sysrc knot_enable=YES + sysrc knot_config=%%ETCDIR%%/knot.conf + service knot start + + Traditional (pre-FreeBSD 9.2) method, for last three commands: + + echo knot_enable=\"YES\" >> /etc/rc.conf + echo knot_config=\"%%PREFIX%%/etc/knot/knot.conf\" >> /etc/rc.conf + %%PREFIX%%/etc/rc.d/knot start + +###################################################################### Property changes on: head/dns/knot2/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/knot2/pkg-descr =================================================================== --- head/dns/knot2/pkg-descr (nonexistent) +++ head/dns/knot2/pkg-descr (revision 386671) @@ -0,0 +1,14 @@ +Knot DNS is a high-performance authoritative-only DNS server which +supports all key features of the domain name system including zone +AXFR and IXFR, DDNS and DNSSEC. Its key features: + + * Open source + * High-performance, multi-threaded, and mostly lock-free + implementation which scales well on SMPs + * Object-oriented design + * Support for all important DNS protocols: + - Full and incremental zone transfers + - EDNS0 and DNSSEC extensions, including NSEC3 + - NSID + +WWW: http://www.knot-dns.cz/ Property changes on: head/dns/knot2/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/dns/knot2/pkg-plist =================================================================== --- head/dns/knot2/pkg-plist (nonexistent) +++ head/dns/knot2/pkg-plist (revision 386671) @@ -0,0 +1,118 @@ +%%ETCDIR%%/example.com.zone +@sample %%ETCDIR%%/knot.conf.sample +bin/kdig +bin/khost +bin/knot1to2 +bin/knsec3hash +bin/knsupdate +include/dnssec/binary.h +include/dnssec/crypto.h +include/dnssec/error.h +include/dnssec/event.h +include/dnssec/kasp.h +include/dnssec/key.h +include/dnssec/keyid.h +include/dnssec/keystore.h +include/dnssec/keytag.h +include/dnssec/list.h +include/dnssec/nsec.h +include/dnssec/random.h +include/dnssec/sign.h +include/dnssec/tsig.h +include/libknot/binary.h +include/libknot/consts.h +include/libknot/descriptor.h +include/libknot/dname.h +include/libknot/dnssec/key.h +include/libknot/errcode.h +include/libknot/internal/array-sort.h +include/libknot/internal/base32hex.h +include/libknot/internal/base64.h +include/libknot/internal/binsearch.h +include/libknot/internal/consts.h +include/libknot/internal/endian.h +include/libknot/internal/errcode.h +include/libknot/internal/getline.h +include/libknot/internal/heap.h +include/libknot/internal/hhash.h +include/libknot/internal/lists.h +include/libknot/internal/macros.h +include/libknot/internal/mem.h +include/libknot/internal/mempattern.h +include/libknot/internal/mempool.h +include/libknot/internal/namedb/namedb.h +include/libknot/internal/namedb/namedb_lmdb.h +include/libknot/internal/namedb/namedb_trie.h +include/libknot/internal/net.h +include/libknot/internal/print.h +include/libknot/internal/sockaddr.h +include/libknot/internal/strlcat.h +include/libknot/internal/strlcpy.h +include/libknot/internal/tolower.h +include/libknot/internal/trie/hat-trie.h +include/libknot/internal/trie/murmurhash3.h +include/libknot/internal/utils.h +include/libknot/libknot.h +include/libknot/packet/compr.h +include/libknot/packet/pkt.h +include/libknot/packet/rrset-wire.h +include/libknot/packet/wire.h +include/libknot/processing/layer.h +include/libknot/processing/overlay.h +include/libknot/processing/requestor.h +include/libknot/rdata.h +include/libknot/rdataset.h +include/libknot/rrset-dump.h +include/libknot/rrset.h +include/libknot/rrtype/aaaa.h +include/libknot/rrtype/dnskey.h +include/libknot/rrtype/naptr.h +include/libknot/rrtype/nsec.h +include/libknot/rrtype/nsec3.h +include/libknot/rrtype/nsec3param.h +include/libknot/rrtype/opt.h +include/libknot/rrtype/rdname.h +include/libknot/rrtype/rrsig.h +include/libknot/rrtype/soa.h +include/libknot/rrtype/tsig.h +include/libknot/tsig-op.h +include/libknot/yparser/yparser.h +include/libknot/yparser/ypformat.h +include/libknot/yparser/ypscheme.h +include/libknot/yparser/yptrafo.h +lib/libdnssec.a +lib/libdnssec.so +lib/libdnssec.so.0 +lib/libdnssec.so.0.0.0 +lib/libknot-2.so.0 +lib/libknot-2.so.0.0.0 +lib/libknot-int-2.so.0 +lib/libknot-int-2.so.0.0.0 +lib/libknot-int.a +lib/libknot-int.so +lib/libknot-yparser-2.so.0 +lib/libknot-yparser-2.so.0.0.0 +lib/libknot-yparser.a +lib/libknot-yparser.so +lib/libknot.a +lib/libknot.so +lib/libzscanner.a +lib/libzscanner.so +lib/libzscanner.so.0 +lib/libzscanner.so.0.0.0 +libdata/pkgconfig/libdnssec.pc +libdata/pkgconfig/libknot-int.pc +libdata/pkgconfig/libknot-yparser.pc +libdata/pkgconfig/libknot.pc +man/man1/kdig.1.gz +man/man1/khost.1.gz +man/man1/knot1to2.1.gz +man/man1/knsec3hash.1.gz +man/man1/knsupdate.1.gz +man/man5/knot.conf.5.gz +man/man8/keymgr.8.gz +man/man8/knotc.8.gz +man/man8/knotd.8.gz +sbin/keymgr +sbin/knotc +sbin/knotd Property changes on: head/dns/knot2/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property