aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authordvl <dvl@FreeBSD.org>2018-09-02 22:06:54 +0800
committerdvl <dvl@FreeBSD.org>2018-09-02 22:06:54 +0800
commit83c25ea1ea34bfb93abea0d86e4838e6ba5bcdc9 (patch)
tree295f6e8023c5171b61f32d4b4ef3a3ada17aaa37 /net-mgmt
parentfd7687dd999887ed70273e93e48adb29c0015c81 (diff)
downloadfreebsd-ports-gnome-83c25ea1ea34bfb93abea0d86e4838e6ba5bcdc9.tar.gz
freebsd-ports-gnome-83c25ea1ea34bfb93abea0d86e4838e6ba5bcdc9.tar.zst
freebsd-ports-gnome-83c25ea1ea34bfb93abea0d86e4838e6ba5bcdc9.zip
Correct paths for nmap and mtr in patch for includes/defaults.inc.php
Correct user in patch for .env.example PR: 231089 Submitted by: Dries Michiels <driesm.michiels@gmail.com>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/librenms/Makefile1
-rw-r--r--net-mgmt/librenms/files/patch-.env.example2
-rw-r--r--net-mgmt/librenms/files/patch-includes_defaults.inc.php4
3 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/librenms/Makefile b/net-mgmt/librenms/Makefile
index 17f86a6ed0c0..2d4b5600eb52 100644
--- a/net-mgmt/librenms/Makefile
+++ b/net-mgmt/librenms/Makefile
@@ -3,6 +3,7 @@
PORTNAME= librenms
PORTVERSION= 1.43
+PORTREVISION= 1
# RELEASE_TIMESTAMP is used for a patch inside the vendor code
# it represents the release date via: git show --pretty='%H|%ct' -s 1.42.01
# It sits here so you remember to update it with each release
diff --git a/net-mgmt/librenms/files/patch-.env.example b/net-mgmt/librenms/files/patch-.env.example
index 923ccc8944d4..5e039447b56d 100644
--- a/net-mgmt/librenms/files/patch-.env.example
+++ b/net-mgmt/librenms/files/patch-.env.example
@@ -15,5 +15,5 @@
#APP_URL=
+NODE_ID=1
+DB_PORT=3306
-+LIBRENMS_USER=librenms
++LIBRENMS_USER=www
+
diff --git a/net-mgmt/librenms/files/patch-includes_defaults.inc.php b/net-mgmt/librenms/files/patch-includes_defaults.inc.php
index 1762c44f5f9f..03cfaf20b0da 100644
--- a/net-mgmt/librenms/files/patch-includes_defaults.inc.php
+++ b/net-mgmt/librenms/files/patch-includes_defaults.inc.php
@@ -22,8 +22,8 @@
-$config['dot'] = '/usr/bin/dot';
-$config['sfdp'] = '/usr/bin/sfdp';
+$config['ping'] = '/sbin/ping';
-+$config['mtr'] = '/usr/local/bin/mtr';
-+$config['nmap'] = '/usr/localbin/nmap';
++$config['mtr'] = '/usr/local/sbin/mtr';
++$config['nmap'] = '/usr/local/bin/nmap';
+$config['nagios_plugins'] = '/usr/local/libexec/nagios';
+$config['ipmitool'] = '/usr/local/bin/ipmitool';
+$config['virsh'] = '/usr/local/bin/virsh';