pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat chat/inspircd: Import version 2.0.27 from pkgsrc-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/893a11bdd707
branches:  trunk
changeset: 318835:893a11bdd707
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jan 30 10:16:47 2019 +0000

description:
chat/inspircd: Import version 2.0.27 from pkgsrc-wip.

Some assistance and feedback with packaging from the inspircd
maintainer, thanks.

InspIRCd is a modular Internet Relay Chat (IRC) server.

It was created from scratch to be stable, modern and lightweight.
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.

diffstat:

 chat/Makefile                     |     7 +-
 chat/inspircd/DESCR               |     6 +
 chat/inspircd/Makefile            |    86 +
 chat/inspircd/PLIST               |   218 ++++
 chat/inspircd/distinfo            |     6 +
 chat/inspircd/files/inspircd.conf |   541 ++++++++++
 chat/inspircd/files/inspircd.sh   |    20 +
 chat/inspircd/files/modules.conf  |  1898 +++++++++++++++++++++++++++++++++++++
 chat/inspircd/options.mk          |    57 +
 9 files changed, 2836 insertions(+), 3 deletions(-)

diffs (truncated from 2904 to 300 lines):

diff -r aedc8f37aa9a -r 893a11bdd707 chat/Makefile
--- a/chat/Makefile     Wed Jan 30 10:15:45 2019 +0000
+++ b/chat/Makefile     Wed Jan 30 10:16:47 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.212 2019/01/01 09:41:20 nia Exp $
+# $NetBSD: Makefile,v 1.213 2019/01/30 10:16:47 nia Exp $
 #
 
 COMMENT=       Communication programs
@@ -10,7 +10,6 @@
 SUBDIR+=       bitlbee
 SUBDIR+=       bnc
 SUBDIR+=       bsflite
-SUBDIR+=       carbons-purple
 SUBDIR+=       centerim
 SUBDIR+=       centerim5
 SUBDIR+=       cgiirc
@@ -45,6 +44,7 @@
 SUBDIR+=       icbirc
 SUBDIR+=       icqlib
 SUBDIR+=       ii
+SUBDIR+=       inspircd
 SUBDIR+=       ircII
 SUBDIR+=       ircd-hybrid
 SUBDIR+=       irchat-pj
@@ -74,12 +74,13 @@
 SUBDIR+=       libmsn
 SUBDIR+=       libotr
 SUBDIR+=       libpurple
+SUBDIR+=       libpurple-carbons
+SUBDIR+=       libpurple-lurch
 SUBDIR+=       libtelepathy
 SUBDIR+=       libtlen
 SUBDIR+=       licq-core
 SUBDIR+=       licq-gui-console
 SUBDIR+=       loudmouth
-SUBDIR+=       lurch-purple
 SUBDIR+=       matterircd
 SUBDIR+=       mcabber
 SUBDIR+=       meanwhile
