summaryrefslogtreecommitdiff
path: root/mail/pfqueue/patches/patch-ac
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2009-12-07 09:24:46 +0000
committerfhajny <fhajny@pkgsrc.org>2009-12-07 09:24:46 +0000
commitc38bc0999163895fe8544868aeff05fe82765726 (patch)
treeb8d0db577275f1828c51f2209bdd5b49ee81175b /mail/pfqueue/patches/patch-ac
parent5d5fbfc9cbc33f3e3cc8f948eb92bbb9b30a857d (diff)
downloadpkgsrc-c38bc0999163895fe8544868aeff05fe82765726.tar.gz
Provide a sample config file and fix its default path.
Diffstat (limited to 'mail/pfqueue/patches/patch-ac')
-rw-r--r--mail/pfqueue/patches/patch-ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/pfqueue/patches/patch-ac b/mail/pfqueue/patches/patch-ac
new file mode 100644
index 00000000000..4efa46fa189
--- /dev/null
+++ b/mail/pfqueue/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1 2009/12/07 09:24:46 fhajny Exp $
+
+Fix path to config file
+
+--- pfqueue.conf.5.orig 2007-01-19 16:37:19.000000000 +0000
++++ pfqueue.conf.5
+@@ -18,14 +18,14 @@
+ pfqueue.conf \- pfqueue configuration file
+
+ .SH FULL PATH
+-/etc/pfqueue.conf or ~/.pfqueue
++@PKG_SYSCONFDIR@/pfqueue.conf or ~/.pfqueue
+
+ .SH DESCRIPTION
+ \fBpfqueue\fP can be configured storing its option in configuration files.
+-At startup, if /etc/pfqueue.conf is present it is read and options
++At startup, if @PKG_SYSCONFDIR@/pfqueue.conf is present it is read and options
+ are set accordingly; then, if a .pfqueue file is present in user's home
+ directory, it is read and options are set accordingly, overriding those
+-stored in /etc/pfqueue.conf.
++stored in @PKG_SYSCONFDIR@/pfqueue.conf.
+ .br
+ Note that the resulting settings are overridden by command line options.
+