View | Details | Raw Unified | Return to bug 211999
Collapse All | Expand All

(-)Makefile (-9 / +2 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	unbound
4
PORTNAME=	unbound
5
PORTVERSION=	1.5.9
5
PORTVERSION=	1.5.9
6
PORTREVISION=	1
6
CATEGORIES=	dns
7
CATEGORIES=	dns
7
MASTER_SITES=	http://unbound.net/downloads/
8
MASTER_SITES=	http://unbound.net/downloads/
8
9
Lines 12-20 Link Here
12
LICENSE=	BSD3CLAUSE
13
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
15
USES+=		autoreconf cpe libtool
16
USES+=		autoreconf cpe libtool ssl
16
CPE_VENDOR=	nlnetlabs
17
CPE_VENDOR=	nlnetlabs
17
USE_OPENSSL=	yes
18
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} --with-libexpat=${LOCALBASE}
19
CONFIGURE_ARGS+=--with-ssl=${OPENSSLBASE} --with-libexpat=${LOCALBASE}
20
USE_LDCONFIG=	yes
20
USE_LDCONFIG=	yes
Lines 77-84 Link Here
77
77
78
.if ${PORT_OPTIONS:MMUNIN_PLUGIN}
78
.if ${PORT_OPTIONS:MMUNIN_PLUGIN}
79
SUB_FILES+=	pkg-message
79
SUB_FILES+=	pkg-message
80
MUNIN_PLUGIN_ALL=	hits queue memory by_type by_class by_opcode by_rcode \
81
		by_flags histogram
82
.endif
80
.endif
83
81
84
.if ${PORT_OPTIONS:MLIBEVENT}
82
.if ${PORT_OPTIONS:MLIBEVENT}
Lines 112-124 Link Here
112
110
113
post-install-MUNIN_PLUGIN-on:
111
post-install-MUNIN_PLUGIN-on:
114
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins
112
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/munin/plugins
115
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/munin/plugins
116
	@${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_ \
113
	@${INSTALL_SCRIPT} ${WRKDIR}/unbound-${PORTVERSION}/contrib/unbound_munin_ \
117
		${STAGEDIR}${PREFIX}/share/munin/plugins/
114
		${STAGEDIR}${PREFIX}/share/munin/plugins/
118
	@for i in ${MUNIN_PLUGIN_ALL}; do \
119
		${LN} -fs ${PREFIX}/share/munin/plugins/unbound_munin_ \
120
			${STAGEDIR}${PREFIX}/etc/munin/plugins/unbound_munin_$$i; \
121
	done
122
	@${ECHO_MSG}
115
	@${ECHO_MSG}
123
	@${ECHO_MSG} "============================================================="
116
	@${ECHO_MSG} "============================================================="
124
	@${CAT} ${WRKDIR}/pkg-message
117
	@${CAT} ${WRKDIR}/pkg-message
(-)pkg-plist (-9 lines)
Lines 1-12 Link Here
1
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_by_class
2
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_by_flags
3
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_by_opcode
4
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_by_rcode
5
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_by_type
6
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_histogram
7
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_hits
8
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_memory
9
%%MUNIN_PLUGIN%%etc/munin/plugins/unbound_munin_queue
10
@sample %%ETCDIR%%/unbound.conf.sample
1
@sample %%ETCDIR%%/unbound.conf.sample
11
include/unbound.h
2
include/unbound.h
12
lib/libunbound.a
3
lib/libunbound.a

Return to bug 211999