openbsd-ports/net/ircd-ratbox/patches/patch-include_config_h
fgsch 51f75be3a1 update to ircd-ratbox 3.0.7.
from brad. maintainer timed out
2011-11-27 10:57:24 +00:00

25 lines
784 B
Plaintext

$OpenBSD: patch-include_config_h,v 1.2 2011/11/27 10:57:24 fgsch Exp $
--- include/config.h.orig Fri Sep 19 11:33:46 2008
+++ include/config.h Mon Oct 24 01:10:59 2011
@@ -45,6 +45,11 @@
* AUTOMODPATH = directory for autoloaded modules
*/
+/* users */
+#ifndef IRCD_USER
+#define IRCD_USER "_ircd-ratbox"
+#endif
+
/* dirs */
#define DPATH IRCD_PREFIX
#define BINPATH IRCD_PREFIX "/bin/"
@@ -61,7 +66,7 @@
#define DBPATH ETCPATH "/ban.db"
#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
-#define PPATH ETCPATH "/ircd.pid" /* pid file */
+#define PPATH "/var/run/ircd-ratbox/ircd.pid" /* pid file */
#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
/* HANGONGOODLINK and HANGONGOODLINK