Index: head/dns/yadifa/Makefile =================================================================== --- head/dns/yadifa/Makefile (revision 421366) +++ head/dns/yadifa/Makefile (revision 421367) @@ -1,53 +1,60 @@ # Created by: Mathieu Arnold # $FreeBSD$ PORTNAME= yadifa -PORTVERSION= 2.1.6 -DISTVERSIONSUFFIX= -5826 +PORTVERSION= 2.2.1 +DISTVERSIONSUFFIX= -6281 CATEGORIES= dns ipv6 -MASTER_SITES= http://cdn.yadifa.eu/sites/default/files/releases/ LOCAL/mat/yadifa +MASTER_SITES= http://cdn.yadifa.eu/sites/default/files/releases/ MAINTAINER= mat@FreeBSD.org COMMENT= Authoritative nameserver with DNSSEC capabilities LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes USES= libtool compiler:c11 USE_OPENSSL= yes CONFIGURE_ARGS= --localstatedir=/var OPTIONS_DEFINE= CTRL DOCS EXAMPLES TCL RRL MESSAGES NSID OPTIONS_DEFAULT= RRL NSID OPTIONS_SUB= yes CTRL_DESC= Remote control RRL_DESC= Response Rate Limiting MESSAGES_DESC= Use messages instead of send (if many ip aliases) NSID_DESC= Name Server Identifier Option CTRL_CONFIGURE_ENABLE= ctrl TCL_USES= tcl TCL_CONFIGURE_ENABLE= tcl RRL_CONFIGURE_ENABLE= rrl MESSAGES_CONFIGURE_ENABLE= messages NSID_CONFIGURE_ENABLE= nsid USE_RC_SUBR= ${PORTNAME}d PORTDOCS= AUTHORS COPYING ChangeLog \ INSTALL NEWS README TODO VERSION post-configure: ${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile ${REINPLACE_CMD} -e 's|/usr/local/var|/var|' -e 's|/var/zones|/var/${PORTNAME}|' ${WRKSRC}/etc/yadifad.conf.example post-install: - ${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example \ + ${MV} ${STAGEDIR}${PREFIX}/etc/yadifad.conf \ ${STAGEDIR}${PREFIX}/etc/yadifad.conf.sample @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @${MV} ${STAGEDIR}/var/zones ${STAGEDIR}/var/${PORTNAME} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/ +.for f in yadifa yadifad + @${LN} -s ../../${EXAMPLESDIR_REL}/$f.bash_completion \ + ${STAGEDIR}${PREFIX}/etc/bash_completion.d/$f.sh +.endfor .include Index: head/dns/yadifa/distinfo =================================================================== --- head/dns/yadifa/distinfo (revision 421366) +++ head/dns/yadifa/distinfo (revision 421367) @@ -1,3 +1,3 @@ -TIMESTAMP = 1466693575 -SHA256 (yadifa-2.1.6-5826.tar.gz) = c42a4ca927d989f74ee8978b8122c22032d9460176bfcdafc1c371571803e642 -SIZE (yadifa-2.1.6-5826.tar.gz) = 3480220 +TIMESTAMP = 1473077393 +SHA256 (yadifa-2.2.1-6281.tar.gz) = 20a4cca651503aa360e52bef092275b5dc4639bd0a8939d2b5cbd114cf0f476e +SIZE (yadifa-2.2.1-6281.tar.gz) = 3661868 Index: head/dns/yadifa/pkg-plist =================================================================== --- head/dns/yadifa/pkg-plist (revision 421366) +++ head/dns/yadifa/pkg-plist (revision 421367) @@ -1,224 +1,245 @@ bin/yadifa +%%EXAMPLES%%etc/bash_completion.d/yadifa.sh +%%EXAMPLES%%etc/bash_completion.d/yadifad.sh @sample etc/yadifad.conf.sample include/dnscore/alarm.h include/dnscore/allocator.h include/dnscore/async.h include/dnscore/avl.c.inc include/dnscore/avl.h.inc include/dnscore/base16.h include/dnscore/base32.h include/dnscore/base32hex.h include/dnscore/base64.h include/dnscore/basic-priority-queue.h include/dnscore/buffer_input_stream.h include/dnscore/buffer_output_stream.h include/dnscore/bytearray_input_stream.h include/dnscore/bytearray_output_stream.h include/dnscore/bytezarray_output_stream.h include/dnscore/chroot.h include/dnscore/clone_input_output_stream.h include/dnscore/cmdline.h include/dnscore/concat_input_stream.h include/dnscore/config-cmdline.h include/dnscore/config_file_reader.h include/dnscore/config_settings.h include/dnscore/counter_output_stream.h include/dnscore/ctrl-rfc.h include/dnscore/debug.h include/dnscore/debug_config.h include/dnscore/digest.h include/dnscore/dns-udp.h include/dnscore/dns_resource_record.h include/dnscore/dnscore-config-features.h include/dnscore/dnscore-config.h include/dnscore/dnscore.h include/dnscore/dnsformat.h include/dnscore/dnskey-keyring.h include/dnscore/dnskey.h include/dnscore/dnskey_dsa.h +include/dnscore/dnskey_ecdsa.h include/dnscore/dnskey_rsa.h include/dnscore/dnsname.h include/dnscore/dnsname_set.h include/dnscore/dnssec_errors.h include/dnscore/empty-input-stream.h include/dnscore/fdtools.h include/dnscore/file_input_stream.h include/dnscore/file_output_stream.h include/dnscore/fingerprint.h include/dnscore/format.h include/dnscore/host_address.h include/dnscore/hsdllist.h include/dnscore/identity.h include/dnscore/input_stream.h include/dnscore/io_stream.h include/dnscore/limited_input_stream.h include/dnscore/list-dl.h +include/dnscore/list-sl-debug.h include/dnscore/list-sl.h include/dnscore/logger-output-stream.h include/dnscore/logger.h include/dnscore/logger_channel_file.h include/dnscore/logger_channel_stream.h include/dnscore/logger_channel_syslog.h include/dnscore/logger_handle.h +include/dnscore/message-buffer.h +include/dnscore/message-viewer.h include/dnscore/message.h include/dnscore/message_dnsupdate.h include/dnscore/message_verify_rrsig.h include/dnscore/mt_output_stream.h include/dnscore/mutex.h +include/dnscore/name.h include/dnscore/network.h %%NSID%%include/dnscore/nsid.h include/dnscore/output_stream.h include/dnscore/pace.h include/dnscore/packet_reader.h include/dnscore/packet_writer.h include/dnscore/parser.h include/dnscore/parsing.h include/dnscore/pid.h include/dnscore/pipe_stream.h include/dnscore/pool.h include/dnscore/print_stream.h include/dnscore/ptr_set.h +include/dnscore/ptr_set_debug.h include/dnscore/ptr_vector.h +include/dnscore/queue-sl.h include/dnscore/random.h include/dnscore/rc.h +include/dnscore/rewind-input-stream.h include/dnscore/rfc.h include/dnscore/serial.h include/dnscore/server-setup.h include/dnscore/service.h include/dnscore/string_set.h include/dnscore/sys_error.h include/dnscore/sys_get_cpu_count.h include/dnscore/sys_types.h include/dnscore/tcp_io_stream.h include/dnscore/thread_pool.h +include/dnscore/threaded-qsl-cw.h include/dnscore/threaded_dll_cw.h include/dnscore/threaded_nb_mm.h include/dnscore/threaded_nbrb.h include/dnscore/threaded_queue.h include/dnscore/threaded_ringbuffer.h include/dnscore/threaded_ringbuffer_cw.h include/dnscore/threaded_ringlist.h include/dnscore/timeformat.h include/dnscore/timems.h include/dnscore/tsig.h include/dnscore/typebitmap.h include/dnscore/u32_set.h include/dnscore/u64_set.h +include/dnscore/u64_set_debug.h include/dnscore/xfr_input_stream.h include/dnscore/zalloc.h include/dnscore/zonefile_reader.h include/dnsdb/avl.h include/dnsdb/btree.h include/dnsdb/dictionary-node.h include/dnsdb/dictionary.h include/dnsdb/dnsdb-config.h include/dnsdb/dnsrdata.h +include/dnsdb/dnssec-keystore.h include/dnsdb/dnssec.h include/dnsdb/dnssec_config.h -include/dnsdb/dnssec_keystore.h include/dnsdb/dnssec_task.h include/dnsdb/dynupdate.h include/dnsdb/hash.h include/dnsdb/htable.h include/dnsdb/htbt.h include/dnsdb/icmtl_input_stream.h include/dnsdb/journal-cjf-common.h include/dnsdb/journal-cjf-idxt.h include/dnsdb/journal-cjf-page-cache.h include/dnsdb/journal-cjf-page-output-stream.h include/dnsdb/journal-cjf-page.h include/dnsdb/journal-cjf.h include/dnsdb/journal.h include/dnsdb/journal_ix.h include/dnsdb/nsec.h +include/dnsdb/nsec3-chain-create.h +include/dnsdb/nsec3-chain-destroy.h +include/dnsdb/nsec3-forall-label.h include/dnsdb/nsec3.h include/dnsdb/nsec3_collection.h include/dnsdb/nsec3_hash.h include/dnsdb/nsec3_icmtl.h include/dnsdb/nsec3_item.h include/dnsdb/nsec3_load.h include/dnsdb/nsec3_name_error.h include/dnsdb/nsec3_nodata_error.h include/dnsdb/nsec3_owner.h include/dnsdb/nsec3_rrsig_updater.h include/dnsdb/nsec3_types.h include/dnsdb/nsec3_update.h include/dnsdb/nsec3_zone.h include/dnsdb/nsec_collection.h include/dnsdb/nsec_common.h include/dnsdb/rr_canonize.h include/dnsdb/rrsig.h include/dnsdb/rrsig_updater.h include/dnsdb/xfr_copy.h include/dnsdb/zdb-config-features.h include/dnsdb/zdb-lock.h include/dnsdb/zdb-zone-answer-axfr.h include/dnsdb/zdb-zone-answer-ixfr.h include/dnsdb/zdb-zone-arc.h +include/dnsdb/zdb-zone-dnssec.h include/dnsdb/zdb-zone-find.h include/dnsdb/zdb-zone-garbage.h include/dnsdb/zdb-zone-journal.h include/dnsdb/zdb-zone-lock.h include/dnsdb/zdb-zone-path-provider.h include/dnsdb/zdb-zone-reader-filter.h include/dnsdb/zdb.h include/dnsdb/zdb_cache.h include/dnsdb/zdb_config.h include/dnsdb/zdb_error.h include/dnsdb/zdb_icmtl.h include/dnsdb/zdb_listener.h include/dnsdb/zdb_record.h include/dnsdb/zdb_rr_label.h include/dnsdb/zdb_sanitize.h include/dnsdb/zdb_types.h include/dnsdb/zdb_utils.h include/dnsdb/zdb_zone.h include/dnsdb/zdb_zone_axfr_input_stream.h include/dnsdb/zdb_zone_label.h include/dnsdb/zdb_zone_label_iterator.h include/dnsdb/zdb_zone_load.h include/dnsdb/zdb_zone_load_interface.h include/dnsdb/zdb_zone_process.h include/dnsdb/zdb_zone_write.h include/dnslg/config-load.h include/dnslg/config-resolver.h include/dnslg/dns.h include/dnslg/dnslg-config-features.h include/dnslg/resolv-conf.h +include/dnslg/resolv.h include/dnszone/dnszone-config-features.h include/dnszone/dnszone-config.h include/dnszone/dnszone.h include/dnszone/hints_file_reader.h include/dnszone/zone_axfr_reader.h include/dnszone/zone_file_reader.h lib/libdnscore.a lib/libdnsdb.a lib/libdnslg.a lib/libdnszone.a man/man5/yadifa.rc.5.gz man/man5/yadifad.conf.5.gz man/man8/yadifa.8.gz man/man8/yadifad.8.gz sbin/yadifad +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/keys.conf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifa.bash_completion +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifa.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-master.conf.example %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-slave.conf.example -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.conf.example +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.bash_completion +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.conf +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.init %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.init.debian -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.init.example %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.init.rhel %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.logrotate %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.service %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.service.arch %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.service.debian %%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.service.rhel /var/yadifa/masters/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.zone /var/yadifa/masters/0.0.127.in-addr.arpa.zone /var/yadifa/masters/localhost.zone /var/yadifa/masters/localhost6.zone /var/yadifa/masters/somedomain.eu.zone @dir /var/log/yadifa @dir /var/yadifa/keys @dir /var/yadifa/masters @dir /var/yadifa/slaves @dir /var/yadifa/xfr @dir /var/yadifa