pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/inspircd InspIRCd is a modular C++ IRC Daemon for...
details: https://anonhg.NetBSD.org/pkgsrc/rev/913db2339722
branches: trunk
changeset: 531194:913db2339722
user: adrianp <adrianp%pkgsrc.org@localhost>
date: Tue Jul 24 20:13:19 2007 +0000
description:
InspIRCd is a modular C++ IRC Daemon for Linux, BSD and Windows systems
created to provide a stable, modern, lightweight ircd (irc server) from
scratch and provide a vast number of features in a modularised form using
an advanced module API. By keeping the functionality of the main core to a
minimum we hope to increase the stability and speed of our project and make
it customisable to the needs of many users.
diffstat:
chat/inspircd/DESCR | 6 +
chat/inspircd/Makefile | 134 ++++++++++++++++++++++++
chat/inspircd/PLIST | 216 ++++++++++++++++++++++++++++++++++++++++
chat/inspircd/PLIST.common_end | 3 +
chat/inspircd/distinfo | 7 +
chat/inspircd/files/inspircd.sh | 48 ++++++++
chat/inspircd/options.mk | 151 +++++++++++++++++++++++++++
chat/inspircd/patches/patch-aa | 13 ++
chat/inspircd/patches/patch-ab | 29 +++++
9 files changed, 607 insertions(+), 0 deletions(-)
diffs (truncated from 643 to 300 lines):
diff -r 610e7c2397ec -r 913db2339722 chat/inspircd/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd/DESCR Tue Jul 24 20:13:19 2007 +0000
@@ -0,0 +1,6 @@
+InspIRCd is a modular C++ IRC Daemon for Linux, BSD and Windows systems
+created to provide a stable, modern, lightweight ircd (irc server) from
+scratch and provide a vast number of features in a modularised form using
+an advanced module API. By keeping the functionality of the main core to a
+minimum we hope to increase the stability and speed of our project and make
+it customisable to the needs of many users.
diff -r 610e7c2397ec -r 913db2339722 chat/inspircd/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd/Makefile Tue Jul 24 20:13:19 2007 +0000
@@ -0,0 +1,134 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/24 20:13:19 adrianp Exp $
+#
+
+DISTNAME= InspIRCd-1.1.10
+PKGNAME= ${DISTNAME:S/InspIRCd/inspircd/}
+CATEGORIES= chat
+MASTER_SITES= http://www.inspircd.org/downloads/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= adrianp%NetBSD.org@localhost
+HOMEPAGE= http://www.inspircd.org/
+COMMENT= Modular C++ IRC Daemon
+
+USE_TOOLS+= perl:build gmake
+REPLACE_PERL+= .inspircd.inc configure
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/}
+HAS_CONFIGURE= yes
+CONFIG_SHELL= ${PERL5}
+USE_LANGUAGES= c++
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+PLIST_SRC+= ${PKGDIR}/PLIST.common_end
+RCD_SCRIPTS+= inspircd
+PKG_SYSCONFSUBDIR= inspircd
+
+FILES_SUBST+= INSPIRCD_USER=${INSPIRCD_USER:Q}
+FILES_SUBST+= INSPIRCD_GROUP=${INSPIRCD_GROUP:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+EGDIR= ${PREFIX}/share/examples/inspircd
+EXTRA= ${WRKSRC}/src/modules/extra
+MODULES?= # undef
+HEADERS?= # undef
+CONF_FILES_PERMS= ${EGDIR}/inspircd.conf.example \
+ ${PKG_SYSCONFDIR}/inspircd.conf \
+ ${INSPIRCD_USER:Q} ${INSPIRCD_GROUP:Q} 0400
+
+PKG_USERS_VARS= INSPIRCD_USER
+PKG_GROUPS_VARS= INSPIRCD_GROUP
+
+PKG_GROUPS= ${INSPIRCD_GROUP:Q}
+PKG_USERS= ${INSPIRCD_USER:Q}:${INSPIRCD_GROUP:Q}
+
+PKG_GECOS.${INSPIRCD_USER}= InspIRCd user
+
+SUBST_CLASSES+= conf
+SUBST_STAGE.conf= pre-configure
+SUBST_FILES.conf= docs/inspircd.conf.example
+SUBST_SED.conf+= -e "s|/path/to/inspircd.pid|${VARBASE}/run/inspircd/inspircd.pid|g"
+SUBST_MESSAGE.conf= Fixing configuration files.
+
+CONFIGURE_ARGS+= --disable-interactive
+CONFIGURE_ARGS+= --prefix=${PREFIX}/share/inspircd
+CONFIGURE_ARGS+= --config-dir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+= --binary-dir=${PREFIX}/bin
+CONFIGURE_ARGS+= --library-dir=${PREFIX}/lib/inspircd
+CONFIGURE_ARGS+= --module-dir=${PREFIX}/share/inspircd/modules
+
+CONFIGURE_ARGS+= --with-nick-length=${INSP_NICLEN:Q}
+CONFIGURE_ARGS+= --with-channel-length=${INSP_CHANLEN:Q}
+CONFIGURE_ARGS+= --with-max-clients=${INSP_MAXCLI:Q}
+CONFIGURE_ARGS+= --with-ident-length=${INSP_MAXIDENT:Q}
+CONFIGURE_ARGS+= --with-quit-length=${INSP_MAXQUIT:Q}
+CONFIGURE_ARGS+= --with-topic-length=${INSP_MAXTOPIC:Q}
+CONFIGURE_ARGS+= --with-kick-length=${INSP_MAXKICK:Q}
+CONFIGURE_ARGS+= --with-gecos-length=${INSP_MAXGECOS:Q}
+CONFIGURE_ARGS+= --with-away-length=${INSP_MAXAWAY:Q}
+CONFIGURE_ARGS+= --with-max-modes=${INSP_MAXMODES:Q}
+
+.include "options.mk"
+
+BUILD_DEFS+= INSP_NICLEN INSP_CHANLEN INSPIRCD_USER INSPIRCD_GROUP
+BUILD_DEFS+= INSP_MAXCLI INSP_MAXIDENT INSP_MAXQUIT INSP_MAXTOPIC
+BUILD_DEFS+= INSP_MAXKICK INSP_MAXGECOS INSP_MAXAWAY INSP_MAXMODES
+BUILD_DEFS+= VARBASE
+
+OWN_DIRS_PERMS+= ${VARBASE}/run/inspircd \
+ ${INSPIRCD_USER:Q} ${INSPIRCD_GROUP:Q} 750
+
+INSPIRCD_USER?= inspircd
+INSPIRCD_GROUP?= inspircd
+
+# from a default ./configure
+INSP_NICLEN?= 31
+INSP_CHANLEN?= 64
+INSP_MAXCLI?= 64
+INSP_MAXIDENT?= 12
+INSP_MAXQUIT?= 255
+INSP_MAXTOPIC?= 307
+INSP_MAXKICK?= 255
+INSP_MAXGECOS?= 128
+INSP_MAXAWAY?= 200
+INSP_MAXMODES?= 20
+
+post-extract:
+ ${MV} ${WRKDIR}/inspircd ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/}
+
+pre-configure:
+.if defined(MODULES)
+. for f in ${MODULES}
+ ${CP} ${EXTRA}/${f} ${WRKSRC}/src/modules/${f}
+. endfor
+.endif
+.if defined(HEADER)
+. for f in ${HEADERS}
+ ${CP} ${EXTRA}/${f} ${WRKSRC}/src/modules/${f}
+. endfor
+.endif
+
+post-build:
+ ${CP} ${PKGDIR}/PLIST ${WRKDIR}/.PLIST_SRC
+.if defined(MODULES)
+. for f in ${MODULES}
+ ${ECHO} share/inspircd/modules/${f} | \
+ ${SED} -e "s|\\.cpp|\\.so|g" >> ${WRKDIR}/.PLIST_SRC
+. endfor
+.endif
+
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA_DIR} ${EGDIR}/sql
+ ${INSTALL_DATA_DIR} ${EGDIR}/aliases
+
+ ${INSTALL_DATA} ${WRKSRC}/conf/inspircd.* ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/conf/aliases/*.example ${EGDIR}/aliases
+ ${INSTALL_DATA} ${WRKSRC}/docs/inspircd.conf.example ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/extras/m_*.sql ${EGDIR}/sql
+
+ ${TOUCH} ${VARBASE}/log/inspircd.log
+ ${CHOWN} ${INSPIRCD_USER}:${INSPIRCD_GROUP} ${VARBASE}/log/inspircd.log
+ ${CHMOD} 0640 ${VARBASE}/log/inspircd.log
+
+.include "../../mk/bsd.pkg.mk"
diff -r 610e7c2397ec -r 913db2339722 chat/inspircd/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/inspircd/PLIST Tue Jul 24 20:13:19 2007 +0000
@@ -0,0 +1,216 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/24 20:13:19 adrianp Exp $
+bin/inspircd
+lib/inspircd/cmd_admin.so
+lib/inspircd/cmd_away.so
+lib/inspircd/cmd_clearcache.so
+lib/inspircd/cmd_commands.so
+lib/inspircd/cmd_connect.so
+lib/inspircd/cmd_die.so
+lib/inspircd/cmd_eline.so
+lib/inspircd/cmd_gline.so
+lib/inspircd/cmd_info.so
+lib/inspircd/cmd_invite.so
+lib/inspircd/cmd_ison.so
+lib/inspircd/cmd_join.so
+lib/inspircd/cmd_kick.so
+lib/inspircd/cmd_kill.so
+lib/inspircd/cmd_kline.so
+lib/inspircd/cmd_links.so
+lib/inspircd/cmd_list.so
+lib/inspircd/cmd_loadmodule.so
+lib/inspircd/cmd_lusers.so
+lib/inspircd/cmd_map.so
+lib/inspircd/cmd_mode.so
+lib/inspircd/cmd_modules.so
+lib/inspircd/cmd_motd.so
+lib/inspircd/cmd_names.so
+lib/inspircd/cmd_nick.so
+lib/inspircd/cmd_notice.so
+lib/inspircd/cmd_oper.so
+lib/inspircd/cmd_part.so
+lib/inspircd/cmd_pass.so
+lib/inspircd/cmd_ping.so
+lib/inspircd/cmd_pong.so
+lib/inspircd/cmd_privmsg.so
+lib/inspircd/cmd_qline.so
+lib/inspircd/cmd_quit.so
+lib/inspircd/cmd_rehash.so
+lib/inspircd/cmd_reloadmodule.so
+lib/inspircd/cmd_restart.so
+lib/inspircd/cmd_rules.so
+lib/inspircd/cmd_server.so
+lib/inspircd/cmd_squit.so
+lib/inspircd/cmd_stats.so
+lib/inspircd/cmd_summon.so
+lib/inspircd/cmd_time.so
+lib/inspircd/cmd_topic.so
+lib/inspircd/cmd_trace.so
+lib/inspircd/cmd_unloadmodule.so
+lib/inspircd/cmd_user.so
+lib/inspircd/cmd_userhost.so
+lib/inspircd/cmd_users.so
+lib/inspircd/cmd_version.so
+lib/inspircd/cmd_wallops.so
+lib/inspircd/cmd_who.so
+lib/inspircd/cmd_whois.so
+lib/inspircd/cmd_whowas.so
+lib/inspircd/cmd_zline.so
+lib/inspircd/libIRCDasyncdns.so
+lib/inspircd/libIRCDbase.so
+lib/inspircd/libIRCDchannels.so
+lib/inspircd/libIRCDcommand_parse.so
+lib/inspircd/libIRCDcommands.so
+lib/inspircd/libIRCDconfigreader.so
+lib/inspircd/libIRCDcull_list.so
+lib/inspircd/libIRCDdynamic.so
+lib/inspircd/libIRCDhash.so
+lib/inspircd/libIRCDhelper.so
+lib/inspircd/libIRCDinspsocket.so
+lib/inspircd/libIRCDmode.so
+lib/inspircd/libIRCDmodules.so
+lib/inspircd/libIRCDsnomasks.so
+lib/inspircd/libIRCDsocket.so
+lib/inspircd/libIRCDsocketengine.so
+lib/inspircd/libIRCDstring.so
+lib/inspircd/libIRCDtimer.so
+lib/inspircd/libIRCDuserprocess.so
+lib/inspircd/libIRCDusers.so
+lib/inspircd/libIRCDwildcard.so
+lib/inspircd/libIRCDxline.so
+share/examples/inspircd/aliases/anope.conf.example
+share/examples/inspircd/aliases/atheme.conf.example
+share/examples/inspircd/aliases/ircservices.conf.example
+share/examples/inspircd/inspircd.censor.example
+share/examples/inspircd/inspircd.conf.example
+share/examples/inspircd/inspircd.filter.example
+share/examples/inspircd/inspircd.helpop-full.example
+share/examples/inspircd/inspircd.helpop.example
+share/examples/inspircd/inspircd.motd.example
+share/examples/inspircd/inspircd.quotes.example
+share/examples/inspircd/inspircd.rules.example
+share/examples/inspircd/sql/m_sqllog.mysql.sql
+share/examples/inspircd/sql/m_sqllog.postgresql.sql
+share/examples/inspircd/sql/m_sqllog.sqlite3.sql
+share/examples/inspircd/sql/m_sqloper.mysql.sql
+share/examples/inspircd/sql/m_sqloper.postgresql.sql
+share/examples/inspircd/sql/m_sqloper.sqlite3.sql
+share/examples/rc.d/inspircd
+share/inspircd/.gdbargs
+share/inspircd/inspircd
+share/inspircd/modules/m_alias.so
+share/inspircd/modules/m_alltime.so
+share/inspircd/modules/m_antibear.so
+share/inspircd/modules/m_antibottler.so
+share/inspircd/modules/m_auditorium.so
+share/inspircd/modules/m_banexception.so
+share/inspircd/modules/m_banredirect.so
+share/inspircd/modules/m_blockamsg.so
+share/inspircd/modules/m_blockcaps.so
+share/inspircd/modules/m_blockcolor.so
+share/inspircd/modules/m_botmode.so
+share/inspircd/modules/m_cban.so
+share/inspircd/modules/m_censor.so
+share/inspircd/modules/m_cgiirc.so
+share/inspircd/modules/m_chancreate.so
+share/inspircd/modules/m_chanfilter.so
+share/inspircd/modules/m_chanprotect.so
+share/inspircd/modules/m_check.so
+share/inspircd/modules/m_chghost.so
+share/inspircd/modules/m_chgident.so
+share/inspircd/modules/m_chgname.so
+share/inspircd/modules/m_cloaking.so
+share/inspircd/modules/m_clones.so
+share/inspircd/modules/m_conn_join.so
+share/inspircd/modules/m_conn_umodes.so
+share/inspircd/modules/m_conn_waitpong.so
+share/inspircd/modules/m_connflood.so
+share/inspircd/modules/m_customtitle.so
+share/inspircd/modules/m_cycle.so
+share/inspircd/modules/m_dccallow.so
+share/inspircd/modules/m_deaf.so
+share/inspircd/modules/m_denychans.so
+share/inspircd/modules/m_devoice.so
+share/inspircd/modules/m_dnsbl.so
+share/inspircd/modules/m_filter.so
+share/inspircd/modules/m_foobar.so
+share/inspircd/modules/m_globalload.so
+share/inspircd/modules/m_globops.so
+share/inspircd/modules/m_helpop.so
+share/inspircd/modules/m_hidechans.so
+share/inspircd/modules/m_hideoper.so
+share/inspircd/modules/m_hostchange.so
+share/inspircd/modules/m_http_client.so
+share/inspircd/modules/m_httpd.so
+share/inspircd/modules/m_httpd_stats.so
+share/inspircd/modules/m_ident.so
+share/inspircd/modules/m_invisible.so
+share/inspircd/modules/m_inviteexception.so
+share/inspircd/modules/m_joinflood.so
Home |
Main Index |
Thread Index |
Old Index