diff options
author | kent <kent> | 2002-06-26 03:48:10 +0000 |
---|---|---|
committer | kent <kent> | 2002-06-26 03:48:10 +0000 |
commit | ceea0dd58e4f20831afc6b3abba53189646beb62 (patch) | |
tree | 148e09417c94989a75f8c6fb411327ca90ac71ce /chat/eggdrop | |
parent | e9fae0e127979af157e341455ca89b2b25b55b94 (diff) | |
download | pkgsrc-ceea0dd58e4f20831afc6b3abba53189646beb62.tar.gz |
Re-import eggdrop as chat/eggdrop.
Diffstat (limited to 'chat/eggdrop')
-rw-r--r-- | chat/eggdrop/DESCR | 12 | ||||
-rw-r--r-- | chat/eggdrop/MESSAGE | 8 | ||||
-rw-r--r-- | chat/eggdrop/Makefile | 60 | ||||
-rw-r--r-- | chat/eggdrop/PLIST | 90 | ||||
-rw-r--r-- | chat/eggdrop/distinfo | 13 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-aa | 19 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ab | 41 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ac | 22 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ad | 13 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ae | 16 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ag | 57 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ah | 13 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-ai | 25 | ||||
-rw-r--r-- | chat/eggdrop/patches/patch-aj | 13 |
14 files changed, 402 insertions, 0 deletions
diff --git a/chat/eggdrop/DESCR b/chat/eggdrop/DESCR new file mode 100644 index 00000000000..872098e9e78 --- /dev/null +++ b/chat/eggdrop/DESCR @@ -0,0 +1,12 @@ +Eggdrop is an IRC bot, written in C. If you don't know what IRC is, this +is probably not whatever you're looking for! Eggdrop, being a bot, sits +on a channel and takes protective measures: to keep the channel from being +taken over (in the few ways that anything CAN), to recognize banished +users or sites and reject them, to recognize priveledged users and let +them gain ops, etc. + +One of the more unique features of eggdrop is its "party line", accessable +via DCC chat, which allows you to talk to other people lag-free. +Consider it a multi-way DCC chat, or a miniature IRC (complete with +channels). You can link up with other bots and expand the party line +until it actually becomes something very much like IRC, in fact. diff --git a/chat/eggdrop/MESSAGE b/chat/eggdrop/MESSAGE new file mode 100644 index 00000000000..f46178ae07e --- /dev/null +++ b/chat/eggdrop/MESSAGE @@ -0,0 +1,8 @@ +============================================================================= +$NetBSD: MESSAGE,v 1.1.1.1 2002/06/26 03:48:10 kent Exp $ + +If you run an IRC robot on most IRC nets, you will probably be banned from +any server to which you connect. Take care in how you use IRC robots, and +make sure to get permission before running one on any server. + +============================================================================= diff --git a/chat/eggdrop/Makefile b/chat/eggdrop/Makefile new file mode 100644 index 00000000000..e3b2613c68a --- /dev/null +++ b/chat/eggdrop/Makefile @@ -0,0 +1,60 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/06/26 03:48:13 kent Exp $ +# + +DISTNAME= eggdrop1.6.10 +PKGNAME= eggdrop-1.6.10 +CATEGORIES= net +MASTER_SITES= ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ + +MAINTAINER= tv@netbsd.org +HOMEPAGE= http://www.eggheads.org/ +COMMENT= IRC robot with TCL scripting and multi-channel ability + +DEPENDS+= tcl>=8.3.2:../../lang/tcl + +GNU_CONFIGURE= yes +CONFIGURE_ENV+= TCLLIB="${PREFIX}/lib" TCLINC="${PREFIX}/include" + +post-patch: + cd ${WRKSRC} && ${SED} -e 's,modules/,${PREFIX}/lib/eggdrop/,' \ + < eggdrop.complete.conf > eggdrop.conf.dist.new + +post-configure: + cd ${WRKSRC} && ${MAKE} config + +do-install: do-install-program +do-install-program: + ${INSTALL_PROGRAM} ${WRKSRC}/eggdrop ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/doc/man1/eggdrop.1 ${PREFIX}/man/man1/ + ${INSTALL_DATA} ${WRKSRC}/eggdrop.conf.dist.new ${PREFIX}/etc/eggdrop.conf.dist + ${INSTALL_DATA_DIR} ${PREFIX}/share/eggdrop \ + ${PREFIX}/share/eggdrop/help ${PREFIX}/share/eggdrop/language \ + ${PREFIX}/share/eggdrop/scripts ${PREFIX}/share/eggdrop/html \ + ${PREFIX}/share/eggdrop/help/msg ${PREFIX}/share/eggdrop/help/set + ${INSTALL_DATA} ${WRKSRC}/language/core.*.lang \ + ${PREFIX}/share/eggdrop/language/ + cd ${WRKSRC}/doc && ${INSTALL_DATA} BOTNET tcl-commands.doc tricks \ + ${PREFIX}/share/eggdrop/ + cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html ${PREFIX}/share/eggdrop/html + cd ${WRKSRC}/help && ${INSTALL_DATA} cmds1.help cmds2.help core.help \ + ${PREFIX}/share/eggdrop/help/ + cd ${WRKSRC}/help/set && ${INSTALL_DATA} cmds1.help cmds2.help \ + ${PREFIX}/share/eggdrop/help/set/ + cd ${WRKSRC}/scripts && ${INSTALL_DATA} CONTENTS action.fix.tcl \ + autobotchk alltools.tcl botchk cmd_resolve.tcl compat.tcl getops.tcl \ + klined.tcl notes2.tcl ques5.tcl sentinel.tcl userinfo.tcl weed \ + ${PREFIX}/share/eggdrop/scripts/ + +.include "../../mk/bsd.pkg.mk" + +.if defined(NOPIC) +ALL_TARGET= static +.else +do-install: do-install-modules +do-install-modules: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/eggdrop + cd ${WRKSRC} && ${INSTALL_DATA} assoc.so blowfish.so channels.so \ + compress.so console.so ctcp.so dns.so filesys.so irc.so notes.so seen.so \ + server.so share.so transfer.so uptime.so wire.so \ + ${PREFIX}/lib/eggdrop/ +.endif diff --git a/chat/eggdrop/PLIST b/chat/eggdrop/PLIST new file mode 100644 index 00000000000..4ae3e40018d --- /dev/null +++ b/chat/eggdrop/PLIST @@ -0,0 +1,90 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/26 03:48:13 kent Exp $ +bin/eggdrop +etc/eggdrop.conf.dist +lib/eggdrop/assoc.so +lib/eggdrop/blowfish.so +lib/eggdrop/channels.so +lib/eggdrop/compress.so +lib/eggdrop/console.so +lib/eggdrop/ctcp.so +lib/eggdrop/dns.so +lib/eggdrop/filesys.so +lib/eggdrop/irc.so +lib/eggdrop/notes.so +lib/eggdrop/seen.so +lib/eggdrop/server.so +lib/eggdrop/share.so +lib/eggdrop/transfer.so +lib/eggdrop/uptime.so +lib/eggdrop/wire.so +man/man1/eggdrop.1 +share/eggdrop/BOTNET +share/eggdrop/help/cmds1.help +share/eggdrop/help/cmds2.help +share/eggdrop/help/core.help +share/eggdrop/help/set/cmds1.help +share/eggdrop/help/set/cmds2.help +share/eggdrop/html/about.html +share/eggdrop/html/app-problems.html +share/eggdrop/html/app-textsub.html +share/eggdrop/html/app-tricks.html +share/eggdrop/html/app-weird.html +share/eggdrop/html/authors.html +share/eggdrop/html/bans.html +share/eggdrop/html/botnet.html +share/eggdrop/html/compiling.html +share/eggdrop/html/egg-core.html +share/eggdrop/html/faqs.html +share/eggdrop/html/features.html +share/eggdrop/html/index.html +share/eggdrop/html/install.html +share/eggdrop/html/mod-assoc.html +share/eggdrop/html/mod-blowfish.html +share/eggdrop/html/mod-channels.html +share/eggdrop/html/mod-compress.html +share/eggdrop/html/mod-console.html +share/eggdrop/html/mod-ctcp.html +share/eggdrop/html/mod-dns.html +share/eggdrop/html/mod-filesys.html +share/eggdrop/html/mod-irc.html +share/eggdrop/html/mod-notes.html +share/eggdrop/html/mod-seen.html +share/eggdrop/html/mod-server.html +share/eggdrop/html/mod-share.html +share/eggdrop/html/mod-uptime.html +share/eggdrop/html/mod-wire.html +share/eggdrop/html/mod-woobie.html +share/eggdrop/html/news.html +share/eggdrop/html/party.html +share/eggdrop/html/readme.html +share/eggdrop/html/starting.html +share/eggdrop/html/tcl-commands.html +share/eggdrop/html/users.html +share/eggdrop/language/core.english.lang +share/eggdrop/language/core.french.lang +share/eggdrop/language/core.german.lang +share/eggdrop/scripts/CONTENTS +share/eggdrop/scripts/action.fix.tcl +share/eggdrop/scripts/alltools.tcl +share/eggdrop/scripts/autobotchk +share/eggdrop/scripts/botchk +share/eggdrop/scripts/cmd_resolve.tcl +share/eggdrop/scripts/compat.tcl +share/eggdrop/scripts/getops.tcl +share/eggdrop/scripts/klined.tcl +share/eggdrop/scripts/notes2.tcl +share/eggdrop/scripts/ques5.tcl +share/eggdrop/scripts/sentinel.tcl +share/eggdrop/scripts/userinfo.tcl +share/eggdrop/scripts/weed +share/eggdrop/tcl-commands.doc +share/eggdrop/tricks +@comment The directory does not exist for NOPIC, so don't issue an error. +@unexec rmdir %D/lib/eggdrop 2>/dev/null || true +@dirrm share/eggdrop/help/set +@dirrm share/eggdrop/help/msg +@dirrm share/eggdrop/help +@dirrm share/eggdrop/html +@dirrm share/eggdrop/language +@dirrm share/eggdrop/scripts +@dirrm share/eggdrop diff --git a/chat/eggdrop/distinfo b/chat/eggdrop/distinfo new file mode 100644 index 00000000000..411950804d6 --- /dev/null +++ b/chat/eggdrop/distinfo @@ -0,0 +1,13 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/06/26 03:48:13 kent Exp $ + +SHA1 (eggdrop1.6.10.tar.gz) = 11586588909d2e7aa4193a4f921ef42183e2fce2 +Size (eggdrop1.6.10.tar.gz) = 893527 bytes +SHA1 (patch-aa) = 694daa9778be7298cf11b6b718767eaf9d10c8ce +SHA1 (patch-ab) = 4d27ee6281f85b20f4d171e9a9fdf680c5dce211 +SHA1 (patch-ac) = 8fa1a3f239f63f59095964d4753e63efd6fcbc4c +SHA1 (patch-ad) = 8b9f740e82d44df7daeede770fce7f5add751407 +SHA1 (patch-ae) = 8676f61d7cee954a4c5446ace528f1e3292a8cc0 +SHA1 (patch-ag) = 6e42d23a3c0fec35e01aecf8a31ebe58996c5327 +SHA1 (patch-ah) = b9f6e10f0a1a8f73f014ceae5015dc157f8fe124 +SHA1 (patch-ai) = fa86f94b90ba474fdefbdc98ec5a7bd4d3971b3d +SHA1 (patch-aj) = aa68629454ec74fdb7bd63f61bed133686ca794d diff --git a/chat/eggdrop/patches/patch-aa b/chat/eggdrop/patches/patch-aa new file mode 100644 index 00000000000..908db48cb13 --- /dev/null +++ b/chat/eggdrop/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/06/26 03:48:13 kent Exp $ + +--- configure.orig Sat Mar 30 04:48:49 2002 ++++ configure +@@ -2808,7 +2808,13 @@ + *BSD) + # FreeBSD/OpenBSD/NetBSD + SHLIB_CC="$CC -fPIC" +- SHLIB_LD="ld -Bshareable -x" ++ if [ `echo __ELF__ | $CC -E - | grep -v '#'` = 1 ]; then ++ SHLIB_LD="ld -shared -x" ++ BEL_MOD_LD="$CC -Wl,-E $LDFLAGS" ++ else ++ SHLIB_LD="ld -Bshareable -x" ++ BEL_MOD_LD="$CC $LDFLAGS" ++ fi + cat >>confdefs.h <<\EOF + #define MODULES_OK 1 + EOF diff --git a/chat/eggdrop/patches/patch-ab b/chat/eggdrop/patches/patch-ab new file mode 100644 index 00000000000..8b9312f86c0 --- /dev/null +++ b/chat/eggdrop/patches/patch-ab @@ -0,0 +1,41 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/06/26 03:48:13 kent 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 @@ + #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] = __PREFIX__ "/etc/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); + } + #endif ++ ++ chdir(__PREFIX__ "/share/eggdrop"); + + /* Initialise context list */ + for (i = 0; i < 16; i++) +@@ -809,7 +809,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); + + /* Check for pre-existing eggdrop! */ + f = fopen(pid_file, "r"); diff --git a/chat/eggdrop/patches/patch-ac b/chat/eggdrop/patches/patch-ac new file mode 100644 index 00000000000..7db7bd9e4c9 --- /dev/null +++ b/chat/eggdrop/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $ + +--- src/Makefile.in.orig Thu Nov 23 06:56:40 2000 ++++ src/Makefile.in Thu Nov 1 12:57:48 2001 +@@ -16,7 +16,7 @@ + LD = @CC@ + STRIP = @STRIP@ + CFLAGS = @CFLAGS@ -I.. -I$(top_srcdir) @DEFS@ $(CFLGS) +-CPPFLAGS = @CPPFLAGS@ ++CPPFLAGS = @CPPFLAGS@ '-D__PREFIX__="@prefix@"' + + 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 +37,7 @@ + @echo "Linking eggdrop... $(EGGBUILD)" + @echo "" + @touch mod/mod.xlibs +- $(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs` ++ $(LD) -o ../$(EGGEXEC) $(eggdrop_objs) $(MODOBJS) $(XLDFLAGS) $(XLIBS) md5/md5c.o compat/*.o `cat mod/mod.xlibs` + $(STRIP) ../$(EGGEXEC) + @echo "Successful compile: $(EGGEXEC)" + @echo "" diff --git a/chat/eggdrop/patches/patch-ad b/chat/eggdrop/patches/patch-ad new file mode 100644 index 00000000000..d90982a970b --- /dev/null +++ b/chat/eggdrop/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $ + +--- src/mod/filesys.mod/filesys.c.orig Wed Dec 9 20:05:21 1998 ++++ src/mod/filesys.mod/filesys.c Wed Dec 9 20:09:13 1998 +@@ -458,7 +458,7 @@ + if (at_limit(nick)) { + char xxx[1024]; + +- sprintf(xxx, "%d*%s%s", strlen(dccdir), dccdir, dir); ++ sprintf(xxx, "%lu*%s%s", strlen(dccdir), dccdir, dir); + queue_file(xxx, fn, dcc[idx].nick, nick); + dprintf(idx, "Queued: %s to %s\n", fn, nick); + my_free(s); diff --git a/chat/eggdrop/patches/patch-ae b/chat/eggdrop/patches/patch-ae new file mode 100644 index 00000000000..b19c1a3c137 --- /dev/null +++ b/chat/eggdrop/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/06/26 03:48:14 kent 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 @@ + /* 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); + return 1; + } diff --git a/chat/eggdrop/patches/patch-ag b/chat/eggdrop/patches/patch-ag new file mode 100644 index 00000000000..6b1e92c74b4 --- /dev/null +++ b/chat/eggdrop/patches/patch-ag @@ -0,0 +1,57 @@ +$NetBSD + +--- Makefile.in.orig Tue Feb 27 20:06:27 2001 ++++ Makefile.in Fri Nov 2 11:40:10 2001 +@@ -42,7 +42,7 @@ + + # make modules + SHLIB_CC = @SHLIB_CC@ +-SHLIB_LD = @SHLIB_LD@ ++SHLIB_LD = @SHLIB_LD@ -R@TCLLIB@ + SHLIB_STRIP = @SHLIB_STRIP@ + MOD_EXT = @MOD_EXT@ + +@@ -61,6 +61,7 @@ + # stuff for Tcl + XREQS = @TCL_REQS@ + XLIBS = @TCL_LIBS@ @LIBS@ ++XLDFLAGS = -Wl,-R@TCLLIB@ + TCLLIB = @TCLLIB@ + TCLLIBFN = @TCLLIBFN@ + +@@ -86,29 +87,29 @@ + MAKE_MODEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD)' \ + 'STRIP=$(MOD_STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS)' \ + 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \ +-'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=' 'MODOBJS=' ++'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=' 'MODOBJS=' + + MAKE_MODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \ +-'STRIP=$(SHLIB_STRIP)' 'CFLGS=$(CFLGS)' 'XLIBS=$(XLIBS)' 'MOD_EXT=$(MOD_EXT)' ++'STRIP=$(SHLIB_STRIP)' 'CFLGS=$(CFLGS)' 'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' 'MOD_EXT=$(MOD_EXT)' + + MAKE_STATIC = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \ + 'STRIP=$(STRIP)' 'RANLIB=$(RANLIB)' 'CFLGS=$(CFLGS) -DSTATIC' \ + 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \ +-'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static version)' \ ++'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static version)' \ + 'MODOBJS=mod/*.o' + + MAKE_DEBEGG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(MOD_CC)' 'LD=$(MOD_LD) -g' \ + 'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \ + 'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' \ +-'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(debug version)' 'MODOBJS=' ++'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(debug version)' 'MODOBJS=' + + MAKE_DEBMODULES = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(SHLIB_CC)' 'LD=$(SHLIB_LD)' \ +-'XLIBS=$(XLIBS)' 'STRIP=touch' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \ ++'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' 'STRIP=touch' 'CFLGS=-g3 $(DEBCFLAGS) $(CFLGS)' \ + 'MOD_EXT=$(MOD_EXT)' + + MAKE_SDEBUG = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD) -g' \ + 'STRIP=touch' 'RANLIB=$(RANLIB)' 'CFLGS=-g3 $(DEBCFLAGS) -DSTATIC $(CFLGS)' \ +-'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLIBS=$(XLIBS)' \ ++'TCLLIB=$(TCLLIB)' 'TCLLIBFN=$(TCLLIBFN)' 'XREQS=$(XREQS)' 'XLDFLAGS=$(XLDFLAGS)' 'XLIBS=$(XLIBS)' \ + 'EGGEXEC=$(EGGEXEC)' 'EGGBUILD=(static and debug version)' 'MODOBJS=mod/*.o' + + MAKE_DEPEND = $(MAKE) 'MAKE=$(MAKE)' 'CC=$(CC)' 'LD=$(LD)' \ diff --git a/chat/eggdrop/patches/patch-ah b/chat/eggdrop/patches/patch-ah new file mode 100644 index 00000000000..8e0fe4e03ee --- /dev/null +++ b/chat/eggdrop/patches/patch-ah @@ -0,0 +1,13 @@ +$NetBSD: patch-ah,v 1.1.1.1 2002/06/26 03:48:14 kent Exp $ + +--- src/modules.c.orig Mon Jul 16 18:54:01 2001 ++++ src/modules.c Fri Nov 2 11:49:45 2001 +@@ -94,7 +94,7 @@ + #ifndef STATIC + + /* Directory to look for modules */ +-char moddir[121] = "modules/"; ++char moddir[121] = __PREFIX__ "/lib/eggdrop/"; + + #else + diff --git a/chat/eggdrop/patches/patch-ai b/chat/eggdrop/patches/patch-ai new file mode 100644 index 00000000000..38d2e5536cb --- /dev/null +++ b/chat/eggdrop/patches/patch-ai @@ -0,0 +1,25 @@ +$NetBSD: patch-ai,v 1.1.1.1 2002/06/26 03:48:14 kent 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 @@ + 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); + 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 @@ + 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); + if (dcc[idx].u.bot->uff_flags & UFF_OVERRIDE) { + debug1("NOTE: Sharing aggressively with %s, overriding its local bots.", + dcc[idx].nick); diff --git a/chat/eggdrop/patches/patch-aj b/chat/eggdrop/patches/patch-aj new file mode 100644 index 00000000000..9d1c5dab9b0 --- /dev/null +++ b/chat/eggdrop/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1.1.1 2002/06/26 03:48:14 kent 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 @@ + 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); \ + fi; \ + done; \ + echo "" |