head	1.23;
access;
symbols
	pkgsrc-2020Q1:1.19.0.2
	pkgsrc-2020Q1-base:1.19
	pkgsrc-2019Q4:1.16.0.4
	pkgsrc-2019Q4-base:1.16
	pkgsrc-2019Q3:1.15.0.2
	pkgsrc-2019Q3-base:1.15
	pkgsrc-2019Q2:1.9.0.2
	pkgsrc-2019Q2-base:1.9;
locks; strict;
comment	@# @;


1.23
date	2020.06.10.21.16.58;	author nia;	state dead;
branches;
next	1.22;
commitid	SBZZonGvpV4OSIbC;

1.22
date	2020.06.02.08.23.17;	author adam;	state Exp;
branches;
next	1.21;
commitid	nisovMpvvZm3RCaC;

1.21
date	2020.05.22.10.55.58;	author adam;	state Exp;
branches;
next	1.20;
commitid	m1Z0QPvTTTWz3e9C;

1.20
date	2020.04.12.08.28.21;	author adam;	state Exp;
branches;
next	1.19;
commitid	7jZFLCnc3RCww44C;

1.19
date	2020.03.08.16.48.56;	author wiz;	state Exp;
branches;
next	1.18;
commitid	rcNYzTQo8icypCZB;

1.18
date	2020.01.31.20.03.14;	author nia;	state Exp;
branches;
next	1.17;
commitid	RPeUIa1m35BwGSUB;

1.17
date	2020.01.18.21.48.49;	author jperkin;	state Exp;
branches;
next	1.16;
commitid	JW4hJgY8ZdoTFdTB;

1.16
date	2019.10.25.11.01.55;	author nia;	state Exp;
branches;
next	1.15;
commitid	bRgknjJrnif3QeIB;

1.15
date	2019.08.23.13.32.30;	author nia;	state Exp;
branches;
next	1.14;
commitid	M1zHV35oqgJqH9AB;

1.14
date	2019.08.23.12.04.13;	author nia;	state Exp;
branches;
next	1.13;
commitid	Sw2tcANcnqwbd9AB;

1.13
date	2019.08.23.11.01.14;	author nia;	state Exp;
branches;
next	1.12;
commitid	i5lquYzWIcCdR8AB;

1.12
date	2019.08.11.13.18.03;	author wiz;	state Exp;
branches;
next	1.11;
commitid	Ifet9Pg6Qt99ZByB;

1.11
date	2019.07.20.22.46.11;	author wiz;	state Exp;
branches;
next	1.10;
commitid	dMrQLvIeoazTQPvB;

1.10
date	2019.07.05.12.11.49;	author nia;	state Exp;
branches;
next	1.9;
commitid	YlvS38vJtWkBNQtB;

1.9
date	2019.06.23.10.04.26;	author nia;	state Exp;
branches;
next	1.8;
commitid	ubSmEFEF5LJwvisB;

1.8
date	2019.06.21.14.06.48;	author nia;	state Exp;
branches;
next	1.7;
commitid	PdUxZC6gbqoNU3sB;

1.7
date	2019.05.17.09.59.18;	author nia;	state Exp;
branches;
next	1.6;
commitid	soDnBgA4EWTsExnB;

1.6
date	2019.05.11.21.15.26;	author nia;	state Exp;
branches;
next	1.5;
commitid	cw5BWlP9IsniBPmB;

1.5
date	2019.05.10.09.40.01;	author nia;	state Exp;
branches;
next	1.4;
commitid	yy5GUaNQdWyOMDmB;

1.4
date	2019.05.05.10.44.50;	author nia;	state Exp;
branches;
next	1.3;
commitid	9EGrCuzKlsS7j0mB;

1.3
date	2019.05.04.10.50.04;	author nia;	state Exp;
branches;
next	1.2;
commitid	W82v5AABZE2omSlB;

1.2
date	2019.05.03.19.03.02;	author nia;	state Exp;
branches;
next	1.1;
commitid	DHvIwuWiCu6W7NlB;

