View | Details | Raw Unified | Return to bug 202555 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/ports/dns/dnsdist/Makefile (-2 / +9 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/dns/dnsdist/Makefile 394402 2015-08-16 11:27:02Z amdmi3 $
2
# $FreeBSD: head/dns/dnsdist/Makefile 394402 2015-08-16 11:27:02Z amdmi3 $
3
3
4
PORTNAME=	dnsdist
4
PORTNAME=	dnsdist
5
DISTVERSION=	0.0.211g05c8117
5
DISTVERSION=	0.0.213g3172f9b
6
CATEGORIES=	dns net
6
CATEGORIES=	dns net
7
MASTER_SITES=	http://builder.powerdns.com/files/dnsdist/dist/
7
MASTER_SITES=	http://builder.powerdns.com/files/dnsdist/dist/
8
8
Lines 23-29 Link Here
23
USES=		bison cpe gmake libtool lua:52 pkgconfig readline tar:bz2
23
USES=		bison cpe gmake libtool lua:52 pkgconfig readline tar:bz2
24
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
25
25
26
USE_RC_SUBR=	dnsdist
27
26
PLIST_FILES=	bin/dnsdist \
28
PLIST_FILES=	bin/dnsdist \
27
		man/man1/dnsdist.1.gz
29
		man/man1/dnsdist.1.gz \
30
		etc/dnsdist.conf.sample
31
32
post-install:
33
	${INSTALL_DATA} ${FILESDIR}/dnsdist.conf.sample \
34
		${STAGEDIR}${PREFIX}/etc
28
35
29
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)/usr/ports/dns/dnsdist/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (dnsdist-0.0.211g05c8117.tar.bz2) = de08b642c0b5c1d2f6ff9900e8e043738789a1068a6283005136badaa8622305
1
SHA256 (dnsdist-0.0.213g3172f9b.tar.bz2) = fe0fa3c3f3c2633d2927b30f54fc92fded3c4dae7d354dde3df7fda3792c6abd
2
SIZE (dnsdist-0.0.211g05c8117.tar.bz2) = 539720
2
SIZE (dnsdist-0.0.213g3172f9b.tar.bz2) = 539680
(-)/usr/ports/dns/dnsdist/files/dnsdist.conf.sample (+6 lines)
Line 0 Link Here
1
newServer {address="2001:4860:4860::8888", qps=1}
2
newServer {address="2001:4860:4860::8844", qps=1} 
3
newServer {address="2620:0:ccc::2", qps=10}
4
newServer {address="2620:0:ccd::2", qps=10}
5
newServer("192.168.1.2")
6
setServerPolicy(firstAvailable) -- first server within its QPS limit
(-)/usr/ports/dns/dnsdist/files/dnsdist.in (+27 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD$
4
#
5
# PROVIDE: dnsdist
6
# REQUIRE: NETWORKING DAEMON
7
# KEYWORD: shutdown
8
#
9
# Add the following to /etc/rc.conf to enable dnsdist:
10
#
11
# dnsdist_enable="YES"
12
#
13
14
. /etc/rc.subr
15
16
name="dnsdist"
17
rcvar="dnsdist_enable"
18
19
load_rc_config ${name}
20
21
: ${dnsdist_enable:="NO"}
22
: ${dnsdist_pidfile:=/var/run/${name}/pid}
23
24
command=/usr/local/sbin/${name}
25
command_args="-l 127.0.0.1:53"
26
27
run_rc_command "$1"

Return to bug 202555