summaryrefslogtreecommitdiff
path: root/mail/sqlgrey/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sqlgrey/patches/patch-ad')
-rw-r--r--mail/sqlgrey/patches/patch-ad33
1 files changed, 33 insertions, 0 deletions
diff --git a/mail/sqlgrey/patches/patch-ad b/mail/sqlgrey/patches/patch-ad
new file mode 100644
index 00000000000..a79141610d0
--- /dev/null
+++ b/mail/sqlgrey/patches/patch-ad
@@ -0,0 +1,33 @@
+$NetBSD: patch-ad,v 1.1.1.1 2007/11/13 16:43:04 ghen Exp $
+
+--- etc/sqlgrey.conf.orig 2005-12-20 11:41:30.000000000 +0100
++++ etc/sqlgrey.conf
+@@ -7,7 +7,7 @@
+ # - SQLgrey uses a specific config file when called with -f <conf_file>
+
+ ## Configuration files
+-# conf_dir = /etc/sqlgrey
++# conf_dir = %%PKG_SYSCONFDIR%%
+
+ ## Log level
+ # Uncomment to change the log level (default is normal: 2)
+@@ -59,8 +59,8 @@
+ # log_ident =
+
+ ## username and groupname the daemon runs as
+-# user = sqlgrey
+-# group = sqlgrey
++# user = %%SQLGREY_USER%%
++# group = %%SQLGREY_GROUP%%
+
+ ## Socket
+ # On which socket do SQLgrey wait for queries
+@@ -75,7 +75,7 @@
+
+ ## Config directory
+ # where to look for other configuration files (whitelists)
+-# confdir = /etc/sqlgrey
++# confdir = %%PKG_SYSCONFDIR%%
+
+ ## Greylisting delays
+ # If you want to be really strict (RFC-wise) use these