1.1
date	2019.05.03.17.14.27;	author nia;	state Exp;
branches;
next	;
commitid	dSxTLVDANjJ8wMlB;


desc
@@


1.23
log
@chat: Remove inspircd. Requested by upstream
@
text
@# $NetBSD: Makefile,v 1.22 2020/06/02 08:23:17 adam Exp $

DISTNAME=	inspircd-3.5.0
PKGREVISION=	4
CATEGORIES=	chat
MASTER_SITES=	${MASTER_SITE_GITHUB:=inspircd/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	nia@@NetBSD.org
HOMEPAGE=	https://www.inspircd.org/
COMMENT=	Modular Internet Relay Chat (IRC) server (v3 branch)
LICENSE=	gnu-gpl-v2

EXTRACT_USING=	bsdtar
USE_TOOLS+=	gmake perl pkg-config
USE_LANGUAGES=	c99 gnu++03
HAS_CONFIGURE=	yes
MAKE_FILE=	GNUmakefile
MAKE_ENV+=	INSTALL=${INSTALL:Q}

BUILD_DEFS+=	PKG_SYSCONFDIR

PKG_SYSCONFSUBDIR=	inspircd

CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--example-dir=${EGDIR}
CONFIGURE_ARGS+=	--manual-dir=${PREFIX}/${PKGMANDIR}/man1
CONFIGURE_ARGS+=	--module-dir=${PREFIX}/lib/inspircd/modules
CONFIGURE_ARGS+=	--config-dir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--data-dir=${PREFIX}/inspircd/data
CONFIGURE_ARGS+=	--log-dir=${PREFIX}/inspircd/logs
CONFIGURE_ARGS+=	--script-dir=${PREFIX}/inspircd/scripts
CONFIGURE_ARGS+=	--disable-auto-extras
CONFIGURE_ARGS+=	--distribution-label=pkgsrc

CONFIG_SHELL=		${PERL5}

REPLACE_PERL+=		tools/genssl

.include "../../mk/bsd.prefs.mk"

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}

EGDIR=			${PREFIX}/share/examples/inspircd

CONF_FILES_PERMS+=	${EGDIR}/inspircd.conf.example ${PKG_SYSCONFDIR}/inspircd.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/links.conf.example ${PKG_SYSCONFDIR}/links.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/modules.conf.example ${PKG_SYSCONFDIR}/modules.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/opers.conf.example ${PKG_SYSCONFDIR}/opers.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/filter.conf.example ${PKG_SYSCONFDIR}/filter.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/helpop.conf.example ${PKG_SYSCONFDIR}/helpop.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/motd.txt.example ${PKG_SYSCONFDIR}/motd.txt \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0644
CONF_FILES_PERMS+=	${EGDIR}/opermotd.txt.example ${PKG_SYSCONFDIR}/opermotd.txt \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/quotes.txt.example ${PKG_SYSCONFDIR}/quotes.txt \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0644
CONF_FILES_PERMS+=	${EGDIR}/services/anope.conf.example ${PKG_SYSCONFDIR}/services/anope.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/services/atheme.conf.example ${PKG_SYSCONFDIR}/services/atheme.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600
CONF_FILES_PERMS+=	${EGDIR}/services/generic.conf.example ${PKG_SYSCONFDIR}/services/generic.conf \
			${INSPIRCD_USER} ${INSPIRCD_GROUP} 0600

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
OWN_DIRS_PERMS+=	${PKG_SYSCONFDIR} ${INSPIRCD_USER} ${INSPIRCD_GROUP} 0755
OWN_DIRS_PERMS+=	${PKG_SYSCONFDIR}/services ${INSPIRCD_USER} ${INSPIRCD_GROUP} 0755

RCD_SCRIPTS=		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

INSPIRCD_EXTRAS+=	m_regex_posix.cpp

.include "options.mk"

.if !empty(PKG_OPTIONS:Mopenssl) || !empty(PKG_OPTIONS:Mgnutls) || \
    !empty(PKG_OPTIONS:Mmbedtls)
INSPIRCD_EXTRAS+=	m_sslrehashsignal.cpp
.endif

