summaryrefslogtreecommitdiff
path: root/net/spread/patches/patch-spread__params.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/spread/patches/patch-spread__params.h')
-rw-r--r--net/spread/patches/patch-spread__params.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/spread/patches/patch-spread__params.h b/net/spread/patches/patch-spread__params.h
new file mode 100644
index 00000000000..c5ed8f2de84
--- /dev/null
+++ b/net/spread/patches/patch-spread__params.h
@@ -0,0 +1,23 @@
+$NetBSD: patch-spread__params.h,v 1.1 2013/11/01 13:26:53 jperkin Exp $
+
+Make sure the runtime dir and user/group bits are passed on.
+
+--- spread_params.h.orig 2004-10-05 14:42:14.000000000 +0000
++++ spread_params.h
+@@ -43,13 +43,13 @@
+ #define DEFAULT_SPREAD_PORT 4803
+
+ #ifndef SP_RUNTIME_DIR
+-#define SP_RUNTIME_DIR "/var/run/spread"
++#define SP_RUNTIME_DIR "@RUNTIME_DIR@"
+ #endif
+ #ifndef SP_GROUP
+-#define SP_GROUP "spread"
++#define SP_GROUP "@SPREAD_GROUP@"
+ #endif
+ #ifndef SP_USER
+-#define SP_USER "spread"
++#define SP_USER "@SPREAD_USER@"
+ #endif
+
+ #define MAX_PROC_NAME 20 /* including the null, so actually max 19, look for it if changed */