Lines 1-13
Link Here
|
1 |
# New ports collection makefile for: SmokePing |
1 |
# Created by: Lars Thegler <lars@thegler.dk> |
2 |
# Date created: Tue Feb 12 22:17:40 CET 2002 |
|
|
3 |
# Whom: Lars Thegler <lars@thegler.dk> |
4 |
# |
5 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= smokeping |
4 |
PORTNAME= smokeping |
9 |
PORTVERSION= 2.6.7 |
5 |
PORTVERSION= 2.6.8 |
10 |
PORTREVISION= 3 |
|
|
11 |
CATEGORIES= net-mgmt www |
6 |
CATEGORIES= net-mgmt www |
12 |
MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ |
7 |
MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ |
13 |
http://smokeping.cs.pu.edu.tw/pub/ |
8 |
http://smokeping.cs.pu.edu.tw/pub/ |
Lines 16-29
Link Here
|
16 |
COMMENT= Latency logging and graphing system |
11 |
COMMENT= Latency logging and graphing system |
17 |
|
12 |
|
18 |
LIB_DEPENDS= rrd.6:${PORTSDIR}/databases/rrdtool |
13 |
LIB_DEPENDS= rrd.6:${PORTSDIR}/databases/rrdtool |
19 |
BUILD_DEPENDS= p5-CGI-Session>0:${PORTSDIR}/www/p5-CGI-Session \ |
14 |
BUILD_DEPENDS= p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \ |
20 |
p5-Digest-HMAC>0:${PORTSDIR}/security/p5-Digest-HMAC \ |
15 |
p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \ |
21 |
p5-SNMP_Session>0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
16 |
p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
22 |
p5-libwww>0:${PORTSDIR}/www/p5-libwww \ |
17 |
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ |
23 |
p5-CGI.pm>0:${PORTSDIR}/www/p5-CGI.pm \ |
18 |
p5-CGI.pm>=0:${PORTSDIR}/www/p5-CGI.pm \ |
24 |
p5-FCGI>0:${PORTSDIR}/www/p5-FCGI \ |
19 |
p5-FCGI>=0:${PORTSDIR}/www/p5-FCGI \ |
25 |
p5-Config-Grammar>0:${PORTSDIR}/devel/p5-Config-Grammar \ |
20 |
p5-Config-Grammar>=0:${PORTSDIR}/devel/p5-Config-Grammar \ |
26 |
p5-Socket6>0:${PORTSDIR}/net/p5-Socket6 |
21 |
p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 |
27 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
22 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
28 |
|
23 |
|
29 |
USE_PERL5= yes |
24 |
USE_PERL5= yes |
Lines 109-153
Link Here
|
109 |
SUB_LIST= USERS=${USERS} \ |
104 |
SUB_LIST= USERS=${USERS} \ |
110 |
GROUPS=${GROUPS} |
105 |
GROUPS=${GROUPS} |
111 |
|
106 |
|
112 |
OPTIONS= FPING "Support for fping probes" on |
107 |
FPING_DESC= Support for fping probes |
113 |
OPTIONS+= ECHOPING "Support for EchoPing probes" off |
108 |
ECHOPING_DESC= Support for EchoPing probes |
114 |
OPTIONS+= CURL "Support for Curl probes" off |
109 |
CURL_DESC= Support for Curl probes |
115 |
OPTIONS+= LDAP "Support for LDAP probes" off |
110 |
LDAP_DESC= Support for LDAP probes |
116 |
OPTIONS+= LDAPSSL "Support for SSL-enabled LDAP probes" off |
111 |
LDAPSSL_DESC= Support for SSL-enabled LDAP probes |
117 |
OPTIONS+= RADIUS "Support for Radius probes" off |
112 |
RADIUS_DESC= Support for Radius probes |
118 |
OPTIONS+= TELNET "Support for TelnetIOSPing probes" off |
113 |
TELNET_DESC= Support for TelnetIOSPing probes |
119 |
OPTIONS+= DNS "Support for AnotherDNS probes" off |
114 |
DNS_DESC= Support for AnotherDNS probes |
120 |
|
115 |
|
|
|
116 |
OPTIONS_DEFINE= ECHOPING CURL RADIUS TELNET DNS FPING LDAP LDAPSSL |
117 |
OPTIONS_DEFAULT= FPING |
118 |
|
121 |
.include <bsd.port.options.mk> |
119 |
.include <bsd.port.options.mk> |
122 |
.ifdef(WITH_FPING) |
120 |
.if ${PORT_OPTIONS:MFPING} |
123 |
RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping |
121 |
RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping |
124 |
.endif |
122 |
.endif |
125 |
|
123 |
|
126 |
.ifdef(WITH_ECHOPING) |
124 |
.if ${PORT_OPTIONS:MECHOPING} |
127 |
RUN_DEPENDS+= ${LOCALBASE}/bin/echoping:${PORTSDIR}/net/echoping |
125 |
RUN_DEPENDS+= ${LOCALBASE}/bin/echoping:${PORTSDIR}/net/echoping |
128 |
.endif |
126 |
.endif |
129 |
|
127 |
|
130 |
.ifdef(WITH_CURL) |
128 |
.if ${PORT_OPTIONS:MCURL} |
131 |
RUN_DEPENDS+= ${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl |
129 |
RUN_DEPENDS+= ${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl |
132 |
.endif |
130 |
.endif |
133 |
|
131 |
|
134 |
.if defined(WITH_LDAP) || defined(WITH_LDAPSSL) |
132 |
.if ${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MLDAPSSL} |
135 |
RUN_DEPENDS+= p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap |
133 |
RUN_DEPENDS+= p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap |
136 |
.endif |
134 |
.endif |
137 |
|
135 |
|
138 |
.ifdef(WITH_RADIUS) |
136 |
.if ${PORT_OPTIONS:MRADIUS} |
139 |
RUN_DEPENDS+= p5-Authen-Radius>=0:${PORTSDIR}/security/p5-Authen-Radius |
137 |
RUN_DEPENDS+= p5-Authen-Radius>=0:${PORTSDIR}/security/p5-Authen-Radius |
140 |
.endif |
138 |
.endif |
141 |
|
139 |
|
142 |
.ifdef(WITH_LDAPSSL) |
140 |
.if ${PORT_OPTIONS:MLDAPSSL} |
143 |
RUN_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL |
141 |
RUN_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL |
144 |
.endif |
142 |
.endif |
145 |
|
143 |
|
146 |
.ifdef(WITH_TELNET) |
144 |
.if ${PORT_OPTIONS:MTELNET} |
147 |
RUN_DEPENDS+= p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet |
145 |
RUN_DEPENDS+= p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet |
148 |
.endif |
146 |
.endif |
149 |
|
147 |
|
150 |
.ifdef(WITH_DNS) |
148 |
.if ${PORT_OPTIONS:MDNS} |
151 |
RUN_DEPENDS+= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS |
149 |
RUN_DEPENDS+= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS |
152 |
.endif |
150 |
.endif |
153 |
|
151 |
|