ports/irc/ircd-ratbox-devel/files/patch-include_config.h
Michael Scheidell 9e180c6a27 - Update to official release 3.0.7
- Update MASTER_SITES (remove unofficial ircd-ratbox.org)
- Unbreak cross compiles
- Fix error handling with GNUTLS
- Update sqllite3 code
- Remove buggy sigio code.

PR:		ports/166914
Submitted by:	moggie <moggie@elasticmind.net> (maintainer)
2012-04-14 13:29:25 +00:00

22 lines
887 B
C

--- ./include/config.h.orig 2012-04-13 15:02:51.000000000 +0100
+++ ./include/config.h 2012-04-13 15:06:23.000000000 +0100
@@ -54,15 +54,17 @@
#define LOGPATH LOG_DIR
#define UHPATH HELP_DIR "/users"
#define HPATH HELP_DIR "/opers"
+#define RUNPATH "%%RUNDIR%%"
+#define DBPTH "%%DBDIR%%"
/* files */
#define SPATH BINPATH "/ircd" /* ircd executable */
#define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */
-#define DBPATH ETCPATH "/ban.db"
+#define DBPATH DBPTH "/ban.db"
#define MPATH ETCPATH "/ircd.motd" /* MOTD file */
#define LPATH LOGPATH "/ircd.log" /* ircd logfile */
#define PPATH ETCPATH "/ircd.pid" /* pid file */
-#define OPATH ETCPATH "/opers.motd" /* oper MOTD file */
+#define OPATH RUNPATH "/opers.motd" /* oper MOTD file */
/* HANGONGOODLINK and HANGONGOODLINK
* Often net breaks for a short time and it's useful to try to