pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat chat/inspircd3: Add version 3.0.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/768f1c768d70
branches:  trunk
changeset: 333269:768f1c768d70
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 03 17:14:27 2019 +0000

description:
chat/inspircd3: Add version 3.0.0.

This release contains many major new enhancements, some of which include:

* Full support for all currently ratified IRCv3 extensions.
* Support for WebSocket connections.
* Support for the bcrypt and PBKDF2 password hashing algorithms.
* Support for the WHOX extension.
* Support for UNIX socket connections.
* Support for the HAProxy PROXY protocol.
* Many performance improvements.

To upgrade from v2 (chat/inspircd) please consult the list of config
changes:

https://docs.inspircd.org/3/configuration-changes/

diffstat:

 chat/Makefile                                                           |    3 +-
 chat/inspircd3/DESCR                                                    |    8 +
 chat/inspircd3/Makefile                                                 |  109 ++++
 chat/inspircd3/PLIST                                                    |  221 ++++++++++
 chat/inspircd3/distinfo                                                 |   10 +
 chat/inspircd3/files/inspircd.sh                                        |   31 +
 chat/inspircd3/options.mk                                               |   80 +++
 chat/inspircd3/patches/patch-docs_conf_inspircd.conf.example            |   66 ++
 chat/inspircd3/patches/patch-docs_conf_modules.conf.example             |   33 +
 chat/inspircd3/patches/patch-make_template_main.mk                      |   14 +
 chat/inspircd3/patches/patch-src_socketengines_socketengine__kqueue.cpp |   56 ++
 11 files changed, 630 insertions(+), 1 deletions(-)

diffs (truncated from 685 to 300 lines):

diff -r b0c574094290 -r 768f1c768d70 chat/Makefile
--- a/chat/Makefile     Fri May 03 13:26:34 2019 +0000
+++ b/chat/Makefile     Fri May 03 17:14:27 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.217 2019/05/02 07:46:36 wiz Exp $
+# $NetBSD: Makefile,v 1.218 2019/05/03 17:14:27 nia Exp $
 #
 
 COMMENT=       Communication programs
@@ -47,6 +47,7 @@
 SUBDIR+=       icqlib
 SUBDIR+=       ii
 SUBDIR+=       inspircd
+SUBDIR+=       inspircd3
 SUBDIR+=       ircII
 SUBDIR+=       ircd-hybrid
 SUBDIR+=       irchat-pj
