summaryrefslogtreecommitdiff
path: root/net/nocol/patches/patch-ai
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2002-05-14 08:38:23 +0000
committerabs <abs@pkgsrc.org>2002-05-14 08:38:23 +0000
commita0480c3ad460eefe351f4cfb44a854bd93044c47 (patch)
tree7dc17f44025635482130213f6826b8d8db230290 /net/nocol/patches/patch-ai
parent73ac093dba0bed3d4614ce33bbac448af8542537 (diff)
downloadpkgsrc-a0480c3ad460eefe351f4cfb44a854bd93044c47.tar.gz
Fix datadir location in perl lib, and allow subjects in mail sent from NetBSD
hosts. Bump to nocol-4.3.1nb2
Diffstat (limited to 'net/nocol/patches/patch-ai')
-rw-r--r--net/nocol/patches/patch-ai13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/nocol/patches/patch-ai b/net/nocol/patches/patch-ai
new file mode 100644
index 00000000000..b1841149429
--- /dev/null
+++ b/net/nocol/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2002/05/14 08:38:26 abs Exp $
+
+--- perlnocol/nocollib.pl.orig Tue May 7 09:51:23 2002
++++ perlnocol/nocollib.pl
+@@ -52,7 +52,7 @@
+ $etcdir = "$nocolroot/etc" unless $etcdir; # location of config file
+ $piddir = "$nocolroot/run" unless $piddir; # SET_THIS
+ $bindir = "$nocolroot/bin" unless $bindir;
+-$datadir = "$nocolroot/data" unless $datadir; # output data file
++$datadir = "/var/run/data" unless $datadir; # output data file
+
+ push(@INC, $bindir); push(@INC, $etcdir); # add to search paths for 'require'
+ $ENV{'PATH'} .= ":$bindir"; # add to path for snmpwalk, etc.