summaryrefslogtreecommitdiff
path: root/irc/dancer-ircd/files/patch-config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'irc/dancer-ircd/files/patch-config.h.in')
-rw-r--r--irc/dancer-ircd/files/patch-config.h.in105
1 files changed, 105 insertions, 0 deletions
diff --git a/irc/dancer-ircd/files/patch-config.h.in b/irc/dancer-ircd/files/patch-config.h.in
new file mode 100644
index 000000000000..9628697677f0
--- /dev/null
+++ b/irc/dancer-ircd/files/patch-config.h.in
@@ -0,0 +1,105 @@
+--- include/config.h.orig Fri Apr 12 05:04:53 2002
++++ include/config.h Tue Apr 15 15:53:06 2003
+@@ -66,8 +66,8 @@
+ * system limits. If you know what you are doing, increase them now
+ */
+
+-#define HARD_FDLIMIT_ 256 /* was 256 */
+-#define INIT_MAXCLIENTS 200 /* was 200 */
++#define HARD_FDLIMIT_ 512 /* was 256 */
++#define INIT_MAXCLIENTS 400 /* was 200 */
+
+ /*
+ * This is how many 'buffer connections' we allow...
+@@ -125,15 +125,15 @@
+ */
+
+ #define DPATH "/"
+-#define SPATH "bin/dancer-ircd"
+-#define CPATH "etc/dancer-ircd/ircd.conf"
+-#define KPATH "var/lib/dancer-ircd/kline.conf"
+-#define DLPATH "var/lib/dancer-ircd/dline.conf"
+-#define MPATH "etc/dancer-ircd/motd"
+-#define LPATH "var/log/dancer-ircd/ircd.log"
+-#define PPATH "var/run/dancer-ircd.pid"
+-#define HPATH "etc/dancer-ircd/ohelp"
+-#define OPATH "etc/dancer-ircd/omotd"
++#define SPATH "@@prefix@@/bin/dancer-ircd"
++#define CPATH "@@prefix@@/etc/dancer-ircd/ircd.conf"
++#define KPATH "@@prefix@@/etc/dancer-ircd/kline.conf"
++#define DLPATH "@@prefix@@/etc/dancer-ircd/dline.conf"
++#define MPATH "@@prefix@@/etc/dancer-ircd/motd"
++#define LPATH "/var/log/dancer-ircd/ircd.log"
++#define PPATH "/var/run/dancer-ircd/dancer-ircd.pid"
++#define HPATH "@@prefix@@/etc/dancer-ircd/ohelp"
++#define OPATH "@@prefix@@/etc/dancer-ircd/omotd"
+
+ /* HIDE_OPS
+ * Define this to prevent non chanops from seeing what ops a channel has
+@@ -173,12 +173,12 @@
+ /* NETWORK_NAME
+ * Displayed in place of the servername when SERVERHIDE is enabled
+ */
+-#define NETWORK_NAME "irc.openprojects.net"
++#define NETWORK_NAME "irc.example.net"
+
+ /* NETWORK_DESC
+ * Displayed in place of the server info when SERVERHIDE is enabled
+ */
+-#define NETWORK_DESC "http://www.openprojects.net/"
++#define NETWORK_DESC "http://www.example.net/"
+
+ /* USE_SERVICES
+ * Defines whether or not you're using services on your network
+@@ -246,7 +246,7 @@
+ */
+ #define SAVE_MAXCLIENT
+ #ifdef SAVE_MAXCLIENT
+-# define MXPATH "etc/dancer-ircd/ircd.max"
++# define MXPATH "@@prefix@@/etc/dancer-ircd/ircd.max"
+ # define SAVE_TIME 3600
+ #endif
+
+@@ -683,7 +683,7 @@
+ * the net. for a leaf, 2 is fine. If the number of servers seen
+ * on the net gets less than 2, a split is deemed to have happened.
+ */
+-#define SPLIT_SMALLNET_SIZE 2
++#define SPLIT_SMALLNET_SIZE 0
+
+ /*
+ * SPLIT_SMALLNET_USER_SIZE defines how many global users on the
+@@ -693,7 +693,7 @@
+ * number of users seen on net > SPLIT_SMALLNET_USER_SIZE start
+ * counting down the SERVER_SPLIT_RECOVERY_TIME
+ */
+-#define SPLIT_SMALLNET_USER_SIZE 2 /* was 10000 */
++#define SPLIT_SMALLNET_USER_SIZE 0 /* was 10000 */
+
+ /*
+ * SPLIT_PONG will send a PING to a server after the connect burst.
+@@ -703,13 +703,13 @@
+ * you should be able to crank DEFAULT_SERVER_SPLIT_RECOVERY_TIME
+ * down to 1.
+ */
+-#define SPLIT_PONG
++#undef SPLIT_PONG
+
+ /*
+ * DEFAULT_SERVER_SPLIT_RECOVERY_TIME - determines how long to delay split
+ * status after resyncing
+ */
+-#define DEFAULT_SERVER_SPLIT_RECOVERY_TIME 1
++#define DEFAULT_SERVER_SPLIT_RECOVERY_TIME 0
+
+ /* LIMIT_UH
+ * If this is defined, Y line limit is made against the actual
+@@ -864,7 +864,7 @@
+ * it will show up in /list
+ */
+
+-#define MIN_USERS_FOR_LIST 4
++#define MIN_USERS_FOR_LIST 2
+
+ /* USE_KNOCK
+ * KNOCK allows users to send a "knock" to a +i channel.