diff --git a/irc/eggdrop/Makefile b/irc/eggdrop/Makefile index e3c87d00436b..1d7d305414b0 100644 --- a/irc/eggdrop/Makefile +++ b/irc/eggdrop/Makefile @@ -1,111 +1,111 @@ PORTNAME= eggdrop -DISTVERSION= 1.9.3 -PORTREVISION= 1 +DISTVERSION= 1.10.0 CATEGORIES= irc MASTER_SITES= https://github.com/eggheads/${PORTNAME}/releases/download/v${DISTVERSION}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cpetrik@proton.me COMMENT= Popular Internet Relay Chat (IRC) bot WWW= https://www.eggheads.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -USES= tcl ssl +USES= compiler:c11 cpe ssl tcl GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcllib=${LOCALBASE}/lib/libtcl${TCL_SHLIB_VER}.so \ - --with-tclinc=${LOCALBASE}/include/tcl${TCL_VER}/tcl.h \ - --with-sslinc=${OPENSSLINC} \ - --with-ssllib=${OPENSSLLIB} +CONFIGURE_ARGS= --with-sslinc=${OPENSSLINC} \ + --with-ssllib=${OPENSSLLIB} \ + --with-tclinc=${TCL_INCLUDEDIR}/tcl.h \ + --with-tcllib=${TCL_LIBDIR}/libtcl${TCL_SHLIB_VER}.so SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS post-patch: + @${REINPLACE_CMD} -e 's|tcl.h|tcl${TCL_VER}/tcl.h|g' ${WRKSRC}/src/mod/python.mod/pycmds.c @${SED} -e 's#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \ > ${WRKSRC}/eggdrop.conf.sample post-configure: @(cd ${WRKSRC}; ${MAKE} config) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/eggdrop ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/man1/eggdrop.1 ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_DATA} ${WRKSRC}/eggdrop.conf.sample ${STAGEDIR}${PREFIX}/etc @${MKDIR} ${STAGEDIR}${PREFIX}/lib/eggdrop -.for f in 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 +.for f in 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 ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/lib/eggdrop .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/help .for f in assoc.mod/help/assoc.help channels.mod/help/chaninfo.help \ channels.mod/help/channels.help console.mod/help/console.help \ compress.mod/help/compress.help ctcp.mod/help/ctcp.help \ filesys.mod/help/filesys.help irc.mod/help/irc.help \ notes.mod/help/notes.help seen.mod/help/seen.help \ server.mod/help/server.help share.mod/help/share.help \ transfer.mod/help/transfer.help uptime.mod/help/uptime.help ${INSTALL_DATA} ${WRKSRC}/src/mod/${f} ${STAGEDIR}${DATADIR}/help .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/help/set .for f in channels.mod/help/set/channels.help \ - compress.mod/help/set/compress.help \ - console.mod/help/set/console.help ctcp.mod/help/set/ctcp.help \ - filesys.mod/help/set/filesys.help irc.mod/help/set/irc.help \ - notes.mod/help/set/notes.help server.mod/help/set/server.help \ - share.mod/help/set/share.help transfer.mod/help/set/transfer.help + compress.mod/help/set/compress.help console.mod/help/set/console.help \ + ctcp.mod/help/set/ctcp.help filesys.mod/help/set/filesys.help \ + irc.mod/help/set/irc.help notes.mod/help/set/notes.help \ + server.mod/help/set/server.help share.mod/help/set/share.help \ + transfer.mod/help/set/transfer.help ${INSTALL_DATA} ${WRKSRC}/src/mod/$f ${STAGEDIR}${DATADIR}/help/set .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/help/msg .for f in irc.mod/help/msg/irc.help notes.mod/help/msg/notes.help \ seen.mod/help/msg/seen.help ${INSTALL_DATA} ${WRKSRC}/src/mod/$f ${STAGEDIR}${DATADIR}/help/msg .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/language ${INSTALL_DATA} ${WRKSRC}/language/core.*.lang ${STAGEDIR}${DATADIR}/language @cd ${WRKSRC}/src/mod \ && ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} {} \ ${STAGEDIR}${DATADIR}/language ";" @${MKDIR} ${STAGEDIR}${DATADIR}/scripts -.for f in CONTENTS action.fix.tcl autobotchk alltools.tcl botchk \ - cmd_resolve.tcl compat.tcl dccwhois.tcl getops.tcl klined.tcl notes2.tcl ques5.tcl \ +.for f in CONTENTS action.fix.tcl autobotchk alltools.tcl botchk cmd_resolve.tcl \ + compat.tcl dccwhois.tcl getops.tcl klined.tcl notes2.tcl ques5.tcl \ quotepong.tcl sentinel.tcl userinfo.tcl weed ${INSTALL_DATA} ${WRKSRC}/scripts/${f} ${STAGEDIR}${DATADIR}/scripts .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/scripts/help .for f in cmd_resolve.help userinfo.help ${INSTALL_DATA} ${WRKSRC}/scripts/help/${f} ${STAGEDIR}${DATADIR}/scripts/help .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/scripts/help/msg .for f in userinfo.help ${INSTALL_DATA} ${WRKSRC}/scripts/help/msg/${f} ${STAGEDIR}${DATADIR}/scripts/help/msg .endfor .for f in cmds1.help cmds2.help core.help ${INSTALL_DATA} ${WRKSRC}/help/${f} ${STAGEDIR}${DATADIR}/help .endfor .for f in cmds1.help ${INSTALL_DATA} ${WRKSRC}/help/set/${f} ${STAGEDIR}${DATADIR}/help/set .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/text .for f in banner motd ${INSTALL_DATA} ${WRKSRC}/text/${f} ${STAGEDIR}${DATADIR}/text .endfor do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for f in ABOUT BANS BOTNET BUG-REPORT COMPILE-GUIDE CONTENTS \ - FIRST-SCRIPT MODULES PARTYLINE PATCH-HOWTO \ - TRICKS Changes1.6 USERS \ - tcl-commands.doc +.for f in ABOUT ACCOUNTS AUTOSCRIPTS BANS BOTNET BUG-REPORT COMPILE-GUIDE \ + CONTENTS FIRST-SCRIPT IPV6 IRCv3 LEGAL modules/MODULES PARTYLINE \ + PATCH-HOWTO PBKDF2 TLS TRICKS TWITCH Changes1.9 USERS tcl-commands.doc \ + twitch-tcl-commands.doc ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/html cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html ${STAGEDIR}${DOCSDIR}/html @${MKDIR} ${STAGEDIR}${DOCSDIR}/settings cd ${WRKSRC}/doc/settings && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/settings .include diff --git a/irc/eggdrop/distinfo b/irc/eggdrop/distinfo index 8a3603b08200..bf8ccf6a5af9 100644 --- a/irc/eggdrop/distinfo +++ b/irc/eggdrop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661601129 -SHA256 (eggdrop-1.9.3.tar.gz) = 658542e8cba4705aeb096b08d8a42d1a994a808c204a4d7050c8a37bd24bc79f -SIZE (eggdrop-1.9.3.tar.gz) = 2046726 +TIMESTAMP = 1734666962 +SHA256 (eggdrop-1.10.0.tar.gz) = 1f1707eb5023df8e0bcaa53c937e7ce5282fa1f85dc37e11d6ce4aa9d438d752 +SIZE (eggdrop-1.10.0.tar.gz) = 2215632 diff --git a/irc/eggdrop/files/patch-eggdrop.conf b/irc/eggdrop/files/patch-eggdrop.conf index a8c1635b29dc..b2e3a00a6837 100644 --- a/irc/eggdrop/files/patch-eggdrop.conf +++ b/irc/eggdrop/files/patch-eggdrop.conf @@ -1,29 +1,28 @@ ---- eggdrop.conf.orig 2018-12-27 18:51:16 UTC -+++ eggdrop.conf +--- eggdrop.conf.bak 2024-12-19 22:03:18.314826000 -0600 ++++ eggdrop.conf 2024-12-19 22:11:55.124362000 -0600 @@ -1,4 +1,4 @@ -#! /path/to/executable/eggdrop +#!%%PREFIX%%/bin/eggdrop # ^- This should contain a fully qualified path to your Eggdrop executable. # # This is a sample Eggdrop configuration file which includes all possible -@@ -604,7 +604,7 @@ die "Please make sure you edit your config file comple - # If you run the bot from the compilation directory, you will want to set - # this to "". If you use 'make install' (like all good kiddies do ;), this - # is a fine default. Otherwise, use your head :) +@@ -607,7 +607,7 @@ + # This path specifies the path were Eggdrop should look for its modules. + # If you use 'make install' (like all good kiddies do ;), this is a fine + # default. Otherwise, use your head :) -set mod-path "modules/" -+set mod-path "%%PREFIX%%/lib/eggdrop/" ++set mod-path "%%PREFIX%%/lib/modules/" - #### BLOWFISH MODULE #### -@@ -1047,6 +1047,11 @@ set servers { - [2001:db8:618:5c0:263::]:6669:password - ssl.example.net:+6697 - } -+ + #### PBKDF2 MODULE #### +@@ -1082,6 +1082,10 @@ + server add 2001:db8:618:5c0:263:: 6669 password + server add ssl.example.net +7000 + +# Set this option, if you want a SSL connection to the IRC Server(s) specified +# above. This setting applies to all servers, so make sure they all support SSL +# connections. Eggdrop has to be compiled with SSL support for this to work! +set use-ssl 0 - - # Number of seconds to wait between transmitting queued lines to the server. - # Lower this value at your own risk. ircd is known to start flood control + #### CAP Features #### + # This section controls IRCv3 capabilities supported natively by Eggdrop. You + # can enable individual settings here to be requested as part of the diff --git a/irc/eggdrop/pkg-plist b/irc/eggdrop/pkg-plist index 336985511232..923ae93ee118 100644 --- a/irc/eggdrop/pkg-plist +++ b/irc/eggdrop/pkg-plist @@ -1,146 +1,155 @@ bin/eggdrop etc/eggdrop.conf.sample 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 share/man/man1/eggdrop.1.gz %%PORTDOCS%%%%DOCSDIR%%/ABOUT +%%PORTDOCS%%%%DOCSDIR%%/ACCOUNTS +%%PORTDOCS%%%%DOCSDIR%%/AUTOSCRIPTS %%PORTDOCS%%%%DOCSDIR%%/BANS %%PORTDOCS%%%%DOCSDIR%%/BOTNET %%PORTDOCS%%%%DOCSDIR%%/BUG-REPORT %%PORTDOCS%%%%DOCSDIR%%/COMPILE-GUIDE %%PORTDOCS%%%%DOCSDIR%%/CONTENTS -%%PORTDOCS%%%%DOCSDIR%%/Changes1.6 +%%PORTDOCS%%%%DOCSDIR%%/Changes1.9 %%PORTDOCS%%%%DOCSDIR%%/FIRST-SCRIPT %%PORTDOCS%%%%DOCSDIR%%/MODULES %%PORTDOCS%%%%DOCSDIR%%/PARTYLINE %%PORTDOCS%%%%DOCSDIR%%/PATCH-HOWTO %%PORTDOCS%%%%DOCSDIR%%/TRICKS %%PORTDOCS%%%%DOCSDIR%%/USERS +%%PORTDOCS%%%%DOCSDIR%%/IPV6 +%%PORTDOCS%%%%DOCSDIR%%/IRCv3 +%%PORTDOCS%%%%DOCSDIR%%/LEGAL +%%PORTDOCS%%%%DOCSDIR%%/PBKDF2 +%%PORTDOCS%%%%DOCSDIR%%/TLS +%%PORTDOCS%%%%DOCSDIR%%/TWITCH +%%PORTDOCS%%%%DOCSDIR%%/twitch-tcl-commands.doc %%PORTDOCS%%%%DOCSDIR%%/html/index.html %%PORTDOCS%%%%DOCSDIR%%/html/search.html %%PORTDOCS%%%%DOCSDIR%%/settings/CONTENTS %%PORTDOCS%%%%DOCSDIR%%/settings/core.settings %%PORTDOCS%%%%DOCSDIR%%/settings/mod.assoc %%PORTDOCS%%%%DOCSDIR%%/settings/mod.blowfish %%PORTDOCS%%%%DOCSDIR%%/settings/mod.channels %%PORTDOCS%%%%DOCSDIR%%/settings/mod.compress %%PORTDOCS%%%%DOCSDIR%%/settings/mod.console %%PORTDOCS%%%%DOCSDIR%%/settings/mod.ctcp %%PORTDOCS%%%%DOCSDIR%%/settings/mod.dns %%PORTDOCS%%%%DOCSDIR%%/settings/mod.filesys %%PORTDOCS%%%%DOCSDIR%%/settings/mod.ident %%PORTDOCS%%%%DOCSDIR%%/settings/mod.irc %%PORTDOCS%%%%DOCSDIR%%/settings/mod.notes %%PORTDOCS%%%%DOCSDIR%%/settings/mod.seen %%PORTDOCS%%%%DOCSDIR%%/settings/mod.server %%PORTDOCS%%%%DOCSDIR%%/settings/mod.share %%PORTDOCS%%%%DOCSDIR%%/settings/mod.transfer %%PORTDOCS%%%%DOCSDIR%%/settings/mod.uptime %%PORTDOCS%%%%DOCSDIR%%/settings/mod.woobie %%PORTDOCS%%%%DOCSDIR%%/tcl-commands.doc %%DATADIR%%/help/assoc.help %%DATADIR%%/help/chaninfo.help %%DATADIR%%/help/channels.help %%DATADIR%%/help/cmds1.help %%DATADIR%%/help/cmds2.help %%DATADIR%%/help/compress.help %%DATADIR%%/help/console.help %%DATADIR%%/help/core.help %%DATADIR%%/help/ctcp.help %%DATADIR%%/help/filesys.help %%DATADIR%%/help/irc.help %%DATADIR%%/help/msg/irc.help %%DATADIR%%/help/msg/notes.help %%DATADIR%%/help/msg/seen.help %%DATADIR%%/help/notes.help %%DATADIR%%/help/seen.help %%DATADIR%%/help/server.help %%DATADIR%%/help/set/channels.help %%DATADIR%%/help/set/cmds1.help %%DATADIR%%/help/set/compress.help %%DATADIR%%/help/set/console.help %%DATADIR%%/help/set/ctcp.help %%DATADIR%%/help/set/filesys.help %%DATADIR%%/help/set/irc.help %%DATADIR%%/help/set/notes.help %%DATADIR%%/help/set/server.help %%DATADIR%%/help/set/share.help %%DATADIR%%/help/set/transfer.help %%DATADIR%%/help/share.help %%DATADIR%%/help/transfer.help %%DATADIR%%/help/uptime.help %%DATADIR%%/language/assoc.danish.lang %%DATADIR%%/language/assoc.english.lang %%DATADIR%%/language/assoc.finnish.lang %%DATADIR%%/language/assoc.french.lang %%DATADIR%%/language/assoc.german.lang %%DATADIR%%/language/assoc.italian.lang %%DATADIR%%/language/assoc.portuguese.lang %%DATADIR%%/language/console.danish.lang %%DATADIR%%/language/console.english.lang %%DATADIR%%/language/console.finnish.lang %%DATADIR%%/language/console.french.lang %%DATADIR%%/language/console.german.lang %%DATADIR%%/language/console.italian.lang %%DATADIR%%/language/console.portuguese.lang %%DATADIR%%/language/core.danish.lang %%DATADIR%%/language/core.english.lang %%DATADIR%%/language/core.finnish.lang %%DATADIR%%/language/core.french.lang %%DATADIR%%/language/core.german.lang %%DATADIR%%/language/core.italian.lang %%DATADIR%%/language/core.portuguese.lang %%DATADIR%%/language/filesys.danish.lang %%DATADIR%%/language/filesys.english.lang %%DATADIR%%/language/filesys.finnish.lang %%DATADIR%%/language/filesys.french.lang %%DATADIR%%/language/filesys.german.lang %%DATADIR%%/language/filesys.italian.lang %%DATADIR%%/language/notes.danish.lang %%DATADIR%%/language/notes.english.lang %%DATADIR%%/language/notes.finnish.lang %%DATADIR%%/language/notes.french.lang %%DATADIR%%/language/notes.german.lang %%DATADIR%%/language/notes.italian.lang %%DATADIR%%/language/notes.portuguese.lang %%DATADIR%%/language/transfer.danish.lang %%DATADIR%%/language/transfer.english.lang %%DATADIR%%/language/transfer.finnish.lang %%DATADIR%%/language/transfer.french.lang %%DATADIR%%/language/transfer.german.lang %%DATADIR%%/language/transfer.italian.lang %%DATADIR%%/language/transfer.portuguese.lang %%DATADIR%%/scripts/CONTENTS %%DATADIR%%/scripts/action.fix.tcl %%DATADIR%%/scripts/alltools.tcl %%DATADIR%%/scripts/autobotchk %%DATADIR%%/scripts/botchk %%DATADIR%%/scripts/cmd_resolve.tcl %%DATADIR%%/scripts/compat.tcl %%DATADIR%%/scripts/dccwhois.tcl %%DATADIR%%/scripts/getops.tcl %%DATADIR%%/scripts/help/cmd_resolve.help %%DATADIR%%/scripts/help/msg/userinfo.help %%DATADIR%%/scripts/help/userinfo.help %%DATADIR%%/scripts/klined.tcl %%DATADIR%%/scripts/notes2.tcl %%DATADIR%%/scripts/ques5.tcl %%DATADIR%%/scripts/quotepong.tcl %%DATADIR%%/scripts/sentinel.tcl %%DATADIR%%/scripts/userinfo.tcl %%DATADIR%%/scripts/weed %%DATADIR%%/text/banner %%DATADIR%%/text/motd