1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00
freebsd-ports/irc/ircd-hybrid/files/patch-ab
Donald Burr 3622f30dc5 Upgrade to ircd-hybrid-5.2p1.
* Change DISTNAME in Makefile, and add PKGNAME to reflect the convention
  that "5.2p1" is to be expressed as "5.2.1" in package names.
* Changed MD5.
* Re-generated patches so that they patch cleanly against the new version.
1998-06-07 14:45:46 +00:00

89 lines
3.0 KiB
Plaintext

--- include/config.h.old Sun Jun 7 07:08:17 1998
+++ include/config.h Sun Jun 7 07:12:38 1998
@@ -27,8 +27,8 @@
/***************** MAKE SURE THIS IS CORRECT!!!!!!!!! **************/
/* ONLY EDIT "HARD_FDLIMIT_" and "INIT_MAXCLIENTS" */
-#define HARD_FDLIMIT_ 1024
-#define INIT_MAXCLIENTS 800
+#define HARD_FDLIMIT_ 125
+#define INIT_MAXCLIENTS 40
/*
* This is how many 'buffer connections' we allow...
@@ -82,8 +82,8 @@
* -Dianora
*/
-#define DPATH "/usr/local/ircd/"
-#define SPATH "/usr/local/ircd/ircd"
+#define DPATH "/usr/local/etc/ircd/"
+#define SPATH "/usr/local/sbin/ircd"
#define CPATH "ircd.conf"
#define KPATH "kline.conf"
#define MPATH "ircd.motd"
@@ -144,8 +144,8 @@
*
* These need to be defined if you want to use SYSLOG logging, too.
*/
-#define FNAME_USERLOG "/usr/local/ircd/users" /* */
-#define FNAME_OPERLOG "/usr/local/ircd/opers" /* */
+#define FNAME_USERLOG "/usr/local/etc/ircd/users" /* */
+#define FNAME_OPERLOG "/usr/local/etc/ircd/opers" /* */
/* FOLLOW_IDENT_RFC
*
@@ -180,7 +180,7 @@
* messages, define this. Otherwise leave it undef'd for plain ole
* boring messages.
*/
-#undef CUSTOM_ERR
+#define CUSTOM_ERR
/* FAILED_OPER_NOTICE - send a notice to all opers when someone
@@ -429,7 +429,7 @@
* mode "i" (i == invisible). Invisibility means people dont showup in
* WHO or NAMES unless they are on the same channel as you.
*/
-#define NO_DEFAULT_INVISIBLE
+#undef NO_DEFAULT_INVISIBLE
/* OPER_KILL OPER_REHASH OPER_RESTART OPER_DIE OPER_REMOTE -
* restrict what local global-Opers can do
@@ -528,7 +528,7 @@
* security problem - they can use the "-f" option to read any files
* that the 'new' access lets them.
*/
-#define CMDLINE_CONFIG
+#undef CMDLINE_CONFIG
/* M4_PREPROC - run ircd.conf through m4 preprocessor
* To use m4 as a preprocessor on the ircd.conf file, define M4_PREPROC.
@@ -557,11 +557,11 @@
* If you use syslog above, you may want to turn some (none) of the
* spurious log messages for KILL,SQUIT,etc off.
*/
-#undef SYSLOG_KILL /* log all operator kills to syslog */
-#undef SYSLOG_SQUIT /* log all remote squits for all servers to syslog */
+#define SYSLOG_KILL /* log all operator kills to syslog */
+#define 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 */
+#define SYSLOG_OPER /* log all users who successfully become an Op */
#undef SYSLOG_BLOCK_ALLOCATOR /* debug block allocator */
/* LOG_FACILITY - facility to use for syslog()
@@ -609,8 +609,8 @@
* define IRC_UID to that UID. This should only be defined if you are running
* as root and even then perhaps not.
*/
-#define IRC_UID 1001
-#define IRC_GID 31
+#define IRC_UID 72
+#define IRC_GID 72
/* CLIENT_FLOOD - client excess flood threshold
* this controls the number of bytes the server will allow a client to