freebsd-ports/irc/irc/files/patch-support_config.h.dist
2013-12-29 15:19:29 +00:00

82 lines
2.8 KiB
Text

--- support/config.h.dist.orig 2010-08-13 21:53:03.000000000 +0200
+++ support/config.h.dist 2013-12-29 16:09:38.000000000 +0100
@@ -123,13 +123,13 @@
/*
* Operator rights can be precisely defined in O:line flags. However
* if you undefine any of the following, it will make given function
- * unaccessible to your operators, disregarding their O:line flags.
+#define OPER_KILL
*/
#define OPER_CONNECT
-#define OPER_DIE
-#define OPER_REHASH
-#define OPER_RESTART
-#define OPER_SET
+#undef OPER_DIE
+#define OPER_REMOTE
+#define LOCOP_REHASH
+#define LOCOP_RESTART
#define OPER_SQUIT
#define OPER_SQUIT_REMOTE
#define OPER_KLINE
@@ -241,25 +241,25 @@
* 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 */
/*
@@ -308,7 +308,7 @@
* 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,
@@ -357,7 +357,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
@@ -392,7 +392,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