diff -r b0c574094290 -r 768f1c768d70 chat/inspircd3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd3/DESCR      Fri May 03 17:14:27 2019 +0000
@@ -0,0 +1,8 @@
+InspIRCd is a modular Internet Relay Chat (IRC) server. It was
+created from scratch to be stable, modern and lightweight.
+
+It provides a tunable number of features through the use of an
+advanced but well documented module system. By keeping core
+functionality to a minimum we hope to increase the stability,
+security and speed of InspIRCd while also making it customisable
+to the needs of many different users.
diff -r b0c574094290 -r 768f1c768d70 chat/inspircd3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd3/Makefile   Fri May 03 17:14:27 2019 +0000
@@ -0,0 +1,109 @@
+# $NetBSD: Makefile,v 1.1 2019/05/03 17:14:27 nia Exp $
+
+DISTNAME=      inspircd-3.0.0
+CATEGORIES=    chat
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=inspircd/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    nia%NetBSD.org@localhost
+HOMEPAGE=      https://www.inspircd.org/
+COMMENT=       Modular Internet Relay Chat (IRC) server
+LICENSE=       gnu-gpl-v2
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+=    gmake perl pkg-config
+USE_LANGUAGES= c c++11
+HAS_CONFIGURE= yes
+MAKE_FILE=     GNUmakefile
+
+BUILD_DEFS+=   PKG_SYSCONFDIR
+
+CONFIGURE_ARGS+=       --prefix=${PREFIX}
+CONFIGURE_ARGS+=       --manual-dir=${PREFIX}/${PKGMANDIR}/man1
+CONFIGURE_ARGS+=       --module-dir=${PREFIX}/lib/inspircd/modules
+CONFIGURE_ARGS+=       --config-dir=${PKG_SYSCONFDIR}/inspircd
+CONFIGURE_ARGS+=       --data-dir=${PREFIX}/inspircd/data
+CONFIGURE_ARGS+=       --log-dir=${PREFIX}/inspircd/logs
+CONFIG_SHELL=          ${PERL5}
+
+REPLACE_PERL+=         tools/genssl
+
+.include "../../mk/bsd.prefs.mk"
+
+CONF_FILES+=   ${EGDIR}/motd.txt.example ${PKG_SYSCONFDIR}/inspircd/motd.txt
+CONF_FILES+=   ${EGDIR}/inspircd.conf.example ${PKG_SYSCONFDIR}/inspircd/inspircd.conf
+CONF_FILES+=   ${EGDIR}/links.conf.example ${PKG_SYSCONFDIR}/inspircd/links.conf
+CONF_FILES+=   ${EGDIR}/modules.conf.example ${PKG_SYSCONFDIR}/inspircd/modules.conf
+CONF_FILES+=   ${EGDIR}/opers.conf.example ${PKG_SYSCONFDIR}/inspircd/opers.conf
+CONF_FILES+=   ${EGDIR}/motd.txt.example ${PKG_SYSCONFDIR}/inspircd/motd.txt
+
+CONF_FILES+=   ${EGDIR}/filter.conf.example ${PKG_SYSCONFDIR}/inspircd/filter.conf
+CONF_FILES+=   ${EGDIR}/helpop.conf.example ${PKG_SYSCONFDIR}/inspircd/helpop.conf
+CONF_FILES+=   ${EGDIR}/inspircd.conf.example ${PKG_SYSCONFDIR}/inspircd/inspircd.conf
+CONF_FILES+=   ${EGDIR}/links.conf.example ${PKG_SYSCONFDIR}/inspircd/links.conf
+CONF_FILES+=   ${EGDIR}/modules.conf.example ${PKG_SYSCONFDIR}/inspircd/modules.conf
+CONF_FILES+=   ${EGDIR}/motd.txt.example ${PKG_SYSCONFDIR}/inspircd/motd.txt
+CONF_FILES+=   ${EGDIR}/opermotd.txt.example ${PKG_SYSCONFDIR}/inspircd/opermotd.txt
+CONF_FILES+=   ${EGDIR}/opers.conf.example ${PKG_SYSCONFDIR}/inspircd/opers.conf
+CONF_FILES+=   ${EGDIR}/quotes.txt.example ${PKG_SYSCONFDIR}/inspircd/quotes.txt
+CONF_FILES+=   ${EGDIR}/services/anope.conf.example ${PKG_SYSCONFDIR}/inspircd/services/anope.conf
+CONF_FILES+=   ${EGDIR}/services/atheme.conf.example ${PKG_SYSCONFDIR}/inspircd/services/atheme.conf
+CONF_FILES+=   ${EGDIR}/services/generic.conf.example ${PKG_SYSCONFDIR}/inspircd/services/generic.conf
+
+INSPIRCD_USER?=                inspircd
+INSPIRCD_GROUP?=       inspircd
+PKG_GROUPS=            ${INSPIRCD_GROUP}
+PKG_USERS=             ${INSPIRCD_USER}:${INSPIRCD_GROUP}
+PKG_GROUPS_VARS=       INSPIRCD_USER
+PKG_USERS_VARS=                INSPIRCD_GROUP
+
+FILES_SUBST+=          INSPIRCD_GROUP=${INSPIRCD_GROUP:Q}
+FILES_SUBST+=          INSPIRCD_USER=${INSPIRCD_USER:Q}
+
+OWN_DIRS_PERMS+=       ${PREFIX}/inspircd ${INSPIRCD_USER} ${INSPIRCD_GROUP} 0755
+OWN_DIRS_PERMS+=       ${PREFIX}/inspircd/data ${INSPIRCD_USER} ${INSPIRCD_GROUP} 0755
+OWN_DIRS_PERMS+=       ${PREFIX}/inspircd/logs ${INSPIRCD_USER} ${INSPIRCD_GROUP} 0755
+
+RCD_SCRIPTS=           inspircd
+
+EGDIR=                 ${PREFIX}/share/examples/inspircd
+
+SUBST_CLASSES+=                conf
+SUBST_STAGE.conf=      pre-configure
+SUBST_MESSAGE.conf=    Set variables in configuration file.
+SUBST_FILES.conf+=     docs/conf/inspircd.conf.example
+SUBST_VARS.conf+=      PREFIX
+
+INSTALLATION_DIRS+=    ${EGDIR}
+INSTALLATION_DIRS+=    ${EGDIR}/sql
+INSTALLATION_DIRS+=    ${EGDIR}/services
+INSTALLATION_DIRS+=    ${PKG_SYSCONFDIR}/inspircd/services
+
+INSPIRCD_EXTRAS_OFF+=  m_regex_re2.cpp
+INSPIRCD_EXTRAS_OFF+=  m_regex_tre.cpp
+
+CONFIGURE_ARGS+=       --distribution-label=pkgsrc
+
+# https://github.com/inspircd/inspircd/commit/044fa999680888267e07dc7b69028b18efbac818
+# this has no side-effects other than allowing the build to proceed with
+# distribution-label set
+CONFIGURE_ARGS+=       --development
+
+.include "options.mk"
+
+post-configure:
+       cd ${WRKSRC} && ${CONFIGURE_ENV} ${PERL5} ./configure \
+           --enable-extras=${INSPIRCD_EXTRAS_ON:C/\.cpp[ ]* m_/.cpp,m_/gW} \
+           --disable-extras=${INSPIRCD_EXTRAS_OFF:C/\.cpp[ ]* m_/.cpp,m_/gW}
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/etc/inspircd/examples/* \
+           ${DESTDIR}${PREFIX}/share/examples/inspircd
+       ${RM} -rf ${DESTDIR}${PREFIX}/etc/inspircd/examples
+       ${RM} -f ${DESTDIR}${PREFIX}/.gdbargs
+       ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/bin/inspircd
+       ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/bin/inspircd-genssl
+       ${CHMOD} ${BINMODE} ${DESTDIR}${PREFIX}/lib/inspircd/modules/*.so
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b0c574094290 -r 768f1c768d70 chat/inspircd3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd3/PLIST      Fri May 03 17:14:27 2019 +0000
@@ -0,0 +1,221 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/03 17:14:27 nia Exp $
+bin/inspircd
+bin/inspircd-genssl
+lib/inspircd/modules/core_channel.so
+lib/inspircd/modules/core_dns.so
+lib/inspircd/modules/core_hostname_lookup.so
+lib/inspircd/modules/core_info.so
+lib/inspircd/modules/core_list.so
+lib/inspircd/modules/core_loadmodule.so
+lib/inspircd/modules/core_lusers.so
+lib/inspircd/modules/core_message.so
+lib/inspircd/modules/core_mode.so
+lib/inspircd/modules/core_oper.so
+lib/inspircd/modules/core_reloadmodule.so
+lib/inspircd/modules/core_serialize_rfc.so
+lib/inspircd/modules/core_stats.so
+lib/inspircd/modules/core_stub.so
+lib/inspircd/modules/core_user.so
+lib/inspircd/modules/core_wallops.so
+lib/inspircd/modules/core_who.so
+lib/inspircd/modules/core_whois.so
+lib/inspircd/modules/core_whowas.so
+lib/inspircd/modules/core_xline.so
+lib/inspircd/modules/m_abbreviation.so
+lib/inspircd/modules/m_alias.so
+lib/inspircd/modules/m_allowinvite.so
+lib/inspircd/modules/m_alltime.so
+lib/inspircd/modules/m_anticaps.so
+lib/inspircd/modules/m_auditorium.so
+lib/inspircd/modules/m_autoop.so
+lib/inspircd/modules/m_banexception.so
+lib/inspircd/modules/m_banredirect.so
+lib/inspircd/modules/m_bcrypt.so
+lib/inspircd/modules/m_blockamsg.so
+lib/inspircd/modules/m_blockcaps.so
+lib/inspircd/modules/m_blockcolor.so
+lib/inspircd/modules/m_botmode.so
+lib/inspircd/modules/m_callerid.so
+lib/inspircd/modules/m_cap.so
+lib/inspircd/modules/m_cban.so
+lib/inspircd/modules/m_censor.so
+lib/inspircd/modules/m_cgiirc.so
+lib/inspircd/modules/m_chancreate.so
+lib/inspircd/modules/m_chanfilter.so
+lib/inspircd/modules/m_chanhistory.so
+lib/inspircd/modules/m_chanlog.so
+lib/inspircd/modules/m_channames.so
+lib/inspircd/modules/m_channelban.so
+lib/inspircd/modules/m_check.so
+lib/inspircd/modules/m_chghost.so
+lib/inspircd/modules/m_chgident.so
+lib/inspircd/modules/m_chgname.so
+lib/inspircd/modules/m_classban.so
+lib/inspircd/modules/m_clearchan.so
+lib/inspircd/modules/m_cloaking.so
+lib/inspircd/modules/m_clones.so
+lib/inspircd/modules/m_commonchans.so
+lib/inspircd/modules/m_conn_join.so
+lib/inspircd/modules/m_conn_umodes.so
+lib/inspircd/modules/m_conn_waitpong.so
+lib/inspircd/modules/m_connectban.so
+lib/inspircd/modules/m_connflood.so
+lib/inspircd/modules/m_customprefix.so
+lib/inspircd/modules/m_customtitle.so
+lib/inspircd/modules/m_cycle.so
+lib/inspircd/modules/m_dccallow.so
+lib/inspircd/modules/m_deaf.so
+lib/inspircd/modules/m_delayjoin.so
+lib/inspircd/modules/m_delaymsg.so
+lib/inspircd/modules/m_denychans.so
+lib/inspircd/modules/m_disable.so
+lib/inspircd/modules/m_dnsbl.so
+lib/inspircd/modules/m_exemptchanops.so
+lib/inspircd/modules/m_filter.so
+lib/inspircd/modules/m_flashpolicyd.so
+lib/inspircd/modules/m_gecosban.so
+${PLIST.geoip}lib/inspircd/modules/m_geo_maxmind.so
+lib/inspircd/modules/m_geoban.so
+lib/inspircd/modules/m_geoclass.so
+lib/inspircd/modules/m_globalload.so
+lib/inspircd/modules/m_globops.so
+lib/inspircd/modules/m_haproxy.so
+lib/inspircd/modules/m_helpop.so
+lib/inspircd/modules/m_hidechans.so
+lib/inspircd/modules/m_hidelist.so
+lib/inspircd/modules/m_hidemode.so
+lib/inspircd/modules/m_hideoper.so
+lib/inspircd/modules/m_hostchange.so
+lib/inspircd/modules/m_hostcycle.so
+lib/inspircd/modules/m_httpd.so
+lib/inspircd/modules/m_httpd_acl.so
+lib/inspircd/modules/m_httpd_config.so
+lib/inspircd/modules/m_httpd_stats.so
+lib/inspircd/modules/m_ident.so
+lib/inspircd/modules/m_inviteexception.so
+lib/inspircd/modules/m_ircv3.so
+lib/inspircd/modules/m_ircv3_accounttag.so
+lib/inspircd/modules/m_ircv3_batch.so
+lib/inspircd/modules/m_ircv3_capnotify.so
+lib/inspircd/modules/m_ircv3_chghost.so
+lib/inspircd/modules/m_ircv3_ctctags.so
+lib/inspircd/modules/m_ircv3_echomessage.so
+lib/inspircd/modules/m_ircv3_invitenotify.so
+lib/inspircd/modules/m_ircv3_servertime.so
+lib/inspircd/modules/m_ircv3_sts.so
+lib/inspircd/modules/m_joinflood.so
+lib/inspircd/modules/m_kicknorejoin.so
+lib/inspircd/modules/m_knock.so
+lib/inspircd/modules/m_ldapauth.so
+lib/inspircd/modules/m_ldapoper.so
+lib/inspircd/modules/m_lockserv.so
+lib/inspircd/modules/m_maphide.so
+lib/inspircd/modules/m_md5.so
+lib/inspircd/modules/m_messageflood.so
+lib/inspircd/modules/m_mlock.so
+lib/inspircd/modules/m_modenotice.so
+lib/inspircd/modules/m_monitor.so
+lib/inspircd/modules/m_muteban.so
+${PLIST.mysql}lib/inspircd/modules/m_mysql.so
+lib/inspircd/modules/m_namedmodes.so
+lib/inspircd/modules/m_namesx.so
+lib/inspircd/modules/m_nationalchars.so
+lib/inspircd/modules/m_nickflood.so
+lib/inspircd/modules/m_nicklock.so
+lib/inspircd/modules/m_noctcp.so
+lib/inspircd/modules/m_nokicks.so
+lib/inspircd/modules/m_nonicks.so
+lib/inspircd/modules/m_nonotice.so
+lib/inspircd/modules/m_nopartmsg.so
+lib/inspircd/modules/m_ojoin.so
+lib/inspircd/modules/m_operchans.so
+lib/inspircd/modules/m_operjoin.so
+lib/inspircd/modules/m_operlevels.so
+lib/inspircd/modules/m_operlog.so
+lib/inspircd/modules/m_opermodes.so
+lib/inspircd/modules/m_opermotd.so
+lib/inspircd/modules/m_operprefix.so
+lib/inspircd/modules/m_override.so
+lib/inspircd/modules/m_passforward.so
+lib/inspircd/modules/m_password_hash.so
+lib/inspircd/modules/m_pbkdf2.so
+lib/inspircd/modules/m_permchannels.so
+${PLIST.pgsql}lib/inspircd/modules/m_pgsql.so
+lib/inspircd/modules/m_randquote.so
+lib/inspircd/modules/m_redirect.so
+lib/inspircd/modules/m_regex_glob.so
+${PLIST.pcre}lib/inspircd/modules/m_regex_pcre.so
+lib/inspircd/modules/m_regex_posix.so
+lib/inspircd/modules/m_remove.so
+lib/inspircd/modules/m_repeat.so
+lib/inspircd/modules/m_restrictchans.so
+lib/inspircd/modules/m_restrictmsg.so
+lib/inspircd/modules/m_rline.so
+lib/inspircd/modules/m_rmode.so



Home | Main Index | Thread Index | Old Index