aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nfsen-devel/files/patch-bin_testPlugin
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-08-02 10:01:58 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-08-02 10:01:58 +0000
commite0de9c7879d617ae650c11e279e734d5098651f7 (patch)
tree4745be1aff6fc13284ca88abcd8b6f5346e602d0 /net-mgmt/nfsen-devel/files/patch-bin_testPlugin
parentfc0e8ce2f3dd6c29cb2e8901a3d3a8df886cb017 (diff)
downloadports-e0de9c7879d617ae650c11e279e734d5098651f7.tar.gz
ports-e0de9c7879d617ae650c11e279e734d5098651f7.zip
Notes
Diffstat (limited to 'net-mgmt/nfsen-devel/files/patch-bin_testPlugin')
-rw-r--r--net-mgmt/nfsen-devel/files/patch-bin_testPlugin25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-mgmt/nfsen-devel/files/patch-bin_testPlugin b/net-mgmt/nfsen-devel/files/patch-bin_testPlugin
new file mode 100644
index 000000000000..86004d1ee713
--- /dev/null
+++ b/net-mgmt/nfsen-devel/files/patch-bin_testPlugin
@@ -0,0 +1,25 @@
+
+$FreeBSD$
+
+--- bin/testPlugin.orig
++++ bin/testPlugin
+@@ -50,6 +50,7 @@
+
+ use NfConf;
+ use NfSen;
++use NfProfile;
+ use Log;
+
+ my $VERSION = '$Id: testPlugin 60 2007-01-09 12:26:47Z peter $';
+@@ -164,7 +165,10 @@
+ print "Run plugin '$plugin' with profile '$profile' at '$timeslot'\n";
+ my $sub = "${plugin}::run";
+ no strict 'refs';
+-&$sub($profile, $timeslot);
++&$sub({
++ profile => $profile,
++ timeslot => $timeslot,
++});
+ use strict 'refs';
+ print "Plugin run successfully, at least as far as I can tell ...\n" ;
+