Updated emech to 3.0.2.

Removed the MESSAGE file, since it was outdated and there is good online
documentation.

Changes since 2.7.*:
3.0.2 -- May 8th, 2006.
 * Fixed: Critical crash bug in parse_notice

3.0.1 -- August 28th, 2005.

 * Fixed: Socket corruption when terminating a DCC or telnet chat.
 * Fixed: Bouncer using virtual host.
 * Fixed: Bouncer timeout after irc connection.
 * Added: Status message for trying a new server.
 * Fixed: BNCPORT setting now reacts when altering a live port
 * Added: DIE in config file
 * Fixed: When users are added or modified, the channel user
   list will update to reflect the proper user levels.
 * Fixed: Greet will now display properly in userlist.
 * Fixed: ALTNICK in sample.conf
 * Fixed: Cygwin uptime bot type WINMECH
 * Fixed: Makefile flaws
 * Fixed: Server removal (server -host)
 * Fixed: DNS timeout server cycle
 * Fixed: Channel spy source.

3.0 -- August 1st, 2005.

 * Added: "USER +handle" now works aswell as "USER + handle"
 * Fixed: bus error on sparc in async dns
 * Fixed: crash bug in LINK command (faulty arguments)
 * Fixed: ENFPASS
 * Fixed: botnet verify
 * Added: +NS (non shared) and +RO (readonly) user flags.
 * Added: CMD command
 * Removed: ADDLINK/DELLINK commands, use LINK +/-
 * Added: Verify over botnet
 * Added: botnet spy source
 * Added: Multiple channels per user record
 * Added: sendQ for certain command output
 * Fixed: faulty error message in KB/SITEKB/SCREW
 * Added: reset recovers server name
 * Added: Telnet connections are now recovered in reset.
 * Added: Shitlist output now shows all relevant information.
 * Added: Action levels to the KS feature.
 * Fixed: commands that output tables now output better formatted tables
 * Fixed: bots crashing when they are kicked (themselves)
 * Fixed: botnet bots given op without matching access 200.
 * Fixed: a few commands crashing when given no arguments.
 * Fixed: USER command setting a users access to zero every change.
 * Added: Auto-detecting MODES setting on networks with 005 reply.
 * Changed: OPMODES renamed to MODES, affecting how many modes per line.
 * Removed: BANMODES setting.
 * Fixed: Compiled OK with GCC 3.4.3
 * Removed: ADD, DEL commands, use USER +/- instead.
 * Fixed: ESAY no longer suffers from buffer overflow problems
 * Fixed: AUB will no longer unban Shits level 3+
 * Fixed: Session file now saves all (?) new options and settings
 * Fixed: NCL (Nick flood kicks) now work properly.
 * Changed: "NETPASS" setting renamed to "LINKPASS"
 * Changed: file comment char changed to ; (semicolon)
 * Removed: ADDSERVER, DELSERVER commands, use SERVER +/- instead.
 * Added: telnet. you can connect to the bot via the botnet listen socket.
 * Added: Its now possible to use an internal md5 version if your
   system does not provide one. ./configure --md5=internal
 * Added: Settings now have access levels associated with them.
   It should be impossible to view/set/access a setting if your
   level is insufficient.
 * Added: USER command now accepts option +/-host
   Usage: USER <handle> <+HOST|-HOST> <mask>
 * Removed: HOST command.
 * Added: the mech now accepts certain chars at the end of its
   nickname when you give it commands, ex: "mechname," works
 * Added: Notify no longer loads automatically, you need
   to put "NOTIFY -RELOAD" in the configuration file.
 * Added: Notify nicks can now be added and removed online
   Usage: NOTIFY [+ <nick> [mask(s)] [:comment]]
   Usage: NOTIFY [- <nick>]
 * Added: DCC file receive and settings for DCC control
   Usage: SET DCCANON <number>
   Usage: SET DCCUSER <number>
   Usage: SET DCCFILES <mask [...]>
 * Removed: REPORT command, use `SET [channel]' for the same functionality
 * Changed: commands can now be disabled permanently (until bot is restarted)
   Usage: CHACCESS <command> disable
 * Added: DYNLIMIT string setting to configure the dynlimit feature
   Usage: SET DYNLIMIT xx:yy:zz
   where xx is the number of seconds between each mode update, 20-600 seconds
   where yy is the number to divide the current user number with to get the
   window size, 5-50 (ex, 100 users on channel divided by 10 = window of +/-10)
   where zz is the minimum window size, 1-50.
   default values are 90 seconds, window 10 and minimum 4; "90:10:4"
 * Removed: DYNLIMIT toggle
 * Added: userlist sharing over botnet
 * Added: MD5 bot linking password exchange support
 * Added: TCL: `hook dcc_complete - callback'
   callback arguments: to, filename, cps
 * Fixed: Compiled OK with GCC 3.4.2 (with -fno-strict-aliasing)
 * Added: internally generated html for /internalstatus.html
   and /internaldebug.html (if compiled with debug support)
 * Added: INFO command shows basic statistics for all channels
 * Changed: SERVERLIST command removed, SERVER command with
   no arguments now lists all known servers
 * Added: Support for Undernet WALLCHOPS command (WALL)
 * Fixed: MODE command now working as intended
 * Added: tcl_dcc_sendfile <to> <filename>
   returns filesize on success
 * Changed: E3 now accepts nicks of any length
 * Added: DCC filesend: SEND [to] <filename>
 * Added: now using async/rawdns to lookup uptime hostname
 * Added: now using async/rawdns to connect to irc servers
 * Changed: timestamp in log format now includes year, month, date
 * Fixed: crash bug with `SETPASS <user> none'
 * Fixed: crash bug with HELP commands having no arguments
 * Added: ALTNICK setting for desired alternate nicks
 * Fixed: Removed lingering prototypes in h.h			[ wy|d + Deke ]
 * Added: MD5 support for password encryption
 * Fixed: mech.session now gets saved on SHUTDOWN               [ endorphin ]
 * Added: CTIMEOUT setting for connection timeouts
 * Added: NOTE command to send notes to users in the userlist
   Usage: NOTE <handle>
 * Fixed: Respawn counter now works properly when bot restarts
 * Added: dynamode.c, dynamic altering of +l limit according
   to the number of users present in the channel
 * Fixed: `SETPASS <user> none' bug regarding min pass len
 * Changed: SeenList is now kept on process level
 * Added: UMODES setting to control the modes that the bot
   sets for itself when connecting to servers
 * Changed: ESAY $tog() has been changed into a full-featured
   system that handles all settings; $tog() renamed to $var()
 * Fixed: ESAY $tog() parsing bug causing bad output
 * Added: Something that still looks like a HTTP interface
   this is a very sketchy feature sofar tho
 * Added: Chosen commands {now=HELP,USAGE} can be redirected
   to other users or channels
 * Added: ONJOINFILE channel setting, wonder why :]
 * Added: greets (readded from old times)
 * Added: Keep debug fd and server sockets when using
   the RESET command. Even tho it execs, it's never
   disconnected from the server.
 * Fixed: Auths not timing out if user was visible in           [ found by endorphin ]
   an old (kicked/parted) channel userlist
 * Removed: TOG command, use SET instead
 * Changed: aliases are now way powerful
 * Added: All types of SPY can be redirected to
   channels and/or files.
   Usage: SPY <channel|STATUS|MESSAGE> [channel|">" filename]
   Usage: RSPY <channel|STATUS|MESSAGE> [nick|channel|">" filename]
 * Removed: CHANLOG toggle
 * Removed: STATMSG, SPYMSG, RSTATMSG, RSPYMSG
 * Added: Short delay for server reconnect actions
 * Fixed: Random server disconnects
 * Removed: USTATS, stupid redundant command
 * Removed: SHITLVL command, use RSHIT+SHIT instead
 * Removed: All linking and telnet code is gone and
   pipeuser code is now broken
 * Changed: config file is now a list of `real' commands
 * Changed: CMDCHAR <char> --> SET CMDCHAR <char>
 * Changed: AUTOLINK --> TOG AUTOLINK <0|1|ON|OFF>
 * Changed: USERFILE <file> --> SET USERFILE <file>
 * Changed: HASONOTICE --> TOG ONOTICE <0|1|ON|OFF>
 * Removed: IWM toggle, didnt do anything useful
 * Fixed: Random disconnects from DCC
 * Added: Extra entries in randinsult.e
 * Fixed: Merged endo's seen-ago patch				[ endorphin ]
 * Added: Uptime reporting client code
 * Fixed: WinGate proxy now works again...
 * Added: Fastnick option hidden in src/config.h
 * Fixed: Bot not knowing it was opped when joining		[ found by endorphin ]
   empty channels.
 * Changed: Split mech.help into ./help/* files
 * Fixed: No-key-saved in session file plus some small
   optimizations...
This commit is contained in:
rillig 2007-03-17 14:13:22 +00:00
parent 9138a70d33
commit f4bad7b8ba
5 changed files with 17 additions and 62 deletions

View file

@ -1,28 +0,0 @@
===========================================================================
$NetBSD: MESSAGE,v 1.3 2003/06/29 13:58:39 wiz Exp $
Quickstart quide:
0) Choose a home for emech, where the user running emech will have write
permission. For instance, /var/run/emech
1) cp ${PREFIX}/share/example/emech/sample.set ${PREFIX}/etc/mech.set
2) vi ${PREFIX}/etc/mech.set
-- look through the file for sections to change, you will have to remove
lines in order to get the bot to work. Check the file completely!
3) genuser /var/run/emech/emech.users
-- It seems that things work better with a DNS address in the hostmask
instead of an IP address..
4) cd /var/run/emech/
-- the user that will be running emech needs write access to this directory
5) ${PREFIX}/bin/mech -f ${PREFIX}/etc/mech.set
-- The full path to the binary is mandatory.
6) See documentation in ${PREFIX}/share/example/emech/mech.help and on
http://www.energymech.net/docs/
===========================================================================

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.4 2006/01/07 21:39:49 rillig Exp $
# $NetBSD: Makefile,v 1.5 2007/03/17 14:13:23 rillig Exp $
#
DISTNAME= emech-2.8.4
DISTNAME= emech-3.0.2
CATEGORIES= chat
MASTER_SITES= http://www.energymech.net/files/
@ -9,20 +9,16 @@ MAINTAINER= manu@NetBSD.org
HOMEPAGE= http://www.energymech.net/
COMMENT= IRC bot written in C
HAS_CONFIGURE= YES
HAS_CONFIGURE= YES
# The ./configure script is interactive, but selects the default values
# when given no input.
do-configure:
cd ${WRKSRC} && ./configure </dev/null
CONFIGURE_ARGS+= < /dev/null
BUILD_TARGET= mech
INSTALLATION_DIRS_FROM_PLIST= yes
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/mech ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/genuser ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/example/emech
${INSTALL_DATA} ${WRKSRC}/sample.set \
${PREFIX}/share/example/emech/
${INSTALL_DATA} ${WRKSRC}/mech.help \
${PREFIX}/share/example/emech/
${INSTALL_PROGRAM} ${WRKSRC}/energymech ${PREFIX}/bin/mech
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/emech
${INSTALL_DATA} ${WRKSRC}/sample.conf ${PREFIX}/share/examples/emech/
.include "../../mk/bsd.pkg.mk"

View file

@ -1,6 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2002/06/06 17:10:32 schmonz Exp $
@comment $NetBSD: PLIST,v 1.3 2007/03/17 14:13:23 rillig Exp $
bin/mech
bin/genuser
share/example/emech/sample.set
share/example/emech/mech.help
@dirrm share/example/emech
share/examples/emech/sample.conf
@dirrm share/examples/emech

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.3 2005/12/13 16:01:26 joerg Exp $
$NetBSD: distinfo,v 1.4 2007/03/17 14:13:23 rillig Exp $
SHA1 (emech-2.8.4.tar.gz) = ebc2c21e69f7b54e8657202ee2f72804607b754b
RMD160 (emech-2.8.4.tar.gz) = 1f68091ec0e75dfda68078c7a026e55eb91286f0
Size (emech-2.8.4.tar.gz) = 170610 bytes
SHA1 (emech-3.0.2.tar.gz) = f74a07136cf6b672b496564c4838e12246f25c0a
RMD160 (emech-3.0.2.tar.gz) = 2c4bed99dc200afd3636cae948eea193a85e65c2
Size (emech-3.0.2.tar.gz) = 229907 bytes
SHA1 (patch-aa) = bd69c3628e414de3d151a23a004887d81ad4d765
SHA1 (patch-ab) = 628d0e9a7d8a8a7792fd2e4723fe6afe64732009

View file

@ -1,12 +0,0 @@
$NetBSD: patch-aa,v 1.1 2005/12/13 16:01:26 joerg Exp $
--- src/link.c.orig 2005-12-13 15:56:08.000000000 +0000
+++ src/link.c
@@ -1988,6 +1988,7 @@ auto_try:
add_aBotLink(&new);
no_autolink: /* end of autolinking */
+ ;
}
#endif /* LINKING */