Innovation by sed

This commit is contained in:
Ed Kellett 2020-10-15 15:51:12 +01:00
parent a9b8506b34
commit a6f63a829e
No known key found for this signature in database
GPG key ID: CB9986DEF342FABC
97 changed files with 176 additions and 176 deletions

View file

@ -4,6 +4,6 @@ export MSYSTEM=MINGW64
export PATH=/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
sh ./autogen.sh
./configure --prefix=c:/projects/charybdis/build --enable-openssl=/mingw64
./configure --prefix=c:/projects/solanum/build --enable-openssl=/mingw64
make -j2
make install

View file

@ -9,7 +9,7 @@ install:
- ps: Push-AppveyorArtifact cygcheck.log
build_script:
- c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER; sh .appveyor-build.sh"
# - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER/build/bin; ./charybdis -version"
# - c:\msys64\usr\bin\sh.exe -lc "cd $APPVEYOR_BUILD_FOLDER/build/bin; ./solanum -version"
on_failure:
- ps: Push-AppveyorArtifact config.log
- ps: Push-AppveyorArtifact librb\include\librb-config.h

8
.gitignore vendored
View file

@ -48,7 +48,7 @@ scripts/*.tar.bz2
scripts/*.tar.gz
include/setup.h
include/setup.h.in
ircd/charybdis
ircd/solanum
ircd/ircd_parser.c
ircd/ircd_parser.h
ircd/ircd_lexer.c
@ -74,13 +74,13 @@ tests/*.c.pid
!tests/runtime/modules/*.so
!tests/runtime/modules/autoload/*.so
testsuite/ircd.pid.*
tools/charybdis-mkpasswd
tools/charybdis-mkfingerprint
tools/solanum-mkpasswd
tools/solanum-mkfingerprint
tools/genssl
tools/mkpasswd
tools/viconf
include/serno.h
ircd/charybdis
ircd/solanum
ircd/version.c
ircd/version.c.last
/libtool

View file

@ -1,4 +1,4 @@
# Travis-CI Build for charybdis
# Travis-CI Build for solanum
# see travis-ci.org for details
language: c
@ -10,7 +10,7 @@ sudo: false
notifications:
irc:
channels:
- "chat.freenode.net#charybdis"
- "chat.freenode.net#solanum"
matrix:
include:

View file

@ -1,6 +1,6 @@
# charybdis [![POSIX Build Status](https://travis-ci.org/charybdis-ircd/charybdis.svg?branch=master)](https://travis-ci.org/charybdis-ircd/charybdis) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/is0obsml8xyq2qk7/branch/master?svg=true)](https://ci.appveyor.com/project/kaniini/charybdis/branch/master)
# solanum [![POSIX Build Status](https://travis-ci.org/solanum-ircd/solanum.svg?branch=master)](https://travis-ci.org/solanum-ircd/solanum) [![Windows Build Status](https://ci.appveyor.com/api/projects/status/is0obsml8xyq2qk7/branch/master?svg=true)](https://ci.appveyor.com/project/kaniini/solanum/branch/master)
Charybdis is an IRCv3 server designed to be highly scalable. It implements IRCv3.1 and some parts of IRCv3.2.
Solanum is an IRCv3 server designed to be highly scalable. It implements IRCv3.1 and some parts of IRCv3.2.
It is meant to be used with an IRCv3-capable services implementation such as [Atheme][atheme] or [Anope][anope].
@ -15,7 +15,7 @@ It is meant to be used with an IRCv3-capable services implementation such as [At
# platforms
Charybdis is designed with portability in mind, but does not target older systems nor those of solely academic
Solanum is designed with portability in mind, but does not target older systems nor those of solely academic
interest.
Do note that operating systems are only supported if they are supported by their vendor.
@ -44,7 +44,7 @@ resolution may not be possible.
## Tier 3
Anything else that hasn't been tested. Charybdis may or may not work on it; patches welcome if they don't.
Anything else that hasn't been tested. Solanum may or may not work on it; patches welcome if they don't.
# platform specific errata
@ -68,7 +68,7 @@ These are known issues and workarounds for supported platforms.
# building from git
We no longer supply a prebuilt configure script in git, due to use of automake and libtool causing problems.
You will need to run `autogen.sh` to build the autotools files prior to building charybdis.
You will need to run `autogen.sh` to build the autotools files prior to building solanum.
# feature specific requirements
@ -89,7 +89,7 @@ You will need to run `autogen.sh` to build the autotools files prior to building
# tips
* To report bugs in charybdis, visit us at irc.charybdis.io #charybdis
* To report bugs in solanum, visit us at chat.freenode.net #solanum
* Please read doc/index.txt to get an overview of the current documentation.
@ -97,13 +97,13 @@ You will need to run `autogen.sh` to build the autotools files prior to building
* The files, /etc/services, /etc/protocols, and /etc/resolv.conf, SHOULD be
readable by the user running the server in order for ircd to start with
the correct settings. If these files are wrong, charybdis will try to use
the correct settings. If these files are wrong, solanum will try to use
127.0.0.1 for a resolver as a last-ditch effort.
# git access
* The Charybdis GIT repository can be checked out using the following command:
`git clone https://github.com/charybdis-ircd/charybdis`
* The Solanum GIT repository can be checked out using the following command:
`git clone https://github.com/solanum-ircd/solanum`
* Charybdis's GIT repository depot can be browsed over the Internet at the following address:
https://github.com/charybdis-ircd/charybdis
* Solanum's GIT repository depot can be browsed over the Internet at the following address:
https://github.com/solanum-ircd/solanum

View file

@ -18,8 +18,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __CHARYBDIS_AUTHD_NOTICE_H__
#define __CHARYBDIS_AUTHD_NOTICE_H__
#ifndef __SOLANUM_AUTHD_NOTICE_H__
#define __SOLANUM_AUTHD_NOTICE_H__
typedef enum
{
@ -35,4 +35,4 @@ void stats_result(uint32_t cid, char letter, const char *fmt, ...);
void stats_error(uint32_t cid, char letter, const char *fmt, ...);
void stats_done(uint32_t cid, char letter);
#endif /* __CHARYBDIS_AUTHD_NOTICE_H__ */
#endif /* __SOLANUM_AUTHD_NOTICE_H__ */

