summaryrefslogtreecommitdiff
path: root/chat/eggdrop/patches
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-05-24 16:43:05 +0000
committersalo <salo@pkgsrc.org>2003-05-24 16:43:05 +0000
commit0eebaf77f7266c77051a5359cc552c7b9d4cd5e2 (patch)
treee4898e02221f7087acbb2121f481ee0a959d3dd9 /chat/eggdrop/patches
parent7bac0876d05c1a960cb626a1b8237e118e5e3946 (diff)
downloadpkgsrc-0eebaf77f7266c77051a5359cc552c7b9d4cd5e2.tar.gz
Updated to version 1.6.15.
Changes: - use tar.bz2 distfile - install documentation in proper locations - install more docs - fix PLIST for NOPIC and USE_INET6 - DESCR has 80 columns 1.6.15: ======= - Support for the IPv6 protocol. - Many bugfixes related to the transfer and filesystem modules. - Several more functions have been exported for use by module coders. - Updated UnderNet's max bans to 45, and EFnet's to 25. - The nick bind is now triggered even if the nick is not on any channels (ie if the bot's nick changes before it's on a channel). - Removed strict-servernames -- $server is now always the server's realname and $serveraddress is it's server list entry. - Merged use-console-r and debug-output into one new setting named raw-log. - Updated recommended Tcl version to 8.3.4. - User-punishing and tcl_maskhost nor use matching banmasks regardless of strict-host. - Updates to the 'autobotchk' script.
Diffstat (limited to 'chat/eggdrop/patches')
-rw-r--r--chat/eggdrop/patches/patch-ab52
-rw-r--r--chat/eggdrop/patches/patch-ac12
-rw-r--r--chat/eggdrop/patches/patch-ae19
-rw-r--r--chat/eggdrop/patches/patch-ag6
-rw-r--r--chat/eggdrop/patches/patch-ai22
-rw-r--r--chat/eggdrop/patches/patch-aj12
-rw-r--r--chat/eggdrop/patches/patch-ak20
7 files changed, 71 insertions, 72 deletions
diff --git a/chat/eggdrop/patches/patch-ab b/chat/eggdrop/patches/patch-ab
index 1d4636a5551..2b1451b8d8c 100644
--- a/chat/eggdrop/patches/patch-ab
+++ b/chat/eggdrop/patches/patch-ab
@@ -1,41 +1,41 @@
-$NetBSD: patch-ab,v 1.2 2003/04/30 19:43:49 jmmv Exp $
+$NetBSD: patch-ab,v 1.3 2003/05/24 16:43:05 salo Exp $
---- src/main.c.orig Sun Jul 15 09:15:14 2001
-+++ src/main.c Thu Nov 1 12:55:48 2001
-@@ -61,7 +61,7 @@
+--- src/main.c.orig 2003-05-04 22:15:53.000000000 +0200
++++ src/main.c 2003-05-24 16:56:20.000000000 +0200
+@@ -70,7 +70,7 @@
#define _POSIX_SOURCE 1
#endif
--extern char origbotname[], userfile[], botnetnick[];
-+extern char origbotname[], userfile[], botnetnick[], tempdir[];
- extern int dcc_total, conmask, cache_hit, cache_miss,
- max_logs, quick_logs;
- extern struct dcc_t *dcc;
-@@ -94,7 +94,7 @@
- stats? */
- int term_z = 0; /* Foreground: use the terminal as a party
- line? */
--char configfile[121] = "eggdrop.conf"; /* Name of the config file */
-+char configfile[121] = __PKG_SYSCONFDIR__ "/eggdrop.conf";
- char helpdir[121]; /* Directory of help files (if used) */
- char textdir[121] = ""; /* Directory for text files that get dumped */
- int keep_all_logs = 0; /* Never erase logfiles, no matter how old
-@@ -709,6 +709,8 @@
- setrlimit(RLIMIT_CORE, &cdlim);
+-extern char origbotname[], userfile[], botnetnick[];
++extern char origbotname[], userfile[], botnetnick[], tempdir[];
+ extern int dcc_total, conmask, cache_hit, cache_miss, max_logs, quick_logs;
+ extern struct dcc_t *dcc;
+ extern struct userrec *userlist;
+@@ -101,7 +101,7 @@
+ * stats? */
+ int term_z = 0; /* Foreground: use the terminal as a party
+ * line? */
+-char configfile[121] = "eggdrop.conf"; /* Name of the config file */
++char configfile[121] = __PKG_SYSCONFDIR__ "eggdrop.conf"; /* Name of the config file */
+ char helpdir[121] = "help/"; /* Directory of help files (if used) */
+ char textdir[121] = "text/"; /* Directory for text files that get dumped */
+ int keep_all_logs = 0; /* Never erase logfiles, no matter how old
+@@ -735,6 +735,8 @@
}
#endif
-+
-+ chdir(__PREFIX__ "/share/eggdrop");
++ chdir(__PREFIX__ "/share/eggdrop");
++
/* Initialise context list */
for (i = 0; i < 16; i++)
-@@ -809,7 +809,8 @@
+ Context;
+@@ -834,7 +836,8 @@
cache_miss = 0;
cache_hit = 0;
if (!pid_file[0])
-- egg_snprintf(pid_file, sizeof pid_file, "pid.%s", botnetnick);
-+ egg_snprintf(pid_file, sizeof pid_file, "%.100s/pid.%.32s",
-+ tempdir, botnetnick);
+- egg_snprintf(pid_file, sizeof pid_file, "pid.%s", botnetnick);
++ egg_snprintf(pid_file, sizeof pid_file, "%.100s/pid.%.32s",
++ tempdir, botnetnick);
/* Check for pre-existing eggdrop! */
f = fopen(pid_file, "r");
diff --git a/chat/eggdrop/patches/patch-ac b/chat/eggdrop/patches/patch-ac
index c3cd5eb5ccb..1e34e3b6fdc 100644
--- a/chat/eggdrop/patches/patch-ac
+++ b/chat/eggdrop/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.2 2003/04/30 19:43:49 jmmv Exp $
+$NetBSD: patch-ac,v 1.3 2003/05/24 16:43:05 salo Exp $
---- src/Makefile.in.orig 2000-11-23 04:56:40.000000000 +0100
-+++ src/Makefile.in
+--- src/Makefile.in.orig 2003-05-04 22:15:53.000000000 +0200
++++ src/Makefile.in 2003-05-24 16:58:42.000000000 +0200
@@ -4,6 +4,7 @@
SHELL = @SHELL@
top_srcdir = @top_srcdir@
@@ -10,7 +10,7 @@ $NetBSD: patch-ac,v 1.2 2003/04/30 19:43:49 jmmv Exp $
VPATH = @srcdir@
@SET_MAKE@
-@@ -16,7 +17,7 @@ CC = @CC@
+@@ -16,7 +17,7 @@
LD = @CC@
STRIP = @STRIP@
CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @DEFS@ $(CFLGS)
@@ -18,8 +18,8 @@ $NetBSD: patch-ac,v 1.2 2003/04/30 19:43:49 jmmv Exp $
+CPPFLAGS = @CPPFLAGS@ '-D__PREFIX__="@prefix@"' '-D__PKG_SYSCONFDIR__="@sysconfdir@"'
eggdrop_objs = bg.o botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o \
- dccutil.o dns.o flags.o language.o main.o mem.o misc.o misc_file.o \
-@@ -37,7 +38,7 @@ doofus:
+ dccutil.o dns.o flags.o language.o match.o main.o mem.o misc.o misc_file.o \
+@@ -37,7 +38,7 @@
@echo "Linking eggdrop... $(EGGBUILD)"
@echo ""
@touch mod/mod.xlibs
diff --git a/chat/eggdrop/patches/patch-ae b/chat/eggdrop/patches/patch-ae
index b19c1a3c137..88c8bdc6026 100644
--- a/chat/eggdrop/patches/patch-ae
+++ b/chat/eggdrop/patches/patch-ae
@@ -1,16 +1,15 @@
-$NetBSD: patch-ae,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $
+$NetBSD: patch-ae,v 1.2 2003/05/24 16:43:05 salo Exp $
---- src/mod/ctcp.mod/ctcp.c.orig Wed Dec 9 23:18:06 1998
-+++ src/mod/ctcp.mod/ctcp.c Wed Dec 9 23:18:55 1998
-@@ -155,9 +155,9 @@
+--- src/mod/ctcp.mod/ctcp.c.orig 2003-05-04 22:15:53.000000000 +0200
++++ src/mod/ctcp.mod/ctcp.c 2003-05-24 17:01:36.000000000 +0200
+@@ -160,8 +160,8 @@
/* Do me a favour and don't change this back to a CTCP reply,
* CTCP replies are NOTICE's this has to be a PRIVMSG
* -poptix 5/1/1997 */
-- dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %lu %u\001\n",
-+ dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %u %u\001\n",
- nick,
-- iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
-+ (unsigned)iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
- dcc[i].port);
+- dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %lu %u\001\n",
+- nick, iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
++ dprintf(DP_SERVER, "PRIVMSG %s :\001DCC CHAT chat %u %u\001\n",
++ nick, (unsigned)iptolong(natip[0] ? (IP) inet_addr(natip) : getmyip()),
+ dcc[i].port);
return 1;
}
diff --git a/chat/eggdrop/patches/patch-ag b/chat/eggdrop/patches/patch-ag
index db38040bf0d..7368af9184b 100644
--- a/chat/eggdrop/patches/patch-ag
+++ b/chat/eggdrop/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.3 2003/01/16 08:23:47 salo Exp $
+$NetBSD: patch-ag,v 1.4 2003/05/24 16:43:06 salo Exp $
--- Makefile.in.orig Tue Feb 27 20:06:27 2001
+++ Makefile.in Fri Nov 2 11:40:10 2001
@@ -7,7 +7,7 @@ $NetBSD: patch-ag,v 1.3 2003/01/16 08:23:47 salo Exp $
# make modules
SHLIB_CC = @SHLIB_CC@
-SHLIB_LD = @SHLIB_LD@
-+SHLIB_LD = @SHLIB_LD@ $(_OPSYS_RPATH_NAME)@TCLLIB@
++SHLIB_LD = @SHLIB_LD@ $(RPATH_FLAG)@TCLLIB@
SHLIB_STRIP = @SHLIB_STRIP@
MOD_EXT = @MOD_EXT@
@@ -15,7 +15,7 @@ $NetBSD: patch-ag,v 1.3 2003/01/16 08:23:47 salo Exp $
# stuff for Tcl
XREQS = @TCL_REQS@
XLIBS = @TCL_LIBS@ @LIBS@
-+XLDFLAGS = -Wl,$(_OPSYS_RPATH_NAME)@TCLLIB@
++XLDFLAGS = -Wl,$(RPATH_FLAG)@TCLLIB@
TCLLIB = @TCLLIB@
TCLLIBFN = @TCLLIBFN@
diff --git a/chat/eggdrop/patches/patch-ai b/chat/eggdrop/patches/patch-ai
index 38d2e5536cb..0b83eed669c 100644
--- a/chat/eggdrop/patches/patch-ai
+++ b/chat/eggdrop/patches/patch-ai
@@ -1,25 +1,25 @@
-$NetBSD: patch-ai,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $
+$NetBSD: patch-ai,v 1.2 2003/05/24 16:43:06 salo Exp $
---- src/mod/share.mod/share.c.orig Tue Jul 17 23:53:42 2001
-+++ src/mod/share.mod/share.c Fri Nov 2 18:37:15 2001
-@@ -1121,7 +1123,8 @@
+--- src/mod/share.mod/share.c.orig 2003-05-04 22:15:53.000000000 +0200
++++ src/mod/share.mod/share.c 2003-05-24 17:05:28.000000000 +0200
+@@ -1113,7 +1113,8 @@
int i, sock;
FILE *f;
- egg_snprintf(s, sizeof s, ".share.%s.%lu.users", botnetnick, now);
-+ egg_snprintf(s, sizeof s, "%.100s/.share.%.32s.%lu.users",
-+ tempdir, botnetnick, now);
++ egg_snprintf(s, sizeof s, "%.100s/.share.%.32s.%lu.users",
++ tempdir, botnetnick, now);
if (!(b_status(idx) & STAT_SHARE)) {
dprintf(idx, "s e You didn't ask; you just started sending.\n");
dprintf(idx, "s e Ask before sending the userfile.\n");
-@@ -1890,8 +1893,8 @@
+@@ -1883,8 +1884,8 @@
struct chanuserrec *ch;
struct chanset_t *cst;
- egg_snprintf(share_file, sizeof share_file, ".share.%s.%lu", dcc[idx].nick,
-- now);
-+ egg_snprintf(share_file, sizeof share_file, "%.100s/.share.%.32s.%lu",
-+ tempdir, dcc[idx].nick, now);
+- now);
++ egg_snprintf(share_file, sizeof share_file, "%.100s/.share.%.32s.%lu",
++ tempdir, dcc[idx].nick, now);
if (dcc[idx].u.bot->uff_flags & UFF_OVERRIDE) {
debug1("NOTE: Sharing aggressively with %s, overriding its local bots.",
- dcc[idx].nick);
+ dcc[idx].nick);
diff --git a/chat/eggdrop/patches/patch-aj b/chat/eggdrop/patches/patch-aj
index 9d1c5dab9b0..14b000b7ee4 100644
--- a/chat/eggdrop/patches/patch-aj
+++ b/chat/eggdrop/patches/patch-aj
@@ -1,13 +1,13 @@
-$NetBSD: patch-aj,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $
+$NetBSD: patch-aj,v 1.2 2003/05/24 16:43:06 salo Exp $
---- src/mod/Makefile.in.orig Sat Feb 2 18:14:30 2002
-+++ src/mod/Makefile.in Sat Feb 2 21:03:57 2002
-@@ -86,7 +86,7 @@
+--- src/mod/Makefile.in.orig 2003-05-04 22:15:53.000000000 +0200
++++ src/mod/Makefile.in 2003-05-24 17:07:41.000000000 +0200
+@@ -87,7 +87,7 @@
echo "Configuring module $${modname} ..."; \
echo ""; \
if test ! -d $$i; then mkdir $$i; fi; \
-- (cd $$i && $(MOD_UPDIR)$(srcdir)/$$i/configure $(egg_ac_parameters) --cache-file=../../../config.cache --srcdir=$(MOD_UPDIR)$(top_srcdir)/src/mod/$$i); \
-+ (cd $$i && $(MOD_UPDIR)$(srcdir)/$$i/configure "$(egg_ac_parameters)" --cache-file=../../../config.cache --srcdir=$(MOD_UPDIR)$(top_srcdir)/src/mod/$$i); \
+- (cd $$i && $(MOD_UPDIR)$(srcdir)/$$i/configure $(egg_ac_parameters) $(ENABLEIPV6) --cache-file=../../../config.cache --srcdir=$(MOD_UPDIR)$(top_srcdir)/src/mod/$$i); \
++ (cd $$i && $(MOD_UPDIR)$(srcdir)/$$i/configure "$(egg_ac_parameters)" $(ENABLEIPV6) --cache-file=../../../config.cache --srcdir=$(MOD_UPDIR)$(top_srcdir)/src/mod/$$i); \
fi; \
done; \
echo ""
diff --git a/chat/eggdrop/patches/patch-ak b/chat/eggdrop/patches/patch-ak
index 5f66434f1eb..c8abc1a9feb 100644
--- a/chat/eggdrop/patches/patch-ak
+++ b/chat/eggdrop/patches/patch-ak
@@ -1,13 +1,13 @@
-$NetBSD: patch-ak,v 1.1 2002/09/25 18:32:10 wiz Exp $
+$NetBSD: patch-ak,v 1.2 2003/05/24 16:43:06 salo Exp $
---- src/eggdrop.h.orig Fri Mar 29 22:40:24 2002
-+++ src/eggdrop.h Sun Aug 18 22:51:25 2002
-@@ -68,7 +68,7 @@
+--- src/eggdrop.h.orig 2003-05-04 22:15:53.000000000 +0200
++++ src/eggdrop.h 2003-05-24 17:09:54.000000000 +0200
+@@ -85,7 +85,7 @@
- /* Language stuff */
--#define LANGDIR "./language" /* language file directory */
-+#define LANGDIR __PREFIX__ "/share/eggdrop/language" /* language file directory */
- #define BASELANG "english" /* language which always gets loaded
- before all other languages. You do
- not want to change this. */
+ /* Language stuff */
+-#define LANGDIR "./language" /* language file directory */
++#define LANGDIR __PREFIX__ "/share/eggdrop/language" /* language file directory */
+ #define BASELANG "english" /* language which always gets loaded before
+ all other languages. You do not want to
+ change this. */