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

Collapse All | Expand All

(-)Makefile (-18 / +10 lines)
Lines 19-36 Link Here
19
USES=		alias libtool tar:xz
19
USES=		alias libtool tar:xz
20
20
21
USE_LDCONFIG=	yes
21
USE_LDCONFIG=	yes
22
USE_OPENSSL=	yes
22
23
23
INSTALL_TARGET=	install-strip
24
INSTALL_TARGET=	install-strip
24
25
25
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
26
27
27
CONFIGURE_ARGS+=	--with-storage=/var/db/knot
28
CONFIGURE_ARGS+=	--with-storage=/var/db/knot \
28
CONFIGURE_ARGS+=	--with-rundir=/var/run/knot
29
			--with-rundir=/var/run/knot \
30
			--with-openssl=${OPENSSLBASE}
29
31
30
OPTIONS_DEFINE=		DNSTAP FASTPARSER GOST IDNA LMDB
32
OPTIONS_DEFINE=		DNSTAP FASTPARSER GOST IDNA LMDB
31
OPTIONS_SINGLE=		SSL
33
OPTIONS_DEFAULT=	GOST
32
OPTIONS_SINGLE_SSL=	LIBRESSL OPENSSL
33
OPTIONS_DEFAULT=	GOST OPENSSL
34
34
35
DNSTAP_DESC=		dnstap support (see dnstap.info)
35
DNSTAP_DESC=		dnstap support (see dnstap.info)
36
DNSTAP_CONFIGURE_ENABLE=	dnstap
36
DNSTAP_CONFIGURE_ENABLE=	dnstap
Lines 50-72 Link Here
50
LMDB_CONFIGURE_ENABLE=	lmdb
50
LMDB_CONFIGURE_ENABLE=	lmdb
51
LMDB_LIB_DEPENDS=	liblmdb.so:${PORTSDIR}/databases/lmdb
51
LMDB_LIB_DEPENDS=	liblmdb.so:${PORTSDIR}/databases/lmdb
52
52
53
SSL_DESC=		DNSSEC support using:
54
55
LIBRESSL_DESC=		LibreSSL (experimental)
56
LIBRESSL_LIB_DEPENDS=	libressl.so:${PORTSDIR}/security/libressl
57
58
OPENSSL_DESC=		OpenSSL (default)
59
OPENSSL_USE=		OPENSSL=yes
60
OPENSSL_CONFIGURE_ON=	--with-openssl=${OPENSSLBASE}
61
62
.include <bsd.port.options.mk>
53
.include <bsd.port.options.mk>
63
54
64
.if ${PORT_OPTIONS:MLIBRESSL} && ${PORT_OPTIONS:MGOST}
55
.if ${PORT_OPTIONS:MGOST} 
56
. if ${OPENSSL_PORT} == security/libressl
65
IGNORE=			the (not impossible) combination of LibreSSL and GOST is not implemented (yet). Either disable GOST or use OpenSSL
57
IGNORE=			the (not impossible) combination of LibreSSL and GOST is not implemented (yet). Either disable GOST or use OpenSSL
66
.endif
58
. endif
67
59
. if ${OSVERSION} < 1000015
68
.if ${PORT_OPTIONS:MOPENSSL} && ${PORT_OPTIONS:MGOST} && ${OSVERSION} < 1000015
69
WITH_OPENSSL_PORT=	yes
60
WITH_OPENSSL_PORT=	yes
61
. endif
70
.endif
62
.endif
71
63
72
SUB_FILES=	pkg-message
64
SUB_FILES=	pkg-message

Return to bug 199298