pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/inspircd inspircd: Update to 2.0.28



details:   https://anonhg.NetBSD.org/pkgsrc/rev/521cb26796cc
branches:  trunk
changeset: 400154:521cb26796cc
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Aug 23 10:51:48 2019 +0000

description:
inspircd: Update to 2.0.28

This release fixes a crash bug in the mysql module as well as fixing
several minor issues:

* Fixed BanCache entries existing after X-line expiry.
* Replaced all references to the dead InspIRCd wiki with the new InspIRCd
  docs site.
* Updated all documentation links to use https.
* Updated the Module Manager source list for the new inspircd-contrib
  repository.

InspIRCd v2 is now deprecated and will no longer receive security updates
after 2020-06-01.

diffstat:

 chat/inspircd/DESCR               |   5 +++++
 chat/inspircd/Makefile            |  31 ++++++++++++++++---------------
 chat/inspircd/distinfo            |  10 +++++-----
 chat/inspircd/files/inspircd.conf |   8 ++++----
 chat/inspircd/files/inspircd.sh   |   4 ++--
 5 files changed, 32 insertions(+), 26 deletions(-)

diffs (145 lines):

diff -r 8f3c9ac5491e -r 521cb26796cc chat/inspircd/DESCR
--- a/chat/inspircd/DESCR       Fri Aug 23 10:49:14 2019 +0000
+++ b/chat/inspircd/DESCR       Fri Aug 23 10:51:48 2019 +0000
@@ -4,3 +4,8 @@
 It avoids a number of design flaws and performance issues that
 plague other more established projects, such as UnrealIRCd, while
 providing the same level of feature parity.
+
+This is the legacy 2.0.x branch, kept for config compatibility.
+
+It is still maintained, but please use chat/inspircd3 if you don't
+need configuration compatibility.
diff -r 8f3c9ac5491e -r 521cb26796cc chat/inspircd/Makefile
--- a/chat/inspircd/Makefile    Fri Aug 23 10:49:14 2019 +0000
+++ b/chat/inspircd/Makefile    Fri Aug 23 10:51:48 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2019/08/11 13:18:03 wiz Exp $
+# $NetBSD: Makefile,v 1.67 2019/08/23 10:51:48 nia Exp $
 
-DISTNAME=      inspircd-2.0.27
-PKGREVISION=   4
+DISTNAME=      inspircd-2.0.28
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=inspircd/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -19,10 +18,12 @@
 
 BUILD_DEFS+=   PKG_SYSCONFDIR
 
+PKG_SYSCONFSUBDIR=     inspircd
+
 CONFIGURE_ARGS+=       --with-cc="${CXX} ${CXXFLAGS} ${LDFLAGS}"
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
 CONFIGURE_ARGS+=       --module-dir=${PREFIX}/lib/inspircd/modules
-CONFIGURE_ARGS+=       --config-dir=${PKG_SYSCONFDIR}/inspircd
+CONFIGURE_ARGS+=       --config-dir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --data-dir=${PREFIX}/inspircd/data
 CONFIGURE_ARGS+=       --log-dir=${PREFIX}/inspircd/logs
 CONFIG_SHELL=          ${PERL5}
@@ -47,14 +48,14 @@
 
 EGDIR=                 ${PREFIX}/share/examples/inspircd
 
-CONF_FILES+=           ${EGDIR}/motd.txt ${PKG_SYSCONFDIR}/inspircd/motd.txt
-CONF_FILES+=           ${EGDIR}/rules.txt ${PKG_SYSCONFDIR}/inspircd/rules.txt
-CONF_FILES+=           ${EGDIR}/inspircd.conf ${PKG_SYSCONFDIR}/inspircd/inspircd.conf
-CONF_FILES+=           ${EGDIR}/links.conf ${PKG_SYSCONFDIR}/inspircd/links.conf
-CONF_FILES+=           ${EGDIR}/modules.conf ${PKG_SYSCONFDIR}/inspircd/modules.conf
-CONF_FILES+=           ${EGDIR}/opers.conf ${PKG_SYSCONFDIR}/inspircd/opers.conf
-CONF_FILES+=           ${EGDIR}/motd.txt ${PKG_SYSCONFDIR}/inspircd/motd.txt
-CONF_FILES+=           ${EGDIR}/rules.txt ${PKG_SYSCONFDIR}/inspircd/rules.txt
+CONF_FILES+=           ${EGDIR}/motd.txt ${PKG_SYSCONFDIR}/motd.txt
+CONF_FILES+=           ${EGDIR}/rules.txt ${PKG_SYSCONFDIR}/rules.txt
+CONF_FILES+=           ${EGDIR}/inspircd.conf ${PKG_SYSCONFDIR}/inspircd.conf
+CONF_FILES+=           ${EGDIR}/links.conf ${PKG_SYSCONFDIR}/links.conf
+CONF_FILES+=           ${EGDIR}/modules.conf ${PKG_SYSCONFDIR}/modules.conf
+CONF_FILES+=           ${EGDIR}/opers.conf ${PKG_SYSCONFDIR}/opers.conf
+CONF_FILES+=           ${EGDIR}/motd.txt ${PKG_SYSCONFDIR}/motd.txt
+CONF_FILES+=           ${EGDIR}/rules.txt ${PKG_SYSCONFDIR}/rules.txt
 
 SUBST_CLASSES+=                conf
 SUBST_STAGE.conf=      pre-configure
