pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add inspircd.
Module Name: pkgsrc-wip
Committed By: nia <nia%NetBSD.org@localhost>
Pushed By: nee
Date: Wed Jan 2 16:03:26 2019 +0000
Changeset: 960e14039c20dc782c5ffb3e25e3a49b81128147
Modified Files:
Makefile
Added Files:
inspircd/DESCR
inspircd/Makefile
inspircd/PLIST
inspircd/distinfo
inspircd/options.mk
Log Message:
Add inspircd.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=960e14039c20dc782c5ffb3e25e3a49b81128147
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
inspircd/DESCR | 6 ++
inspircd/Makefile | 42 ++++++++++
inspircd/PLIST | 228 ++++++++++++++++++++++++++++++++++++++++++++++++++++
inspircd/distinfo | 6 ++
inspircd/options.mk | 57 +++++++++++++
6 files changed, 340 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index cf68dbef80..3d18fd9fb9 100644
--- a/Makefile
+++ b/Makefile
@@ -1531,6 +1531,7 @@ SUBDIR+= imonc
SUBDIR+= inetdxtra
SUBDIR+= info2man
SUBDIR+= infraarcana
+SUBDIR+= inspircd
SUBDIR+= intel-gpu-tools
SUBDIR+= interbase-docs
SUBDIR+= intervaltree
diff --git a/inspircd/DESCR b/inspircd/DESCR
new file mode 100644
index 0000000000..03fb3135ea
--- /dev/null
+++ b/inspircd/DESCR
@@ -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 --git a/inspircd/Makefile b/inspircd/Makefile
new file mode 100644
index 0000000000..b447e78c5f
--- /dev/null
+++ b/inspircd/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD$
+
+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
+
+CONFIGURE_ARGS+= --with-cc="${CXX} ${CXXFLAGS} ${LDFLAGS}"
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --module-dir=${PREFIX}/lib/inspircd/modules
+CONFIGURE_ARGS+= --config-dir=${PREFIX}/etc/inspircd
+CONFIGURE_ARGS+= --data-dir=${PREFIX}/inspircd/data
+CONFIGURE_ARGS+= --log-dir=${PREFIX}/inspircd/logs
+CONFIG_SHELL= ${PERL5}
+
+INSTALLATION_DIRS+= share/examples
+
+.include "options.mk"
+
+post-configure:
+.for extra in ${INSPIRCD_EXTRAS}
+ cd ${WRKSRC} && ${CONFIGURE_ENV} ${PERL5} ./configure --enable-extras=${extra}
+.endfor
+
+post-install:
+ ${RM} -f ${DESTDIR}${PREFIX}/.gdbargs
+ ${MV} ${DESTDIR}${PREFIX}/etc/inspircd/examples \
+ ${DESTDIR}${PREFIX}/share/examples/inspircd
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/inspircd/PLIST b/inspircd/PLIST
new file mode 100644
index 0000000000..472e865026
--- /dev/null
+++ b/inspircd/PLIST
@@ -0,0 +1,228 @@
+@comment $NetBSD$
+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
+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_regonlycreate.so
+lib/inspircd/modules/m_remove.so
+lib/inspircd/modules/m_restrictchans.so
+lib/inspircd/modules/m_restrictmsg.so
+lib/inspircd/modules/m_ripemd160.so
+lib/inspircd/modules/m_rline.so
+lib/inspircd/modules/m_sajoin.so
+lib/inspircd/modules/m_sakick.so
+lib/inspircd/modules/m_samode.so
+lib/inspircd/modules/m_sanick.so
+lib/inspircd/modules/m_sapart.so
+lib/inspircd/modules/m_saquit.so
+lib/inspircd/modules/m_sasl.so
+lib/inspircd/modules/m_satopic.so
+lib/inspircd/modules/m_securelist.so
+lib/inspircd/modules/m_seenicks.so
+lib/inspircd/modules/m_serverban.so
+lib/inspircd/modules/m_services_account.so
+lib/inspircd/modules/m_servprotect.so
+lib/inspircd/modules/m_sethost.so
+lib/inspircd/modules/m_setident.so
+lib/inspircd/modules/m_setidle.so
+lib/inspircd/modules/m_setname.so
+lib/inspircd/modules/m_sha256.so
+lib/inspircd/modules/m_showwhois.so
+lib/inspircd/modules/m_shun.so
+lib/inspircd/modules/m_silence.so
+lib/inspircd/modules/m_spanningtree.so
+lib/inspircd/modules/m_sqlauth.so
+${PLIST.sqlite3}lib/inspircd/modules/m_sqlite3.so
+lib/inspircd/modules/m_sqloper.so
+${PLIST.gnutls}lib/inspircd/modules/m_ssl_gnutls.so
+${PLIST.openssl}lib/inspircd/modules/m_ssl_openssl.so
+lib/inspircd/modules/m_sslinfo.so
+lib/inspircd/modules/m_sslmodes.so
+lib/inspircd/modules/m_stripcolor.so
+lib/inspircd/modules/m_svshold.so
+lib/inspircd/modules/m_swhois.so
+lib/inspircd/modules/m_testnet.so
+lib/inspircd/modules/m_timedbans.so
+lib/inspircd/modules/m_tline.so
+lib/inspircd/modules/m_topiclock.so
+lib/inspircd/modules/m_uhnames.so
+lib/inspircd/modules/m_uninvite.so
+lib/inspircd/modules/m_userip.so
+lib/inspircd/modules/m_vhost.so
+lib/inspircd/modules/m_watch.so
+lib/inspircd/modules/m_xline_db.so
+share/examples/inspircd/aliases/anope.conf.example
+share/examples/inspircd/aliases/atheme.conf.example
+share/examples/inspircd/censor.conf.example
+share/examples/inspircd/filter.conf.example
+share/examples/inspircd/helpop-full.conf.example
+share/examples/inspircd/helpop.conf.example
+share/examples/inspircd/inspircd.conf.example
+share/examples/inspircd/links.conf.example
+share/examples/inspircd/modules.conf.example
+share/examples/inspircd/modules/charybdis.conf.example
+share/examples/inspircd/modules/unrealircd.conf.example
+share/examples/inspircd/motd.txt.example
+share/examples/inspircd/opermotd.txt.example
+share/examples/inspircd/opers.conf.example
+share/examples/inspircd/quotes.txt.example
+share/examples/inspircd/rules.txt.example
+@pkgdir inspircd/logs
+@pkgdir inspircd/data
+@pkgdir etc/inspircd
diff --git a/inspircd/distinfo b/inspircd/distinfo
new file mode 100644
index 0000000000..806a149a56
--- /dev/null
+++ b/inspircd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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
diff --git a/inspircd/options.mk b/inspircd/options.mk
new file mode 100644
index 0000000000..cc3e9ffeca
--- /dev/null
+++ b/inspircd/options.mk
@@ -0,0 +1,57 @@
+# $NetBSD: options.mk,v 1.1 2018/12/22 18:17:39 nia Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.inspircd
+PKG_SUPPORTED_OPTIONS= geoip gnutls openssl mysql ldap pcre pgsql sqlite3
+PKG_SUGGESTED_OPTIONS= openssl sqlite3
+PLIST_VARS+= geoip gnutls openssl mysql ldap pcre pgsql sqlite3
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgeoip)
+PLIST.geoip= yes
+INSPIRCD_EXTRAS+= m_geoip.cpp
+.include "../../net/GeoIP/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mgnutls)
+PLIST.gnutls= yes
+CONFIGURE_ARGS+= --enable-gnutls
+.include "../../security/gnutls/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mopenssl)
+PLIST.openssl= yes
+CONFIGURE_ARGS+= --enable-openssl
+.include "../../security/openssl/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mmysql)
+PLIST.mysql= yes
+INSPIRCD_EXTRAS+= m_mysql.cpp
+.include "../../mk/mysql.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mldap)
+PLIST.ldap= yes
+INSPIRCD_EXTRAS+= m_ldapauth.cpp
+INSPIRCD_EXTRAS+= m_ldapoper.cpp
+.include "../../databases/openldap-client/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mpcre)
+PLIST.pcre= yes
+INSPIRCD_EXTRAS+= m_regex_pcre.cpp
+.include "../../devel/pcre/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+PLIST.pgsql= yes
+INSPIRCD_EXTRAS+= m_pgsql.cpp
+.include "../../mk/pgsql.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Msqlite3)
+PLIST.sqlite3= yes
+INSPIRCD_EXTRAS+= m_sqlite3.cpp
+.include "../../databases/sqlite3/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index