Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ldns |
8 |
PORTNAME= ldns |
9 |
PORTVERSION= 1.6.6 |
9 |
PORTVERSION= 1.6.7 |
10 |
CATEGORIES= dns |
10 |
CATEGORIES= dns |
11 |
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/ |
11 |
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/ |
12 |
|
12 |
|
Lines 22-28
Link Here
|
22 |
|
22 |
|
23 |
OPTIONS= DOCS "With documentation" Off \ |
23 |
OPTIONS= DOCS "With documentation" Off \ |
24 |
EXAMPLES "With example programs" Off \ |
24 |
EXAMPLES "With example programs" Off \ |
25 |
GOST "With GOST signing enabled (requires openssl 1.0.0)" Off |
25 |
GOST "GOST signatures enabled (requires openssl >= 1.0.0)" Off \ |
|
|
26 |
ECDSA "With highly experimental ECDSA support" Off |
26 |
|
27 |
|
27 |
.include <bsd.port.pre.mk> |
28 |
.include <bsd.port.pre.mk> |
28 |
|
29 |
|
Lines 223-229
Link Here
|
223 |
|
224 |
|
224 |
.if defined(WITH_GOST) |
225 |
.if defined(WITH_GOST) |
225 |
BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl |
226 |
BUILD_DEPENDS+= openssl>=1.0:${PORTSDIR}/security/openssl |
226 |
CONFIGURE_ARGS+= --enable-gost |
227 |
.else |
|
|
228 |
CONFIGURE_ARGS+= --disable-gost |
227 |
.endif |
229 |
.endif |
228 |
|
230 |
|
229 |
.if defined(WITH_EXAMPLES) |
231 |
.if defined(WITH_EXAMPLES) |
Lines 250-255
Link Here
|
250 |
PLIST_SUB+= EXAMPLES="@comment " |
252 |
PLIST_SUB+= EXAMPLES="@comment " |
251 |
.endif |
253 |
.endif |
252 |
|
254 |
|
|
|
255 |
.if defined(WITH_ECDSA) && ${OSVERSION} > 700000 |
256 |
CONFIGURE_ARGS+= --enable-ecdsa |
257 |
.endif |
258 |
|
253 |
.if ${OSVERSION} < 700000 |
259 |
.if ${OSVERSION} < 700000 |
254 |
CONFIGURE_ARGS+= "--disable-sha2" |
260 |
CONFIGURE_ARGS+= "--disable-sha2" |
255 |
.endif |
261 |
.endif |