@@ -78,9 +79,9 @@
 
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/.gdbargs
-       ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/inspircd/examples/motd.txt.example ${DESTDIR}${EGDIR}/motd.txt
-       ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/inspircd/examples/rules.txt.example ${DESTDIR}${EGDIR}/rules.txt
-       ${RM} -rf ${DESTDIR}${PKG_SYSCONFDIR}/inspircd/examples
+       ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/examples/motd.txt.example ${DESTDIR}${EGDIR}/motd.txt
+       ${INSTALL_DATA} ${DESTDIR}${PKG_SYSCONFDIR}/examples/rules.txt.example ${DESTDIR}${EGDIR}/rules.txt
+       ${RM} -rf ${DESTDIR}${PKG_SYSCONFDIR}/examples
        ${INSTALL_DATA} ${WRKSRC}/conf/*.conf ${DESTDIR}${EGDIR}
 
 .include "../../mk/pthread.buildlink3.mk"
diff -r 8f3c9ac5491e -r 521cb26796cc chat/inspircd/distinfo
--- a/chat/inspircd/distinfo    Fri Aug 23 10:49:14 2019 +0000
+++ b/chat/inspircd/distinfo    Fri Aug 23 10:51:48 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.20 2019/01/30 10:16:47 nia Exp $
+$NetBSD: distinfo,v 1.21 2019/08/23 10:51:48 nia Exp $
 
-SHA1 (inspircd-2.0.27.tar.gz) = e6db8a29e9270ceed51bd2fa9c45bb8a0d03aba5
-RMD160 (inspircd-2.0.27.tar.gz) = f911770fed2145086cddc91ebf0ed6d5c1bad578
-SHA512 (inspircd-2.0.27.tar.gz) = 56f03c3259fad54365e97fd82f4e309edc60b641ccadd7916d04156fd157858f79930c8b9df99aa98c5505f76ab19e6bcd150ae5ed04d2bddfff572e18226cdd
-Size (inspircd-2.0.27.tar.gz) = 735970 bytes
+SHA1 (inspircd-2.0.28.tar.gz) = e82d043c6645be854946b79bad086d591e111f07
+RMD160 (inspircd-2.0.28.tar.gz) = e20c8193dff1b7d54eeca6e0baefc85baf7decf7
+SHA512 (inspircd-2.0.28.tar.gz) = 0e8082a03e65f350ac423cc0781506c0eb40151d6e8d250067288b2a1d42087f10c159472ad76028aa986f6764180fdc493893984cadc0064715853472fa3e2a
+Size (inspircd-2.0.28.tar.gz) = 735981 bytes
diff -r 8f3c9ac5491e -r 521cb26796cc chat/inspircd/files/inspircd.conf
--- a/chat/inspircd/files/inspircd.conf Fri Aug 23 10:49:14 2019 +0000
+++ b/chat/inspircd/files/inspircd.conf Fri Aug 23 10:51:48 2019 +0000
@@ -153,11 +153,11 @@
 
 # This file has all the information about oper classes, types and o:lines.
 # You *MUST* edit it.
-<include file="@PKG_SYSCONFDIR@/inspircd/opers.conf">
+<include file="@PKG_SYSCONFDIR@/opers.conf">
 
 # This file has all the information about server links and ulined servers.
 # You *MUST* edit it if you intend to link servers.
-<include file="@PKG_SYSCONFDIR@/inspircd/links.conf">
+<include file="@PKG_SYSCONFDIR@/links.conf">
 
 #-#-#-#-#-#-#-#-#-#-  MISCELLANEOUS CONFIGURATION  -#-#-#-#-#-#-#-#-#-#
 #                                                                     #
@@ -167,7 +167,7 @@
 #   motd - displayed on connect and when a user executes /MOTD
 #   rules - displayed when the user executes /RULES
 # Modules can also define their own files
-<files motd="@PKG_SYSCONFDIR@/inspircd/motd.txt" rules="@PKG_SYSCONFDIR@/inspircd/rules.txt">
+<files motd="@PKG_SYSCONFDIR@/motd.txt" rules="@PKG_SYSCONFDIR@/rules.txt">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-  SERVER OPTIONS   -#-#-#-#-#-#-#-#-#-#-#-#-#
 #                                                                     #
@@ -531,7 +531,7 @@
 
 <exception host="*@localhost" reason="localhost">
 
-<include file="@PKG_SYSCONFDIR@/inspircd/modules.conf">
+<include file="@PKG_SYSCONFDIR@/modules.conf">
 
 #########################################################################
 #                                                                       #
diff -r 8f3c9ac5491e -r 521cb26796cc chat/inspircd/files/inspircd.sh
--- a/chat/inspircd/files/inspircd.sh   Fri Aug 23 10:49:14 2019 +0000
+++ b/chat/inspircd/files/inspircd.sh   Fri Aug 23 10:51:48 2019 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: inspircd.sh,v 1.3 2019/01/30 10:16:47 nia Exp $
+# $NetBSD: inspircd.sh,v 1.4 2019/08/23 10:51:48 nia Exp $
 #
 # PROVIDE: inspircd
 # REQUIRE: DAEMON
@@ -10,7 +10,7 @@
 name="inspircd"
 rcvar=${name}
 command="@PREFIX@/bin/inspircd"
-required_files="@PKG_SYSCONFDIR@/inspircd/inspircd.conf"
+required_files="@PKG_SYSCONFDIR@/inspircd.conf"
 pidfile="@PREFIX@/inspircd/${name}.pid"
 
 inspircd_user="@INSPIRCD_USER@"



Home | Main Index | Thread Index | Old Index