|
Lines 1-8
Link Here
|
| 1 |
# Created by: Konstantin Saurbier <saurbier@math.uni-bielefeld.de> |
1 |
# Created by: Konstantin Saurbier <saurbier@math.uni-bielefeld.de> |
| 2 |
|
2 |
|
| 3 |
PORTNAME= ldns |
3 |
PORTNAME= ldns |
| 4 |
PORTVERSION= 1.7.1 |
4 |
DISTVERSION= 1.8.1 |
| 5 |
PORTREVISION= 2 |
|
|
| 6 |
CATEGORIES= dns |
5 |
CATEGORIES= dns |
| 7 |
MASTER_SITES= https://www.nlnetlabs.nl/downloads/ldns/ \ |
6 |
MASTER_SITES= https://www.nlnetlabs.nl/downloads/ldns/ \ |
| 8 |
LOCAL/ehaupt |
7 |
LOCAL/ehaupt |
|
Lines 35-41
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
Link Here
|
| 35 |
HTMLDOCS= doc/html/* |
34 |
HTMLDOCS= doc/html/* |
| 36 |
|
35 |
|
| 37 |
OPTIONS_DEFINE+= DANETAUSAGE GOST RRTYPEAMTRELAY RRTYPEAVC RRTYPENINFO \ |
36 |
OPTIONS_DEFINE+= DANETAUSAGE GOST RRTYPEAMTRELAY RRTYPEAVC RRTYPENINFO \ |
| 38 |
RRTYPERKEY RRTYPETA |
37 |
RRTYPERKEY RRTYPETA RRTYPESVCBHTTPS |
| 39 |
|
38 |
|
| 40 |
DANETAUSAGE_DESC= Enable ta usage, requires openssl >= 1.1.0 |
39 |
DANETAUSAGE_DESC= Enable ta usage, requires openssl >= 1.1.0 |
| 41 |
GOST_DESC= GOST signatures enabled, requires openssl >= 1.0.0 |
40 |
GOST_DESC= GOST signatures enabled, requires openssl >= 1.0.0 |
|
Lines 44-49
RRTYPERKEY_DESC= Enable draft RR type rkey.
Link Here
|
| 44 |
RRTYPETA_DESC= Enable draft RR type ta. |
43 |
RRTYPETA_DESC= Enable draft RR type ta. |
| 45 |
RRTYPEAVC_DESC= Enable draft RR type avc. |
44 |
RRTYPEAVC_DESC= Enable draft RR type avc. |
| 46 |
RRTYPEAMTRELAY_DESC= Enable draft RR type amtrelay. |
45 |
RRTYPEAMTRELAY_DESC= Enable draft RR type amtrelay. |
|
|
46 |
RRTYPESVCBHTTPS_DESC= Enable SVCB and HTTPS draft RR types. |
| 47 |
|
47 |
|
| 48 |
OPTIONS_SUB= yes |
48 |
OPTIONS_SUB= yes |
| 49 |
|
49 |
|
|
Lines 55-67
RRTYPERKEY_CONFIGURE_ENABLE= rrtype-rkey
Link Here
|
| 55 |
RRTYPETA_CONFIGURE_ENABLE= rrtype-ta |
55 |
RRTYPETA_CONFIGURE_ENABLE= rrtype-ta |
| 56 |
RRTYPEAVC_CONFIGURE_ENABLE= rrtype-avc |
56 |
RRTYPEAVC_CONFIGURE_ENABLE= rrtype-avc |
| 57 |
RRTYPEAMTRELAY_CONFIGURE_ENABLE= rrtype-amtrelay |
57 |
RRTYPEAMTRELAY_CONFIGURE_ENABLE= rrtype-amtrelay |
|
|
58 |
RRTYPESVCBHTTPS_CONFIGURE_ENABLE= rrtype-svcb-https |
| 58 |
EXAMPLES_CONFIGURE_WITH= examples |
59 |
EXAMPLES_CONFIGURE_WITH= examples |
| 59 |
DRILL_CONFIGURE_WITH= drill |
60 |
DRILL_CONFIGURE_WITH= drill |
| 60 |
DRILL_INSTALL_TARGET= install-drill |
61 |
DRILL_INSTALL_TARGET= install-drill |
| 61 |
EXAMPLES_INSTALL_TARGET= install-examples |
62 |
EXAMPLES_INSTALL_TARGET= install-examples |
| 62 |
|
63 |
|
| 63 |
.if defined(BUILD_PYLDNS) |
64 |
.if defined(BUILD_PYLDNS) |
| 64 |
USES+= python:3.6-3.9 |
65 |
USES+= python:3.6+ |
| 65 |
USE_PYTHON= flavors |
66 |
USE_PYTHON= flavors |
| 66 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
67 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
| 67 |
ALL_TARGET= pyldns |
68 |
ALL_TARGET= pyldns |
|
Lines 91-97
BUILD_DEPENDS= ${RUN_DEPENDS}
Link Here
|
| 91 |
LIB_DEPENDS+= libldns.so:dns/ldns |
92 |
LIB_DEPENDS+= libldns.so:dns/ldns |
| 92 |
|
93 |
|
| 93 |
post-patch: |
94 |
post-patch: |
| 94 |
@${SED} -i '' -e 's=-I./include/ldns=-I${LOCALBASE}/include/ldns=' ${WRKSRC}/Makefile.in |
95 |
${SED} -i '' -e 's=-I./include/ldns=-I${LOCALBASE}/include/ldns=' ${WRKSRC}/Makefile.in |
| 95 |
|
96 |
|
| 96 |
post-install: |
97 |
post-install: |
| 97 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DNS/LDNS/LDNS.so |
98 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DNS/LDNS/LDNS.so |