diff options
author | Greg Fitzgerald <gregf@gentoo.org> | 2003-08-01 00:29:39 +0000 |
---|---|---|
committer | Greg Fitzgerald <gregf@gentoo.org> | 2003-08-01 00:29:39 +0000 |
commit | 615ec2b9f012f161a4ad3399a2a6cf22bea18699 (patch) | |
tree | 76b75dff70240461b48dacc155ce13bd44607852 /net-irc/eggdrop/files | |
parent | added Manifest (diff) | |
download | gentoo-2-615ec2b9f012f161a4ad3399a2a6cf22bea18699.tar.gz gentoo-2-615ec2b9f012f161a4ad3399a2a6cf22bea18699.tar.bz2 gentoo-2-615ec2b9f012f161a4ad3399a2a6cf22bea18699.zip |
*** empty log message ***
Diffstat (limited to 'net-irc/eggdrop/files')
4 files changed, 280 insertions, 0 deletions
diff --git a/net-irc/eggdrop/files/eggdrop-1.6.15-botchk.patch b/net-irc/eggdrop/files/eggdrop-1.6.15-botchk.patch new file mode 100644 index 000000000000..78a2f25c6720 --- /dev/null +++ b/net-irc/eggdrop/files/eggdrop-1.6.15-botchk.patch @@ -0,0 +1,78 @@ +diff -rcN eggdrop-1.6.15.orig/scripts/botchk eggdrop-1.6.15/scripts/botchk +*** eggdrop-1.6.15.orig/scripts/botchk Sun May 4 18:05:32 2003 +--- eggdrop-1.6.15/scripts/botchk Sat Jun 28 00:22:21 2003 +*************** +*** 4,37 **** + # + # $Id: eggdrop-1.6.15-botchk.patch,v 1.1 2003/08/01 00:29:39 gregf Exp $ + # +! # This is a script suitable for use in a crontab. It checks to make sure +! # your bot is running. YOU NEED A SEPARATE CRON JOB FOR EACH BOT. If your +! # bot isn't found, it'll try to start it back up. + # +! # You'll need to edit this script for your bot. +! # +! # To check for your bot every 10 minutes, put the following line in your +! # crontab: +! # 0,10,20,30,40,50 * * * * /home/mydir/mybot/botchk +! # And if you don't want to get email from crontab when it checks you bot, +! # put the following in your crontab: +! # 0,10,20,30,40,50 * * * * /home/mydir/mybot/botchk >/dev/null 2>&1 + # + + # change this to the directory you run your bot from (capitalization COUNTS): +! botdir="/home/mydir/mybot" + + # change this to the name of your bot's config file (capitalization COUNTS): +! botscript="mybot" + + # change this to the botnet-nick of your bot (capitalization COUNTS): +! botname="LamestBot" + + # change this to the name of your bot's userfile (capitalization COUNTS): +! userfile="LamestBot.user" + + # change this to the name of your bot's pidfile (capitalization COUNTS): +! pidfile="pid.LamestBot" + + ########## you probably don't need to change anything below here ########## + +--- 4,41 ---- + # + # $Id: eggdrop-1.6.15-botchk.patch,v 1.1 2003/08/01 00:29:39 gregf Exp $ + # +! # This script is responsible for actually activating your Eggdrop +! # bot on a Gentoo Linux system. It is derived directly from eggdrop's +! # own botchk script. + # +! # It is called from a unified '/opt/eggdrop/bin/crontick' script, which +! # runs anything identified in /opt/eggdrop/etc/bots.conf. + # + + # change this to the directory you run your bot from (capitalization COUNTS): +! # GENTOO CONFIG: autodetected from /etc/env.d +! botdir="${EGGDIR}" +! echo "botdir is $botdir" + + # change this to the name of your bot's config file (capitalization COUNTS): +! # GENTOO CONFIG: autodetected from ${EGGDIR}/etc/bots.conf +! botscript="etc/${BOTNAME}.conf" +! echo "botscript is $botscript" + + # change this to the botnet-nick of your bot (capitalization COUNTS): +! # GENTOO CONFIG: autodetected from bot script +! botname="${BOTNICK}" +! echo "botname is $botname" + + # change this to the name of your bot's userfile (capitalization COUNTS): +! # GENTOO CONFIG: autodetected from bot script +! userfile="${BOTUSER}" +! echo "userfile is $userfile" + + # change this to the name of your bot's pidfile (capitalization COUNTS): +! # GENTOO CONFIG: autodetected from bot script +! pidfile="${BOTPID}" +! echo "pidfile is $pidfile" + + ########## you probably don't need to change anything below here ########## + diff --git a/net-irc/eggdrop/files/eggdrop-1.6.15-config.patch b/net-irc/eggdrop/files/eggdrop-1.6.15-config.patch new file mode 100644 index 000000000000..743cecca14ef --- /dev/null +++ b/net-irc/eggdrop/files/eggdrop-1.6.15-config.patch @@ -0,0 +1,167 @@ +diff -rcN eggdrop-1.6.15.orig/eggdrop.conf eggdrop1.6.15/eggdrop.conf +*** eggdrop-1.6.15.orig/eggdrop.conf Sun May 4 18:05:32 2003 +--- eggdrop-1.6.15/eggdrop.conf Sat Jun 28 00:20:01 2003 +*************** +*** 1,4 **** +! #! /path/to/executable/eggdrop + # ^- This should contain a fully qualified path to your Eggdrop executable. + # + # $Id: eggdrop-1.6.15-config.patch,v 1.1 2003/08/01 00:29:39 gregf Exp $ +--- 1,4 ---- +! #!/opt/eggdrop/bin/eggdrop + # ^- This should contain a fully qualified path to your Eggdrop executable. + # + # $Id: eggdrop-1.6.15-config.patch,v 1.1 2003/08/01 00:29:39 gregf Exp $ +*************** +*** 22,28 **** + + # This setting defines the username the bot uses on IRC. This setting has + # no effect if an ident daemon is running on your bot's machine. +! set username "lamest" + + # This setting defines which contact person should be shown in .status, + # /msg help, and other places. You really should include this information. +--- 22,28 ---- + + # This setting defines the username the bot uses on IRC. This setting has + # no effect if an ident daemon is running on your bot's machine. +! set username "eggdrop" + + # This setting defines which contact person should be shown in .status, + # /msg help, and other places. You really should include this information. +*************** +*** 129,140 **** + + # This creates a logfile named eggdrop.log containing private msgs/ctcps, + # commands, errors, and misc. info from any channel. +! logfile mco * "logs/eggdrop.log" + + # This creates a logfile named lamest.log containing joins, parts, + # netsplits, kicks, bans, mode changes, and public chat on the + # channel #lamest. +! logfile jpk #lamest "logs/lamest.log" + + # Use this feature to timestamp entries in the log file. + set log-time 1 +--- 129,140 ---- + + # This creates a logfile named eggdrop.log containing private msgs/ctcps, + # commands, errors, and misc. info from any channel. +! logfile mco * "log/eggdrop.log" + + # This creates a logfile named lamest.log containing joins, parts, + # netsplits, kicks, bans, mode changes, and public chat on the + # channel #lamest. +! logfile jpk #lamest "log/lamest.log" + + # Use this feature to timestamp entries in the log file. + set log-time 1 +*************** +*** 175,185 **** + ##### FILES AND DIRECTORIES ##### + + # Specify here the filename your userfile should be saved as. +! set userfile "LamestBot.user" + + # Specify here the filename Eggdrop will save its pid to. If no pidfile is + # specified, pid.(botnet-nick) will be used. +! #set pidfile "pid.LamestBot" + + # If you want your userfile to be sorted upon saving, enable this setting. + # This causes the bot to use bit more CPU when saving the usefile. +--- 175,185 ---- + ##### FILES AND DIRECTORIES ##### + + # Specify here the filename your userfile should be saved as. +! set userfile "var/eggdrop.users" + + # Specify here the filename Eggdrop will save its pid to. If no pidfile is + # specified, pid.(botnet-nick) will be used. +! set pidfile "var/eggdrop.pid" + + # If you want your userfile to be sorted upon saving, enable this setting. + # This causes the bot to use bit more CPU when saving the usefile. +*************** +*** 228,234 **** + # If you want to use a different nickname on the botnet than you use on + # IRC (i.e. if you're on an un-trusted botnet), un-comment the next line + # and set it to the nick you would like to use. +! #set botnet-nick "LlamaBot" + + # This opens a telnet port by which you and other bots can interact with the + # Eggdrop by telneting in. +--- 228,234 ---- + # If you want to use a different nickname on the botnet than you use on + # IRC (i.e. if you're on an un-trusted botnet), un-comment the next line + # and set it to the nick you would like to use. +! set botnet-nick "eggdrop" + + # This opens a telnet port by which you and other bots can interact with the + # Eggdrop by telneting in. +*************** +*** 441,447 **** + loadmodule channels + + # Enter here the filename where dynamic channel settings are stored. +! set chanfile "LamestBot.chan" + + # Set this setting to 1 if you want your bot to expire bans/exempts/invites set + # by other opped bots on the channel. +--- 441,447 ---- + loadmodule channels + + # Enter here the filename where dynamic channel settings are stored. +! set chanfile "var/eggdrop.chan" + + # Set this setting to 1 if you want your bot to expire bans/exempts/invites set + # by other opped bots on the channel. +*************** +*** 778,792 **** + + # Set the nick the bot uses on IRC, and on the botnet unless you specify a + # separate botnet-nick, here. +! set nick "Lamestbot" + + # Set the alternative nick which the bot uses on IRC if the nick specified + # by 'set nick' is unavailable. All '?' characters will be replaced by random + # numbers. +! set altnick "Llamab?t" + + # Set what should be displayed in the real-name field for the bot on IRC. +! set realname "/msg LamestBot hello" + + # This is a Tcl script to be run immediately after connecting to a server. + bind evnt - init-server evnt:init_server +--- 778,792 ---- + + # Set the nick the bot uses on IRC, and on the botnet unless you specify a + # separate botnet-nick, here. +! set nick "eggdrop" + + # Set the alternative nick which the bot uses on IRC if the nick specified + # by 'set nick' is unavailable. All '?' characters will be replaced by random + # numbers. +! set altnick "birddrop" + + # Set what should be displayed in the real-name field for the bot on IRC. +! set realname "/msg eggdrop hello" + + # This is a Tcl script to be run immediately after connecting to a server. + bind evnt - init-server evnt:init_server +*************** +*** 1213,1219 **** + loadmodule notes + + # Set here the filename where private notes between users are stored. +! set notefile "LamestBot.notes" + + # Set here the maximum number of notes to allow to be stored for each user + # (to prevent flooding). +--- 1213,1219 ---- + loadmodule notes + + # Set here the filename where private notes between users are stored. +! set notefile "var/eggdrop.notes" + + # Set here the maximum number of notes to allow to be stored for each user + # (to prevent flooding). diff --git a/net-irc/eggdrop/files/eggdrop-1.6.15-configure-in.patch b/net-irc/eggdrop/files/eggdrop-1.6.15-configure-in.patch new file mode 100644 index 000000000000..c56d40522f3c --- /dev/null +++ b/net-irc/eggdrop/files/eggdrop-1.6.15-configure-in.patch @@ -0,0 +1,21 @@ +diff -rcN eggdrop-1.6.15.orig/configure.in eggdrop-1.6.15/configure.in +*** eggdrop-1.6.15.orig/configure.in Sun May 4 18:05:32 2003 +--- eggdrop-1.6.15/configure.in Sat Jun 28 01:00:40 2003 +*************** +*** 49,55 **** + AC_TYPE_PID_T + AC_TYPE_SIZE_T + AC_C_CONST +! AC_C_BIGENDIAN + AC_C_INLINE + AC_CHECK_SIZEOF(long, 0) + AC_CHECK_SIZEOF(int, 0) +--- 49,56 ---- + AC_TYPE_PID_T + AC_TYPE_SIZE_T + AC_C_CONST +! # GENTOO: This causes an autoconf warning, and seems to get put in anyway. +! # AC_C_BIGENDIAN + AC_C_INLINE + AC_CHECK_SIZEOF(long, 0) + AC_CHECK_SIZEOF(int, 0) diff --git a/net-irc/eggdrop/files/eggdrop-1.6.15-potential-undef-tm-struct.patch b/net-irc/eggdrop/files/eggdrop-1.6.15-potential-undef-tm-struct.patch new file mode 100644 index 000000000000..c23179e1acff --- /dev/null +++ b/net-irc/eggdrop/files/eggdrop-1.6.15-potential-undef-tm-struct.patch @@ -0,0 +1,14 @@ +diff -rcN eggdrop-1.6.15.orig/src/misc.c eggdrop-1.6.15/src/misc.c +*** eggdrop-1.6.15.orig/src/misc.c Sun May 4 18:05:32 2003 +--- eggdrop-1.6.15/src/misc.c Sat Jun 28 00:37:08 2003 +*************** +*** 509,514 **** +--- 509,516 ---- + egg_vsnprintf(out, LOGLINEMAX - tsl, format, va); + out[LOGLINEMAX - tsl] = 0; + if (keep_all_logs) { ++ /* GENTOO: this needs to be here in case shtime is false */ ++ t = localtime(&now2); + if (!logfile_suffix[0]) + egg_strftime(ct, 12, ".%d%b%Y", t); + else { |