pkgsrc/chat/eggdrop/Makefile

90 lines
3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2003/06/02 01:21:26 jschauma Exp $
2002-06-26 05:48:10 +02:00
#
DISTNAME= eggdrop1.6.15
Update to version 1.6.13. Patches provided by Sergey Svishchev <svs+pr at grep dot ru> in PR pkg/19869. Changes: 1.6.13 (22 November 2002) ========================= - doc/MODULES updates - fixed utf-8 handling for config file strings (such as realname) - added a proc to alltools that returns the ordinal number for a number - added support for EMFILE (errno 24 - Too many files open) in neterror() - fixed the list format returned by tcl_channel_info() - don't ban users when not going to kick in refresh_ban_kick() - added a stacking limit for fastdeq - made the modes-per-line limit definable in src/chan.h - [ban/exempt/invite]-time were not being saved to the channel file - halfops were not honored in flush_modes() - fixed cosmetic problems with logging in some irc module commands - exported tell_bottree() to modues - optimized logging functions - removed eggdrop.advanced.conf and eggdrop.simple.conf - adding a missing killsock and lostdcc in eof_dcc_send() and eof_dcc_get() - fixed the logic in check_this_member() - made the timestamp style definable in src/eggdrop.h - added a missing return in bot_actchan() - fixed a problem with 'connect' and 'control' where the script would abort prematurely - don't "want ops" in modeless (+) channels - tell the user to set 'my-ip' when hostname self-lookup fails - improved access checking in -host/+host - fixed a possible buffer overflow in raw_dcc_resend_send() - fixed a missing escape in some regexps in misc/modconfig - channel set #chan chanmode $var corrupted $var in Tcl8.x - don't log "joined #chan but didn't want to" in certain cases where the channel was newly removed or set inactive - cosmetic changes to share_stick_[exempt/invite/ban] - msg_key and msg_invite did not work properly for !channels - show the number of hops in .trace's output - use the proper dynamic lib extention on Mac OSX - return 5 from dccsend if the file exists in the temp directory and copy-to-tmp is enabled - fixed a possible exploit in reaffirm_owners() - friends/ops/bots are now correctly unbanned when a ban is set on a - channel that matches their host - compile fix for systems that do not support snprintf() - fixed a bug where if the bot is kicked while channel information is - still being received, the bot will think it's still on the channel and not rejoin - removed names parsing, as it causes many problems and was only added for compatability with an old version of unrealircd - more broken dprintf's in irc commands - fixed a broken dprintf in cmd_kick() - made [ban/invite/exempt]-time a channel int - documentation updates related to the PUBM bind 1.6.12 (26 July 2002) ===================== - reverted the sockfix patches from 1.6.11 1.6.11 (26 July 2002) ===================== - need-[limit/invite/unban/key] work now - fixed a problem with 'connect' and 'control' where the script would abort prematurely - improved the logic in cmd_mnsban when specifying what happen to remove and where to remove it from - fixed cmd_kickban so it works - fixed a bug causing "[HH:MM] !!! OVER MAXIMUM <queue> QUEUE" to be - logged to LOG_SVROUT - log PINGs/PONGs sent to the server in LOG_SVROUT - some small changes to make eggdrop work with tcl8.4b1 (it won't work with tcl8.4a1 or a2 anymore though) - fixed a crash while doing .kickban -nick - the return values of uname() are now properly checked - added handlen friendly code to various commands (this is a new patch to replace the handlen friendly patch reverted in 1.6.10 - don't show +inactive channels in a remote .who - changed the .status output a bit (includes the name of the config file now) - msg_whois should require an argument. - added support for halfops (channel mode +h) - don't allow channels containing commas to be added.. also made an error message more clear - updates to doc/MODULES - more doc updates - fix for !channels when people quit or change nicks - made all the commands use CHANMETA instead of hardcoding channel types - added 'channel get <chan> <setting>' (backported from 1.7) - uptime.mod will not unload now once loaded (this prevents you from losing your stats on a .restart .. to remove, you have to .die) - uptime.mod now sends the proper pid and also won't send garbage if the bot currently isn't on a server - updated slennox's sentinel.tcl to the latest version - added support for +r on Undernet's ircu 2.10.11 - fixed a crash in seen.mod with long channel names - added support for the +C channel mode (noctcp) on QuakeNet's ircu
2003-01-16 09:23:45 +01:00
PKGNAME= ${DISTNAME:S/eggdrop/eggdrop-/}
CATEGORIES= chat
2002-06-26 05:48:10 +02:00
MASTER_SITES= ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/
EXTRACT_SUFX= .tar.bz2
2002-06-26 05:48:10 +02:00
MAINTAINER= tech-pkg@netbsd.org
2002-06-26 05:48:10 +02:00
HOMEPAGE= http://www.eggheads.org/
COMMENT= IRC robot with TCL scripting and multi-channel ability
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ENV+= TCLLIB="${PREFIX}/lib" TCLINC="${PREFIX}/include"
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
BUILD_DEFS+= USE_INET6
CONFIGURE_ARGS+= --enable-ipv6
PLIST_SUBST+= NOIPV6="@comment "
.else
PLIST_SUBST+= NOIPV6=
.endif
2002-06-26 05:48:10 +02:00
EGDIR= ${PREFIX}/share/examples/eggdrop
CONF_FILES= ${EGDIR}/eggdrop.conf ${PKG_SYSCONFDIR}/eggdrop.conf
2002-06-26 05:48:10 +02:00
post-patch:
cd ${WRKSRC} && ${SED} -e 's,modules/,${PREFIX}/lib/eggdrop/,' \
Update to version 1.6.13. Patches provided by Sergey Svishchev <svs+pr at grep dot ru> in PR pkg/19869. Changes: 1.6.13 (22 November 2002) ========================= - doc/MODULES updates - fixed utf-8 handling for config file strings (such as realname) - added a proc to alltools that returns the ordinal number for a number - added support for EMFILE (errno 24 - Too many files open) in neterror() - fixed the list format returned by tcl_channel_info() - don't ban users when not going to kick in refresh_ban_kick() - added a stacking limit for fastdeq - made the modes-per-line limit definable in src/chan.h - [ban/exempt/invite]-time were not being saved to the channel file - halfops were not honored in flush_modes() - fixed cosmetic problems with logging in some irc module commands - exported tell_bottree() to modues - optimized logging functions - removed eggdrop.advanced.conf and eggdrop.simple.conf - adding a missing killsock and lostdcc in eof_dcc_send() and eof_dcc_get() - fixed the logic in check_this_member() - made the timestamp style definable in src/eggdrop.h - added a missing return in bot_actchan() - fixed a problem with 'connect' and 'control' where the script would abort prematurely - don't "want ops" in modeless (+) channels - tell the user to set 'my-ip' when hostname self-lookup fails - improved access checking in -host/+host - fixed a possible buffer overflow in raw_dcc_resend_send() - fixed a missing escape in some regexps in misc/modconfig - channel set #chan chanmode $var corrupted $var in Tcl8.x - don't log "joined #chan but didn't want to" in certain cases where the channel was newly removed or set inactive - cosmetic changes to share_stick_[exempt/invite/ban] - msg_key and msg_invite did not work properly for !channels - show the number of hops in .trace's output - use the proper dynamic lib extention on Mac OSX - return 5 from dccsend if the file exists in the temp directory and copy-to-tmp is enabled - fixed a possible exploit in reaffirm_owners() - friends/ops/bots are now correctly unbanned when a ban is set on a - channel that matches their host - compile fix for systems that do not support snprintf() - fixed a bug where if the bot is kicked while channel information is - still being received, the bot will think it's still on the channel and not rejoin - removed names parsing, as it causes many problems and was only added for compatability with an old version of unrealircd - more broken dprintf's in irc commands - fixed a broken dprintf in cmd_kick() - made [ban/invite/exempt]-time a channel int - documentation updates related to the PUBM bind 1.6.12 (26 July 2002) ===================== - reverted the sockfix patches from 1.6.11 1.6.11 (26 July 2002) ===================== - need-[limit/invite/unban/key] work now - fixed a problem with 'connect' and 'control' where the script would abort prematurely - improved the logic in cmd_mnsban when specifying what happen to remove and where to remove it from - fixed cmd_kickban so it works - fixed a bug causing "[HH:MM] !!! OVER MAXIMUM <queue> QUEUE" to be - logged to LOG_SVROUT - log PINGs/PONGs sent to the server in LOG_SVROUT - some small changes to make eggdrop work with tcl8.4b1 (it won't work with tcl8.4a1 or a2 anymore though) - fixed a crash while doing .kickban -nick - the return values of uname() are now properly checked - added handlen friendly code to various commands (this is a new patch to replace the handlen friendly patch reverted in 1.6.10 - don't show +inactive channels in a remote .who - changed the .status output a bit (includes the name of the config file now) - msg_whois should require an argument. - added support for halfops (channel mode +h) - don't allow channels containing commas to be added.. also made an error message more clear - updates to doc/MODULES - more doc updates - fix for !channels when people quit or change nicks - made all the commands use CHANMETA instead of hardcoding channel types - added 'channel get <chan> <setting>' (backported from 1.7) - uptime.mod will not unload now once loaded (this prevents you from losing your stats on a .restart .. to remove, you have to .die) - uptime.mod now sends the proper pid and also won't send garbage if the bot currently isn't on a server - updated slennox's sentinel.tcl to the latest version - added support for +r on Undernet's ircu 2.10.11 - fixed a crash in seen.mod with long channel names - added support for the +C channel mode (noctcp) on QuakeNet's ircu
2003-01-16 09:23:45 +01:00
< eggdrop.conf > eggdrop.conf.dist.new
2002-06-26 05:48:10 +02:00
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_DIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/eggdrop.conf.dist.new ${EGDIR}/eggdrop.conf
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/eggdrop
cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html \
${PREFIX}/share/doc/html/eggdrop
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/eggdrop
cd ${WRKSRC}/doc && ${INSTALL_DATA} BANS BOTNET MODULES PARTYLINE \
USERS first_script.txt tcl-commands.doc text-substitutions.doc \
tricks ${PREFIX}/share/doc/eggdrop
${INSTALL_DATA_DIR} ${PREFIX}/share/eggdrop
${INSTALL_DATA_DIR} ${PREFIX}/share/eggdrop/help
${INSTALL_DATA_DIR} ${PREFIX}/share/eggdrop/language
${INSTALL_DATA_DIR} ${PREFIX}/share/eggdrop/scripts
${INSTALL_DATA_DIR} ${PREFIX}/share/eggdrop/help/msg
${INSTALL_DATA_DIR} ${PREFIX}/share/eggdrop/help/set
2002-06-26 05:48:10 +02:00
${INSTALL_DATA} ${WRKSRC}/language/core.*.lang \
${PREFIX}/share/eggdrop/language/
cd ${WRKSRC}/help && ${INSTALL_DATA} cmds1.help cmds2.help core.help \
${PREFIX}/share/eggdrop/help/
cd ${WRKSRC}/help/set && ${INSTALL_DATA} cmds1.help \
2002-06-26 05:48:10 +02:00
${PREFIX}/share/eggdrop/help/set/
cd ${WRKSRC}/scripts && ${INSTALL_DATA} CONTENTS *.tcl autobotchk \
botchk weed ${PREFIX}/share/eggdrop/scripts/
2002-06-26 05:48:10 +02:00
Update to version 1.6.13. Patches provided by Sergey Svishchev <svs+pr at grep dot ru> in PR pkg/19869. Changes: 1.6.13 (22 November 2002) ========================= - doc/MODULES updates - fixed utf-8 handling for config file strings (such as realname) - added a proc to alltools that returns the ordinal number for a number - added support for EMFILE (errno 24 - Too many files open) in neterror() - fixed the list format returned by tcl_channel_info() - don't ban users when not going to kick in refresh_ban_kick() - added a stacking limit for fastdeq - made the modes-per-line limit definable in src/chan.h - [ban/exempt/invite]-time were not being saved to the channel file - halfops were not honored in flush_modes() - fixed cosmetic problems with logging in some irc module commands - exported tell_bottree() to modues - optimized logging functions - removed eggdrop.advanced.conf and eggdrop.simple.conf - adding a missing killsock and lostdcc in eof_dcc_send() and eof_dcc_get() - fixed the logic in check_this_member() - made the timestamp style definable in src/eggdrop.h - added a missing return in bot_actchan() - fixed a problem with 'connect' and 'control' where the script would abort prematurely - don't "want ops" in modeless (+) channels - tell the user to set 'my-ip' when hostname self-lookup fails - improved access checking in -host/+host - fixed a possible buffer overflow in raw_dcc_resend_send() - fixed a missing escape in some regexps in misc/modconfig - channel set #chan chanmode $var corrupted $var in Tcl8.x - don't log "joined #chan but didn't want to" in certain cases where the channel was newly removed or set inactive - cosmetic changes to share_stick_[exempt/invite/ban] - msg_key and msg_invite did not work properly for !channels - show the number of hops in .trace's output - use the proper dynamic lib extention on Mac OSX - return 5 from dccsend if the file exists in the temp directory and copy-to-tmp is enabled - fixed a possible exploit in reaffirm_owners() - friends/ops/bots are now correctly unbanned when a ban is set on a - channel that matches their host - compile fix for systems that do not support snprintf() - fixed a bug where if the bot is kicked while channel information is - still being received, the bot will think it's still on the channel and not rejoin - removed names parsing, as it causes many problems and was only added for compatability with an old version of unrealircd - more broken dprintf's in irc commands - fixed a broken dprintf in cmd_kick() - made [ban/invite/exempt]-time a channel int - documentation updates related to the PUBM bind 1.6.12 (26 July 2002) ===================== - reverted the sockfix patches from 1.6.11 1.6.11 (26 July 2002) ===================== - need-[limit/invite/unban/key] work now - fixed a problem with 'connect' and 'control' where the script would abort prematurely - improved the logic in cmd_mnsban when specifying what happen to remove and where to remove it from - fixed cmd_kickban so it works - fixed a bug causing "[HH:MM] !!! OVER MAXIMUM <queue> QUEUE" to be - logged to LOG_SVROUT - log PINGs/PONGs sent to the server in LOG_SVROUT - some small changes to make eggdrop work with tcl8.4b1 (it won't work with tcl8.4a1 or a2 anymore though) - fixed a crash while doing .kickban -nick - the return values of uname() are now properly checked - added handlen friendly code to various commands (this is a new patch to replace the handlen friendly patch reverted in 1.6.10 - don't show +inactive channels in a remote .who - changed the .status output a bit (includes the name of the config file now) - msg_whois should require an argument. - added support for halfops (channel mode +h) - don't allow channels containing commas to be added.. also made an error message more clear - updates to doc/MODULES - more doc updates - fix for !channels when people quit or change nicks - made all the commands use CHANMETA instead of hardcoding channel types - added 'channel get <chan> <setting>' (backported from 1.7) - uptime.mod will not unload now once loaded (this prevents you from losing your stats on a .restart .. to remove, you have to .die) - uptime.mod now sends the proper pid and also won't send garbage if the bot currently isn't on a server - updated slennox's sentinel.tcl to the latest version - added support for +r on Undernet's ircu 2.10.11 - fixed a crash in seen.mod with long channel names - added support for the +C channel mode (noctcp) on QuakeNet's ircu
2003-01-16 09:23:45 +01:00
.include "../../lang/tcl/buildlink2.mk"
2002-06-26 05:48:10 +02:00
.include "../../mk/bsd.pkg.mk"
.if defined(NOPIC)
ALL_TARGET= static
PLIST_SUBST+= NOPIC="@comment "
2002-06-26 05:48:10 +02:00
.else
PLIST_SUBST+= NOPIC=
2002-06-26 05:48:10 +02:00
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 filesys.so irc.so notes.so \
seen.so server.so share.so transfer.so uptime.so wire.so \
${PREFIX}/lib/eggdrop
.if !defined(USE_INET6) || empty(USE_INET6:M[Yy][Ee][Ss])
${INSTALL_DATA} dns.so ${PREFIX}/lib/eggdrop
.endif
cd ${WRKSRC}/src/mod && ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} "{}" \
${PREFIX}/share/eggdrop/language ";"
2002-06-26 05:48:10 +02:00
.endif