summaryrefslogtreecommitdiff
path: root/net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-02-24 12:41:38 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-02-24 12:41:38 +0000
commitaffeba3053db0316f3acb8a2566a9598df09f104 (patch)
tree3aad63fe311575e0ffe6601335f2c415b4b51dd1 /net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm
parentUpdate to 0.02 (diff)
- Update to 1.26
- Use OPTIONS for optional dependencies - Change pkg-{,de}install to avoid risk of data loss when upgrading - Patch files instead of regexps in Makefile added a work around for PR 63293 PR: 63230 Submitted by: Lars Thegler <lars@thegler.dk> (maintainer) Reviewed by: clement
Diffstat (limited to 'net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm')
-rw-r--r--net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm b/net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm
new file mode 100644
index 000000000000..bd90fa1f9950
--- /dev/null
+++ b/net-mgmt/smokeping/files/patch-lib-probes-EchoPing.pm
@@ -0,0 +1,28 @@
+--- lib/probes/EchoPing.pm.orig Sun Jan 11 18:06:12 2004
++++ lib/probes/EchoPing.pm Sun Jan 11 18:06:12 2004
+@@ -1,6 +1,6 @@
+ package probes::EchoPing;
+
+-my $DEFAULTBIN = "/usr/bin/echoping";
++my $DEFAULTBIN = "%%PREFIX%%/bin/echoping";
+
+ =head1 NAME
+
+@@ -16,7 +16,7 @@
+ *** Probes ***
+ + EchoPing
+
+- binary = /usr/bin/echoping # default value
++ binary = %%PREFIX%%/bin/echoping # default value
+
+ *** Targets ***
+
+@@ -105,7 +105,7 @@
+
+ The location of the echoping binary should probably be a global variable
+ instead of a probe-specific one. As things are, every EchoPing -derived probe
+-has to declare it if the default (/usr/bin/echoping) isn't correct.
++has to declare it if the default (%%PREFIX%%/bin/echoping) isn't correct.
+
+ =head1 AUTHOR
+