pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/eggdrop chat/eggdrop: Update to 1.8.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1aaf51adf955
branches:  trunk
changeset: 376260:1aaf51adf955
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Tue Feb 27 19:08:48 2018 +0000

description:
chat/eggdrop: Update to 1.8.3.

- Loosely based on joyent/pkgsrc/pull/38 by ismell@.
- Removed the static build option as it didn't work at all.


Eggdrop v1.8.3

Tcl-API changes:
  - Added "handle ipaddress botport userport" syntax to the addbot Tcl
    command.
General changes:
  - Fixed a bug where ssl-enabled ports were not able to be reverted to
    non-SSL ports via the setuser Tcl command.
  - SSL certs: Fail earlier if SSL certs have issues. Also fatally error
    if only one of ssl-privatekey/certificate config settings is set.
  - Correctly check against invalid flags with the .match partyline
    command and matchattr Tcl command.
  - Prevent loop when writing to stdout in foreground mode that results
    in a segfault.
  - Lots of additional error checking against values for .+bot, .chaddr
    and the Tcl addbot command.
  - No longer trigger CHON binds when returning from a control script.
  - Added the '.resetconsole' command, allowing a user to reset console
    flags to those specified in the config file.
Botnet changes:
  - Added the 'l' console flag to handle messages sent from linked bots,
    reserving the 'b' console flag to handle messages related to botnet-
    linkings.
  - Split the "raw share traffic" flag into incoming (h) and outgoing (g).
  - Fixed a race condition in SSL userfile sharing, causing the transfer
    to stall with 511 bytes missing.
  - Fixed a bug introduced in v1.8.2 with copy-to-tmp, where the userfile
    being received is now properly being sent to a tmpfile first if
    copy-to-tmp is set.
  - Botnet sharing:  A slave will now use the address of the hub (to
    which it's succesfully connected) instead of an IP given by the hub
    which was wrong in certain cases (especially in NAT situations).
  - Bots request existing channel flags for users upon adding a new
    channel.
Deprecations:
  - Deprecated the "ipv4address:botport/userport" and
    "[ipv6address]:botport/userport" address formats for addbot.


Eggdrop v1.8.2

eggdrop.conf changes:
  - temp-path renamed to tmpfile and its purpose changed.
    It is now only used by filesys.mod/transfer.mod and optional.
  - blowfish-use-mode is a new setting for Tcl encrypt/decrypt.
    Allows using CBC instead of ECB mode for encryption.
    Tcl scripts not using the same mode are incompatible with each other.
    Does NOT affect password hashing for the userfile.
    CBC will be the NEW DEFAULT in a later version of eggdrop.
    Will be removed in a future Eggdrop version and forced to CBC.
  - global-* is renamed to default-*.
    This clarifies their purpose as default channel settings,
    not ones that override for existing channels.
    global-* still works for backwards compatibility.
Tcl-API changes:
  - encrypt/decrypt: These commands can now encrypt/decrypt in CBC
    mode instead of the current ECB mode. This does NOT affect password
    hashing for the userfile.
  - getuser: Can now be called without a second argument. Returns a flat
    key/value list (dict) of settings for that user.
  - configureargs: New global variable holding the ./configure arguments.
    This is a _string_, not a list. User needs to split it themselves.
  - maskhost: New types 30-39 set hostmask to * (to allow e.g. nick!*@*).
General changes:
  - Improved command line argument parsing.
  - Portuguese language file added.
  - Eggdrop no longer changes nick on every rehash if altnick uses '?'.
  - Terminal-mode (commandline -nt) always has full owner access now.
  - Allow spaces in server passwords in serverlist.


Eggdrop v1.8.1

- Autobotchk - Added functionality improvements to the tried-and-true
  autobotchk script, allowing characters such as {} and [] to be used in
  filenames
- .who linkedbot output - Truncates listings appropriately
- Minutely hook - The minutely hook was only called for missed minutes mod
  60, now it is still listed in minutes but it can be greater than 60.
- New OpenSSL version detection
- Moved previously hard-coded version strings to
  version.h and update them via misc/setpatch instead of misc/addpatch
- Compile cleanup - Fixed some compiler warnings
- General bugfixes


Eggdrop v1.8.0

- Support for utf-8 encoding with a fallback of iso8859-1
- Support for IPv6
- SSL support has been added for all kinds of connections, including
  certificate verification and authorization, and partyline SSL.
- The wire module has been removed from eggdrop
- Config file changes: e.g. my-ip and my-hostname settings are replaced
  by vhost4, vhost6 and the listen-addr.

diffstat:

 chat/eggdrop/MESSAGE                     |    8 -
 chat/eggdrop/Makefile                    |  109 +++++----------
 chat/eggdrop/PLIST                       |  212 ++++++++++++++++++++++--------
 chat/eggdrop/distinfo                    |   28 +---
 chat/eggdrop/patches/patch-Makefile.in   |   36 +++++
 chat/eggdrop/patches/patch-src_eggdrop.h |   14 ++
 6 files changed, 250 insertions(+), 157 deletions(-)

diffs (truncated from 502 to 300 lines):

diff -r 7587befcce06 -r 1aaf51adf955 chat/eggdrop/MESSAGE
--- a/chat/eggdrop/MESSAGE      Tue Feb 27 17:48:33 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.2 2002/09/12 17:12:36 wiz Exp $
-
-If you run an IRC robot on most IRC nets, you will probably be banned from
-any server to which you connect.  Take care in how you use IRC robots, and
-make sure to get permission before running one on any server.
-
-===========================================================================
diff -r 7587befcce06 -r 1aaf51adf955 chat/eggdrop/Makefile
--- a/chat/eggdrop/Makefile     Tue Feb 27 17:48:33 2018 +0000
+++ b/chat/eggdrop/Makefile     Tue Feb 27 19:08:48 2018 +0000
@@ -1,88 +1,59 @@
-# $NetBSD: Makefile,v 1.37 2018/01/13 23:18:25 rillig Exp $
+# $NetBSD: Makefile,v 1.38 2018/02/27 19:08:48 fhajny Exp $
 
-DISTNAME=      eggdrop1.6.21
-PKGNAME=       eggdrop-1.6.21
-#KGREVISION=   1
-PKGREVISION=   2
+DISTNAME=      eggdrop-1.8.3
 CATEGORIES=    chat
-MASTER_SITES=  ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  https://ftp.eggheads.org/pub/eggdrop/source/1.8/
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.eggheads.org/
+HOMEPAGE=      https://www.eggheads.org/
 COMMENT=       IRC robot with TCL scripting and multi-channel ability
+LICENSE=       gnu-gpl-v2
 
-MAKE_JOBS_SAFE=        no
-
-PLIST_VARS=            dynamic
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ENV+=                TCLLIB="${PREFIX}/lib" TCLINC="${PREFIX}/include"
+GNU_CONFIGURE= yes
+USE_TOOLS+=    pax
 
 .include "../../mk/bsd.prefs.mk"
-.if !empty(PKGSRC_COMPILER:Msunpro)
-# fix for PR#44382
-CONFIGURE_ENV+=         ac_cv_c_inline=
-.endif
 
 EGDIR=         ${PREFIX}/share/examples/eggdrop
 CONF_FILES=    ${EGDIR}/eggdrop.conf ${PKG_SYSCONFDIR}/eggdrop.conf
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}
+INSTALLATION_DIRS+=    lib/eggdrop
+INSTALLATION_DIRS+=    share/doc
+INSTALLATION_DIRS+=    share/eggdrop
+INSTALLATION_DIRS+=    share/examples/eggdrop
 
