Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2013 23:17:26 GMT
From:      Leo Vandewoestijne <freebsd@dns-lab.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   powerpc/179380: New port: dns/yadifa authoritive nameserver by EURid (.eu)
Message-ID:  <201306062317.r56NHQcQ017650@oldred.freebsd.org>
Resent-Message-ID: <201306062320.r56NK1Bb053629@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179380
>Category:       powerpc
>Synopsis:       New port: dns/yadifa authoritive nameserver by EURid (.eu)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ppc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 06 23:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Leo Vandewoestijne
>Release:        
>Organization:
DNS-Lab
>Environment:
>Description:
EURid has released YADIFA since a long while now.
I'm surprised there wasn't a port for yet.
So I took a little while to make one.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	yadifa
#	yadifa/Makefile
#	yadifa/distinfo
#	yadifa/pkg-descr
#	yadifa/files
#	yadifa/files/pkg-message.in
#	yadifa/files/yadifad.in
#	yadifa/pkg-plist
#
echo c - yadifa
mkdir -p yadifa > /dev/null 2>&1
echo x - yadifa/Makefile
sed 's/^X//' >yadifa/Makefile << 'd8e4e610c0ab58025a42aaf1b07ce55a'
X# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
X# $FreeBSD: $
X
XPORTNAME=	yadifa
XDISTVERSION=	1.0.2
XDISTVERSIONSUFFIX= -2237
XCATEGORIES=	dns ipv6
XMASTER_SITES=	http://cdn.yadifa.eu/sites/default/files/releases/ \
X		http://www.dns-lab.com/downloads/yadifa/
X
XMAINTAINER=	freebsd@dns-lab.com
XCOMMENT=	YADIFA is a name server implementation developed from scratch by .eu
X
XLICENSE=	BSD
X
XCONFIGURE_ARGS=	--prefix=${ETCDIR}
XGNU_CONFIGURE=	yes
X
XMAKE_JOBS_SAFE=	yes
XUSE_AUTOTOOLS=	libtool
XUSE_OPENSSL=	yes
X
X.include <bsd.port.pre.mk>
X
XSUB_FILES=	pkg-message
X
XUSE_RC_SUBR=	${PORTNAME}d
X
XMAN5=		yadifad.conf.5
XMAN1=		yadifad.1
X
XPORTDOCS=	AUTHORS COPYING ChangeLog \
X		INSTALL NEWS README TODO VERSION
X
Xpost-install:
X	@${MKDIR} ${ETCDIR}
X	@${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf.example ${ETCDIR}
X.if ${PORT_OPTIONS:MDOCS}
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
X.endif
X	@${CAT} ${WRKDIR}/pkg-message
X
X.include <bsd.port.post.mk>
d8e4e610c0ab58025a42aaf1b07ce55a
echo x - yadifa/distinfo
sed 's/^X//' >yadifa/distinfo << 'c735ce8d7208c6bcea7ff19e24e4994d'
XSHA256 (yadifa-1.0.2-2237.tar.gz) = bed2f81a35fc08ad54ccb3b48b926976f8270ade8b256b20efd77a5236ac0c0d
XSIZE (yadifa-1.0.2-2237.tar.gz) = 2292703
c735ce8d7208c6bcea7ff19e24e4994d
echo x - yadifa/pkg-descr
sed 's/^X//' >yadifa/pkg-descr << '791986f0d1efff70d7d39c44b3f36a68'
XA name server implementation developed from scratch by EURid (.eu)
X
XClean, small, light and RFC compliant.
X
XDesigned specifically for the efficient management of large Internet
Xzones and uses dynamic updates to instantly change domain name records.
XIt is equally optimised to handle multiple Internet zones.
XOur benchmark tests show how we measure up to the competition.
X
XWWW: http://www.yadifa.eu/
791986f0d1efff70d7d39c44b3f36a68
echo c - yadifa/files
mkdir -p yadifa/files > /dev/null 2>&1
echo x - yadifa/files/pkg-message.in
sed 's/^X//' >yadifa/files/pkg-message.in << 'cbf213218112126eeb9084e7b18274de'
X#######################################################################
X
XBy default the config file for Yadifa is expected on your system at:
X%%PREFIX%%/etc/yadifad.conf
X
XTo configure it, please read the manual, chapter "server installation":
Xhttp://www.yadifa.eu/sites/default/files/yadifa-reference-manual.pdf
X
X#######################################################################
cbf213218112126eeb9084e7b18274de
echo x - yadifa/files/yadifad.in
sed 's/^X//' >yadifa/files/yadifad.in << 'dc57fbf651169101e035cb33ec8853f2'
X#!/bin/sh
X#
X# $FreeBSD: $
X#
X# PROVIDE: yadifa
X# REQUIRE: SERVERS cleanvar
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf to enable yadifa:
X#
X# yadifa_enable="YES":	Set to NO by default.
X#			Set it to YES to enable yadifa.
X# yadifa_config="":	Set to %%PREFIX%%/etc/yadifad.conf
X#			by default.
X
X. /etc/rc.subr
X
Xname=yadifa
Xrcvar=yadifa_enable
X
Xstop_cmd="${name}_stop"
X
Xload_rc_config ${name}
X
X: ${yadifa_enable:="NO"}
X: ${yadifa_config="%%ETCDIR%%/yadifad.conf"}
X
Xcommand=%%PREFIX%%/sbin/${name}d
Xprocname=%%PREFIX%%/sbin/${name}d
Xpidfile=/var/run/${name}.pid
X
Xcommand_args="-c ${yadifa_config} -d"
Xrequired_files=${yadifa_config}
X
Xyadifa_stop() {
X	echo "Stopping ${name}."
X	killall -SIGTERM ${name}d
X	}
X
Xrun_rc_command "$1"
dc57fbf651169101e035cb33ec8853f2
echo x - yadifa/pkg-plist
sed 's/^X//' >yadifa/pkg-plist << '66b540a3b746bb9aa33d0bdafa18ba27'
X@stopdaemon yadifad
X%%ETCDIR%%/yadifad.conf.example
Xsbin/yadifad
X@dirrmtry %%ETCDIR%%
X%%DOCSDIR%%/yadifad-master.conf.example
X%%DOCSDIR%%/yadifad-slave.conf.example
X%%DOCSDIR%%/yadifad.conf.example
Xvar/zones/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
Xvar/zones/masters/0.0.127.in-addr.arpa.zone
Xvar/zones/masters/localhost.zone
Xvar/zones/masters/localhost6.zone
Xvar/zones/masters/somedomain.eu.zone
X@dirrmtry var/zones/keys
X@dirrmtry var/zones/masters
X@dirrmtry var/zones/slaves
X@dirrmtry var/zones/xfr
X@dirrmtry var/zones
66b540a3b746bb9aa33d0bdafa18ba27
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306062317.r56NHQcQ017650>