Add yadifa 1.0.3, YADIFA is an authoritative Name Server with DNSSEC

capabilities.
This commit is contained in:
Mathieu Arnold 2013-11-23 14:13:15 +00:00
parent c04da27f32
commit fc8bd16a4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334669
6 changed files with 251 additions and 0 deletions

View file

@ -165,6 +165,7 @@
SUBDIR += validns
SUBDIR += vizone
SUBDIR += walker
SUBDIR += yadifa
SUBDIR += zkt
SUBDIR += zonecheck
SUBDIR += zonenotify

42
dns/yadifa/Makefile Normal file
View file

@ -0,0 +1,42 @@
# Created by: Mathieu Arnold <mat@FreeBSD.org>
# $FreeBSD$
PORTNAME= yadifa
PORTVERSION= 1.0.3
DISTVERSIONSUFFIX= -2880
CATEGORIES= dns ipv6
MASTER_SITES= http://cdn.yadifa.eu/sites/default/files/releases/
MAINTAINER= mat@FreeBSD.org
COMMENT= YADIFA is an authoritative Name Server with DNSSEC capabilities
LICENSE= BSD
OPTIONS_DEFINE= DOCS EXAMPLES TCL
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_OPENSSL= yes
CONFIGURE_ARGS= --localstatedir=/var
TCL_USES= tcl
TCL_CONFIGURE_ENABLE= tcl
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
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
@${MV} ${STAGEDIR}/var/zones ${STAGEDIR}/var/${PORTNAME}
.include <bsd.port.mk>

2
dns/yadifa/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (yadifa-1.0.3-2880.tar.gz) = 11a841620be8a2cb882a904686e48c3c6b49877942a906edffa24130600b4ba3
SIZE (yadifa-1.0.3-2880.tar.gz) = 2321633

View file

@ -0,0 +1,32 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: yadifad
# REQUIRE: SERVERS cleanvar
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable yadifad:
#
# yadifad_enable="YES"
# # optional
# yadifad_config="%%PREFIX%%/etc/yadifad.conf"
. /etc/rc.subr
name=yadifad
rcvar=yadifad_enable
load_rc_config ${name}
: ${yadifad_enable:="NO"}
: ${yadifad_config="%%PREFIX%%/etc/yadifad.conf"}
command=%%PREFIX%%/sbin/${name}
procname=%%PREFIX%%/sbin/${name}
pidfile=/var/run/${name}.pid
command_args="-c ${yadifad_config} -d"
required_files=${yadifad_config}
run_rc_command "$1"

16
dns/yadifa/pkg-descr Normal file
View file

@ -0,0 +1,16 @@
YADIFA is a lightweight authoritative Name Server with DNSSEC capabilities.
Developed by the passionate people behind the .eu top-level domain, YADIFA has
been built from scratch to face today?s DNS challenges, with no compromise on
security, speed and stability, to offer a better and safer Internet experience.
YADIFA has a simple configuration syntax and can handle more queries per second
while maintaining one of the lowest memory footprints in the industry. YADIFA
also has one of the fastest zone file load times ever recorded on a name
server.
YADIFA was developed on FreeBSD and a GNU/Linux. It works on OSX and will be
soon ported to other Unix flavours like OpenBSD and Solaris. A Microsoft
Windows version is also on the cards.
WWW: http://www.yadifa.eu/

158
dns/yadifa/pkg-plist Normal file
View file

@ -0,0 +1,158 @@
@unexec if cmp -s %D/etc/yadifad.conf.sample %D/etc/yadifad.conf; then rm -f %D/etc/yadifad.conf; fi
etc/yadifad.conf.example
@exec if [ ! -f %D/etc/yadifad.conf ] ; then cp -p %D/%F %B/yadifad.conf; fi
include/dnscore/alarm.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/buffer_input_stream.h
include/dnscore/buffer_output_stream.h
include/dnscore/bytearray_output_stream.h
include/dnscore/clone_input_output_stream.h
include/dnscore/counter_output_stream.h
include/dnscore/ctrl-rfc.h
include/dnscore/debug.h
include/dnscore/debug_config.h
include/dnscore/dnscore-config.h
include/dnscore/dnscore.h
include/dnscore/dnsformat.h
include/dnscore/dnsname.h
include/dnscore/dnsname_set.h
include/dnscore/fdtools.h
include/dnscore/file_input_stream.h
include/dnscore/file_output_stream.h
include/dnscore/filter_input_stream.h
include/dnscore/fingerprint.h
include/dnscore/format.h
include/dnscore/host_address.h
include/dnscore/input_stream.h
include/dnscore/io_stream.h
include/dnscore/logger.h
include/dnscore/logger_channel.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.h
include/dnscore/mt_output_stream.h
include/dnscore/mutex.h
include/dnscore/network.h
include/dnscore/output_stream.h
include/dnscore/packet_reader.h
include/dnscore/packet_writer.h
include/dnscore/parsing.h
include/dnscore/print_stream.h
include/dnscore/ptr_vector.h
include/dnscore/random.h
include/dnscore/rdtsc.h
include/dnscore/rfc.h
include/dnscore/scheduler.h
include/dnscore/serial.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_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/timems.h
include/dnscore/treeset.h
include/dnscore/tsig.h
include/dnscore/typebitmap.h
include/dnscore/u32_set.h
include/dnscore/xfr_copy.h
include/dnscore/zonefile_reader.h
include/dnsdb/avl.h
include/dnsdb/btree.h
include/dnsdb/dictionary.h
include/dnsdb/dnsdb-config.h
include/dnsdb/dnskey.h
include/dnsdb/dnsrdata.h
include/dnsdb/dnssec.h
include/dnsdb/dnssec_config.h
include/dnsdb/dnssec_dsa.h
include/dnsdb/dnssec_keystore.h
include/dnsdb/dnssec_rsa.h
include/dnsdb/dnssec_scheduler.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/nsec.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_types.h
include/dnsdb/nsec3_update.h
include/dnsdb/nsec3_zone.h
include/dnsdb/nsec_collection.h
include/dnsdb/nsec_common.h
include/dnsdb/rrsig.h
include/dnsdb/zdb.h
include/dnsdb/zdb_alloc.h
include/dnsdb/zdb_config.h
include/dnsdb/zdb_dnsname.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_store.h
include/dnsdb/zdb_types.h
include/dnsdb/zdb_utils.h
include/dnsdb/zdb_zone.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_write.h
include/dnsdb/zonefile.h
include/dnszone/dnszone-config.h
include/dnszone/dnszone.h
include/dnszone/output_stream_write_rdata.h
include/dnszone/resourcerecord.h
include/dnszone/zone_axfr_reader.h
include/dnszone/zone_file_reader.h
lib/libdnscore.a
lib/libdnscore.la
lib/libdnsdb.a
lib/libdnsdb.la
lib/libdnszone.a
lib/libdnszone.la
man/man1/yadifad.1.gz
man/man5/yadifad.conf.5.gz
sbin/yadifad
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-master.conf.example
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-slave.conf.example
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.conf.example
/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
@unexec rmdir >/dev/null 2>&1 /var/yadifa/xfr || :
@unexec rmdir >/dev/null 2>&1 /var/yadifa/slaves || :
@unexec rmdir >/dev/null 2>&1 /var/yadifa/masters || :
@unexec rmdir >/dev/null 2>&1 /var/yadifa/keys || :
@unexec rmdir >/dev/null 2>&1 /var/yadifa || :
@dirrmtry %%PORTEXAMPLES%%%%EXAMPLESDIR%%
@dirrmtry include/dnszone
@dirrmtry include/dnsdb
@dirrmtry include/dnscore