-post-patch:
-       cd ${WRKSRC} && ${SED} -e 's,modules/,${PREFIX}/lib/eggdrop/,' \
-               < eggdrop.conf > eggdrop.conf.dist.new
+SUBST_CLASSES+=                dir
+SUBST_FILES.dir=       eggdrop.conf
+SUBST_STAGE.dir=       pre-configure
+SUBST_SED.dir+=                -e 's,modules/,${PREFIX}/lib/eggdrop/,'
+SUBST_SED.dir+=                -e 's,source scripts/,source ${PREFIX}/share/eggdrop/scripts/,'
+SUBST_SED.dir+=                -e 's,set help-path .*,set help-path "${PREFIX}/share/eggdrop/help/",'
+SUBST_SED.dir+=                -e 's,set text-path .*,set text-path "${PREFIX}/share/eggdrop/text/",'
+SUBST_SED.dir+=                -e 's,set motd .*,set motd "${PREFIX}/share/eggdrop/text/motd",'
+SUBST_SED.dir+=                -e 's,set telnet-banner .*,set telnet-banner "${PREFIX}/share/eggdrop/text/banner",'
+
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ENV+=                TCLLIB="${PREFIX}/lib" TCLINC="${PREFIX}/include"
+
+CFLAGS+=               -DLANGDIR=\"${PREFIX}/share/eggdrop/language\"
+
+BUILD_TARGET=  eggdrop
 
 post-configure:
        cd ${WRKSRC} && ${MAKE} config
 
