head 1.5; access; symbols pkgsrc-2017Q4:1.4.0.88 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.86 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.82 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.80 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.78 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.76 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.74 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.72 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.70 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.68 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.66 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.64 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.62 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.60 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.58 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.56 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.54 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.52 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.50 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.48 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.46 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.44 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.42 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.40 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.38 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.36 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.34 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.32 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.30 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.28 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.26 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.24 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.22 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.20 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.18 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.16 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.14 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.12 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.10 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.8 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.6 pkgsrc-2008Q1:1.4.0.4 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.2 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.3.0.24 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.22 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.20 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.18 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.16 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.14 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.12 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.10 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.8 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.6 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.4 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.1.1.0.4 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.6 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.2 pkgviews-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2018.03.15.06.07.56; author wiz; state dead; branches; next 1.4; commitid 90cziHUTvsmc9wuA; 1.4 date 2007.10.18.09.15.34; author obache; state Exp; branches; next 1.3; 1.3 date 2004.12.03.12.15.54; author adam; state Exp; branches; next 1.2; 1.2 date 2003.05.24.16.43.06; author salo; state Exp; branches; next 1.1; 1.1 date 2002.06.26.03.48.14; author kent; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.06.26.03.48.14; author kent; state Exp; branches; next ; desc @@ 1.5 log @eggdrop: remove patches that are not in distinfo @ text @$NetBSD: patch-ai,v 1.4 2007/10/18 09:15:34 obache Exp $ --- src/mod/share.mod/share.c.orig 2006-03-28 02:35:51.000000000 +0000 +++ src/mod/share.mod/share.c @@@@ -1122,7 +1122,8 @@@@ static void share_ufsend(int idx, char * int i, sock; FILE *f; - egg_snprintf(s, sizeof s, ".share.%s.%li.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"); @@@@ -1891,8 +1892,8 @@@@ static void start_sending_users(int idx) 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); @ 1.4 log @Update eggdrop to 1.6.18. While here, fixes PR 30307, ipv6 option isn't supported since version 1.6.16. 1.6.18 (09 July 2006) * Look for Tcl in /lib64 and /usr/lib64. * Patch by: Kuja + RC1 released on April 3rd, 2006. * Fixed a type conversion problem in snprintf.c causing Eggdrop to not compile on OSF1. * Found by: Joker - Patch by: Wcc - Detect NetBSD Tcl in /usr/pkg/lib and /usr/pkg/include. * Found by: mish - Patch by: Wcc - Fixed possibility of referencing a NULL pointer in rembot(). - Added a missing param cast for dcc_table.timeout. - Fixed a memleak / other nasty stuff when MODES_PER_LINE_MAX != 6. - Fixed putlog() of an uninitialized (and incorrect) variable in dcc_telnet_hostresolved(). * Patch by: lordares - Valgrind doesn't bitch about init_uptime() now. * Patch by: Wcc - Dns.mod should compile on Mac OS X now. Thanks to Netscrape @@ EFNet for testing. * Found by: various - Patch by: Wcc - Corrected nat-ip setting documentation. * Found by: BarkerJr - Patch by: Wcc - Don't allow realname to be blank or whitespace. * Found by: Jesse M - Patch by: BarkerJr / Wcc - Fixed an error in channel get. You can now, correctly, do a channel get #channel stopnethack-mode. * Found by: Chris Northwood - Patch by: Wcc - The pushmode command should work properly for bans now. * Patch by: thommey - Apparently we broke lastbind. * Found by: bUrN - Patch by: thommey - Request topic on channel reset. * Found by: De Kus - Patch by: Darko - Fixed a situation where noshare could be set to 1 and never restored. * Patch by: lordares - Fixed a socklist leak in net.c. * Patch by: lordares - Hopefully fixed dns lockups. * Found by: various - Patch by: Sven Trenkel - Fixed remote note bug in add_note() that was introduced in 1.6.17. Fixes Bugzilla Bug # 433 "Remote Notes Always Say User is Offline" * Found by: alex323 - Patch by: Tothwolf - Completely rewrote check_tcl_bind(). - Added inline check_bind_flags() for flag checking for check_tcl_bind(). - Added inline check_bind_match() for match checking for check_tcl_bind(). - Rewrote trigger_bind() and made it inline for check_tcl_bind(). - Fixed pointless calling of nmalloc() and nfree() for ContextNote in trigger_bind() when DEBUG_CONTEXT isn't defined. - Moved findidx() from tcl.c to dccutil.c. - Moved findanyidx() from tclhash.c to dccutil.c. - Moved CHECKVALIDITY from tclhash.h to tclegg.h. - Added CHECKVALIDITY checks to builtin_dcc() and builtin_fil(). - Moved CMD_LEAVE from cmdt.h to tclegg.h. - Changed NULL to CMD_LEAVE for partyline quit in cmds.c. - Renamed BIND_EXEC_BRK to BIND_QUIT. - Fixed misc typos. * Patch by: Tothwolf - Added support to MSGM, PUBM, NOTC, and WALL binds to support bound procs returning 1 to prevent logging of the trigger message text. Fixes Bugzilla Bug # 334 "msgm bind return values" - Added BIND_STACKRET bit mask and support for stacked bind return values to check_tcl_bind(). This allows check_tcl_bind() to check if any stacked bound procs return 1 while allowing all matching stacked binds to be processed. Previously if BIND_WANTRET was used to check the return value of stacked binds, only the first match would be triggered. - Modified irc.mod gotmsg() function to trigger PUBM binds before triggering PUB binds. MSGM and MSG binds already worked this way. - Modified irc.mod gotmsg() function to allow a message to trigger both PUBM and PUB binds. Previously if a message triggered a PUB bind, any PUBM binds that might match the message text would not be triggered. Fixes Bugzilla Bug # 351 "bind pub hogs pubm" - Added exclusive-binds setting and code to gotmsg() functions to allow MSGM and PUBM binds to be exclusive of MSG and PUB binds. - Fixed logging for WALL bind. It had been broken since it was originally implemented in eggdrop-hayes. Wallops messages were always logged regardless of the return value of a bound proc. Returning '1' from a bound proc now causes Eggdrop to not log the Wallops message. * Patch by: Tothwolf - Check for Tcl 8.5 before older versions. * Patch by: Tothwolf - Use flagrec_eq() instead of flagrec_ok() in help_subst() since lower flags are automatically added now. * Patch by: Tothwolf - Check for bot's nick and user@@host earlier in detect_flood() and detect_chan_flood(). * Patch by: Tothwolf - Allow wildcard matching and stacking for note binds. * Patch by: Tothwolf - Use CHANMETA to define valid channel prefixes in gotmsg(). * Found by: zathras3 at hotmail.com - Patch by: Wcc - Fix for problems created when loading long user-defined channel setting names from the channel file. * Patch by: Stream - Help file update related to sharing. * Patch by: Shawn888, slennox - Fix for randint() on Solaris / SunOS. * Patch by: Mikael Hedberg - Updated Copyright Dates. * Patch by: Paladin - Fixed 3 invalid reads in notes.c. * Patch by: rush at winkey.oompah.org - Corrected a few of the error messages in neterror(). * Found by: Steven Nikkel - Patch by: Wcc - Corrected the order of our search paths for Tcl. This should help stop version mismatches between the headers and libraries. * Patch by: CoderX2 @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.3 2004/12/03 12:15:54 adam Exp $ @ 1.3 log @Changes 1.6.17: - Lots of doc updates. - Added a "stripcodes" Tcl command. See doc/tcl-commands.doc for more information. - Bot idx's should be considered valid to tcl_valididx. - Always try to detect shared Tcl libraries before static ones. - We now correctly differentiate the +l user flag from the +l bot flag. - Cleaned up modules.c and the module configure stuff quite a bit. - Detect Tcl in $HOME/lib and $HOME/tcl/lib first, as to make it easier to allow users to override the system's Tcl version. - We now support module loading under Darwin (Mac OS X) and NeXT Step. - Don't try to call tcl_notes if the notes module isn't loaded. - Show a more descriptive error message when a listen socket can't be opened. - Fixed Tcl encoding issues with .tcl and .set. - Added a set of Finnish language files and a Finnish MOTD. - time_t isn't unsigned, and therefor %lu should not be used as a conversion specifier. - Fixed a gcc warning in dcc.c. - Added support for Quakenet channel modes. - Removed an invalid killsock() in dcc.c. - Fixed extra spaces being written to chan file. - Reworked 'make config' / module configure process. - Op (+o) implies halfop (+l) now. - Cleaned up and optimized rmspace() and fixfrom(). - Updated recomended Tcl version to 8.4.6. - Fix behavior of the BCST bind. BCST is now correctly triggered for dccbroadcasts, as well as when a bot "says" something on a channel. See doc/tcl-commands.doc for more information. - Remove some unneeded casts. - Fixed performance issues with mv/cp when a lot of files are in the file area. - Typo in doc/COMPILING-FAQ. It's LD_LIBRARY_PATH, not LB_LIBRARY_PATH. - Fix a possible issue with ident code. - Don't let .tcl mkdir create duplicate filedb entries. - Fixed a compile error related to varargs when using old Tcl versions. - Fixed a compile error on systems that don't have socklen_t. - Suppress configure warnings on systems that use newer versions of GNU coreutils. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/mod/share.mod/share.c.orig 2004-07-02 21:02:02.000000000 +0000 d5 1 a5 1 @@@@ -1120,7 +1120,8 @@@@ static void share_ufsend(int idx, char * d15 1 a15 1 @@@@ -1889,8 +1890,8 @@@@ static void start_sending_users(int idx) @ 1.2 log @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. @ text @d3 3 a5 3 --- 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 @@@@ d9 1 a9 1 - egg_snprintf(s, sizeof s, ".share.%s.%lu.users", botnetnick, now); d11 1 a11 1 + tempdir, botnetnick, now); d15 1 a15 1 @@@@ -1883,8 +1884,8 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-ai,v 1.1.1.1 2002/06/25 14:05:40 kent Exp $ d3 3 a5 3 --- 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 @@@@ d10 2 a11 2 + egg_snprintf(s, sizeof s, "%.100s/.share.%.32s.%lu.users", + tempdir, botnetnick, now); d15 1 a15 1 @@@@ -1890,8 +1893,8 @@@@ d20 3 a22 3 - now); + egg_snprintf(share_file, sizeof share_file, "%.100s/.share.%.32s.%lu", + tempdir, dcc[idx].nick, now); d25 1 a25 1 dcc[idx].nick); @ 1.1.1.1 log @Re-import eggdrop as chat/eggdrop. @ text @@