View file

@ -18,8 +18,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __CHARYBDIS_AUTHD_PROVIDER_H__
#define __CHARYBDIS_AUTHD_PROVIDER_H__
#ifndef __SOLANUM_AUTHD_PROVIDER_H__
#define __SOLANUM_AUTHD_PROVIDER_H__
#include "stdinc.h"
#include "authd.h"
@ -243,4 +243,4 @@ get_provider_timeout(struct auth_client *auth, uint32_t id)
return auth->data[id].timeout;
}
#endif /* __CHARYBDIS_AUTHD_PROVIDER_H__ */
#endif /* __SOLANUM_AUTHD_PROVIDER_H__ */

View file

@ -1,5 +1,5 @@
/*
* charybdis: A slightly useful ircd.
* Solanum: a slightly advanced ircd
* dnsbl.c: Manages DNSBL entries and lookups
*
* Copyright (C) 2006-2011 charybdis development team
@ -31,7 +31,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
/* Originally written for charybdis circa 2006 (by nenolod?).
/* Originally written for solanum circa 2006 (by nenolod?).
* Tweaked for authd. Some functions and structs renamed. Public/private
* interfaces have been shifted around. Some code has been cleaned up too.
* -- Elizafox 24 March 2016

View file

@ -105,7 +105,7 @@ static uint16_t generate_random_id(void);
* author:
* paul vixie, 29may94
* revised for ircd, cryogen(stu) may03
* slightly modified for charybdis, mr_flea oct12
* slightly modified for solanum, mr_flea oct12
*/
static int
res_ourserver(const struct rb_sockaddr_storage *inp)

View file

@ -3,11 +3,11 @@
*
*/
#ifndef _CHARYBDIS_RES_H
#define _CHARYBDIS_RES_H
#ifndef _SOLANUM_RES_H
#define _SOLANUM_RES_H
/* Maximum number of nameservers in /etc/resolv.conf we care about
* In hybrid, this was 2 -- but in Charybdis, we want to track
* In hybrid, this was 2 -- but in Solanum, we want to track
* a few more than that ;) --nenolod
*/
#define IRCD_MAXNS 10

View file

