ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/defaults.h
(Generate patch)

Comparing:
ircd-hybrid/include/defaults.h (file contents), Revision 32 by knight, Sun Oct 2 20:41:23 2005 UTC vs.
ircd-hybrid-8/include/defaults.h (file contents), Revision 1503 by michael, Tue Aug 14 09:05:58 2012 UTC

# Line 30 | Line 30
30  
31   /*
32   * Directory paths and filenames for UNIX systems.
33 < * IRCD_PREFIX is set using ./configure --prefix, see INSTALL.
33 > * PREFIX is set using ./configure --prefix, see INSTALL.
34   * The other defaults should be fine.
35   *
36   * NOTE: CHANGING THESE WILL NOT ALTER THE DIRECTORY THAT FILES WILL
37   *       BE INSTALLED TO.  IF YOU CHANGE THESE, DO NOT USE MAKE INSTALL,
38   *       BUT COPY THE FILES MANUALLY TO WHERE YOU WANT THEM.
39   *
40 < * IRCD_PREFIX = prefix for all directories
40 > * PREFIX = prefix for all directories
41   * DPATH       = root directory of installation
42   * BINPATH     = directory for binary files
43   * MSGPATH     = directory for language files
# Line 48 | Line 48
48   */
49  
50   /* dirs */
51 < #define DPATH       IRCD_PREFIX                                                    
52 < #define BINPATH     IRCD_PREFIX "/bin/"
53 < #define MSGPATH     IRCD_PREFIX "/messages/"
54 < #define ETCPATH     IRCD_PREFIX "/etc"
55 < #define LOGPATH     IRCD_PREFIX "/logs"
56 < #define MODPATH     IRCD_PREFIX "/modules/"
57 < #define AUTOMODPATH IRCD_PREFIX "/modules/autoload/"
51 > #define DPATH       PREFIX                                                    
52 > #define SBINPATH    PREFIX "/sbin/"
53 > #define BINPATH     PREFIX "/bin/"
54 > #define MSGPATH           DATADIR "/" PACKAGE "/messages"
55 > #define MODPATH           LIBDIR "/" PACKAGE "/modules/"
56 > #define HPATH               DATADIR "/" PACKAGE "/help/opers"
57 > #define UHPATH            DATADIR "/" PACKAGE "/help/users"
58 > #define AUTOMODPATH     MODPATH "/autoload/"
59 > #define ETCPATH     SYSCONFDIR
60 > #define LOGPATH           LOCALSTATEDIR "/log"
61  
62   /* files */
63 < #define SPATH   BINPATH "/ircd"                 /* ircd executable */
61 < #define SLPATH  BINPATH "/servlink"             /* servlink executable */
63 > #define SPATH   SBINPATH "/ircd"                /* ircd executable */
64   #define CPATH   ETCPATH "/ircd.conf"            /* ircd.conf file */
65   #define KPATH   ETCPATH "/kline.conf"           /* kline file */
66   #define CRESVPATH   ETCPATH "/cresv.conf"       /* channel resvs file */
67   #define NRESVPATH   ETCPATH "/nresv.conf"       /* nick resvs file */
68   #define DLPATH  ETCPATH "/dline.conf"           /* dline file */
67 #define GPATH   ETCPATH "/gline.conf"           /* gline conffile */
69   #define XPATH   ETCPATH "/xline.conf"           /* xline file */
70   #define RXPATH  ETCPATH "/rxline.conf"
71   #define RKPATH  ETCPATH "/rkline.conf"
72   #define MPATH   ETCPATH "/ircd.motd"            /* MOTD file */
73   #define LPATH   LOGPATH "/ircd.log"             /* ircd logfile */
74 < #define PPATH   ETCPATH "/ircd.pid"             /* pid file */
74 < #define OPATH   ETCPATH "/opers.motd"           /* oper MOTD file */
74 > #define PPATH   LOCALSTATEDIR "/ircd.pid"             /* pid file */
75   #define LIPATH  ETCPATH "/links.txt"            /* cached links file */
76  
77 < /* this file is included to supply default
78 < * values for things which are now configurable at runtime.
77 > /*
78 > * This file is included to supply default values for things which
79 > * are now configurable at runtime.
80   */
81  
81 #define HANGONRETRYDELAY 60     /* Recommended value: 30-60 seconds */
82   #define HYBRID_SOMAXCONN 25
83 < #define MAX_TDKLINE_TIME        (24*60*10)
84 < #define HANGONGOODLINK 3600     /* Recommended value: 30-60 minutes */
83 > #define MAX_TDKLINE_TIME        (24*60*360)
84  
85   /* tests show that about 7 fds are not registered by fdlist.c, these
86   * include std* descriptors + some others (by OpenSSL etc.). Note this is
# Line 99 | Line 98
98   #define DEFAULT_PINGFREQUENCY    120    /* Default ping frequency */
99   #define DEFAULT_CONNECTFREQUENCY 600    /* Default connect frequency */
100  
101 + #define WATCHSIZE_MIN 1
102 + #define WATCHSIZE_DEFAULT 32
103   #define TS_MAX_DELTA_MIN      10        /* min value for ts_max_delta */
104   #define TS_MAX_DELTA_DEFAULT  600       /* default for ts_max_delta */
105   #define TS_WARN_DELTA_MIN     10        /* min value for ts_warn_delta */
# Line 107 | Line 108
108   /* ServerInfo default values */
109   #define NETWORK_NAME_DEFAULT "EFnet"             /* default for network_name */
110   #define NETWORK_DESC_DEFAULT "Eris Free Network" /* default for network_desc */
111 + #define SERVICE_NAME_DEFAULT "service.someserver"
112 +
113 + #define GLINE_REQUEST_EXPIRE_DEFAULT 600
114  
115   /* General defaults */
116   #define MAXIMUM_LINKS_DEFAULT 0         /* default for maximum_links */

Comparing:
ircd-hybrid/include/defaults.h (property svn:keywords), Revision 32 by knight, Sun Oct 2 20:41:23 2005 UTC vs.
ircd-hybrid-8/include/defaults.h (property svn:keywords), Revision 1503 by michael, Tue Aug 14 09:05:58 2012 UTC

# Line 1 | Line 1
1 < Revision
1 > Id Revision

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)