openbsd-ports/net/irc/patches/patch-support_config_h_dist
brad 1bbbe1ff12 upgrade to ircd 2.10.3p1
--
Based on port from: Brian Caswell <bmc@mitre.org>
2001-01-28 00:47:17 +00:00

81 lines
2.7 KiB
Plaintext

--- support/config.h.dist.orig Tue Jun 6 22:35:20 2000
+++ support/config.h.dist Tue Jan 9 22:04:28 2001
@@ -118,13 +118,13 @@
* if 'OPER_x' is undefined so you can't give local operators more rights
* than global ones.
*/
-#undef OPER_KILL
+#define OPER_KILL
#define OPER_REHASH
#undef OPER_RESTART
-#define OPER_DIE
+#undef OPER_DIE
#undef OPER_REMOTE
-#undef LOCOP_REHASH
-#undef LOCOP_RESTART
+#define LOCOP_REHASH
+#define LOCOP_RESTART
#undef LOCOP_DIE
/*
@@ -237,32 +237,32 @@
* this option is used unless you tell the system administrator beforehand
* and obtain their permission to send messages to the system log files.
*/
-#undef USE_SYSLOG
+#define USE_SYSLOG
#ifdef USE_SYSLOG
/*
* If you use syslog above, you may want to turn some (none) of the
* spurious log messages for KILL/SQUIT off.
*/
-#undef SYSLOG_KILL /* log all operator kills to syslog */
-#undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
-#undef SYSLOG_CONNECT /* log remote connect messages for other all servs */
-#undef SYSLOG_USERS /* send userlog stuff to syslog */
-#undef SYSLOG_OPER /* log all users who successfully become an Op */
-#undef SYSLOG_CONN /* log all uncomplete/rejected connections */
+#define SYSLOG_KILL /* log all operator kills to syslog */
+#define SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
+#define SYSLOG_CONNECT /* log remote connect messages for other all servs */
+#define SYSLOG_USERS /* send userlog stuff to syslog */
+#define SYSLOG_OPER /* log all users who successfully become an Op */
+#define SYSLOG_CONN /* log all uncomplete/rejected connections */
/*
* If you want to log to a different facility than DAEMON, change
* this define.
*/
-#define LOG_FACILITY LOG_DAEMON
+#define LOG_FACILITY LOG_LOCAL5
#endif /* USE_SYSLOG */
/*
* define this if you want to use crypted passwords for operators in your
* ircd.conf file. See contrib/mkpasswd/README for more details on this.
*/
-#undef CRYPT_OPER_PASSWORD
+#define CRYPT_OPER_PASSWORD
/*
* If you want to store encrypted passwords in N-lines for server links,
@@ -314,7 +314,7 @@
* send to the server without processing before disconnecting the client for
* flooding it. Values greater than 8000 make no difference to the server.
*/
-#define CLIENT_FLOOD 1000
+#define CLIENT_FLOOD 4000
/* Remote query flood protection. */
#define CHREPLLEN 8192
@@ -352,7 +352,7 @@
* The library and the include files must have been found by configure,
* if you have installed the zlib after running configure, run it again.
*/
-#undef ZIP_LINKS
+#define ZIP_LINKS
/*
* Defining this will add an artificial 2 seconds delay for accepting