@ -3,8 +3,8 @@
*
*/
#ifndef _CHARYBDIS_RESLIB_H
#define _CHARYBDIS_RESLIB_H
#ifndef _SOLANUM_RESLIB_H
#define _SOLANUM_RESLIB_H
/* Longest hostname we're willing to work with.
* Due to DNSBLs this is more than HOSTLEN.

View file

@ -306,7 +306,7 @@ main(int argc, char *argv[])
if(bandb_helper == NULL)
{
fprintf(stderr,
"This is the charybdis bandb for internal ircd use.\n");
"This is the solanum bandb for internal ircd use.\n");
fprintf(stderr,
"You aren't supposed to run me directly (did you want bantool?). Exiting.\n");
exit(1);

View file

@ -196,7 +196,7 @@ main(int argc, char *argv[])
rb_strlcpy(etc, ETCPATH, sizeof(ETCPATH));
fprintf(stdout,
"* charybdis bantool v.%s\n", BT_VERSION);
"* solanum bantool v.%s\n", BT_VERSION);
if(flag.pretend == false)
{
@ -864,7 +864,7 @@ bt_smalldate(const char *string)
void
print_help(int i_exit)
{
fprintf(stderr, "bantool v.%s - the charybdis database tool.\n", BT_VERSION);
fprintf(stderr, "bantool v.%s - the solanum database tool.\n", BT_VERSION);
fprintf(stderr, "Copyright (C) 2008 Daniel J Reidy <dubkat@gmail.com>\n");
fprintf(stderr, "This program is distributed in the hope that it will be useful,\n"
"but WITHOUT ANY WARRANTY; without even the implied warranty of\n"

View file

@ -4,7 +4,7 @@ dnl said functions need to be just about as complex as they already are.
AC_PREREQ(2.60)
AC_INIT([charybdis], [4.1.3-dev])
AC_INIT([solanum], [1.0-dev])
AC_LANG(C)
AC_USE_SYSTEM_EXTENSIONS
@ -13,7 +13,7 @@ AC_GNU_SOURCE
AC_PROG_CC_C99
if test x"$ac_cv_prog_cc_c99" = "xno"; then
AC_ERROR([charybdis requires a C99 capable compiler])
AC_ERROR([solanum requires a C99 capable compiler])
fi
AC_PREFIX_DEFAULT($HOME/ircd)
@ -183,7 +183,7 @@ AC_SUBST(CRYPT_LIB)
AC_C_BIGENDIAN
dnl Check for stdarg.h - if we can't find it, halt configure
AC_CHECK_HEADER(stdarg.h, , [AC_MSG_ERROR([** stdarg.h could not be found - charybdis will not compile without it **])])
AC_CHECK_HEADER(stdarg.h, , [AC_MSG_ERROR([** stdarg.h could not be found - solanum will not compile without it **])])
AC_CHECK_FUNCS([strlcat strlcpy])
AC_TYPE_INT16_T
@ -561,7 +561,7 @@ if test "$profile" = yes; then
if test "$ac_cv_c_compiler_gnu" = yes; then
IRC_CFLAGS="$IRC_CFLAGS -pg"
AC_MSG_RESULT([yes, adding -pg])
AC_DEFINE(CHARYBDIS_PROFILE, 1, [Define this if you are profiling.])
AC_DEFINE(SOLANUM_PROFILE, 1, [Define this if you are profiling.])
else
AC_MSG_RESULT([no, profile builds only work with gcc])
fi
@ -646,26 +646,26 @@ AC_HELP_STRING([--enable-warnings],[Enable all sorts of warnings for debugging.]
IRC_CFLAGS="$IRC_CFLAGS -O0"
CFLAGS="$IRC_CFLAGS"
CHARYBDIS_C_GCC_TRY_FLAGS([-Wall], charybdis_cv_c_gcc_w_all)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wpointer-arith], charybdis_cv_c_gcc_w_pointer_arith)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wimplicit -Wnested-externs], charybdis_cv_c_gcc_w_implicit)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wcast-align], charybdis_cv_c_gcc_w_cast_align)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wcast-qual], charybdis_cv_c_gcc_w_cast_qual)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wwrite-strings], charybdis_cv_c_gcc_w_write_strings)
CHARYBDIS_C_GCC_TRY_FLAGS([-Werror-implicit-function-declaration], charybdis_cv_c_gcc_w_error_implicit_function_declaration)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations], charybdis_cv_c_gcc_prototypes)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wparentheses], charybdis_cv_c_gcc_parentheses)
CHARYBDIS_C_GCC_TRY_FLAGS([-W -Wno-unused], charybdis_cv_c_gcc_w)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wextra], charybdis_cv_c_gcc_w_extra)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wshadow], charybdis_cv_c_gcc_w_shadow)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wmissing-noreturn], charybdis_cv_c_gcc_w_missing_noreturn)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wundef], charybdis_cv_c_gcc_w_undef)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wpacked], charybdis_cv_c_gcc_w_packed)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wnested-externs], charybdis_cv_c_gcc_w_nested_externs)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wunused-function -Wunused-label -Wunused-value -Wunused-variable], charybdis_cv_c_gcc_w_unused)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wredundant-decls], charybdis_cv_c_gcc_w_redundant_decls)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wfloat-equal], charybdis_cv_c_gcc_w_float_equal)
CHARYBDIS_C_GCC_TRY_FLAGS([-Wformat -Wformat-y2k -Wno-format-security], charybdis_cv_c_gcc_w_format)
SOLANUM_C_GCC_TRY_FLAGS([-Wall], solanum_cv_c_gcc_w_all)
SOLANUM_C_GCC_TRY_FLAGS([-Wpointer-arith], solanum_cv_c_gcc_w_pointer_arith)
SOLANUM_C_GCC_TRY_FLAGS([-Wimplicit -Wnested-externs], solanum_cv_c_gcc_w_implicit)
SOLANUM_C_GCC_TRY_FLAGS([-Wcast-align], solanum_cv_c_gcc_w_cast_align)
SOLANUM_C_GCC_TRY_FLAGS([-Wcast-qual], solanum_cv_c_gcc_w_cast_qual)
SOLANUM_C_GCC_TRY_FLAGS([-Wwrite-strings], solanum_cv_c_gcc_w_write_strings)
SOLANUM_C_GCC_TRY_FLAGS([-Werror-implicit-function-declaration], solanum_cv_c_gcc_w_error_implicit_function_declaration)
SOLANUM_C_GCC_TRY_FLAGS([-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations], solanum_cv_c_gcc_prototypes)
SOLANUM_C_GCC_TRY_FLAGS([-Wparentheses], solanum_cv_c_gcc_parentheses)
SOLANUM_C_GCC_TRY_FLAGS([-W -Wno-unused], solanum_cv_c_gcc_w)
SOLANUM_C_GCC_TRY_FLAGS([-Wextra], solanum_cv_c_gcc_w_extra)
SOLANUM_C_GCC_TRY_FLAGS([-Wshadow], solanum_cv_c_gcc_w_shadow)
SOLANUM_C_GCC_TRY_FLAGS([-Wmissing-noreturn], solanum_cv_c_gcc_w_missing_noreturn)
SOLANUM_C_GCC_TRY_FLAGS([-Wundef], solanum_cv_c_gcc_w_undef)
SOLANUM_C_GCC_TRY_FLAGS([-Wpacked], solanum_cv_c_gcc_w_packed)
SOLANUM_C_GCC_TRY_FLAGS([-Wnested-externs], solanum_cv_c_gcc_w_nested_externs)
SOLANUM_C_GCC_TRY_FLAGS([-Wunused-function -Wunused-label -Wunused-value -Wunused-variable], solanum_cv_c_gcc_w_unused)
SOLANUM_C_GCC_TRY_FLAGS([-Wredundant-decls], solanum_cv_c_gcc_w_redundant_decls)
SOLANUM_C_GCC_TRY_FLAGS([-Wfloat-equal], solanum_cv_c_gcc_w_float_equal)
SOLANUM_C_GCC_TRY_FLAGS([-Wformat -Wformat-y2k -Wno-format-security], solanum_cv_c_gcc_w_format)
IRC_CFLAGS="$CFLAGS"
],[])

View file

@ -1,2 +1,2 @@
This is charybdis MOTD you might replace it, but if not your friends will
This is solanum MOTD you might replace it, but if not your friends will
laugh at you.

View file

@ -1,4 +1,4 @@
/* doc/reference.conf - charybdis Example configuration file
/* doc/reference.conf - solanum example configuration file
*
* Copyright (C) 2000-2002 Hybrid Development Team
* Copyright (C) 2002-2005 ircd-ratbox development team

View file

@ -1,4 +1,4 @@
This directory contains extensions (modules) to charybdis ircd that
This directory contains extensions (modules) to solanum ircd that
have been contributed by other people, or written by our development
team. Unsupported extensions live under unsupported/.

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* chm_nonotice: block NOTICEs (+T mode).
*
* Copyright (c) 2012 William Pitcock <nenolod@dereferenced.org>

View file

@ -30,7 +30,7 @@
*
* Make it short, sweet, and to the point.
*/
static const char example_desc[] = "This is an example Charybdis module.";
static const char example_desc[] = "This is an example Solanum module.";
/* Declare the void's initially up here, as modules dont have an
* include file, we will normally have client_p, source_p, parc

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
*
* Copyright (C) 2006 charybdis development team
* All rights reserved

View file

@ -1,5 +1,5 @@
/*
* Charybdis: an advanced ircd
* Solanum: a slightly advanced ircd
* ip_cloaking.c: provide user hostname cloaking
*
* Written originally by nenolod, altered to use FNV by Elizabeth in 2008

View file

@ -1,5 +1,5 @@
/*
* Charybdis: an advanced ircd
* Solanum: a slightly advanced ircd
* ip_cloaking.c: provide user hostname cloaking
*
* Written originally by nenolod, altered to use FNV by Elizabeth in 2008

View file

@ -1,5 +1,5 @@
/*
* charybdis
* solanum
* m_extendchans.c: Allow an oper or service to let a given user join more channels.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* Charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
* m_omode.c: allows oper mode hacking
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* roleplay commands for charybdis.
* roleplay commands for solanum.
*
* adds NPC, NPCA, and SCENE which allow users to send messages from 'fake'
* nicknames. in the case of NPC and NPCA, the nickname will be underlined

View file

@ -1,5 +1,5 @@
/*
* oper-override for charybdis.
* oper-override for solanum.
*
* adds usermode +p and has a timer event that is iterated over to disable
* usermode +p after a while...

View file

@ -1,5 +1,5 @@
/*
* charybdis
* solanum
* authproc.h: A header with the authd functions.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
@ -23,8 +23,8 @@
* USA
*/
#ifndef CHARYBDIS_AUTHD_H
#define CHARYBDIS_AUTHD_H
#ifndef SOLANUM_AUTHD_H
#define SOLANUM_AUTHD_H
#include "stdinc.h"
#include "rb_dictionary.h"

