From f04fe5a5836a2518a99d17f29a89a6f96f1efde0 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 14:26:00 +0100 Subject: Add privileges configuration to mtr-nox11 package Plus some cleanups while here. --- config/mtr-nox11/mtr-nox11.xml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/config/mtr-nox11/mtr-nox11.xml b/config/mtr-nox11/mtr-nox11.xml index 396e860d..133f61f2 100644 --- a/config/mtr-nox11/mtr-nox11.xml +++ b/config/mtr-nox11/mtr-nox11.xml @@ -1,6 +1,6 @@ - - + + - Describe your package here - Describe your package requirements here - Currently there are no FAQ items provided. mtr - 0.85_3 + 0.85.4 Diagnostics: mtr Run mtr yes - true - mtr - mtr combines the functionality of the "traceroute" and "ping" programs into a single network diagnostic tool
Diagnostics
- mtr-nox11.xml + /pkg_edit.php?xml=mtr-nox11.xml
+ + /etc/inc/priv/ + https://packages.pfsense.org/packages/config/mtr-nox11/mtr-nox11.priv.inc + IP or Hostname @@ -70,7 +68,7 @@ count This is the number of pings to send, each one takes 1 second. input - (Defaults to 10) + (Defaults to 10.) No DNS Lookup @@ -111,8 +109,8 @@ $int_interval = (is_numeric($_POST['interval']) ? (abs(intval($_POST['interval']))) : 1); if (!is_hostname($_POST['hostname']) && !is_ipaddr($_POST['hostname'])) { - echo "
ERROR: No valid IP or Hostname given. Fix this and try again!
"; - echo "\n"; + echo "ERROR: No valid IP or Hostname given. Fix this and try again!\n"; + echo "\n"; die(); } @@ -136,7 +134,7 @@ $mtr_options .= " " . $_POST['hostname']; echo "Running mtr $mtr_options:\n\n"; system("/usr/local/sbin/mtr" . $mtr_options); - echo "\n"; + echo "\n"; ]]>
-- cgit v1.2.3 From aa3f99b71e800590175c243ba12a6947eada15e6 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 14:27:31 +0100 Subject: Add privileges configuration to mtr-nox11 package --- config/mtr-nox11/mtr-nox11.priv.inc | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 config/mtr-nox11/mtr-nox11.priv.inc diff --git a/config/mtr-nox11/mtr-nox11.priv.inc b/config/mtr-nox11/mtr-nox11.priv.inc new file mode 100644 index 00000000..22e2488c --- /dev/null +++ b/config/mtr-nox11/mtr-nox11.priv.inc @@ -0,0 +1,37 @@ + -- cgit v1.2.3 From 1d823b549722bf8ba06e4b79b25b91db1e999cc5 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 14:28:13 +0100 Subject: Bump mtr-nox11 package version --- pkg_config.10.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.10.xml b/pkg_config.10.xml index e3089783..660df68d 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -1047,7 +1047,7 @@ http://www.bitwizard.nl/mtr/ Network Management mtr-0.85_1-##ARCH##.pbi - 0.85_3 + 0.85.4 RELEASE 2.2 https://packages.pfsense.org/packages/config/mtr-nox11/mtr-nox11.xml -- cgit v1.2.3 From 006eceb1cae525d7cbb5e2aff7bc984268f38e6b Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 14:29:19 +0100 Subject: Bump mtr-nox11 package version --- pkg_config.8.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg_config.8.xml b/pkg_config.8.xml index c4e1c8d4..64a88a9d 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1098,9 +1098,9 @@ https://files.pfsense.org/packages/8/All/ mtr-nox11-0.82.tbz mtr-0.85_1-i386.pbi - 0.85_1.1 + 0.85.4 Stable - 2.0 + 2.1 https://packages.pfsense.org/packages/config/mtr-nox11/mtr-nox11.xml mtr-nox11.xml /usr/ports/net/mtr -- cgit v1.2.3 From 7251b97b336e9900bc7604564353f28f6e0a9d57 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 12 Nov 2015 14:30:06 +0100 Subject: Bump mtr-nox11 package version --- pkg_config.8.xml.amd64 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 204e1e82..8db185fd 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1085,9 +1085,9 @@ https://files.pfsense.org/packages/amd64/8/All/ mtr-nox11-0.82.tbz mtr-0.85_1-amd64.pbi - 0.85_1.1 + 0.85.4 Stable - 2.0 + 2.1 https://packages.pfsense.org/packages/config/mtr-nox11/mtr-nox11.xml mtr-nox11.xml /usr/ports/net/mtr -- cgit v1.2.3