Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= smokeping |
4 |
PORTNAME= smokeping |
5 |
PORTVERSION= 2.6.8 |
5 |
PORTVERSION= 2.6.9 |
6 |
CATEGORIES= net-mgmt www |
6 |
CATEGORIES= net-mgmt www |
7 |
MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ |
7 |
MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ |
8 |
http://smokeping.cs.pu.edu.tw/pub/ |
8 |
http://smokeping.cs.pu.edu.tw/pub/ |
Lines 10-16
Link Here
|
10 |
MAINTAINER= rodrigo@bebik.net |
10 |
MAINTAINER= rodrigo@bebik.net |
11 |
COMMENT= Latency logging and graphing system |
11 |
COMMENT= Latency logging and graphing system |
12 |
|
12 |
|
13 |
LIB_DEPENDS= rrd.6:${PORTSDIR}/databases/rrdtool |
13 |
LIB_DEPENDS= rrd:${PORTSDIR}/databases/rrdtool |
14 |
BUILD_DEPENDS= p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \ |
14 |
BUILD_DEPENDS= p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \ |
15 |
p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \ |
15 |
p5-Digest-HMAC>=0:${PORTSDIR}/security/p5-Digest-HMAC \ |
16 |
p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
16 |
p5-SNMP_Session>=0:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ |
Lines 71-76
Link Here
|
71 |
Smokeping_probes_OpenSSHJunOSPing.3 \ |
71 |
Smokeping_probes_OpenSSHJunOSPing.3 \ |
72 |
Smokeping_probes_Radius.3 \ |
72 |
Smokeping_probes_Radius.3 \ |
73 |
Smokeping_probes_RemoteFPing.3 \ |
73 |
Smokeping_probes_RemoteFPing.3 \ |
|
|
74 |
Smokeping_probes_SendEmail.3 \ |
74 |
Smokeping_probes_SSH.3 \ |
75 |
Smokeping_probes_SSH.3 \ |
75 |
Smokeping_probes_SipSak.3 \ |
76 |
Smokeping_probes_SipSak.3 \ |
76 |
Smokeping_probes_TCPPing.3 \ |
77 |
Smokeping_probes_TCPPing.3 \ |
Lines 117-122
Link Here
|
117 |
OPTIONS_DEFAULT= FPING |
118 |
OPTIONS_DEFAULT= FPING |
118 |
|
119 |
|
119 |
.include <bsd.port.options.mk> |
120 |
.include <bsd.port.options.mk> |
|
|
121 |
|
120 |
.if ${PORT_OPTIONS:MFPING} |
122 |
.if ${PORT_OPTIONS:MFPING} |
121 |
RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping |
123 |
RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping |
122 |
.endif |
124 |
.endif |
Lines 169-174
Link Here
|
169 |
[ -f ${PREFIX}/smokeping/htdocs/smokeping.fcgi ] || ${CP} ${PREFIX}/smokeping/htdocs/smokeping.fcgi.dist ${PREFIX}/smokeping/htdocs/smokeping.fcgi |
171 |
[ -f ${PREFIX}/smokeping/htdocs/smokeping.fcgi ] || ${CP} ${PREFIX}/smokeping/htdocs/smokeping.fcgi.dist ${PREFIX}/smokeping/htdocs/smokeping.fcgi |
170 |
${MKDIR} ${PREFIX}/smokeping/htdocs/img |
172 |
${MKDIR} ${PREFIX}/smokeping/htdocs/img |
171 |
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/smokeping/htdocs |
173 |
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/smokeping/htdocs |
|
|
174 |
${MKDIR} ${PREFIX}/var/smokeping |
175 |
${CHOWN} -R ${USERS}:${GROUPS} ${PREFIX}/var/smokeping |
172 |
.if !defined(BATCH) |
176 |
.if !defined(BATCH) |
173 |
${CAT} ${PKGMESSAGE} |
177 |
${CAT} ${PKGMESSAGE} |
174 |
.endif |
178 |
.endif |