post-configure:
	cd ${WRKSRC} && ${CONFIGURE_ENV} ${PERL5} ./configure \
	    --enable-extras=${INSPIRCD_EXTRAS:ts,}

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.22
log
@Revbump for icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2020/05/22 10:55:58 adam Exp $
@


1.21
log
@revbump after updating security/nettle
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2020/04/12 08:28:21 adam Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.20
log
@Recursive revision bump after textproc/icu update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2020/03/08 16:48:56 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.19
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2020/01/31 20:03:14 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.18
log
@inspircd3: Update to 3.5.0

Changes:

     * Added support for the IRCv3 Labeled Response specification.

     * Added support for help topics to the helpop module.

     * Added support for pagination to the index output of the HELPOP
       command.

     * Added support for passing module names to --{disable,enable} using
       their short names (e.g. --enable-extras ssl_gnutls).

     * Added support for passing space-delimited module names to
       --{disable,enable}-extras (e.g. --enable-extras "ssl_gnutls
       ssl_mbedtls").

     * Added support for the X-Real-IP and X-Forwarded-For headers to the
       websocket module.

     * Added the codepage module — a better solution for custom 8-bit
       character set support than the incredibly broken and undocumented
       nationalchars module.

     * Changed the default for <waitpong:sendsnotice> to no.

     * Changed the user count in LUSERS so that it no longer includes
       services pseudoclients.

     * Developer: add Channel::WriteRemoteNotice which sends a notice to
       remote users as well as local users.

     * Developer: add a status char option to Channel::WriteNotice for
       sending status messages.

     * Developer: add the ClientProtocol::MessageTagEvent class to allow
       handling message tags easier.

     * Developer: added MessageTarget::GetName to allow easily getting the
       name of a message target.

     * Developer: added a status char option to the TagMessage constructor
       for sending status messages.

     * Developer: added an "oper only" parameter to
       Simple{Channel,User}ModeHandler.

     * Developer: added empty string checks to the
       Numerics::NoSuch{Channel,Nick} constructors.

     * Developer: added several variadic overloads of the
       IRCv3::Replies::Reply::Send method.

     * Developer: added the OnCommandBlocked event for when the execution of
       a command is blocked.

     * Developer: added the UserManager::ULineCount method for counting
       pseudoclients on ulined servers.

     * Developer: added the inspircd.org/poison capability which rejects any
       attempt to request it to avoid clients requesting all available
       capabilities rather than the ones they support.

     * Developer: added the stdalgo:delete_zero method for deleting and
       zeroing a pointer.

     * Developer: deprecated the ProtocolInterface::Send{Channel,User}Notice
       methods in favour of SendMessage.

     * Developer: disabled CULLLIST log messages unless the server has been
       built in debug mode.

     * Developer: switched from Travis CI to GitHub Actions.

     * Developer: the FailedPort type now contains the config tag that the
       listener was created from.

     * Fix connections to ports which have an invalid I/O hook configured not
       being rejected.

     * Fix various Perl tools not looking in the right directory for the
       make::* modules.

     * Fixed a bug in helpop.conf.example where the SWHOIS key was not using
       the correct value name.

     * Fixed allowing TAGMSG messages to be sent without any tags attached.

     * Fixed boolean configuration options not being matched in a case
       insensitive way.

     * Fixed not using case insensitive comparisons for the DCCALLOW
       subcommands.

     * Fixed not using case insensitive matching when checking if a SSL
       rehash has been requested.

     * Fixed not using the ERR_INVALIDMODEPARAM numeric when not enough
       parameters are given to the snomask mode.

     * Fixed not using the RPL_REHASHING numeric for remote rehashes.

     * Fixed parsing CTCPs in the dccallow module.

     * Fixed prioritisation of custom events provided by modules.

     * Fixed spamming the log with DNS cache clearing notices when nothing
       was actually cleared.

     * Fixed status messages not working with the TAGMSG command.

     * Fixed the chanhistory module not storing message tags.

     * Fixed the chanhistory module not storing notices.

     * Fixed the chanhistory module storing CTCPs.

     * Fixed the legacy PROTOCTL NAMESX command not using case insensitive
       matching.

     * Fixed the legacy PROTOCTL UHNAMES command not using case insensitive
       matching.

     * Fixed the nationalchars module allowing nicknames which begin with a
       number.

     * Fixed the nationalchars module not rebuilding the 005 numerics on
       unload.

     * Fixed the nationalchars module not restoring the previous casemapping
       name on unload.

     * Fixed the systemd unit file starting InspIRCd before the network is
       online.

     * Fixed unnecessarily making N*2-1 too many copies of the command
       arguments when processing a command with multiple targets.

     * Improve the warning process when starting InspIRCd as root.

     * Improved the ban message shown to users if they are banned by an
       extban.

     * Improved the output when a port can not be bound.

     * Removed the preceding - from the MOTD, server operator MOTD, and any
       custom MOTDs added with the showfile module.

     * Renamed <chanhistory:notice> to <chanhistory:prefixmsg> so the
       behaviour is less ambiguous.

     * Replace the Windows getopt_long shim with the ya_getopt library.

     * Updated the example MOTD and server operator MOTD to be a bit prettier
       and show off some of the escape codes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2020/01/18 21:48:49 jperkin Exp $
d4 1
@


1.17
log
@*: Recursive revision bump for openssl 1.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2019/10/25 11:01:55 nia Exp $
d3 1
a3 2
DISTNAME=	inspircd-3.4.0
PKGREVISION=	1
@


1.16
log
@inspircd: Update to 3.4.0

### InspIRCd 3.4.0

**This version of InspIRCd was released on 2019-10-25.**

* Added `<alias:stripcolor>` to allow stripping formatting codes before matching an alias.

* Added `<cloak:ignorecase>` to ignore the case of a FQDN when cloaking.

* Added a check for the `channels/auspex` privilege to the hidemode module.

* Added a workaround for gateway IP addresses being banned by the connectban module.

* Added more information to timedbans addition/expiry notices.

* Added support for filtering part messages to the chanfilter module.

* Developer: added `ConfigStatus::initial` to find out if the config is being loaded for the first time.

* Developer: added `Events::ModuleEventProvider::{OnSubscribe,OnUnsubscribe}` to allow knowing when a module has subscribed to or unsubscribed from an event.

* Developer: added a parameter to the `OnServerSplit` event which specifies whether the split was intended or not.

* Developer: added an internal serialisation of the dccallow list.

* Developer: added an internal serialisation of the silence list.

* Developer: added the `GetId` method to the `Server` class.

* Developer: added the `GetNumericToken` method to the `irc::sepstream` class.

* Developer: added the `GetTypeStr` method to the `DNS::Manager` class.

* Developer: added the `OnServerBurst` event for executing actions after a server has finished bursting.

* Developer: added the `OnShutdown` event for executing actions shortly before shutdown.

* Developer: added the experimental `Serializable` class &amp; API and implemented it in the `Extensible`, `User` and `LocalUser` classes.

* Developer: changed `IS_{LOCAL,REMOTE,SERVER}` to be capable of handling null pointers.

* Developer: exposed variable list modes via the `VLIST` 005 token to make things easier for client developers.

* Disabled DNS, DNSBL, and ident lookups for unregistered KiwiIRC.com users in the example provider configs.

* Documented the `repeat` exemption type.

* Exempted the KiwiIRC.com servers from X-lines in the example provider configs.

* Fixed a bug in the HAProxy module where it would ignore any data received in the same packet as the header when using TCP connections.

* Fixed a crash on shutdown in the spanningtree module.

* Fixed linker errors caused by build objects from one compiler being used by another.

* Fixed not respecting the deprecated `<channels:users>` config tag.

* Fixed the DNSBL module banning a user after their IP address has changed.

* Fixed the IP addresses of the KiwiIRC.com servers in the example provider configs.

* Fixed the `OnSetUserIP` event being fired before the connect class has changed.

* Fixed the `u_noctcp` mode not being respected for CTCPs targeted at a channel.

* Fixed the config example path not being updated when the config path is changed in interactive mode.

* Fixed the example configs allowing voiced users to voice/devoice other users.

* Fixed the example provider config files not being installed.

* Fixed the silence module not being able to add or remove entries in some cases.

* Fixed various issues relating to hostname resolution.

* Raised the default value for `<connflood:bootwait>` from ten seconds to two minutes.

* Replaced the gdbargs file with the `--eval-command` option inside the init script.

* Updated the NetBSD `EV_SET` workaround now that upstream have fixed the issue.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2019/08/23 13:32:30 nia Exp $
d4 1
@


1.15
log
@inspircd*: Update COMMENT
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2019/08/23 12:04:13 nia Exp $
d3 1
a3 1
DISTNAME=	inspircd-3.3.0
d61 1
a61 1
CONF_FILES_PERMS+=	${EGDIR}/filter.conf.example ${PKG_SYSCONFDIR}/filter.conf  \
@


1.14
log
@inspircd3: Use :ts
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2019/08/23 11:01:14 nia Exp $
d10 1
a10 1
COMMENT=	Modular Internet Relay Chat (IRC) server
@


1.13
log
@inspircd3: Update to 3.3.0

### InspIRCd 3.3.0

* Added PackageInfo directives for ArchLinux.
* Changed the maximum value for `<chanfilter:maxlen>` from 100 to 250.
* Developer: added an experimental header which implements the
  IRCv3 Standard Replies draft:
https://github.com/ircv3/ircv3-specifications/blob/master/extensions/standard-replies.md
* Developer: added the OnConnectionFail event for suspending a user connection
which is about to fail.
* Developer: added the `ExtensionItem::{To,From}{Human,Internal,Network}`
methods to convert an extension item to and from various string forms.
* Developer: added the `MessageEventListener` class for adding tags to server
messages.
* Developer: added the
`{EventHandler,StreamSocket,UserIOHandler}::SwapInternals` methods to swap the
internals of two sockets.
* Developer: deprecated the ServerEventListener clas and split the events
contained within it into the
`ServerProtocol::{BroadcastEventListener,LinkEventListener,SyncEventListener}
classes.
* Developer: deprecated the `SerializeFormat` enum, and the `serialize`,
`unserialize` methods of the `ExtensionItem` class, and the `LocalExtItem`
class.
* Fixed a **crash** in the MySQL module when built against mariadb-connector-c
v3.0.5 or newer.
* Fixed allowing the `sasl` capability to be requested when the SASL server is
offline.
* Fixed empty `GLOBOPS` and `WALLOPS` messages not failing with an
`ERR_NOTEXTTOSEND` message.
* Fixed listener sockets with `<bind:replace>` enabled not being replaced in
some circumstances.
* Fixed not applying IRCv3 `server-time` timestamps on the server the source
is connecting from.
* Fixed not being able to use the `O` (oper) extban to server operators with a
space in their server operator type.
* Fixed referring to registration timeouts as ping timeouts in the
`conn_waitpong` module.
* Fixed sending IRCv3 `account-notify` and `chghost` messages to a user who
has not sent the `NICK` and `USER` commands yet.
* Fixed sending IRCv3 `cap-notify` messages for capabilities which are not
presently visible in `CAP LS`.
* Fixed the `geo_maxmind` module trying to interpret an `AF_UNIX` endpoint as
an IP address.
* Improved the message sent to server operators when the maximum connections
for a connect class is reached.
* Updated the vendored `utfcpp` library to v3.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2019/08/11 13:18:03 wiz Exp $
d107 1
a107 1
	    --enable-extras=${INSPIRCD_EXTRAS:S/.cpp m_/.cpp,m_/gW}
@


1.12
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2019/07/20 22:46:11 wiz Exp $
d3 1
a3 2
DISTNAME=	inspircd-3.2.0
PKGREVISION=	2
@


1.11
log
@*: recursive bump for nettle 3.5.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2019/07/05 12:11:49 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.10
log
@inspircd3: Update to 3.2.0

This version of InspIRCd was released on 2019-06-05.

- Added a configure option, --example-dir, which specifies the
directory that example config files get installed into.
- Added a flag to the filter module which allows registered users to be
exempt from a filter.
- Added a warning when the user tries to build on OpenBSD as it ships
very broken compilers.
- Added a warning when the user tries to build without SSL support.
- Added example config files for enabling support for IRCCloud and
KiwiIRC.com on your server.
- Added syntax hints for all modes with parameters to the
ERR_INVALIDMODEPARAM numeric response.
- Added the ability to include all .conf files in a directory.
- Added <bind:permissions> to UNIX socket listeners to set who can
access the socket.
- Added <bind:replace> to UNIX socket listeners to allow replacing
existing sockets on boot.
- Added <messageflood:notice>, <messageflood:privmsg>, and
<messageflood:tagmsg> to the messageflood module to specify how many
lines individual messages are equivalent to.
- Added <permchanneldb:saveperiod> to allow customising how often the
permchannels module should check whether its database needs to be
saved.
- Added <sslprofile:tlsv11> and <sslprofile:tlsv12> to the ssl_openssl
module to easily allow disabling old SSL versions.
- Added <xlinedb:saveperiod> to allow customising how often the
xline_db module should check whether its database needs to be saved.
- All SQL queries are now logged at the debug log level to enable
easier debugging of SQL issues.
- Developer: added support for marking a socket to be closed once it
has finished receiving all the data sent to it.
- Developer: added support for retrieving the end message of a batch.
- Developer: added the OnUserPreQuit event for changing quit messages
before a user disconnects.
- Developer: added the FileSystem::GetFileList() function to get a list
of files in a directory matching a glob pattern.
- Developer: added the irc::sockets::isunix() function for checking if
a string is a valid UNIX socket path.
- Developer: ignore any SIGUSR1 or SIGUSR2 with no handlers instead of
killing the process.
- Fixed a misleading debug message in the sslinfo module.
- Fixed calculating the human-readable version of durations.
- Fixed closing HTTP connections before the entire http_stats module
output had been sent.
- Fixed linking the spanningtree module on OpenBSD.
- Fixed modules that are in the process of being unloaded sometimes
having events called on them.
- Fixed not checking if the cap module is enabled before enabling the
NAMESX and UHNAMES 005 tokens.
- Fixed outgoing UNIX socket server connections.
- Fixed routing tags on TAGMSG messages between servers.
- Fixed server operators with the channels/auspex privilege not being
able to request the topic of secret/private channels with the /TOPIC
command.
- Fixed the autoop module checking the prefix mode add rank when
removing list entries.
- Fixed the conn_umodes module setting user modes before the MOTD has
been sent.
- Fixed the default log directory in system-wide mode to be
/var/log/inspircd.
- Fixed the denychans module not checking whether the redirect channel
is allowed properly.
- Fixed the exemptchanops module not validating list entries.
- Fixed the grammar of the error messages sent by the repeat module.
- Fixed the Perl helper script finding the location of the PID file.
- Fixed the sslinfo module not being able to place WebIRC users into
the appropriate connect classes.
- Fixed the TAGMSG message forwarding all tags regardless of whether
they had been whitelisted.
- Fixed the <connect:usests> option being inverted.
- Fixed various harmless compiler warnings in the httpd module.
- Fixed <pid:file> not being relative to the data directory as was
intended.
- Fixed server-time timestamps only being accurate to the second.
- Made the error message sent by the alias module when an alias
requires a U-lined target but the target is not U-lined more accurate.
- Show how many users in a channel are not using SSL in the
ERR_ALLMUSTSSL response.
- Updated the Module Manager source list for the new inspircd-contrib
repository.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2019/06/23 10:04:26 nia Exp $
d4 1
@


1.9
log
@inspircd3: Don't "exit 1" when the group we build as is "wheel".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2019/06/21 14:06:48 nia Exp $
d3 1
a3 2
DISTNAME=	inspircd-3.1.0
PKGREVISION=	2
d25 1
a108 4
post-install:
	${MV} ${DESTDIR}${PKG_SYSCONFDIR}/examples/* ${DESTDIR}${EGDIR}
	${RM} -rf ${DESTDIR}${PKG_SYSCONFDIR}/examples

@


1.8
log
@inspircd3: Use gnu++03, as upstream does for their travis builds.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2019/05/17 09:59:18 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.7
log
@inspircd3: Update to 3.1.0

Changes:

* Added a configure option, --disable-auto-extras, which disables
automatically enabling extras for which the dependencies are
available.
* Added support for disabling a STS policy for users in specific
connect classes.
* Added support for the IRCv3 Message IDs specification.
* Fixed a crash in the silence module on some older versions of
GCC.
* Fixed linking against v2 servers running the ASCII case mapping
module from inspircd-extras.
* Fixed an inverted condition in the commonchans module which made
the module not work.
* Fixed configure not failing when invalid options were passed to
it.
* Fixed pending X-lines only being applied to a single user.
* Fixed servers not specifying whether they are hidden. If no
visibility is specified then servers default to the visibility of
their parent server.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2019/05/11 21:15:26 nia Exp $
d4 1
d16 1
a16 1
USE_LANGUAGES=	c99 c++03
@


1.6
log
@inspircd3: Replace c++03 with gnu++03 in USE_LANGUAGES.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/05/10 09:40:01 nia Exp $
d3 1
a3 2
DISTNAME=	inspircd-3.0.1
PKGREVISION=	1
d15 1
a15 1
USE_LANGUAGES=	c gnu++03
d31 3
d95 1
a95 2
INSPIRCD_EXTRAS_OFF+=	m_regex_re2.cpp
INSPIRCD_EXTRAS_OFF+=	m_regex_tre.cpp
d97 1
a97 1
CONFIGURE_ARGS+=	--distribution-label=pkgsrc
d99 4
a102 1
.include "options.mk"
d106 1
a106 2
	    --enable-extras=${INSPIRCD_EXTRAS_ON:C/\.cpp[ ]* m_/.cpp,m_/gW} \
	    --disable-extras=${INSPIRCD_EXTRAS_OFF:C/\.cpp[ ]* m_/.cpp,m_/gW}
@


1.5
log
@inspircd3: Update to 3.0.1

This release contains minor bug fixes and documentation corrections.
Most notably:

* Fixed building on NetBSD.
* Fixed building on Windows.
* Fixed building with older libc implementations.
* Fixed setting a distribution label.
* Fixed higher <maxlist> values not being shown in MAXLIST.

(This mainly means workarounds can be deleted from pkgsrc).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/05/05 10:44:50 nia Exp $
d4 1
d16 1
a16 1
USE_LANGUAGES=	c c++03
@


1.4
log
@chat/inspircd3: Use PKG_SYSCONFDIR in post-install.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/05/04 10:50:04 nia Exp $
d3 1
a3 2
DISTNAME=	inspircd-3.0.0
PKGREVISION=	2
d15 1
a15 1
USE_LANGUAGES=	c c++11
d18 1
d30 1
a96 5
# 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

a106 4
	${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
@


1.3
log
@chat/inspircd3: Create config dirs with OWN_DIRS and set permissions on
config files to be only readable to the inspircd user. Many of these files
contain sensitive information after configuration, e.g. keys and passwords.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2019/05/03 19:03:02 nia Exp $
d109 2
a110 3
	${MV} ${DESTDIR}${PREFIX}/etc/inspircd/examples/* \
	    ${DESTDIR}${PREFIX}/share/examples/inspircd
	${RM} -rf ${DESTDIR}${PREFIX}/etc/inspircd/examples
@


1.2
log
@chat/inspircd3: Correct some config file paths I missed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2019/05/03 17:14:27 nia Exp $
d4 1
a4 1
PKGREVISION=	1
d22 2
d27 1
a27 1
CONFIGURE_ARGS+=	--config-dir=${PKG_SYSCONFDIR}/inspircd
a35 20
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

d46 27
d76 2
a80 2
EGDIR=			${PREFIX}/share/examples/inspircd

a89 1
INSTALLATION_DIRS+=	${PKG_SYSCONFDIR}/inspircd/services
@


1.1
log
@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/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2019/04/03 00:32:27 ryoon Exp $
d4 1
@

