summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-local:traptoemail
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-03-10 13:40:41 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-03-10 13:40:41 +0000
commitef7f2d6bba55bb9fb1d0ff03420c07b0c048ee54 (patch)
tree952e0fb8a1543185f790d3580ff753f8799f1fe0 /net-mgmt/net-snmp/files/patch-local:traptoemail
parent- Update MAINTAINER-line of my ports to new @FreeBSD.org address (diff)
Various fixes / improvements.
See PR for details. PR: ports/63759 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Diffstat (limited to 'net-mgmt/net-snmp/files/patch-local:traptoemail')
-rw-r--r--net-mgmt/net-snmp/files/patch-local:traptoemail16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/files/patch-local:traptoemail b/net-mgmt/net-snmp/files/patch-local:traptoemail
new file mode 100644
index 000000000000..402506b540c6
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-local:traptoemail
@@ -0,0 +1,16 @@
+--- local/traptoemail.orig Thu May 29 05:30:19 2003
++++ local/traptoemail Thu May 29 05:35:13 2003
+@@ -1,11 +1,11 @@
+-#!/usr/bin/perl
++#!%%PERL%%
+
+ # This is a snmptrapd handler script to convert snmp traps into email
+ # messages.
+
+ # Usage:
+ # Put a line like the following in your snmptrapd.conf file:
+-# traphandle TRAPOID|default /usr/local/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES
++# traphandle TRAPOID|default %%PREFIX%%/bin/traptoemail [-f FROM] [-s SMTPSERVER]b ADDRESSES
+ # FROM defaults to "root"
+ # SMTPSERVER defaults to "localhost"
+