View file

@ -1,5 +1,5 @@
/*
* charybdis: A useful ircd.
* Solanum: a slightly advanced ircd
* certpf.h: Fingerprint method strings
*
* Copyright 2016 Simon Arlott

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced ircd.
* Solanum: a slightly advanced ircd
* chmode.h: The ircd channel header.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: A useful ircd.
* Solanum: a slightly advanced ircd
* client.h: The ircd client header.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis
* solanum
* dns.h: A header with the DNS functions.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
@ -23,8 +23,8 @@
* USA
*/
#ifndef CHARYBDIS_DNS_H
#define CHARYBDIS_DNS_H
#ifndef SOLANUM_DNS_H
#define SOLANUM_DNS_H
#include "stdinc.h"
#include "authproc.h"

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
* hostmask.h: A header for the hostmask code.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* inline/stringops.h: inlined string operations used in a few places
*
* Copyright (c) 2005-2008 charybdis development team

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced IRCd.
* solanum: An advanced IRCd.
* ircd_defs.h: A header for ircd global definitions.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced ircd.
* Solanum: a slightly advanced ircd
* ircd_linker.h: IRCd symbol table linking and maintainance
*
* Copyright (c) 2006 William Pitcock <nenolod@nenolod.net>
@ -31,8 +31,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef _CHARYBDIS_IRCD_LINKER_H
#define _CHARYBDIS_IRCD_LINKER_H
#ifndef _SOLANUM_IRCD_LINKER_H
#define _SOLANUM_IRCD_LINKER_H
#include <dlfcn.h>

