View | Details | Raw Unified | Return to bug 126270
Collapse All | Expand All

(-)/usr/ports/dns/powerdns-devel.new/Makefile (-9 / +7 lines)
Lines 6-24 Link Here
6
#
6
#
7
7
8
PORTNAME=	powerdns
8
PORTNAME=	powerdns
9
PORTVERSION=	3.0.${SNAPSHOT}
9
PORTVERSION=	2.9.22.${SNAPSHOT}
10
PORTEPOCH=	1
10
CATEGORIES=	dns ipv6
11
CATEGORIES=	dns ipv6
11
MASTER_SITES=	http://svn.powerdns.com/snapshots/${REVISION}/
12
MASTER_SITES=	http://svn.powerdns.com/snapshots/${REVISION}/
12
PKGNAMESUFFIX=	-devel
13
PKGNAMESUFFIX=	-devel
13
DISTNAME=	pdns-${PORTVERSION:S/.${SNAPSHOT}//}-svn.${SNAPSHOT}.${REVISION}
14
DISTNAME=	pdns-${PORTVERSION:S/.${SNAPSHOT}//}-snapshot.${SNAPSHOT}.${REVISION}
14
15
15
MAINTAINER=	tremere@cainites.net
16
MAINTAINER=	tremere@cainites.net
16
COMMENT=	An advanced DNS server with multiple backends including SQL
17
COMMENT=	An advanced DNS server with multiple backends including SQL
17
18
18
BUILD_DEPENDS=	bjam:${PORTSDIR}/devel/boost
19
BUILD_DEPENDS=	bjam:${PORTSDIR}/devel/boost
19
20
20
SNAPSHOT=	20080625
21
SNAPSHOT=	20080804
21
REVISION=	1227
22
REVISION=	1251
22
23
23
CONFLICTS=	powerdns-[0-2]*
24
CONFLICTS=	powerdns-[0-2]*
24
25
Lines 120-125 Link Here
120
.	endif
121
.	endif
121
.else
122
.else
122
PLIST_SUB+=		WITHOPENLDAP="@comment "
123
PLIST_SUB+=		WITHOPENLDAP="@comment "
124
SUB_LIST+=		SLAPD=
123
.endif
125
.endif
124
126
125
.if defined(WITH_SQLITE)
127
.if defined(WITH_SQLITE)
Lines 147-156 Link Here
147
PLIST_SUB+=		WITHOPENDBX="@comment "
149
PLIST_SUB+=		WITHOPENDBX="@comment "
148
.endif
150
.endif
149
151
150
.if ${OSVERSION} < 500039
151
USE_GCC=3.4
152
.endif
153
154
.if defined(WITH_OPENLDAP)
152
.if defined(WITH_OPENLDAP)
155
post-patch:
153
post-patch:
156
	${REINPLACE_CMD} -e 's;-I. ;-I. -I${LOCALBASE}/include ;' \
154
	${REINPLACE_CMD} -e 's;-I. ;-I. -I${LOCALBASE}/include ;' \
Lines 165-171 Link Here
165
.if !exists(${PREFIX}/etc/pdns/pdns.conf)
163
.if !exists(${PREFIX}/etc/pdns/pdns.conf)
166
	${INSTALL_DATA} ${PREFIX}/etc/pdns/pdns.conf-dist ${PREFIX}/etc/pdns/pdns.conf
164
	${INSTALL_DATA} ${PREFIX}/etc/pdns/pdns.conf-dist ${PREFIX}/etc/pdns/pdns.conf
167
.endif
165
.endif
168
.if !defined(NOPORTDOCS)
166
.if !defined(NOPORTEXAMPLES)
169
	${MKDIR} ${EXAMPLESDIR}
167
	${MKDIR} ${EXAMPLESDIR}
170
.for i in pdns.conf
168
.for i in pdns.conf
171
	${INSTALL_DATA} ${FILESDIR}/$i ${EXAMPLESDIR}/
169
	${INSTALL_DATA} ${FILESDIR}/$i ${EXAMPLESDIR}/
(-)/usr/ports/dns/powerdns-devel.new/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (pdns-3.0-svn.20080625.1227.tar.gz) = 1406a47d529fccef585d81cac1b84167
1
MD5 (pdns-2.9.22-snapshot.20080804.1251.tar.gz) = ece9e77f76e145eec1bcf9a9de420533
2
SHA256 (pdns-3.0-svn.20080625.1227.tar.gz) = 19017caae0d29bb03c6c301b1b055d2458e4eacf0c2f5d6341505d623bddacb6
2
SHA256 (pdns-2.9.22-snapshot.20080804.1251.tar.gz) = 3c335ea5a25b4ec51c7b5336a306b260773538e8cbcf34dd88f6050e25c1d804
3
SIZE (pdns-3.0-svn.20080625.1227.tar.gz) = 1043351
3
SIZE (pdns-2.9.22-snapshot.20080804.1251.tar.gz) = 1053103
(-)/usr/ports/dns/powerdns-devel.new/files/pdns.in (-38 lines)
Lines 1-38 Link Here
1
#!/bin/sh
2
#
3
# $FreeBSD: ports/dns/powerdns-devel/files/pdns.in,v 1.4 2007/02/07 04:04:45 alepulver Exp $
4
#
5
6
# PROVIDE: pdns_server
7
# REQUIRE: DAEMON
8
# KEYWORD: shutdown
9
10
#
11
# Add the following lines to /etc/rc.conf to enable powerdns:
12
#
13
#pdns_enable="YES"
14
#
15
# See pdns_server(8) for flags.
16
#
17
18
. %%RC_SUBR%%
19
20
name=pdns
21
rcvar=`set_rcvar`
22
23
command=%%PREFIX%%/sbin/pdns_server
24
25
# set defaults
26
27
pdns_enable=${pdns_enable:-"NO"}
28
pdns_conf=${pdns_conf:-"%%PREFIX%%/etc/pdns/pdns.conf"}
29
pdns_flags=${pdns_flags:-""}
30
31
load_rc_config ${name}
32
33
required_files=${pdns_conf}
34
35
monitor_cmd="${command} --daemon=no --guardian=no --control-console --loglevel=9"
36
extra_commands="monitor"
37
38
run_rc_command "$1"
(-)/usr/ports/dns/powerdns-devel.new/pkg-plist (-2 / +2 lines)
Lines 37-42 Link Here
37
@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
37
@unexec if cmp -s %D/etc/pdns/pdns.conf %D/etc/pdns/pdns.conf-dist; then rm -f %D/etc/pdns/pdns.conf; fi
38
etc/pdns/pdns.conf-dist
38
etc/pdns/pdns.conf-dist
39
@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf
39
@exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf
40
%%PORTDOCS%%%%EXAMPLESDIR%%/pdns.conf
40
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pdns.conf
41
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
41
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
42
@dirrmtry etc/pdns
42
@dirrmtry etc/pdns

Return to bug 126270