diff -r aedc8f37aa9a -r 893a11bdd707 chat/inspircd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd/DESCR       Wed Jan 30 10:16:47 2019 +0000
@@ -0,0 +1,6 @@
+InspIRCd is a modular Internet Relay Chat (IRC) server.
+
+It was created from scratch to be stable, modern and lightweight.
+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.
diff -r aedc8f37aa9a -r 893a11bdd707 chat/inspircd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd/Makefile    Wed Jan 30 10:16:47 2019 +0000
@@ -0,0 +1,86 @@
+# $NetBSD: Makefile,v 1.60 2019/01/30 10:16:47 nia Exp $
+
+DISTNAME=      inspircd-2.0.27
+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+=    perl
+USE_LANGUAGES= c c++
+HAS_CONFIGURE= yes
+MAKE_FILE=     BSDmakefile
+
+BUILD_DEFS+=   PKG_SYSCONFDIR
+
+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+=       --data-dir=${PREFIX}/inspircd/data
+CONFIGURE_ARGS+=       --log-dir=${PREFIX}/inspircd/logs
+CONFIG_SHELL=          ${PERL5}
+
+.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}
+
+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
+
+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
+
+SUBST_CLASSES+=                conf
+SUBST_STAGE.conf=      pre-configure
+SUBST_MESSAGE.conf=    Set variables in configuration file.
+SUBST_FILES.conf+=     conf/inspircd.conf
+SUBST_SED.conf+=       -e "s,@PREFIX@,${PREFIX},g"
+SUBST_SED.conf+=       -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g"
+
+INSTALLATION_DIRS+=    ${EGDIR}
+
+.include "options.mk"
+
+post-configure:
+.for extra in ${INSPIRCD_EXTRAS}
+       cd ${WRKSRC} && ${CONFIGURE_ENV} ${PERL5} ./configure --enable-extras=${extra}
+.endfor
+
+post-extract:
+       ${MKDIR} ${WRKSRC}/conf
+       ${CP} ${FILESDIR}/*.conf ${WRKSRC}/conf
+
+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} ${WRKSRC}/conf/*.conf ${DESTDIR}${EGDIR}
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aedc8f37aa9a -r 893a11bdd707 chat/inspircd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd/PLIST       Wed Jan 30 10:16:47 2019 +0000
@@ -0,0 +1,218 @@
+@comment $NetBSD: PLIST,v 1.11 2019/01/30 10:16:47 nia Exp $
+bin/inspircd
+lib/inspircd/modules/cmd_admin.so
+lib/inspircd/modules/cmd_away.so
+lib/inspircd/modules/cmd_clearcache.so
+lib/inspircd/modules/cmd_commands.so
+lib/inspircd/modules/cmd_connect.so
+lib/inspircd/modules/cmd_die.so
+lib/inspircd/modules/cmd_eline.so
+lib/inspircd/modules/cmd_gline.so
+lib/inspircd/modules/cmd_info.so
+lib/inspircd/modules/cmd_invite.so
+lib/inspircd/modules/cmd_ison.so
+lib/inspircd/modules/cmd_join.so
+lib/inspircd/modules/cmd_kick.so
+lib/inspircd/modules/cmd_kill.so
+lib/inspircd/modules/cmd_kline.so
+lib/inspircd/modules/cmd_links.so
+lib/inspircd/modules/cmd_list.so
+lib/inspircd/modules/cmd_loadmodule.so
+lib/inspircd/modules/cmd_lusers.so
+lib/inspircd/modules/cmd_map.so
+lib/inspircd/modules/cmd_mode.so
+lib/inspircd/modules/cmd_modenotice.so
+lib/inspircd/modules/cmd_modules.so
+lib/inspircd/modules/cmd_motd.so
+lib/inspircd/modules/cmd_names.so
+lib/inspircd/modules/cmd_nick.so
+lib/inspircd/modules/cmd_notice.so
+lib/inspircd/modules/cmd_oper.so
+lib/inspircd/modules/cmd_part.so
+lib/inspircd/modules/cmd_pass.so
+lib/inspircd/modules/cmd_ping.so
+lib/inspircd/modules/cmd_pong.so
+lib/inspircd/modules/cmd_privmsg.so
+lib/inspircd/modules/cmd_qline.so
+lib/inspircd/modules/cmd_quit.so
+lib/inspircd/modules/cmd_rehash.so
+lib/inspircd/modules/cmd_reloadmodule.so
+lib/inspircd/modules/cmd_restart.so
+lib/inspircd/modules/cmd_rules.so
+lib/inspircd/modules/cmd_server.so
+lib/inspircd/modules/cmd_squit.so
+lib/inspircd/modules/cmd_stats.so
+lib/inspircd/modules/cmd_time.so
+lib/inspircd/modules/cmd_topic.so
+lib/inspircd/modules/cmd_unloadmodule.so
+lib/inspircd/modules/cmd_user.so
+lib/inspircd/modules/cmd_userhost.so
+lib/inspircd/modules/cmd_version.so
+lib/inspircd/modules/cmd_wallops.so
+lib/inspircd/modules/cmd_who.so
+lib/inspircd/modules/cmd_whois.so
+lib/inspircd/modules/cmd_whowas.so
+lib/inspircd/modules/cmd_zline.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_auditorium.so
+lib/inspircd/modules/m_autoop.so
+lib/inspircd/modules/m_banexception.so
+lib/inspircd/modules/m_banredirect.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_chanprotect.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_cloaking.so
+lib/inspircd/modules/m_clones.so
+lib/inspircd/modules/m_close.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_devoice.so
+lib/inspircd/modules/m_dnsbl.so
+lib/inspircd/modules/m_exemptchanops.so
+lib/inspircd/modules/m_filter.so
+lib/inspircd/modules/m_gecosban.so
+${PLIST.geoip}lib/inspircd/modules/m_geoip.so
+lib/inspircd/modules/m_globalload.so
+lib/inspircd/modules/m_globops.so
+lib/inspircd/modules/m_halfop.so
+lib/inspircd/modules/m_helpop.so
+lib/inspircd/modules/m_hidechans.so
+lib/inspircd/modules/m_hideoper.so
+lib/inspircd/modules/m_hostchange.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_joinflood.so
+lib/inspircd/modules/m_jumpserver.so
+lib/inspircd/modules/m_kicknorejoin.so
+lib/inspircd/modules/m_knock.so
+${PLIST.ldap}lib/inspircd/modules/m_ldapauth.so
+${PLIST.ldap}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_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_permchannels.so
+${PLIST.pgsql}lib/inspircd/modules/m_pgsql.so



Home | Main Index | Thread Index | Old Index