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}/ |