Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= unbound |
4 |
PORTNAME= unbound |
5 |
PORTVERSION= 1.4.21 |
5 |
PORTVERSION= 1.4.21 |
6 |
PORTREVISION= 1 |
6 |
PORTREVISION= 2 |
7 |
CATEGORIES= dns |
7 |
CATEGORIES= dns |
8 |
MASTER_SITES= http://unbound.net/downloads/ |
8 |
MASTER_SITES= http://unbound.net/downloads/ |
9 |
|
9 |
|
Lines 16-22
Link Here
|
16 |
USE_GMAKE= yes |
16 |
USE_GMAKE= yes |
17 |
USE_OPENSSL= yes |
17 |
USE_OPENSSL= yes |
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} |
19 |
CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} --with-libexpat=${LOCALBASE} |
20 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
21 |
|
21 |
|
22 |
USERS= ${PORTNAME} |
22 |
USERS= ${PORTNAME} |
Lines 24-43
Link Here
|
24 |
|
24 |
|
25 |
USE_RC_SUBR= unbound |
25 |
USE_RC_SUBR= unbound |
26 |
|
26 |
|
27 |
MAN1= unbound-host.1 |
|
|
28 |
MAN3= libunbound.3 ub_cancel.3 ub_ctx.3 ub_ctx_add_ta.3 \ |
29 |
ub_ctx_add_ta_file.3 ub_ctx_async.3 ub_ctx_config.3 \ |
30 |
ub_ctx_create.3 ub_ctx_data_add.3 ub_ctx_data_remove.3 \ |
31 |
ub_ctx_debuglevel.3 ub_ctx_debugout.3 ub_ctx_delete.3 \ |
32 |
ub_ctx_get_option.3 ub_ctx_hosts.3 ub_ctx_print_local_zones.3 \ |
33 |
ub_ctx_resolvconf.3 ub_ctx_set_fwd.3 ub_ctx_set_option.3 \ |
34 |
ub_ctx_trustedkeys.3 ub_ctx_zone_add.3 ub_ctx_zone_remove.3 \ |
35 |
ub_fd.3 ub_poll.3 ub_process.3 ub_resolve.3 ub_resolve_async.3 \ |
36 |
ub_resolve_free.3 ub_result.3 ub_strerror.3 ub_wait.3 |
37 |
MAN5= unbound.conf.5 |
38 |
MAN8= unbound.8 unbound-anchor.8 unbound-control.8 \ |
39 |
unbound-checkconf.8 unbound-control-setup.8 |
40 |
|
41 |
PORTDOCS= CREDITS Changelog FEATURES LICENSE README README.svn \ |
27 |
PORTDOCS= CREDITS Changelog FEATURES LICENSE README README.svn \ |
42 |
README.tests TODO control_proto_spec.txt ietf67-design-02.odp \ |
28 |
README.tests TODO control_proto_spec.txt ietf67-design-02.odp \ |
43 |
ietf67-design-02.pdf requirements.txt |
29 |
ietf67-design-02.pdf requirements.txt |
Lines 56-62
Link Here
|
56 |
ECDSA_DESC= Enable ECDSA (elliptic curve) support (OpenSSL >= 1.0) |
42 |
ECDSA_DESC= Enable ECDSA (elliptic curve) support (OpenSSL >= 1.0) |
57 |
MUNIN_DESC= Install Munin plugin |
43 |
MUNIN_DESC= Install Munin plugin |
58 |
|
44 |
|
59 |
NO_STAGE= yes |
|
|
60 |
.include <bsd.port.options.mk> |
45 |
.include <bsd.port.options.mk> |
61 |
|
46 |
|
62 |
LIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2 \ |
47 |
LIB_DEPENDS+= expat:${PORTSDIR}/textproc/expat2 \ |
Lines 119-131
Link Here
|
119 |
|
104 |
|
120 |
post-install: |
105 |
post-install: |
121 |
.if ${PORT_OPTIONS:MMUNIN} |
106 |
.if ${PORT_OPTIONS:MMUNIN} |
122 |
@${MKDIR} ${PREFIX}/share/munin/plugins |
107 |
@${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins |
123 |
@${MKDIR} ${PREFIX}/etc/munin/plugins |
108 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/munin/plugins |
124 |
@${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_\ |
109 |
@${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_\ |
125 |
${PREFIX}/share/munin/plugins/ |
110 |
${STAGEDIR}${PREFIX}/share/munin/plugins/ |
126 |
@for i in ${MUNIN_ALL}; do\ |
111 |
@for i in ${MUNIN_ALL}; do\ |
127 |
${LN} -fs ${PREFIX}/share/munin/plugins/unbound_munin_\ |
112 |
${LN} -fs ${PREFIX}/share/munin/plugins/unbound_munin_\ |
128 |
${PREFIX}/etc/munin/plugins/unbound_munin_$$i ;\ |
113 |
${STAGEDIR}${PREFIX}/etc/munin/plugins/unbound_munin_$$i ;\ |
129 |
done |
114 |
done |
130 |
@${ECHO_MSG} |
115 |
@${ECHO_MSG} |
131 |
@${ECHO_MSG} "=============================================================" |
116 |
@${ECHO_MSG} "=============================================================" |
Lines 133-141
Link Here
|
133 |
@${ECHO_MSG} "=============================================================" |
118 |
@${ECHO_MSG} "=============================================================" |
134 |
.endif |
119 |
.endif |
135 |
.if ${PORT_OPTIONS:MDOCS} |
120 |
.if ${PORT_OPTIONS:MDOCS} |
136 |
@${MKDIR} ${DOCSDIR}; \ |
121 |
@${MKDIR} ${STAGEDIR}${DOCSDIR}; \ |
137 |
for f in ${PORTDOCS}; do \ |
122 |
for f in ${PORTDOCS}; do \ |
138 |
cd ${WRKSRC}/doc && ${INSTALL_DATA} $${f} ${DOCSDIR}/; \ |
123 |
cd ${WRKSRC}/doc && ${INSTALL_DATA} $${f} ${STAGEDIR}${DOCSDIR}/; \ |
139 |
done |
124 |
done |
140 |
.endif |
125 |
.endif |
141 |
|
126 |
|