Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= librenms |
4 |
PORTNAME= librenms |
5 |
PORTVERSION= 1.25 |
5 |
PORTVERSION= 1.26 |
6 |
PORTEPOCH= 1 |
6 |
PORTEPOCH= 1 |
7 |
CATEGORIES= net-mgmt |
7 |
CATEGORIES= net-mgmt |
8 |
|
8 |
|
Lines 15-30
Link Here
|
15 |
GH_ACCOUNT= librenms |
15 |
GH_ACCOUNT= librenms |
16 |
|
16 |
|
17 |
USES= php:cli python shebangfix |
17 |
USES= php:cli python shebangfix |
18 |
SHEBANG_FILES= mibs/process.pl scripts/deploy-docs.sh scripts/ifAlias \ |
18 |
SHEBANG_FILES= mibs/process.pl scripts/deploy-docs.sh \ |
19 |
scripts/Migration/Standard_Conversion/convert_no_xml.sh \ |
19 |
scripts/Migration/Standard_Conversion/convert_no_xml.sh \ |
20 |
scripts/Migration/Standard_Conversion/destwork_no_xml.sh \ |
20 |
scripts/Migration/Standard_Conversion/destwork_no_xml.sh \ |
21 |
scripts/Migration/Standard_Conversion/mkdir.sh \ |
21 |
scripts/Migration/Standard_Conversion/mkdir.sh \ |
22 |
scripts/Migration/XML_Conversion/convert.sh \ |
22 |
scripts/Migration/XML_Conversion/convert.sh \ |
23 |
scripts/Migration/XML_Conversion/destwork.sh \ |
23 |
scripts/Migration/XML_Conversion/destwork.sh \ |
24 |
scripts/Migration/XML_Conversion/mkdir.sh validate.php \ |
24 |
scripts/Migration/XML_Conversion/mkdir.sh \ |
25 |
scripts/removespikes.php scripts/agent-local/nfs-stats.sh \ |
25 |
scripts/removespikes.php scripts/agent-local/nfs-stats.sh \ |
26 |
scripts/removespikes.pl scripts/watchmaillog/watchmaillog.pl |
26 |
scripts/removespikes.pl scripts/watchmaillog/watchmaillog.pl |
27 |
USE_PHP= ctype filter gd json mcrypt mysqli session snmp tokenizer xml |
27 |
USE_PHP= ctype curl filter gd hash json mcrypt mysqli openssl session simplexml snmp tokenizer xml |
28 |
|
28 |
|
29 |
NO_BUILD= yes |
29 |
NO_BUILD= yes |
30 |
|
30 |
|
Lines 33-39
Link Here
|
33 |
${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4 \ |
33 |
${LOCALBASE}/share/pear/Net/IPv4.php:net/pear-Net_IPv4 \ |
34 |
${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6 \ |
34 |
${LOCALBASE}/share/pear/Net/IPv6.php:net/pear-Net_IPv6 \ |
35 |
snmpget:net-mgmt/net-snmp \ |
35 |
snmpget:net-mgmt/net-snmp \ |
36 |
bash:shells/bash |
36 |
bash:shells/bash \ |
|
|
37 |
sudo:security/sudo |
37 |
|
38 |
|
38 |
OPTIONS_DEFINE= APACHEMOD FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS NMAP PYPOLLER WMIC DOCS EXAMPLES X11 |
39 |
OPTIONS_DEFINE= APACHEMOD FPING IPMITOOL LIBVIRT MYSQLD NAGPLUGINS NMAP PYPOLLER WMIC DOCS EXAMPLES X11 |
39 |
OPTIONS_DEFAULT= APACHEMOD FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER WMIC |
40 |
OPTIONS_DEFAULT= APACHEMOD FPING IPMITOOL LIBVIRT NAGPLUGINS NMAP PYPOLLER WMIC |
Lines 64-75
Link Here
|
64 |
|
65 |
|
65 |
ROOT_FILES= addhost.php adduser.php alerts.php build-base.php build.sql \ |
66 |
ROOT_FILES= addhost.php adduser.php alerts.php build-base.php build.sql \ |
66 |
billing-calculate.php \ |
67 |
billing-calculate.php \ |
67 |
check-services.php config_to_json.php daily.php daily.sh \ |
68 |
check-services.php composer.json config_to_json.php cronic daily.php daily.sh \ |
68 |
delhost.php discovery.php dist-pollers.php irc.php \ |
69 |
delhost.php discovery-wrapper.py discovery.php dist-pollers.php irc.php \ |
69 |
poll-billing.php poller.php poller-service.py poller-wrapper.py renamehost.php \ |
70 |
mkdocs.yml pbin.sh phpunit.xml poll-billing.php poller.php poller-service.py \ |
|
|
71 |
poller-wrapper.py readmegen.yml renamehost.php services-wrapper.py \ |
70 |
snmp-scan.php snmptrap.php syslog.php validate.php |
72 |
snmp-scan.php snmptrap.php syslog.php validate.php |
71 |
|
73 |
|
72 |
ROOT_DIRS= LibreNMS contrib html includes lib mibs scripts sql-schema |
74 |
ROOT_DIRS= LibreNMS contrib doc html includes lib mibs misc scripts sql-schema tests vendor |
73 |
|
75 |
|
74 |
DOCS= AUTHORS.md CHANGELOG CONTRIBUTING.md LICENSE.txt README.md |
76 |
DOCS= AUTHORS.md CHANGELOG CONTRIBUTING.md LICENSE.txt README.md |
75 |
PORTDOCS= * |
77 |
PORTDOCS= * |
Lines 102-107
Link Here
|
102 |
# Create empty rrd dir writable by www |
104 |
# Create empty rrd dir writable by www |
103 |
@${MKDIR} ${STAGEDIR}/${WWWDIR}/rrd |
105 |
@${MKDIR} ${STAGEDIR}/${WWWDIR}/rrd |
104 |
@${CHMOD} 0775 ${STAGEDIR}/${WWWDIR}/rrd |
106 |
@${CHMOD} 0775 ${STAGEDIR}/${WWWDIR}/rrd |
|
|
107 |
# Create empty logs dir |
108 |
@${MKDIR} ${STAGEDIR}/${WWWDIR}/logs |
109 |
# Make daily.sh executable |
110 |
@${CHMOD} 0755 ${STAGEDIR}/${WWWDIR}/daily.sh |
105 |
# Files in scripts dir should be executable |
111 |
# Files in scripts dir should be executable |
106 |
@${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \; |
112 |
@${FIND} ${STAGEDIR}/${WWWDIR}/scripts -type f -exec ${CHMOD} +x {} \; |
107 |
# Ensure PHP and Python scripts are executable |
113 |
# Ensure PHP and Python scripts are executable |
Lines 130-135
Link Here
|
130 |
${STAGEDIR}/${WWWDIR}/config.php.sample |
136 |
${STAGEDIR}/${WWWDIR}/config.php.sample |
131 |
@${ECHO} @sample ${WWWDIR}/config.php.sample >> ${TMPPLIST} |
137 |
@${ECHO} @sample ${WWWDIR}/config.php.sample >> ${TMPPLIST} |
132 |
@${ECHO} @dir ${WWWDIR}/rrd >> ${TMPPLIST} |
138 |
@${ECHO} @dir ${WWWDIR}/rrd >> ${TMPPLIST} |
|
|
139 |
@${ECHO} @dir ${WWWDIR}/logs >> ${TMPPLIST} |
133 |
@${ECHO} @dir ${WWWDIR}/lib/influxdb-php/vendor/guzzlehttp/guzzle/build >> ${TMPPLIST} |
140 |
@${ECHO} @dir ${WWWDIR}/lib/influxdb-php/vendor/guzzlehttp/guzzle/build >> ${TMPPLIST} |
134 |
@${ECHO} @dir ${WWWDIR}/lib/influxdb-php/vendor/guzzlehttp/guzzle/docs >> ${TMPPLIST} |
141 |
@${ECHO} @dir ${WWWDIR}/lib/influxdb-php/vendor/guzzlehttp/guzzle/docs >> ${TMPPLIST} |
135 |
@${ECHO} @dir ${WWWDIR}/lib/influxdb-php/vendor/guzzlehttp/guzzle/tests >> ${TMPPLIST} |
142 |
@${ECHO} @dir ${WWWDIR}/lib/influxdb-php/vendor/guzzlehttp/guzzle/tests >> ${TMPPLIST} |