Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/dns/knot2/Makefile 439773 2017-04-29 20:28:55Z pi $ |
2 |
# $FreeBSD: head/dns/knot2/Makefile 439773 2017-04-29 20:28:55Z pi $ |
3 |
|
3 |
|
4 |
PORTNAME= knot |
4 |
PORTNAME= knot |
5 |
PORTVERSION= 2.4.3 |
5 |
PORTVERSION= 2.5.1 |
6 |
CATEGORIES= dns ipv6 |
6 |
CATEGORIES= dns ipv6 |
7 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
7 |
MASTER_SITES= https://secure.nic.cz/files/knot-dns/ \ |
8 |
http://dns-lab.com/downloads/knot-dns/ |
8 |
http://dns-lab.com/downloads/knot-dns/ |
Lines 13-30
Link Here
|
13 |
|
13 |
|
14 |
LICENSE= GPLv3 |
14 |
LICENSE= GPLv3 |
15 |
|
15 |
|
16 |
LIB_DEPENDS= libfstrm.so:devel/fstrm \ |
16 |
LIB_DEPENDS= libgnutls.so:security/gnutls \ |
17 |
libgnutls.so:security/gnutls \ |
|
|
18 |
libjansson.so:devel/jansson \ |
19 |
liblmdb.so:databases/lmdb \ |
17 |
liblmdb.so:databases/lmdb \ |
20 |
libnettle.so:security/nettle \ |
18 |
libnettle.so:security/nettle \ |
21 |
liburcu.so:sysutils/liburcu |
19 |
liburcu.so:sysutils/liburcu |
22 |
|
20 |
|
23 |
CONFLICTS= knot-1.* knot1-[0-6].* |
21 |
CONFLICTS= knot-1.* knot1-[0-6].* |
24 |
|
22 |
|
25 |
USES= alias compiler:c11 libedit libtool pkgconfig tar:xz |
23 |
USES= autoreconf alias compiler:c11 libedit libtool localbase pkgconfig python shebangfix tar:xz |
26 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
27 |
|
|
|
28 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
29 |
CONFIGURE_ARGS= --with-rundir=/var/run/knot \ |
26 |
CONFIGURE_ARGS= --with-rundir=/var/run/knot \ |
30 |
--with-storage=/var/db/knot \ |
27 |
--with-storage=/var/db/knot \ |
Lines 42-52
Link Here
|
42 |
|
39 |
|
43 |
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS |
40 |
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS |
44 |
|
41 |
|
|
|
42 |
BROKEN_i386= Issues in knot/modules/*/*.c: undefined reference to `__atomic_fetch_add_8' |
43 |
|
45 |
OPTIONS_DEFINE= DNSTAP FASTPARSER IDN |
44 |
OPTIONS_DEFINE= DNSTAP FASTPARSER IDN |
46 |
|
45 |
|
47 |
DNSTAP_DESC= dnstap support (see dnstap.info) |
46 |
DNSTAP_DESC= dnstap support (see dnstap.info) |
48 |
DNSTAP_CONFIGURE_ENABLE= dnstap |
47 |
DNSTAP_CONFIGURE_ENABLE= dnstap |
49 |
DNSTAP_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c |
48 |
DNSTAP_LIB_DEPENDS= libprotobuf-c.so:devel/protobuf-c \ |
|
|
49 |
libfstrm.so:devel/fstrm |
50 |
# XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from |
50 |
# XXX: because `kdig_CPPFLAGS += $(DNSTAP_CFLAGS)' line is missing from |
51 |
# `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which |
51 |
# `src/Makefile.am' file (and thus pre-generated `src/Makefile.in') which |
52 |
# should contain "$libfstrm_CFLAGS $libprotobuf_c_CFLAGS" set by configure |
52 |
# should contain "$libfstrm_CFLAGS $libprotobuf_c_CFLAGS" set by configure |
Lines 60-65
Link Here
|
60 |
IDN_CONFIGURE_WITH= libidn |
60 |
IDN_CONFIGURE_WITH= libidn |
61 |
IDN_LIB_DEPENDS= libidn.so:dns/libidn |
61 |
IDN_LIB_DEPENDS= libidn.so:dns/libidn |
62 |
|
62 |
|
|
|
63 |
pre-configure: |
64 |
@cd ${WRKSRC} && ${AUTORECONF} -f -i |
65 |
|
63 |
post-patch: |
66 |
post-patch: |
64 |
@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \ |
67 |
@${REINPLACE_CMD} 's|$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|#$$(INSTALL) -d $$(DESTDIR)/\@run_dir\@|' \ |
65 |
${WRKSRC}/src/Makefile.in |
68 |
${WRKSRC}/src/Makefile.in |