inspircd*: remove outdated programs by request of author

Too old and vulnerable. Newer versions could be packaged.
(see pkgsrc-users post from Peter Powell)
This commit is contained in:
wiz 2018-08-20 05:21:04 +00:00
parent ab38ac3c9d
commit 8bec657ae6
25 changed files with 4 additions and 1331 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.201 2018/07/30 18:59:50 jperkin Exp $
# $NetBSD: Makefile,v 1.202 2018/08/20 05:21:04 wiz Exp $
#
COMMENT= Communication programs
@ -42,8 +42,6 @@ SUBDIR+= icb
SUBDIR+= icbirc
SUBDIR+= icqlib
SUBDIR+= ii
SUBDIR+= inspircd
SUBDIR+= inspircd12
SUBDIR+= ircII
SUBDIR+= ircd-hybrid
SUBDIR+= irchat-pj

View file

@ -1,6 +0,0 @@
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.

View file

@ -1,152 +0,0 @@
# $NetBSD: Makefile,v 1.58 2018/07/20 03:34:03 ryoon Exp $
#
DISTNAME= InspIRCd-1.1.23
PKGNAME= ${DISTNAME:S/InspIRCd/inspircd/}
PKGREVISION= 33
CATEGORIES= chat
MASTER_SITES= http://www.inspircd.org/downloads/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.inspircd.org/
COMMENT= Modular C++ IRC Daemon
USE_TOOLS+= perl:build gmake pkg-config
REPLACE_PERL+= .inspircd.inc configure
WRKSRC= ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/}
HAS_CONFIGURE= yes
CONFIG_SHELL= ${PERL5}
USE_LANGUAGES= c++03
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
RCD_SCRIPTS+= inspircd
PKG_SYSCONFSUBDIR= inspircd
FILES_SUBST+= INSPIRCD_USER=${INSPIRCD_USER}
FILES_SUBST+= INSPIRCD_GROUP=${INSPIRCD_GROUP}
.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} ${INSPIRCD_GROUP} 0400
PKG_USERS_VARS= INSPIRCD_USER
PKG_GROUPS_VARS= INSPIRCD_GROUP
PKG_GROUPS= ${INSPIRCD_GROUP}
PKG_USERS= ${INSPIRCD_USER}:${INSPIRCD_GROUP}
PKG_GECOS.${INSPIRCD_USER}= InspIRCd user
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"
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.
SUBST_CLASSES+= make
SUBST_STAGE.make= pre-configure
SUBST_FILES.make= configure make/utilities.pm
SUBST_SED.make+= -e "s|-Wl,--rpath|${COMPILER_RPATH_FLAG}|g"
SUBST_MESSAGE.make= Fixing Makefiles.
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
MAKE_DIRS+= ${VARBASE}/log
OWN_DIRS_PERMS+= ${VARBASE}/run/inspircd \
${INSPIRCD_USER} ${INSPIRCD_GROUP} 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
CHECK_BUILTIN.openssl:=yes
.include "../../security/openssl/builtin.mk"
CHECK_BUILTIN.openssl:=no
post-extract:
${MV} ${WRKDIR}/inspircd ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/}
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && !empty(PKG_OPTIONS:Mssl)
${CP} ${FILESDIR}/openssl.pc ${WRKSRC}/openssl.pc
SUBST_FILES.conf+= ${WRKSRC}/openssl.pc
SUBST_SED.conf+= -e "s|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g"
SUBST_SED.conf+= -e "s|@SSLVER@|${BUILTIN_VERSION.openssl}|g"
.endif
pre-configure:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && !empty(PKG_OPTIONS:Mssl)
${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig
${CP} ${WRKSRC}/openssl.pc ${BUILDLINK_DIR}/lib/pkgconfig
.endif
.if defined(MODULES)
. for f in ${MODULES}
${CP} ${EXTRA}/${f} ${WRKSRC}/src/modules/${f}
. endfor
.endif
.if defined(HEADERS)
. 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
INSTALLATION_DIRS+= bin ${EGDIR}/aliases ${EGDIR}/sql
CONF_FILES_PERMS+= /dev/null ${VARBASE}/log/inspircd.log \
${INSPIRCD_USER} ${INSPIRCD_GROUP} 0640
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/inspircd.* ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/conf/aliases/*.example ${DESTDIR}${EGDIR}/aliases
${INSTALL_DATA} ${WRKSRC}/docs/inspircd.conf.example ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/extras/m_*.sql ${DESTDIR}${EGDIR}/sql
.include "../../mk/bsd.pkg.mk"

View file

@ -1,190 +0,0 @@
@comment $NetBSD: PLIST,v 1.9 2016/07/10 09:52:21 rillig 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
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/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_close.so
share/inspircd/modules/m_commonchans.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_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
share/inspircd/modules/m_jumpserver.so
share/inspircd/modules/m_kicknorejoin.so
share/inspircd/modules/m_knock.so
share/inspircd/modules/m_lockserv.so
share/inspircd/modules/m_md5.so
share/inspircd/modules/m_messageflood.so
share/inspircd/modules/m_namesx.so
share/inspircd/modules/m_nickflood.so
share/inspircd/modules/m_nicklock.so
share/inspircd/modules/m_noctcp.so
share/inspircd/modules/m_noinvite.so
share/inspircd/modules/m_nokicks.so
share/inspircd/modules/m_nonicks.so
share/inspircd/modules/m_nonotice.so
share/inspircd/modules/m_oper_hash.so
share/inspircd/modules/m_operchans.so
share/inspircd/modules/m_operjoin.so
share/inspircd/modules/m_operlevels.so
share/inspircd/modules/m_operlog.so
share/inspircd/modules/m_opermodes.so
share/inspircd/modules/m_opermotd.so
share/inspircd/modules/m_override.so
share/inspircd/modules/m_randquote.so
share/inspircd/modules/m_redirect.so
share/inspircd/modules/m_regonlycreate.so
share/inspircd/modules/m_remove.so
share/inspircd/modules/m_restrictbanned.so
share/inspircd/modules/m_restrictchans.so
share/inspircd/modules/m_restrictmsg.so
share/inspircd/modules/m_safelist.so
share/inspircd/modules/m_sajoin.so
share/inspircd/modules/m_samode.so
share/inspircd/modules/m_sanick.so
share/inspircd/modules/m_sapart.so
share/inspircd/modules/m_saquit.so
share/inspircd/modules/m_securelist.so
share/inspircd/modules/m_seenicks.so
share/inspircd/modules/m_services.so
share/inspircd/modules/m_services_account.so
share/inspircd/modules/m_sethost.so
share/inspircd/modules/m_setident.so
share/inspircd/modules/m_setidle.so
share/inspircd/modules/m_setname.so
share/inspircd/modules/m_sha256.so
share/inspircd/modules/m_showwhois.so
share/inspircd/modules/m_silence.so
share/inspircd/modules/m_silence_ext.so
share/inspircd/modules/m_spanningtree.so
share/inspircd/modules/m_spy.so
share/inspircd/modules/m_ssl_dummy.so
share/inspircd/modules/m_sslmodes.so
share/inspircd/modules/m_stripcolor.so
share/inspircd/modules/m_svshold.so
share/inspircd/modules/m_swhois.so
share/inspircd/modules/m_taxonomy.so
share/inspircd/modules/m_testcommand.so
share/inspircd/modules/m_timedbans.so
share/inspircd/modules/m_tline.so
share/inspircd/modules/m_uhnames.so
share/inspircd/modules/m_uninvite.so
share/inspircd/modules/m_userip.so
share/inspircd/modules/m_vhost.so
share/inspircd/modules/m_watch.so
share/inspircd/modules/m_xmlsocket.so

View file

@ -1,10 +0,0 @@
$NetBSD: distinfo,v 1.18 2017/08/23 17:54:34 jlam Exp $
SHA1 (InspIRCd-1.1.23.tar.bz2) = 0def2426fa60cb32a2514e64196c04f37fa67e5e
RMD160 (InspIRCd-1.1.23.tar.bz2) = 122ae3c269af0af3f8362f17eae29767d6c314d4
SHA512 (InspIRCd-1.1.23.tar.bz2) = 578c12eca0607b90752137d4766fb38c5e9e27c0c7c913244418c2fe297f5e286be2fd3c8844fe8b4cfcf6e1112b0abf52715d62597957976f8e319b501ceb9a
Size (InspIRCd-1.1.23.tar.bz2) = 505853 bytes
SHA1 (patch-aa) = d62675b6ace79ba5c0c0c4db2b4f9454346170c3
SHA1 (patch-ab) = c0921dda70348839c286315a3fa0244828d5116a
SHA1 (patch-ac) = 9e8fd6d4862ac1f913ee016c955fac0b53d132db
SHA1 (patch-ad) = d35df392a574728f6c61c4107bb3d2ce1e11568a

View file

@ -1,48 +0,0 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: inspircd.sh,v 1.1.1.1 2007/07/24 20:13:20 adrianp Exp $
#
# PROVIDE: inspircd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="inspircd"
rcvar=${name}
command="@PREFIX@/bin/inspircd"
required_files="@PKG_SYSCONFDIR@/inspircd.conf"
pidfile="@VARBASE@/run/inspircd/inspircd.pid"
inspircd_user="@INSPIRCD_USER@"
inspircd_group="@INSPIRCD_GROUP@"
command_args="--logfile @VARBASE@/log/inspircd.log"
extra_commands="rehash"
rehash_cmd="inspircd_rehash"
start_precmd="inspircd_precmd"
inspircd_precmd()
{
if [ ! -d @VARBASE@/run/inspircd ]; then
@MKDIR@ @VARBASE@/run/inspircd
@CHMOD@ 0750 @VARBASE@/run/inspircd
@CHOWN@ @INSPIRCD_USER@:@INSPIRCD_GROUP@ @VARBASE@/run/inspircd
fi
if [ ! -f @VARBASE@/log/inspircd.log ]; then
@TOUCH@ @VARBASE@/log/inspircd.log
@CHMOD@ 0640 @VARBASE@/log/inspircd.log
@CHOWN@ @INSPIRCD_USER@:@INSPIRCD_GROUP@ @VARBASE@/log/inspircd.log
fi
}
inspircd_rehash()
{
kill -HUP `@CAT@ $pidfile`
}
load_rc_config $name
run_rc_command "$1"

View file

@ -1,11 +0,0 @@
prefix=@SSLBASE@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: @SSLVER@
Requires:
Libs: -L${libdir} -lssl -lcrypto -Wl,-R@SSLBASE@/lib
Cflags: -I${includedir}

View file

@ -1,145 +0,0 @@
# $NetBSD: options.mk,v 1.3 2016/07/10 09:52:21 rillig Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.inspircd
PKG_SUPPORTED_OPTIONS= inet6 ssl gnutls kqueue epoll inspircd-remoteinet6
PKG_SUPPORTED_OPTIONS+= pcre inspircd-ziplinks inspircd-sqlauth
PKG_SUPPORTED_OPTIONS+= inspircd-sqllog inspircd-sqloper
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
###
### Dependency notes:
###
### sql = mysql, pgsql, sqlite3
### sqlutils = m_sqlutils.cpp m_sqlutils.h
###
### sqloper needs sql sqlutils
### sqllog needs sql
### sqlauth needs sql sqlutils
###
###
### Enable kqueue support
###
.if !empty(PKG_OPTIONS:Mkqueue)
CONFIGURE_ARGS+= --enable-kqueue
.else
CONFIGURE_ARGS+= --disable-kqueue
.endif
###
### Enable epoll support
###
.if !empty(PKG_OPTIONS:Mepoll)
CONFIGURE_ARGS+= --enable-epoll
.else
CONFIGURE_ARGS+= --disable-epoll
.endif
###
### Enable IPv6 support
###
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
###
### Enable remote IPv6 support
###
.if !empty(PKG_OPTIONS:Mremoteinet6)
PKG_SUGGESTED_OPTIONS+= inet6
CONFIGURE_ARGS+= --enable-remote-ipv6
.else
CONFIGURE_ARGS+= --disable-remote-ipv6
.endif
###
### Enable OpenSSL support
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
CONFIGURE_ARGS+= --enable-openssl
MODULES+= m_ssl_openssl.cpp
.endif
###
### Enable GNU TLS support
### Apparently this gives better performance when compared to OpenSSL
###
.if !empty(PKG_OPTIONS:Mgnutls)
. include "../../security/gnutls/buildlink3.mk"
CONFIGURE_ARGS+= --enable-gnutls
MODULES+= m_ssl_gnutls.cpp
.endif
###
### Compile in support for ziplinks. This compresses data sent from
### server <-> server with zlib.
###
.if !empty(PKG_OPTIONS:Minspircd-ziplinks)
. include "../../devel/zlib/buildlink3.mk"
MODULES+= m_ziplink.cpp
.endif
###
### Perl regex support
###
.if !empty(PKG_OPTIONS:Mpcre)
. include "../../devel/pcre/buildlink3.mk"
MODULES+= m_filter_pcre.cpp
.endif
###
### Use SQL for storing user details
###
.if !empty(PKG_OPTIONS:Minspircd-sqlauth)
INSPIRCD_STORAGE_DRIVER?= mysql
MODULES+= m_sqlauth.cpp m_sqlutils.cpp
HEADERS+= m_sqlutils.h
.endif
###
### Use SQL for logging
###
.if !empty(PKG_OPTIONS:Minspircd-sqllog)
INSPIRCD_STORAGE_DRIVER?= mysql
MODULES+= m_sqllog.cpp
.endif
###
### Use SQL for storing oper details
###
.if !empty(PKG_OPTIONS:Minspircd-sqloper)
INSPIRCD_STORAGE_DRIVER?= mysql
MODULES+= m_sqloper.cpp m_sqlutils.cpp
HEADERS+= m_sqlutils.h
.endif
###
### Strorage driver magic
###
### This will only be activated if INSPIRCD_STORAGE_DRIVER is set either
### explictly by the user or by selecting one of the options that are
### dependent on an SQL storage driver.
###
.if defined(INSPIRCD_STORAGE_DRIVER)
BUILD_DEFS+= INSPIRCD_STORAGE_DRIVER
. if !empty(INSPIRCD_STORAGE_DRIVER:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
MODULES+= m_mysql.cpp
HEADERS+= m_sqlv2.h
. elif !empty(INSPIRCD_STORAGE_DRIVER:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
MODULES+= m_pgsql.cpp
HEADERS+= m_sqlv2.h
. elif !empty(INSPIRCD_STORAGE_DRIVER:Msqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
MODULES+= m_sqlite3.cpp
HEADERS+= m_sqlv2.h
. else
PKG_FAIL_REASON+= "${PKGBASE}: unknown storage driver \\'${INSPIRCD_STORAGE_DRIVER}\\'"
. endif
.endif

View file

@ -1,13 +0,0 @@
$NetBSD: patch-aa,v 1.1.1.1 2007/07/24 20:13:20 adrianp Exp $
--- src/inspircd.cpp.orig 2007-01-15 23:49:24.000000000 +0000
+++ src/inspircd.cpp
@@ -317,7 +317,7 @@ InspIRCd::InspIRCd(int argc, char** argv
{ 0, 0, 0, 0 }
};
- while ((c = getopt_long_only(argc, argv, ":f:", longopts, NULL)) != -1)
+ while ((c = getopt_long(argc, argv, ":f:", longopts, NULL)) != -1)
{
switch (c)
{

View file

@ -1,29 +0,0 @@
$NetBSD: patch-ab,v 1.2 2009/08/29 22:47:47 adrianp Exp $
--- .Makefile.inc.orig 2008-12-04 21:20:15.000000000 +0000
+++ .Makefile.inc
@@ -70,7 +70,6 @@ ircd:
install: all@EXTRA_DIR@
@-install -d -m $(INSTMODE) ${BASE}
@-install -d -m $(INSTMODE) $(LIBPATH)
- @-install -d -m $(INSTMODE) $(BINPATH)
@-install -d -m $(INSTMODE) $(CONPATH)
@-install -d -m $(INSTMODE) ${MODPATH}
-install -m $(INSTMODE) src/inspircd $(BINPATH)
@@ -131,16 +130,6 @@ install: all@EXTRA_DIR@
-install -m $(INSTMODE) src/cmd_zline.so $(LIBPATH)
-install -m $(INSTMODE) src/cmd_mode.so $(LIBPATH)
@-cp .gdbargs $(BASE)
- @-cp conf/inspircd.quotes.example $(CONPATH)
- @-cp conf/inspircd.rules.example $(CONPATH)
- @-cp conf/inspircd.motd.example $(CONPATH)
- @-cp conf/inspircd.helpop-full.example $(CONPATH)
- @-cp conf/inspircd.helpop.example $(CONPATH)
- @-cp conf/inspircd.censor.example $(CONPATH)
- @-cp conf/inspircd.filter.example $(CONPATH)
- @-cp conf/key.pem $(CONPATH)
- @-cp conf/cert.pem $(CONPATH)
- @-cp docs/inspircd.conf.example $(CONPATH)
${MAKE} modinstall
modinstall: mods

View file

@ -1,23 +0,0 @@
$NetBSD: patch-ac,v 1.6 2017/08/23 17:54:34 jlam Exp $
--- configure.orig 2009-07-30 11:28:57.000000000 +0000
+++ configure
@@ -18,6 +18,7 @@ use Cwd;
use Getopt::Long;
# Utility functions for our buildsystem
+use lib ".";
use make::utilities;
use make::configure;
use make::gnutlscert;
@@ -233,8 +234,8 @@ $config{EXTRA_DIR} = ""; #
if ($config{OSNAME} =~ /darwin/i)
{
$config{IS_DARWIN} = "YES";
- $config{STARTSCRIPT} = "org.inspircd.plist"; # start script for OSX.
- $config{DESTINATION} = "LAUNCHDPATH"; # Is OSX target.
+# $config{STARTSCRIPT} = "org.inspircd.plist"; # start script for OSX.
+# $config{DESTINATION} = "LAUNCHDPATH"; # Is OSX target.
$config{EXTRA_DIR} = " launchd_dir"; # Is OSX specific path.
}
$config{CC} = "g++"; # C++ compiler

View file

@ -1,30 +0,0 @@
$NetBSD: patch-ad,v 1.1 2008/06/14 14:30:23 adrianp Exp $
--- make/configure.pm.orig 2007-12-09 20:34:24.000000000 +0000
+++ make/configure.pm
@@ -46,24 +46,7 @@ sub resolve_directory
}
sub getrevision {
- if ($no_svn)
- {
- return "0";
- }
- my $data = `svn info`;
- if ($data eq "")
- {
- $no_svn = 1;
- $rev = "0";
- return $rev;
- }
- $data =~ /Revision: (\d+)/;
- my $rev = $1;
- if (!defined($rev))
- {
- $rev = "0";
- }
- return $rev;
+ return "0";
}
sub getcompilerflags {

View file

@ -1,6 +0,0 @@
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.

View file

@ -1,133 +0,0 @@
# $NetBSD: Makefile,v 1.43 2018/07/20 03:34:03 ryoon Exp $
#
DISTNAME= InspIRCd-1.2.0
PKGNAME= ${DISTNAME:S/InspIRCd/inspircd/}
PKGREVISION= 33
CATEGORIES= chat
MASTER_SITES= http://www.inspircd.org/downloads/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.inspircd.org/
COMMENT= Modular C++ IRC Daemon
CONFLICTS+= inspircd<1.2.0
USE_TOOLS+= perl:build gmake pkg-config
REPLACE_PERL+= .inspircd.inc configure make/run-cc.pl
WRKSRC= ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/}
HAS_CONFIGURE= yes
CONFIG_SHELL= ${PERL5}
USE_LANGUAGES= c++03
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
RCD_SCRIPTS+= inspircd
PKG_SYSCONFSUBDIR= inspircd
MAKE_FILE= GNUmakefile
FILES_SUBST+= INSPIRCD_USER=${INSPIRCD_USER}
FILES_SUBST+= INSPIRCD_GROUP=${INSPIRCD_GROUP}
.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} ${INSPIRCD_GROUP} 0400
CONF_FILES_PERMS+= ${EGDIR}/modules.conf.example \
${PKG_SYSCONFDIR}/modules.conf \
${INSPIRCD_USER} ${INSPIRCD_GROUP} 0400
PKG_USERS_VARS= INSPIRCD_USER
PKG_GROUPS_VARS= INSPIRCD_GROUP
PKG_GROUPS= ${INSPIRCD_GROUP}
PKG_USERS= ${INSPIRCD_USER}:${INSPIRCD_GROUP}
PKG_GECOS.${INSPIRCD_USER}= InspIRCd user
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
.include "options.mk"
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-configure
SUBST_FILES.conf= conf/inspircd.conf.example
SUBST_SED.conf+= -e "s|/path/to/inspircd.pid|${VARBASE}/run/inspircd/inspircd.pid|g"
SUBST_MESSAGE.conf= Fixing configuration files.
SUBST_CLASSES+= install
SUBST_STAGE.install= post-configure
SUBST_FILES.install= GNUmakefile
SUBST_SED.install+= -e "s|-cp conf|\#-cp conf|g"
SUBST_MESSAGE.install= Fixing installation files.
BUILD_DEFS+= INSPIRCD_USER INSPIRCD_GROUP VARBASE
MAKE_DIRS+= ${VARBASE}/log
OWN_DIRS_PERMS+= ${VARBASE}/run/inspircd \
${INSPIRCD_USER} ${INSPIRCD_GROUP} 750
INSPIRCD_USER?= inspircd
INSPIRCD_GROUP?= inspircd
CHECK_BUILTIN.openssl:=yes
.include "../../security/openssl/builtin.mk"
CHECK_BUILTIN.openssl:=no
post-extract:
${MV} ${WRKDIR}/inspircd ${WRKDIR}/${DISTNAME:S/InspIRCd/inspircd/}
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && !empty(PKG_OPTIONS:Mssl)
${CP} ${FILESDIR}/openssl.pc ${WRKSRC}/openssl.pc
SUBST_FILES.conf+= ${WRKSRC}/openssl.pc
SUBST_SED.conf+= -e "s|@SSLBASE@|${BUILDLINK_PREFIX.openssl}|g"
SUBST_SED.conf+= -e "s|@SSLVER@|${BUILTIN_VERSION.openssl}|g"
.endif
pre-configure:
.if !empty(USE_BUILTIN.openssl:M[yY][eE][sS]) && !empty(PKG_OPTIONS:Mssl)
${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig
${CP} ${WRKSRC}/openssl.pc ${BUILDLINK_DIR}/lib/pkgconfig
.endif
.if defined(MODULES)
. for f in ${MODULES}
${CP} ${EXTRA}/${f} ${WRKSRC}/src/modules/${f}
. endfor
.endif
.if defined(HEADERS)
. 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
INSTALLATION_DIRS+= bin ${EGDIR}/aliases ${EGDIR}/sql
CONF_FILES_PERMS+= /dev/null ${VARBASE}/log/inspircd.log \
${INSPIRCD_USER} ${INSPIRCD_GROUP} 0640
post-install:
${INSTALL_DATA} ${WRKSRC}/conf/inspircd.* ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/conf/modules.* ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/conf/aliases/*.example ${DESTDIR}${EGDIR}/aliases
${INSTALL_DATA} ${WRKSRC}/conf/inspircd.conf.example ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/extras/m_*.sql ${DESTDIR}${EGDIR}/sql
.include "../../mk/bsd.pkg.mk"

View file

@ -1,215 +0,0 @@
@comment $NetBSD: PLIST,v 1.8 2018/01/01 22:29:19 rillig 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_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_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
share/examples/inspircd/aliases/anope.conf.example
share/examples/inspircd/aliases/atheme.conf.example
share/examples/inspircd/aliases/ircservices.conf.example
share/examples/inspircd/aliases/neostats.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/modules.conf.example
share/examples/inspircd/sql/m_sqllog.mssql.sql
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.mssql.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/inspircd/.gdbargs
share/inspircd/inspircd
share/inspircd/modules/m_abbreviation.so
share/inspircd/modules/m_alias.so
share/inspircd/modules/m_allowinvite.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_callerid.so
share/inspircd/modules/m_cap.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_chanlog.so
share/inspircd/modules/m_channelban.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_close.so
share/inspircd/modules/m_commonchans.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_connectban.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_delayjoin.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_gecosban.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_httpd.so
share/inspircd/modules/m_httpd_acl.so
share/inspircd/modules/m_httpd_config.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
share/inspircd/modules/m_jumpserver.so
share/inspircd/modules/m_kicknorejoin.so
share/inspircd/modules/m_knock.so
share/inspircd/modules/m_lockserv.so
share/inspircd/modules/m_maphide.so
share/inspircd/modules/m_md5.so
share/inspircd/modules/m_messageflood.so
share/inspircd/modules/m_muteban.so
share/inspircd/modules/m_namesx.so
share/inspircd/modules/m_nationalchars.so
share/inspircd/modules/m_nickflood.so
share/inspircd/modules/m_nicklock.so
share/inspircd/modules/m_noctcp.so
share/inspircd/modules/m_nokicks.so
share/inspircd/modules/m_nonicks.so
share/inspircd/modules/m_nonotice.so
share/inspircd/modules/m_nopartmsg.so
share/inspircd/modules/m_operchans.so
share/inspircd/modules/m_operinvex.so
share/inspircd/modules/m_operjoin.so
share/inspircd/modules/m_operlevels.so
share/inspircd/modules/m_operlog.so
share/inspircd/modules/m_opermodes.so
share/inspircd/modules/m_opermotd.so
share/inspircd/modules/m_operprefix.so
share/inspircd/modules/m_override.so
share/inspircd/modules/m_password_hash.so
share/inspircd/modules/m_permchannels.so
share/inspircd/modules/m_randquote.so
share/inspircd/modules/m_redirect.so
share/inspircd/modules/m_regex_glob.so
share/inspircd/modules/m_regonlycreate.so
share/inspircd/modules/m_remove.so
share/inspircd/modules/m_restrictchans.so
share/inspircd/modules/m_restrictmsg.so
share/inspircd/modules/m_ripemd160.so
share/inspircd/modules/m_rline.so
share/inspircd/modules/m_rpc_json.so
share/inspircd/modules/m_rpctest.so
share/inspircd/modules/m_safelist.so
share/inspircd/modules/m_sajoin.so
share/inspircd/modules/m_sakick.so
share/inspircd/modules/m_samode.so
share/inspircd/modules/m_sanick.so
share/inspircd/modules/m_sapart.so
share/inspircd/modules/m_saquit.so
share/inspircd/modules/m_sasl.so
share/inspircd/modules/m_satopic.so
share/inspircd/modules/m_securelist.so
share/inspircd/modules/m_seenicks.so
share/inspircd/modules/m_serverban.so
share/inspircd/modules/m_services_account.so
share/inspircd/modules/m_servprotect.so
share/inspircd/modules/m_sethost.so
share/inspircd/modules/m_setident.so
share/inspircd/modules/m_setidle.so
share/inspircd/modules/m_setname.so
share/inspircd/modules/m_sha256.so
share/inspircd/modules/m_showwhois.so
share/inspircd/modules/m_shun.so
share/inspircd/modules/m_silence.so
share/inspircd/modules/m_spanningtree.so
share/inspircd/modules/m_spy.so
share/inspircd/modules/m_sslinfo.so
share/inspircd/modules/m_sslmodes.so
share/inspircd/modules/m_stripcolor.so
share/inspircd/modules/m_svshold.so
share/inspircd/modules/m_swhois.so
share/inspircd/modules/m_taxonomy.so
share/inspircd/modules/m_timedbans.so
share/inspircd/modules/m_tline.so
share/inspircd/modules/m_uhnames.so
share/inspircd/modules/m_uninvite.so
share/inspircd/modules/m_userip.so
share/inspircd/modules/m_vhost.so
share/inspircd/modules/m_watch.so
share/inspircd/modules/m_xline_db.so

View file

@ -1,11 +0,0 @@
$NetBSD: distinfo,v 1.8 2017/08/23 17:54:34 jlam Exp $
SHA1 (InspIRCd-1.2.0.tar.bz2) = 2973dc7e83dc2334c18e7fcd6d95a22da44b256e
RMD160 (InspIRCd-1.2.0.tar.bz2) = 1f74336bf5e30b89e0baa306c22f0b37fbf339bd
SHA512 (InspIRCd-1.2.0.tar.bz2) = 7629e233f60f97187c86a60f882235585393e681ec0370dd3681c098512d9d88ab44068fc3bfefad905a6b8f95129cce9d588568cfc0be5157b5cdb06170e773
Size (InspIRCd-1.2.0.tar.bz2) = 635384 bytes
SHA1 (patch-aa) = 16c092692872173dede40925be51c4a391491a03
SHA1 (patch-ab) = 9548488202c5c6dd725c3eba28921961b67dd15b
SHA1 (patch-ac) = e318fa75bcb31c07b3d72906449e420a9020706c
SHA1 (patch-ad) = 8dd2a589ab639d9d4ecfc4477aa5fb3f613761e7
SHA1 (patch-modulemanager) = 48f182267337552887f4290dee18c61cf1bd2079

View file

@ -1,48 +0,0 @@
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: inspircd.sh,v 1.1.1.1 2009/01/04 00:52:27 adrianp Exp $
#
# PROVIDE: inspircd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
if [ -f /etc/rc.subr ]
then
. /etc/rc.subr
fi
name="inspircd"
rcvar=${name}
command="@PREFIX@/bin/inspircd"
required_files="@PKG_SYSCONFDIR@/inspircd.conf"
pidfile="@VARBASE@/run/inspircd/inspircd.pid"
inspircd_user="@INSPIRCD_USER@"
inspircd_group="@INSPIRCD_GROUP@"
command_args="--logfile @VARBASE@/log/inspircd.log"
extra_commands="rehash"
rehash_cmd="inspircd_rehash"
start_precmd="inspircd_precmd"
inspircd_precmd()
{
if [ ! -d @VARBASE@/run/inspircd ]; then
@MKDIR@ @VARBASE@/run/inspircd
@CHMOD@ 0750 @VARBASE@/run/inspircd
@CHOWN@ @INSPIRCD_USER@:@INSPIRCD_GROUP@ @VARBASE@/run/inspircd
fi
if [ ! -f @VARBASE@/log/inspircd.log ]; then
@TOUCH@ @VARBASE@/log/inspircd.log
@CHMOD@ 0640 @VARBASE@/log/inspircd.log
@CHOWN@ @INSPIRCD_USER@:@INSPIRCD_GROUP@ @VARBASE@/log/inspircd.log
fi
}
inspircd_rehash()
{
kill -HUP `@CAT@ $pidfile`
}
load_rc_config $name
run_rc_command "$1"

View file

@ -1,11 +0,0 @@
prefix=@SSLBASE@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: OpenSSL
Description: Secure Sockets Layer and cryptography libraries and tools
Version: @SSLVER@
Requires:
Libs: -L${libdir} -lssl -lcrypto -Wl,-R@SSLBASE@/lib
Cflags: -I${includedir}

View file

@ -1,146 +0,0 @@
# $NetBSD: options.mk,v 1.2 2009/07/03 14:50:34 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.inspircd
PKG_SUPPORTED_OPTIONS= inet6 ssl gnutls kqueue epoll inspircd-remoteinet6
PKG_SUPPORTED_OPTIONS+= pcre inspircd-ziplinks inspircd-sqlauth
PKG_SUPPORTED_OPTIONS+= inspircd-sqllog inspircd-sqloper
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
###
### Dependency notes:
###
### sql = mysql, pgsql, sqlite3
### sqlutils = m_sqlutils.cpp m_sqlutils.h
###
### sqloper needs sql sqlutils
### sqllog needs sql
### sqlauth needs sql sqlutils
###
###
### Enable kqueue support
###
.if !empty(PKG_OPTIONS:Mkqueue)
CONFIGURE_ARGS+= --enable-kqueue
.else
CONFIGURE_ARGS+= --disable-kqueue
.endif
###
### Enable epoll support
###
.if !empty(PKG_OPTIONS:Mepoll)
CONFIGURE_ARGS+= --enable-epoll
.else
CONFIGURE_ARGS+= --disable-epoll
.endif
###
### Enable IPv6 support
###
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
###
### Enable remote IPv6 support
###
.if !empty(PKG_OPTIONS:Mremoteinet6)
PKG_SUGGESTED_OPTIONS+= inet6
CONFIGURE_ARGS+= --enable-remote-ipv6
.else
CONFIGURE_ARGS+= --disable-remote-ipv6
.endif
###
### Enable OpenSSL support
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
CONFIGURE_ARGS+= --enable-openssl
MODULES+= m_ssl_openssl.cpp
.endif
###
### Enable GNU TLS support
### Apparently this gives better performance when compared to OpenSSL
###
.if !empty(PKG_OPTIONS:Mgnutls)
. include "../../security/gnutls/buildlink3.mk"
. include "../../security/gnutls/libgnutls-config.mk"
CONFIGURE_ARGS+= --enable-gnutls
MODULES+= m_ssl_gnutls.cpp
.endif
###
### Compile in support for ziplinks. This compresses data sent from
### server <-> server with zlib.
###
.if !empty(PKG_OPTIONS:Minspircd-ziplinks)
. include "../../devel/zlib/buildlink3.mk"
MODULES+= m_ziplink.cpp
.endif
###
### Perl regex support
###
.if !empty(PKG_OPTIONS:Mpcre)
. include "../../devel/pcre/buildlink3.mk"
MODULES+= m_filter_pcre.cpp
.endif
###
### Use SQL for storing user details
###
.if !empty(PKG_OPTIONS:Minspircd-sqlauth)
INSPIRCD_STORAGE_DRIVER?= mysql
MODULES+= m_sqlauth.cpp m_sqlutils.cpp
HEADERS+= m_sqlutils.h
.endif
###
### Use SQL for logging
###
.if !empty(PKG_OPTIONS:Minspircd-sqllog)
INSPIRCD_STORAGE_DRIVER?= mysql
MODULES+= m_sqllog.cpp
.endif
###
### Use SQL for storing oper details
###
.if !empty(PKG_OPTIONS:Minspircd-sqloper)
INSPIRCD_STORAGE_DRIVER?= mysql
MODULES+= m_sqloper.cpp m_sqlutils.cpp
HEADERS+= m_sqlutils.h
.endif
###
### Strorage driver magic
###
### This will only be activated if INSPIRCD_STORAGE_DRIVER is set either
### explictly by the user or by selecting one of the options that are
### dependent on an SQL storage driver.
###
.if defined(INSPIRCD_STORAGE_DRIVER)
BUILD_DEFS+= INSPIRCD_STORAGE_DRIVER
. if !empty(INSPIRCD_STORAGE_DRIVER:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
MODULES+= m_mysql.cpp
HEADERS+= m_sqlv2.h
. elif !empty(INSPIRCD_STORAGE_DRIVER:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
MODULES+= m_pgsql.cpp
HEADERS+= m_sqlv2.h
. elif !empty(INSPIRCD_STORAGE_DRIVER:Msqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
MODULES+= m_sqlite3.cpp
HEADERS+= m_sqlv2.h
. else
PKG_FAIL_REASON+= "${PKGBASE}: unknown storage driver \\'${INSPIRCD_STORAGE_DRIVER}\\'"
. endif
.endif

View file

@ -1,13 +0,0 @@
$NetBSD: patch-aa,v 1.2 2009/06/06 17:02:21 adrianp Exp $
--- src/inspircd.cpp.orig 2009-04-16 16:46:17.000000000 +0100
+++ src/inspircd.cpp
@@ -446,7 +446,7 @@ InspIRCd::InspIRCd(int argc, char** argv
};
int index;
- while ((c = getopt_long_only(argc, argv, ":f:", longopts, &index)) != -1)
+ while ((c = getopt_long(argc, argv, ":f:", longopts, &index)) != -1)
{
switch (c)
{

View file

@ -1,30 +0,0 @@
$NetBSD: patch-ab,v 1.3 2010/06/25 21:38:44 joerg Exp $
--- .Makefile.inc.orig 2009-06-07 02:58:07.000000000 +0000
+++ .Makefile.inc
@@ -22,12 +22,12 @@ NICEFLAGS += -I$(COMPILE_ROOT)/include
CC = @CC@
FLAGS = $(NICEFLAGS) -pedantic
LDLIBS = @LDLIBS@
-BASE = "@BASE_DIR@"
-CONPATH = "@CONFIG_DIR@"
-MODPATH = "@MODULE_DIR@"
-BINPATH = "@BINARY_DIR@"
+BASE = "${DESTDIR}@BASE_DIR@"
+CONPATH = "${DESTDIR}@CONFIG_DIR@"
+MODPATH = "${DESTDIR}@MODULE_DIR@"
+BINPATH = "${DESTDIR}@BINARY_DIR@"
LAUNCHDPATH = "/System/Library/LaunchDaemons"
-LIBPATH = "@LIBRARY_DIR@"
+LIBPATH = "${DESTDIR}@LIBRARY_DIR@"
MODULES = @MODULES@
INSTMODE = 0755
@GNU_ONLY MAKEFLAGS += --no-print-directory
@@ -96,7 +96,6 @@ finishmessage: ircd mods
install: ircd mods@EXTRA_DIR@
@-install -d -m $(INSTMODE) $(BASE)
@-install -d -m $(INSTMODE) $(LIBPATH)
- @-install -d -m $(INSTMODE) $(BINPATH)
@-install -d -m $(INSTMODE) $(CONPATH)
@-install -d -m $(INSTMODE) $(MODPATH)
-install -m $(INSTMODE) @STARTSCRIPT@ $(@DESTINATION@) 2>/dev/null

View file

@ -1,32 +0,0 @@
$NetBSD: patch-ac,v 1.4 2017/08/23 17:54:34 jlam Exp $
--- configure.orig 2009-08-21 16:33:04.000000000 +0000
+++ configure
@@ -31,6 +31,7 @@ use Cwd;
use Getopt::Long;
# Utility functions for our buildsystem
+use lib ".";
use make::utilities;
use make::configure;
use make::gnutlscert;
@@ -320,8 +321,8 @@ $config{EXTRA_DIR} = ""; # Is emp
if ($config{OSNAME} =~ /darwin/i)
{
$config{IS_DARWIN} = "YES";
- $config{STARTSCRIPT} = "org.inspircd.plist"; # start script for OSX.
- $config{DESTINATION} = "LAUNCHDPATH"; # Is OSX target.
+# $config{STARTSCRIPT} = "org.inspircd.plist"; # start script for OSX.
+# $config{DESTINATION} = "LAUNCHDPATH"; # Is OSX target.
$config{EXTRA_DIR} = " launchd_dir"; # Is OSX specific path.
}
$config{CC} = "g++"; # C++ compiler
@@ -874,7 +875,7 @@ if (($config{USE_OPENSSL} eq "y") && ($c
our $failed = 0;
$config{CERTGEN} ||= 'y';
-yesno('CERTGEN',"Would you like generate SSL certificates now?") if ($interactive && ($config{USE_GNUTLS} eq "y" || $config{USE_OPENSSL} eq "y"));
+#yesno('CERTGEN',"Would you like generate SSL certificates now?") if ($interactive && ($config{USE_GNUTLS} eq "y" || $config{USE_OPENSSL} eq "y"));
if ($config{USE_GNUTLS} eq "y") {
unless (-r "src/modules/m_ssl_gnutls.cpp") {

View file

@ -1,13 +0,0 @@
$NetBSD: patch-ad,v 1.2 2009/08/29 22:42:47 adrianp Exp $
--- make/configure.pm.orig 2009-08-28 21:16:38.000000000 +0100
+++ make/configure.pm
@@ -22,7 +22,7 @@ use POSIX;
use make::utilities;
our @EXPORT = qw(promptnumeric dumphash is_dir getmodules getrevision getcompilerflags getlinkerflags getdependencies nopedantic resolve_directory yesno showhelp promptstring_s);
-my $no_svn = 0;
+my $no_svn = 1;
sub yesno {
my ($flag,$prompt) = @_;

View file

@ -1,12 +0,0 @@
$NetBSD: patch-modulemanager,v 1.1 2017/08/23 17:54:34 jlam Exp $
--- modulemanager.orig 2009-08-14 19:45:30.000000000 +0000
+++ modulemanager
@@ -3,6 +3,7 @@ use strict;
use warnings FATAL => qw(all);
use LWP::Simple;
+use lib ".";
use make::configure;
our @modlist;

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2018,v 1.3687 2018/08/20 03:11:04 wen Exp $
$NetBSD: CHANGES-2018,v 1.3688 2018/08/20 05:21:04 wiz Exp $
Changes to the packages collection and infrastructure in 2018:
@ -5236,3 +5236,5 @@ Changes to the packages collection and infrastructure in 2018:
Updated math/p5-Math-Utils to 1.12 [wen 2018-08-20]
Added time/p5-MooseX-Types-DateTime-MoreCoercions version 0.15 [wen 2018-08-20]
Updated net/p5-Net-Amazon-S3 to 0.84 [wen 2018-08-20]
Removed chat/inspircd12 [wiz 2018-08-20]
Removed chat/inspircd [wiz 2018-08-20]