View file

@ -63,10 +63,10 @@ Info MyInformation[] = {
#endif /* UH PATH */
#ifdef SOMAXCONN
{"CHARYBDIS_SOMAXCONN", "", SOMAXCONN,
{"SOLANUM_SOMAXCONN", "", SOMAXCONN,
"Maximum Queue Length of Pending Connections"},
#else
{"CHARYBDIS_SOMAXCONN", "", CHARYBDIS_SOMAXCONN,
{"SOLANUM_SOMAXCONN", "", SOLANUM_SOMAXCONN,
"Maximum Queue Length of Pending Connections"},
#endif /* SOMAXCONN */

View file

@ -30,7 +30,7 @@
#include "parse.h"
#include "client.h" /* for IDLEN */
#define MAPI_CHARYBDIS 2
#define MAPI_SOLANUM 2
#include <ltdl.h>
@ -97,8 +97,8 @@ struct mapi_mheader_av1
};
#define MAPI_ORIGIN_UNKNOWN 0 /* Unknown provenance (AV1 etc.) */
#define MAPI_ORIGIN_EXTENSION 1 /* Charybdis extension */
#define MAPI_ORIGIN_CORE 2 /* Charybdis core module */
#define MAPI_ORIGIN_EXTENSION 1 /* Solanum extension */
#define MAPI_ORIGIN_CORE 2 /* Solanum core module */
struct mapi_mheader_av2
{

View file

@ -1,5 +1,5 @@
/*
* charybdis - an advanced ircd.
* solanum - an advanced ircd.
* Copyright (c) 2016 William Pitcock <nenolod@dereferenced.org>.
*
* Permission to use, copy, modify, and/or distribute this software for any
@ -19,8 +19,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef CHARYBDIS__MSGBUF_H
#define CHARYBDIS__MSGBUF_H
#ifndef SOLANUM__MSGBUF_H
#define SOLANUM__MSGBUF_H
#define MAXPARA (15)

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* privilege.h: Dynamic privileges API.
*
* Copyright (c) 2008 William Pitcock <nenolod@dereferenced.org>
@ -21,8 +21,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef __CHARYBDIS_PRIVILEGE_H
#define __CHARYBDIS_PRIVILEGE_H
#ifndef __SOLANUM_PRIVILEGE_H
#define __SOLANUM_PRIVILEGE_H
#include "stdinc.h"

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
*
* Copyright (C) 2012 Keith Buck <mr_flea@esper.net>
*

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced IRCd.
* solanum: An advanced IRCd.
* s_assert.h: Definition of the soft assert (s_assert) macro.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: Advanced, scalable Internet Relay Chat.
* solanum: Advanced, scalable Internet Relay Chat.
* s_conf.h: A header for the configuration functions.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced ircd.
* Solanum: a slightly advanced ircd
* snomask.h: Management for user server-notice masks.
*
* Copyright (c) 2006 William Pitcock <nenolod@nenolod.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd
* Solanum: a slightly advanced ircd
* markup.h: parses markup into human-readable strings
*
* Copyright (c) 2006-2007 William Pitcock <nenolod@nenolod.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis: A slightly useful ircd.
* Solanum: a slightly advanced ircd
* supported.h: isupport (005) numeric
*
* Entirely rewritten, August 2006 by Jilles Tjoelker

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
*
* Copyright (C) 2004-2005 Lee Hardy <lee@leeh.co.uk>
* Copyright (C) 2005-2010 Jilles Tjoelker <jilles@stack.nl>

View file

@ -1,5 +1,5 @@
/*
* wsproc.h: An interface to the charybdis websocket helper daemon
* wsproc.h: An interface to the solanum websocket helper daemon
* Copyright (C) 2007 Aaron Sethman <androsyn@ratbox.org>
* Copyright (C) 2007 ircd-ratbox development team
* Copyright (C) 2016 William Pitcock <nenolod@dereferenced.org>

View file

@ -69,10 +69,10 @@ libircd_la_LDFLAGS = $(EXTRA_FLAGS) -avoid-version -no-undefined
libircd_la_LIBADD = @LIBLTDL@ -L$(top_srcdir)/librb/src -lrb
libircd_LTLIBRARIES = libircd.la
bin_PROGRAMS = charybdis
charybdis_SOURCES = main.c
charybdis_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
charybdis_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
bin_PROGRAMS = solanum
solanum_SOURCES = main.c
solanum_LDFLAGS = $(EXTRA_FLAGS) -dlopen self
solanum_LDADD = libircd.la -L$(top_srcdir)/librb/src -lrb
install-exec-hook: install-libircdLTLIBRARIES
$(RM) -f version.c

View file

@ -1,5 +1,5 @@
/*
* charybdis: A slightly useful ircd.
* Solanum: a slightly advanced ircd
* chmode.c: channel mode management
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* client.c: Controls clients.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
@ -1147,7 +1147,7 @@ free_exited_clients(void *unused)
target_p->name, (unsigned int) target_p->status,
(unsigned long long)target_p->flags, target_p->handler);
sendto_realops_snomask(SNO_GENERAL, L_ALL,
"Please report this to the charybdis developers!");
"Please report this to the solanum developers!");
found++;
}
}
@ -1291,7 +1291,7 @@ exit_aborted_clients(void *unused)
abt->client->name, (unsigned int) abt->client->status,
(unsigned long long)abt->client->flags, abt->client->handler);
sendto_realops_snomask(SNO_GENERAL, L_ALL,
"Please report this to the charybdis developers!");
"Please report this to the solanum developers!");
continue;
}
}

View file

@ -1,5 +1,5 @@
/*
* charybdis: A slightly useful ircd.
* Solanum: a slightly advanced ircd
* extban.c: extended ban types ($type:data)
*
* Copyright (C) 2006 charybdis development team

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced internet relay chat daemon (ircd).
* Solanum: a slightly advanced ircd
* hostmask.c: Code to efficiently find IP & hostmask based configs.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: A slightly useful ircd.
* Solanum: a slightly advanced ircd
* ircd.c: Starts up and runs the ircd.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
@ -206,7 +206,7 @@ init_sys(void)
if(maxconnections <= MAX_BUFFER)
{
fprintf(stderr, "ERROR: Shell FD limits are too low.\n");
fprintf(stderr, "ERROR: charybdis reserves %d FDs, shell limits must be above this\n", MAX_BUFFER);
fprintf(stderr, "ERROR: solanum reserves %d FDs, shell limits must be above this\n", MAX_BUFFER);
exit(EXIT_FAILURE);
}
return;
@ -553,7 +553,7 @@ ircd_restart_cb(const char *str)
/*
* Why EXIT_FAILURE here?
* Because if ircd_die_cb() is called it's because of a fatal
* error inside libcharybdis, and we don't know how to handle the
* error inside libsolanum, and we don't know how to handle the
* exception, so it is logical to return a FAILURE exit code here.
* --nenolod
*/
@ -627,7 +627,7 @@ seed_random(void *unused)
* Side Effects - this is where the ircd gets going right now
*/
int
charybdis_main(int argc, char * const argv[])
solanum_main(int argc, char * const argv[])
{
int fd;

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
*
* Copyright (C) 2003 Lee H <lee@leeh.co.uk>
* Copyright (C) 2003-2005 ircd-ratbox development team

View file

@ -1,9 +1,9 @@
/* This file is in the public domain. */
extern int charybdis_main(int argc, const char *argv[]);
extern int solanum_main(int argc, const char *argv[]);
int
main(int argc, const char *argv[])
{
return charybdis_main(argc, argv);
return solanum_main(argc, argv);
}

View file

@ -41,7 +41,7 @@
#include <ltdl.h>
#ifndef LT_MODULE_EXT
# error "Charybdis requires loadable module support."
# error "Solanum requires loadable module support."
#endif
rb_dlink_list module_list;

View file

@ -1,5 +1,5 @@
/*
* charybdis - an advanced ircd.
* solanum - an advanced ircd.
* Copyright (c) 2016 William Pitcock <nenolod@dereferenced.org>.
*
* Permission to use, copy, modify, and/or distribute this software for any

View file

@ -1,4 +1,4 @@
/* charybdis
/* solanum
* operhash.c - Hashes nick!user@host{oper}
*
* Copyright (C) 2005 Lee Hardy <lee -at- leeh.co.uk>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* parse.c: The message parser.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* privilege.c: Dynamic privileges API.
*
* Copyright (c) 2008 William Pitcock <nenolod@dereferenced.org>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd
* Solanum: a slightly advanced ircd
* ratelimit.c: Per-client ratelimiting for high-bandwidth commands.
*
* Copyright (c) 2012 Keith Buck <mr_flea -at- esper.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis
* solanum
* scache.c: Server names cache.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced ircd.
* Solanum: a slightly advanced ircd
* snomask.c: Management for user server-notice masks.
*
* Copyright (c) 2006 William Pitcock <nenolod@nenolod.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd
* Solanum: a slightly advanced ircd
* substitution.c: parses substitution-keyword expansions
*
* Copyright (c) 2006-2007 William Pitcock <nenolod@nenolod.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis: A slightly useful ircd.
* Solanum: a slightly advanced ircd
* supported.c: isupport (005) numeric
*
* Copyright (C) 2006 Jilles Tjoelker

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
* tgchange.c - code for restricting private messages
*
* Copyright (C) 2004-2005 Lee Hardy <lee@leeh.co.uk>

View file

@ -1,7 +1,7 @@
#!/bin/sh
spitshell=cat
package=charybdis
package=solanum
echo "Extracting $package/src/version.c..."

View file

@ -1,2 +1,2 @@
librb was based on ircd-ratbox's libratbox. This contains various utility
functions. See the CREDITS in Charybdis for more information.
functions. See the CREDITS in Solanum for more information.

View file

@ -20,7 +20,7 @@ dnl Checks for programs.
AC_PROG_CC_C99
if test x"$ac_cv_prog_cc_c99" = "xno"; then
AC_ERROR([charybdis requires a C99 capable compiler])
AC_ERROR([solanum requires a C99 capable compiler])
fi

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* rb_dictionary.h: Dictionary-based storage.
*
* Copyright (c) 2007 William Pitcock <nenolod -at- sacredspiral.co.uk>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* rb_radixtree.h: Dictionary-based storage.
*
* Copyright (c) 2007-2016 William Pitcock <nenolod -at- dereferenced.org>

View file

@ -8,7 +8,7 @@ include_dir=@includedir@/librb
lib_dir=@libdir@
Name: librb
Description: Portable runtime for charybdis and other things, based on libratbox
Description: Portable runtime for solanum and other things, based on libratbox
Version: @PACKAGE_VERSION@
Libs: -L${lib_dir} -lrb
Cflags: -I${include_dir}

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd
* Solanum: a slightly advanced ircd
* rb_dictionary.c: Dictionary-based information storage.
*
* Copyright (c) 2007 William Pitcock <nenolod -at- sacredspiral.co.uk>

View file

@ -40,7 +40,7 @@
/*
* Personalization string for CTR-DRBG initialization
*/
static const char rb_mbedtls_personal_str[] = "charybdis/librb personalization string";
static const char rb_mbedtls_personal_str[] = "solanum/librb personalization string";
/*
* Default list of supported ciphersuites

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* rb_radixtree.c: Dictionary-based information storage.
*
* Copyright (c) 2007-2016 William Pitcock <nenolod -at- dereferenced.org>

View file

@ -18,7 +18,7 @@ generation=`expr $generation + 1`
$spitshell >version.c <<!SUB!THIS!
/*
* librb: a library used by charybdis and other things
* librb: a library used by solanum and other things
* src/version.c
*
* Copyright (C) 1990 Chelsea Ashley Dyerman

View file

@ -372,7 +372,7 @@ rb_init_netio_win32(void)
{
/* this muchly sucks, but i'm too lazy to do overlapped i/o, maybe someday... -androsyn */
WNDCLASS wc;
static const char *classname = "charybdis-class";
static const char *classname = "solanum-class";
wc.style = 0;
wc.lpfnWndProc = (WNDPROC) rb_process_events;

View file

@ -29,8 +29,8 @@ AC_DEFUN([AC_SUBST_DIR], [
AC_SUBST($1)
])
dnl CHARYBDIS_C_GCC_TRY_FLAGS(<warnings>,<cachevar>)
AC_DEFUN([CHARYBDIS_C_GCC_TRY_FLAGS],[
dnl SOLANUM_C_GCC_TRY_FLAGS(<warnings>,<cachevar>)
AC_DEFUN([SOLANUM_C_GCC_TRY_FLAGS],[
AC_MSG_CHECKING([GCC flag(s) $1])
if test "${GCC-no}" = yes
then

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* cap_account_tag.c: implement the account-tag IRCv3.2 capability
*
* Copyright (c) 2016 William Pitcock <nenolod@dereferenced.org>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* cap_server_time.c: implement the server-time IRCv3.2 capability
*
* Copyright (c) 2016 William Pitcock <nenolod@dereferenced.org>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* chm_nocolour: strip colours (+c mode).
*
* Copyright (c) 2012 William Pitcock <nenolod@dereferenced.org>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced ircd.
* Solanum: a slightly advanced ircd
* chm_noctcp: block non-action CTCP (+C mode).
*
* Copyright (c) 2012 William Pitcock <nenolod@dereferenced.org>

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced ircd.
* Solanum: a slightly advanced ircd
* m_ban.c: Propagates network bans across servers.
*
* Copyright (C) 2010 Jilles Tjoelker

View file

@ -1,5 +1,5 @@
/*
* charybdis: An advanced ircd.
* Solanum: a slightly advanced ircd
* m_list_safelist.c: Version of /list that uses the safelist code.
*
* Copyright (c) 2006 William Pitcock <nenolod@nenolod.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
* m_scan.c: Provides information about various targets on various topics
*
* Copyright (c) 2006 William Pitcock <nenolod -at- nenolod.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
* m_snote.c: Server notice listener
*
* Copyright (c) 2006 William Pitcock <nenolod -at- nenolod.net>

View file

@ -1,5 +1,5 @@
/*
* charybdis: an advanced Internet Relay Chat Daemon(ircd).
* Solanum: a slightly advanced ircd
* sno_routing.c: Shows notices about netjoins and netsplits
*
* Copyright (c) 2005-2006 Jilles Tjoelker <jilles-at-stack.nl>

View file

@ -1,5 +1,5 @@
#!/bin/sh
# application.sh: Special package building rules for charybdis.
# application.sh: Special package building rules for solanum.
#
# Copyright (c) 2007-2008 atheme.org
#
@ -24,11 +24,11 @@ if [ "x$TIP" = "x" ]; then
exit
fi
# Charybdis wants the git head to be in include/serno.h, in its own format.
# Solanum wants the git head to be in include/serno.h, in its own format.
SERNO=`git log -1 --date=format:%Y%m%d --pretty=format:%cd-%h`
DATECODE=`git log -1 --pretty=format:%ct`
echo "[charybdis] Generating include/serno.h for tip $MYTIP."
echo "[solanum] Generating include/serno.h for tip $MYTIP."
cat << _EOF_ > include/serno.h
/* Generated automatically by makepackage. Any changes made here will be lost. */
#define SERNO "$SERNO"

View file

@ -1169,7 +1169,7 @@ main(int argc, char **argv)
if(s_ctlfd == NULL || s_pipe == NULL || s_pid == NULL)
{
fprintf(stderr,
"This is the charybdis ssld for internal ircd use.\n");
"This is the solanum ssld for internal ircd use.\n");
fprintf(stderr,
"You aren't supposed to run me directly. Exiting.\n");
exit(1);

View file

@ -31,7 +31,7 @@
#define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
extern int charybdis_main(int argc, const char *argv[]);
extern int solanum_main(int argc, const char *argv[]);
static char argv0[BUFSIZE];
static char configfile[BUFSIZE];
@ -94,7 +94,7 @@ void ircd_util_init(const char *name)
ircd_paths[IRCD_PATH_BIN] = rb_strdup(buf);
ircd_paths[IRCD_PATH_LIBEXEC] = rb_strdup(buf);
is_int(0, charybdis_main(ARRAY_SIZE(argv) - 1, argv), MSG);
is_int(0, solanum_main(ARRAY_SIZE(argv) - 1, argv), MSG);
}
void ircd_util_reload_module(const char *name)

View file

@ -19,7 +19,7 @@ serverinfo {
admin {
name = "Here";
description = "Charybdis testsuite server";
description = "Solanum testsuite server";
email = "root@localhost";
};

View file

@ -19,7 +19,7 @@ serverinfo {
admin {
name = "Here";
description = "Charybdis testsuite server";
description = "Solanum testsuite server";
email = "root@localhost";
};

View file

@ -19,7 +19,7 @@ serverinfo {
admin {
name = "Here";
description = "Charybdis testsuite server";
description = "Solanum testsuite server";
email = "root@localhost";
};

View file

@ -3,6 +3,6 @@ testdir=`pwd`
prefix=`sed -n -e 's/^#define IRCD_PREFIX "\(.*\)"/\1/p' "$testdir/../include/setup.h"`
[ -d $prefix ] || { echo Unable to find installation prefix; exit 1; }
$prefix/bin/charybdis -configfile $testdir/ircd.conf.1 -pidfile $testdir/ircd.pid.1
$prefix/bin/charybdis -configfile $testdir/ircd.conf.2 -pidfile $testdir/ircd.pid.2
$prefix/bin/charybdis -configfile $testdir/ircd.conf.3 -pidfile $testdir/ircd.pid.3
$prefix/bin/solanum -configfile $testdir/ircd.conf.1 -pidfile $testdir/ircd.pid.1
$prefix/bin/solanum -configfile $testdir/ircd.conf.2 -pidfile $testdir/ircd.pid.2
$prefix/bin/solanum -configfile $testdir/ircd.conf.3 -pidfile $testdir/ircd.pid.3

View file

@ -1,9 +1,9 @@
bin_PROGRAMS = charybdis-mkpasswd charybdis-mkfingerprint
bin_PROGRAMS = solanum-mkpasswd solanum-mkfingerprint
AM_CFLAGS=$(WARNFLAGS)
AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I.
charybdis_mkpasswd_SOURCES = mkpasswd.c
charybdis_mkpasswd_LDADD = ../librb/src/librb.la
solanum_mkpasswd_SOURCES = mkpasswd.c
solanum_mkpasswd_LDADD = ../librb/src/librb.la
charybdis_mkfingerprint_SOURCES = mkfingerprint.c
charybdis_mkfingerprint_LDADD = ../librb/src/librb.la
solanum_mkfingerprint_SOURCES = mkfingerprint.c
solanum_mkfingerprint_LDADD = ../librb/src/librb.la

View file

@ -32,7 +32,7 @@ A Blowfish salt consists of up to 22 alphanumeric characters (plus '.' and
Blowfish may not always be available, but MD5, SHA256, and SHA512 are
guaranteed to be.
This program should work anywhere Charybdis does; if you find otherwise, file
This program should work anywhere Solanum does; if you find otherwise, file
a bug.
* Blowfish's rounds parameter is a logarithm, not an integer value

View file

@ -1,5 +1,5 @@
/*
* wsockd.c: charybdis websockets helper
* wsockd.c: solanum websockets helper
* Copyright (C) 2007 Aaron Sethman <androsyn@ratbox.org>
* Copyright (C) 2007 ircd-ratbox development team
* Copyright (C) 2016 William Pitcock <nenolod@dereferenced.org>
@ -961,7 +961,7 @@ main(int argc, char **argv)
if(s_ctlfd == NULL || s_pipe == NULL || s_pid == NULL)
{
fprintf(stderr,
"This is the charybdis wsockd for internal ircd use.\n");
"This is the solanum wsockd for internal ircd use.\n");
fprintf(stderr,
"You aren't supposed to run me directly. Exiting.\n");
exit(1);