-do-install: do-install-program
-do-install-program:
-       ${INSTALL_PROGRAM} ${WRKSRC}/eggdrop ${DESTDIR}${PREFIX}/bin/
-       ${INSTALL_MAN} ${WRKSRC}/doc/man1/eggdrop.1 \
-               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/eggdrop.conf.dist.new \
-               ${DESTDIR}${EGDIR}/eggdrop.conf
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/eggdrop/html
-       cd ${WRKSRC}/doc/html && ${INSTALL_DATA} *.html \
-               ${DESTDIR}${PREFIX}/share/doc/eggdrop/html
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/eggdrop
-       cd ${WRKSRC}/doc && ${INSTALL_DATA} BANS BOTNET FIRST-SCRIPT MODULES \
-               PARTYLINE USERS TRICKS TEXT-SUBSTITUTIONS tcl-commands.doc \
-               ${DESTDIR}${PREFIX}/share/doc/eggdrop
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/help
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/language
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/scripts
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/help/msg
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/eggdrop/help/set
-       ${INSTALL_DATA} ${WRKSRC}/language/core.*.lang \
-               ${DESTDIR}${PREFIX}/share/eggdrop/language/
-       cd ${WRKSRC}/help && ${INSTALL_DATA} cmds1.help cmds2.help core.help \
-               ${DESTDIR}${PREFIX}/share/eggdrop/help/
-       cd ${WRKSRC}/help/set && ${INSTALL_DATA} cmds1.help \
-               ${DESTDIR}${PREFIX}/share/eggdrop/help/set/
-       cd ${WRKSRC}/scripts && ${INSTALL_DATA} CONTENTS *.tcl autobotchk \
-                botchk weed ${DESTDIR}${PREFIX}/share/eggdrop/scripts/
+do-install:
+       cd "${WRKSRC}" && ${SETENV} ${MAKE_ENV} ${MAKE} DEST=${WRKDIR}/eggdrop install
+       ${INSTALL_PROGRAM} ${WRKDIR}/eggdrop/${DISTNAME} ${DESTDIR}${PREFIX}/bin/eggdrop
+       cd ${WRKDIR}/eggdrop && ${PAX} -rw -pp help language scripts text \
+               ${DESTDIR}${PREFIX}/share/eggdrop/
+       cd ${WRKDIR}/eggdrop/doc && ${PAX} -rw -pp * ${DESTDIR}${PREFIX}/share/doc/eggdrop/
+       mv -f ${DESTDIR}${PREFIX}/share/doc/eggdrop/man1 ${DESTDIR}/${PREFIX}/${PKGMANDIR}/
+       ${INSTALL_DATA} ${WRKSRC}/eggdrop.conf ${DESTDIR}${EGDIR}/eggdrop.conf
+       ${INSTALL_LIB} ${WRKDIR}/eggdrop/modules/* \
+               ${DESTDIR}${PREFIX}/lib/eggdrop
 
+.include "../../devel/zlib/buildlink3.mk"
 .include "../../lang/tcl/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
-
-.if defined(NOPIC)
-BUILD_TARGET=  static
-.else
-BUILD_TARGET=  eggdrop
-PLIST.dynamic= yes
-do-install: do-install-modules
-do-install-modules:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/eggdrop
-       cd ${WRKSRC} && ${INSTALL_DATA} 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 wire.so \
-               ${DESTDIR}${PREFIX}/lib/eggdrop
-       cd ${WRKSRC}/src/mod && ${FIND} . -name "*.lang" -exec ${INSTALL_DATA} "{}" \
-               ${DESTDIR}${PREFIX}/share/eggdrop/language ";"
-.endif
diff -r 7587befcce06 -r 1aaf51adf955 chat/eggdrop/PLIST
--- a/chat/eggdrop/PLIST        Tue Feb 27 17:48:33 2018 +0000
+++ b/chat/eggdrop/PLIST        Tue Feb 27 19:08:48 2018 +0000
@@ -1,87 +1,183 @@
-@comment $NetBSD: PLIST,v 1.15 2018/01/01 22:29:19 rillig Exp $
+@comment $NetBSD: PLIST,v 1.16 2018/02/27 19:08:48 fhajny Exp $
 bin/eggdrop
-${PLIST.dynamic}lib/eggdrop/assoc.so
-${PLIST.dynamic}lib/eggdrop/blowfish.so
-${PLIST.dynamic}lib/eggdrop/channels.so
-${PLIST.dynamic}lib/eggdrop/compress.so
-${PLIST.dynamic}lib/eggdrop/console.so
-${PLIST.dynamic}lib/eggdrop/ctcp.so
-${PLIST.dynamic}lib/eggdrop/dns.so
-${PLIST.dynamic}lib/eggdrop/filesys.so
-${PLIST.dynamic}lib/eggdrop/irc.so
-${PLIST.dynamic}lib/eggdrop/notes.so
-${PLIST.dynamic}lib/eggdrop/seen.so
-${PLIST.dynamic}lib/eggdrop/server.so
-${PLIST.dynamic}lib/eggdrop/share.so
-${PLIST.dynamic}lib/eggdrop/transfer.so
-${PLIST.dynamic}lib/eggdrop/uptime.so
-${PLIST.dynamic}lib/eggdrop/wire.so
+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
 man/man1/eggdrop.1
+share/doc/eggdrop/ABOUT
 share/doc/eggdrop/BANS
 share/doc/eggdrop/BOTNET
+share/doc/eggdrop/BUG-REPORT
+share/doc/eggdrop/COMPILE-GUIDE
+share/doc/eggdrop/CONTENTS
+share/doc/eggdrop/Changes1.8
+share/doc/eggdrop/FAQ
 share/doc/eggdrop/FIRST-SCRIPT
+share/doc/eggdrop/IPV6
+share/doc/eggdrop/KNOWN-PROBLEMS
 share/doc/eggdrop/MODULES
 share/doc/eggdrop/PARTYLINE
+share/doc/eggdrop/PATCH-HOWTO
 share/doc/eggdrop/TEXT-SUBSTITUTIONS
+share/doc/eggdrop/TLS
 share/doc/eggdrop/TRICKS
 share/doc/eggdrop/USERS
-share/doc/eggdrop/html/about.html
-share/doc/eggdrop/html/app-problems.html
-share/doc/eggdrop/html/app-textsub.html
-share/doc/eggdrop/html/app-tricks.html
-share/doc/eggdrop/html/app-weird.html
-share/doc/eggdrop/html/bans.html
-share/doc/eggdrop/html/botnet.html
-share/doc/eggdrop/html/compiling.html
-share/doc/eggdrop/html/egg-core.html
-share/doc/eggdrop/html/faqs.html
-share/doc/eggdrop/html/features.html
+share/doc/eggdrop/Versions
+share/doc/eggdrop/WEIRD-MESSAGES
+share/doc/eggdrop/html/_static/agogo.css
+share/doc/eggdrop/html/_static/ajax-loader.gif
+share/doc/eggdrop/html/_static/basic.css
+share/doc/eggdrop/html/_static/bgfooter.png
+share/doc/eggdrop/html/_static/bgtop.png
+share/doc/eggdrop/html/_static/comment-bright.png
+share/doc/eggdrop/html/_static/comment-close.png
+share/doc/eggdrop/html/_static/comment.png
+share/doc/eggdrop/html/_static/doctools.js
+share/doc/eggdrop/html/_static/down-pressed.png
+share/doc/eggdrop/html/_static/down.png
+share/doc/eggdrop/html/_static/eggdrop.css
+share/doc/eggdrop/html/_static/eggman.png.gif
+share/doc/eggdrop/html/_static/file.png
+share/doc/eggdrop/html/_static/jquery.js
+share/doc/eggdrop/html/_static/minus.png
+share/doc/eggdrop/html/_static/plus.png
+share/doc/eggdrop/html/_static/pygments.css
+share/doc/eggdrop/html/_static/searchtools.js
+share/doc/eggdrop/html/_static/sidebar.js
+share/doc/eggdrop/html/_static/transparent.gif
+share/doc/eggdrop/html/_static/underscore.js
+share/doc/eggdrop/html/_static/up-pressed.png
+share/doc/eggdrop/html/_static/up.png
+share/doc/eggdrop/html/_static/websupport.js
+share/doc/eggdrop/html/appendices/first-script.html
+share/doc/eggdrop/html/appendices/index.html
+share/doc/eggdrop/html/appendices/known-probs.html
+share/doc/eggdrop/html/appendices/text-sub.html
+share/doc/eggdrop/html/appendices/tricks.html
+share/doc/eggdrop/html/appendices/weird-msgs.html
+share/doc/eggdrop/html/coreDocs/assoc.html
+share/doc/eggdrop/html/coreDocs/blowfish.html
+share/doc/eggdrop/html/coreDocs/channels.html
+share/doc/eggdrop/html/coreDocs/compress.html
+share/doc/eggdrop/html/coreDocs/console.html
+share/doc/eggdrop/html/coreDocs/core.html
+share/doc/eggdrop/html/coreDocs/ctcp.html
+share/doc/eggdrop/html/coreDocs/dns.html
+share/doc/eggdrop/html/coreDocs/filesys.html
+share/doc/eggdrop/html/coreDocs/index.html
+share/doc/eggdrop/html/coreDocs/irc.html
+share/doc/eggdrop/html/coreDocs/modules.html
+share/doc/eggdrop/html/coreDocs/notes.html
+share/doc/eggdrop/html/coreDocs/seen.html
+share/doc/eggdrop/html/coreDocs/server.html
+share/doc/eggdrop/html/coreDocs/share.html
+share/doc/eggdrop/html/coreDocs/transfer.html
+share/doc/eggdrop/html/coreDocs/uptime.html
+share/doc/eggdrop/html/coreDocs/woobie.html
 share/doc/eggdrop/html/index.html
-share/doc/eggdrop/html/install.html
-share/doc/eggdrop/html/mod-assoc.html
-share/doc/eggdrop/html/mod-blowfish.html
-share/doc/eggdrop/html/mod-channels.html
-share/doc/eggdrop/html/mod-compress.html
-share/doc/eggdrop/html/mod-console.html
-share/doc/eggdrop/html/mod-ctcp.html
-share/doc/eggdrop/html/mod-dns.html
-share/doc/eggdrop/html/mod-filesys.html
-share/doc/eggdrop/html/mod-irc.html
-share/doc/eggdrop/html/mod-notes.html
-share/doc/eggdrop/html/mod-seen.html
-share/doc/eggdrop/html/mod-server.html
-share/doc/eggdrop/html/mod-share.html
-share/doc/eggdrop/html/mod-transfer.html
-share/doc/eggdrop/html/mod-uptime.html
-share/doc/eggdrop/html/mod-wire.html
-share/doc/eggdrop/html/mod-woobie.html
-share/doc/eggdrop/html/news.html
-share/doc/eggdrop/html/party.html
-share/doc/eggdrop/html/patch-howto.html
-share/doc/eggdrop/html/readme.html
-share/doc/eggdrop/html/starting.html
-share/doc/eggdrop/html/tcl-commands.html
-share/doc/eggdrop/html/users.html
+share/doc/eggdrop/html/installAndSetup/faq.html
+share/doc/eggdrop/html/installAndSetup/index.html
+share/doc/eggdrop/html/installAndSetup/install.html
+share/doc/eggdrop/html/installAndSetup/readme.html
+share/doc/eggdrop/html/mainDocs/about.html
+share/doc/eggdrop/html/mainDocs/bans.html
+share/doc/eggdrop/html/mainDocs/botnet.html
+share/doc/eggdrop/html/mainDocs/features.html
+share/doc/eggdrop/html/mainDocs/index.html
+share/doc/eggdrop/html/mainDocs/ipv6.html



Home | Main Index | Thread Index | Old Index