X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/5b4e9016440e9d0dc4ffc4d4ea4e81d31f773766..6445c1cf0be42ce98eef3dc74cd2f1077871596a:/include/config.h diff --git a/include/config.h b/include/config.h index 04fcfdb1..6ba69963 100644 --- a/include/config.h +++ b/include/config.h @@ -20,8 +20,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA - * - * $Id: config.h 3354 2007-04-03 09:21:31Z nenolod $ */ #ifndef INCLUDED_config_h @@ -29,7 +27,7 @@ #include "setup.h" -/* +/* * Directory paths and filenames for UNIX systems. * IRCD_PREFIX is set using ./configure --prefix, see INSTALL. * The other defaults should be fine. @@ -50,27 +48,21 @@ /* dirs */ #define DPATH IRCD_PREFIX #define BINPATH IRCD_PREFIX "/bin/" -#define LIBPATH IRCD_PREFIX "/lib/" #define MODPATH MODULE_DIR #define AUTOMODPATH MODULE_DIR "/autoload/" -#define ETCPATH ETC_DIR +#define ETCPATH ETC_DIR #define LOGPATH LOG_DIR #define UHPATH HELP_DIR "/users" #define HPATH HELP_DIR "/opers" /* files */ -#define SPATH BINPATH "/ircd" /* ircd executable */ -#define LIPATH LIBPATH "/libircd" SHARED_SUFFIX /* ircd library */ +#define SPATH BINPATH "/" PROGRAM_PREFIX "charybdis" /* ircd executable */ #define CPATH ETCPATH "/ircd.conf" /* ircd.conf file */ -#define KPATH ETCPATH "/kline.conf" /* kline file */ -#define DLPATH ETCPATH "/dline.conf" /* dline file */ -#define XPATH ETCPATH "/xline.conf" /* xline file */ -#define RESVPATH ETCPATH "/resv.conf" /* resv file */ -#define RPATH ETCPATH "/ircd.rsa" /* ircd rsa private keyfile */ #define MPATH ETCPATH "/ircd.motd" /* MOTD file */ #define LPATH LOGPATH "/ircd.log" /* ircd logfile */ -#define PPATH ETCPATH "/ircd.pid" /* pid file */ +#define PPATH PKGRUNDIR "/ircd.pid" /* pid file */ #define OPATH ETCPATH "/opers.motd" /* oper MOTD file */ +#define DBPATH PKGLOCALSTATEDIR "/ban.db" /* bandb file */ /* IGNORE_BOGUS_TS * Ignore bogus timestamps from other servers. Yes this will desync @@ -99,11 +91,11 @@ */ #define KILLCHASETIMELIMIT 90 /* Recommended value: 90 */ -/* RATBOX_SOMAXCONN - * Use SOMAXCONN if OS has it, otherwise use this value for the +/* CHARYBDIS_SOMAXCONN + * Use SOMAXCONN if OS has it, otherwise use this value for the * listen(); backlog. 5 for AIX/SUNOS, 25 for other OSs. */ -#define RATBOX_SOMAXCONN 25 +#define CHARYBDIS_SOMAXCONN 25 /* MAX_BUFFER * The amount of fds to reserve for clients exempt from limits @@ -118,7 +110,7 @@ * ---------------------------------------------------------------- */ -#define CONFIG_RATBOX_LEVEL_2 +#define CONFIG_CHARYBDIS_LEVEL_2 #include "defaults.h" #endif /* INCLUDED_config_h */