diff --git a/irc/eggdrop/Makefile b/irc/eggdrop/Makefile index 2569c3eaecda..54959f159a93 100644 --- a/irc/eggdrop/Makefile +++ b/irc/eggdrop/Makefile @@ -1,111 +1,110 @@ PORTNAME= eggdrop -DISTVERSION= 1.10.0 -PORTREVISION= 1 +DISTVERSION= 1.10.1 CATEGORIES= irc MASTER_SITES= https://github.com/eggheads/${PORTNAME}/releases/download/v${DISTVERSION}/ -MAINTAINER= cpetrik@proton.me +MAINTAINER= ek@purplehat.org COMMENT= Popular Internet Relay Chat (IRC) bot WWW= https://www.eggheads.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 cpe ssl tcl GNU_CONFIGURE= yes 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#%%PREFIX%%#${PREFIX}#g' ${WRKSRC}/eggdrop.conf \ - > ${WRKSRC}/eggdrop.conf.sample + ${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/eggdrop.conf 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}${ETCDIR} + ${INSTALL_DATA} ${WRKSRC}/eggdrop.conf ${STAGEDIR}${ETCDIR}/eggdrop.conf.sample @${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 ${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 ${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 \ 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 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 bf8ccf6a5af9..f38833b6497e 100644 --- a/irc/eggdrop/distinfo +++ b/irc/eggdrop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1734666962 -SHA256 (eggdrop-1.10.0.tar.gz) = 1f1707eb5023df8e0bcaa53c937e7ce5282fa1f85dc37e11d6ce4aa9d438d752 -SIZE (eggdrop-1.10.0.tar.gz) = 2215632 +TIMESTAMP = 1756875018 +SHA256 (eggdrop-1.10.1.tar.gz) = a5cdf7444d781c2ff4f5d0be14202f5d0971e00387181a49b725057fe95312d5 +SIZE (eggdrop-1.10.1.tar.gz) = 2204296 diff --git a/irc/eggdrop/files/patch-eggdrop.conf b/irc/eggdrop/files/patch-eggdrop.conf index b2e3a00a6837..41fa5142da57 100644 --- a/irc/eggdrop/files/patch-eggdrop.conf +++ b/irc/eggdrop/files/patch-eggdrop.conf @@ -1,28 +1,31 @@ ---- eggdrop.conf.bak 2024-12-19 22:03:18.314826000 -0600 -+++ eggdrop.conf 2024-12-19 22:11:55.124362000 -0600 +--- eggdrop.conf.orig 2025-09-03 05:57:58 UTC ++++ eggdrop.conf @@ -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 -@@ -607,7 +607,7 @@ +@@ -607,9 +607,8 @@ die "Please make sure you edit your config file comple # 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/modules/" - ++set mod-path "%%PREFIX%%/lib/eggdrop/" +- #### PBKDF2 MODULE #### -@@ -1082,6 +1082,10 @@ + + # IF YOU DON'T READ THIS YOU MAY RENDER YOUR USERFILE USELESS LATER +@@ -1081,6 +1080,11 @@ server add ssl.example.net +7000 + server add another.example.com 6669 password 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 + #### 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/files/patch-src_mod_python.mod_pycmds.c b/irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c deleted file mode 100644 index c0534cbd452e..000000000000 --- a/irc/eggdrop/files/patch-src_mod_python.mod_pycmds.c +++ /dev/null @@ -1,10 +0,0 @@ ---- src/mod/python.mod/pycmds.c.orig 2025-02-04 15:24:41 UTC -+++ src/mod/python.mod/pycmds.c -@@ -22,7 +22,6 @@ - #define PY_SSIZE_T_CLEAN - #include - #include --#include - #include "src/mod/module.h" - - typedef struct { diff --git a/irc/eggdrop/pkg-plist b/irc/eggdrop/pkg-plist index 923ae93ee118..396e499575df 100644 --- a/irc/eggdrop/pkg-plist +++ b/irc/eggdrop/pkg-plist @@ -1,155 +1,157 @@ bin/eggdrop -etc/eggdrop.conf.sample +@mode 0640 +@sample %%ETCDIR%%/eggdrop.conf.sample +@mode 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.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%%/MODULES +%%PORTDOCS%%%%DOCSDIR%%/PARTYLINE +%%PORTDOCS%%%%DOCSDIR%%/PATCH-HOWTO %%PORTDOCS%%%%DOCSDIR%%/PBKDF2 %%PORTDOCS%%%%DOCSDIR%%/TLS +%%PORTDOCS%%%%DOCSDIR%%/TRICKS %%PORTDOCS%%%%DOCSDIR%%/TWITCH -%%PORTDOCS%%%%DOCSDIR%%/twitch-tcl-commands.doc +%%PORTDOCS%%%%DOCSDIR%%/USERS %%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 +%%PORTDOCS%%%%DOCSDIR%%/twitch-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 +share/man/man1/eggdrop.1.gz