2017-08-18 00:33:22 +02:00
|
|
|
# IRCd
|
2015-02-25 03:32:08 +01:00
|
|
|
|
2017-08-18 00:33:22 +02:00
|
|
|
**I**nternet **R**elay **C**hat **d**aemon: *Charybdis*
|
2016-01-23 20:52:57 +01:00
|
|
|
|
2017-08-18 00:33:22 +02:00
|
|
|
Charybdis is designed to be fast and highly scalable. It is also designed to be community-
|
|
|
|
developed by volunteer contributors over the internet. This makes Charybdis easy to understand,
|
|
|
|
modify, audit, and extend.
|
2015-02-25 03:32:08 +01:00
|
|
|
|
2017-08-18 00:33:22 +02:00
|
|
|
IRCd is a free and open source server which facilitates real-time communication over the
|
|
|
|
internet. It was started in 1988 by Jarkko Oikarinen in the University of Oulu and eventually
|
|
|
|
made its way to William Pitcock et al, whom after 2005 developed the project under the alias
|
2017-09-09 14:50:16 +02:00
|
|
|
*Charybdis*.
|
|
|
|
|
|
|
|
In 2014 a protocol was proposed to reinvigorate real-time communication in lieu of growing
|
|
|
|
commercial competition and a lack of innovation from open source alternatives to
|
|
|
|
compete. This protcol is known as the **Matrix protocol**.
|
2017-08-18 00:33:22 +02:00
|
|
|
|
|
|
|
##### IRCd now implements the Matrix protocol.
|
|
|
|
|
|
|
|
|
2017-09-09 14:50:16 +02:00
|
|
|
# Charybdis/5
|
2017-08-18 00:33:22 +02:00
|
|
|
|
2017-09-09 14:50:16 +02:00
|
|
|
Charybdis Five is the first high performance implementation of **Matrix** written in C++. It remains
|
2017-08-18 00:33:22 +02:00
|
|
|
true to its roots for being highly scalable, modular and having minimal requirements. Most of the
|
2017-09-09 14:50:16 +02:00
|
|
|
old code has been rewritten but with the same architecture and spirit of the original.
|
2017-08-18 00:33:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
### Dependencies
|
|
|
|
|
|
|
|
* **Boost** (1.61 or later) - We have replaced libratbox with the well known and actively
|
|
|
|
developed Boost libraries. These are included as a submodule in this repository.
|
|
|
|
|
|
|
|
* **RocksDB** (based on LevelDB) - We replace sqlite3 with a lightweight and embedded database
|
|
|
|
and have furthered the mission of eliminating the need for external "IRC services"
|
|
|
|
|
2017-09-09 14:50:16 +02:00
|
|
|
* *Build dependencies:* gnu++14 compiler, automake, autoconf, autoconf2.13, autoconf-archive,
|
|
|
|
libtool, shtool
|
2017-08-18 00:33:22 +02:00
|
|
|
|
2017-09-09 14:50:16 +02:00
|
|
|
* *Other dependencies:* OpenSSL, zlib, snappy (for rocksdb)
|
2017-08-18 00:33:22 +02:00
|
|
|
|
2017-09-09 14:50:16 +02:00
|
|
|
### Installation
|
|
|
|
|
|
|
|
#### Downloading Charybdis
|
2015-02-25 03:32:08 +01:00
|
|
|
|
2017-03-31 00:57:58 +02:00
|
|
|
* `git clone https://github.com/charybdis-ircd/charybdis`
|
|
|
|
* `cd charybdis`
|
2017-08-18 00:33:22 +02:00
|
|
|
* `git checkout 5`
|
|
|
|
- Verify you have the latest source tree and **are on the Matrix branch**.
|
|
|
|
|
2017-09-09 14:50:16 +02:00
|
|
|
#### Building from git (production)
|
|
|
|
|
|
|
|
* `./autogen.sh`
|
|
|
|
* `./configure`
|
|
|
|
* `make`
|
|
|
|
* `sudo make install`
|
|
|
|
|
|
|
|
#### Building from git (DEVELOPER PREVIEW INSTRUCTIONS)
|
|
|
|
|
|
|
|
The developer preview will install charybdis in a specific directory isolated from the
|
|
|
|
system. It will not install and avoid using system libraries. Instead it will download
|
|
|
|
and build the dependencies from the submodules we have pinned here and build them the
|
|
|
|
way we have configured. Charybdis should be executed using those builds. You may need
|
|
|
|
to set the `LD_LIBRARY_PATH` to the built libraries. This is not required for release.
|
|
|
|
|
2017-08-18 00:33:22 +02:00
|
|
|
* `./autogen.sh`
|
|
|
|
* `mkdir build`
|
|
|
|
- The install directory may be this or another place of your choosing.
|
|
|
|
- If you decide elsewhere, make sure to change the `--prefix` in the `./configure`
|
|
|
|
statement below.
|
|
|
|
|
|
|
|
* `CXX=g++-6 ./configure --prefix=$PWD/build --enable-debug --with-included-boost=shared --with-included-rocksdb=shared`
|
|
|
|
- Many systems alias `g++` to an older version. To be safe, specify a version manually
|
|
|
|
in `CXX`. This will also build the submodule dependencies with that version.
|
|
|
|
- The `--with-included-*` will fetch, configure **and build** the dependencies included
|
2017-09-09 14:50:16 +02:00
|
|
|
as submodules. Include `=shared` for now until static libraries are better handled.
|
2017-08-18 00:33:22 +02:00
|
|
|
|
2017-03-31 00:57:58 +02:00
|
|
|
* `make`
|
|
|
|
* `make install`
|
2015-02-25 03:32:08 +01:00
|
|
|
|
2016-03-23 21:10:44 +01:00
|
|
|
|
2017-09-09 14:50:16 +02:00
|
|
|
### Platforms
|
2015-02-25 03:32:08 +01:00
|
|
|
|
2016-07-24 00:42:04 +02:00
|
|
|
[![Charybdis](http://img.shields.io/SemVer/v5.0.0-dev.png)](https://github.com/charybdis-ircd/charybdis/tree/master)
|
|
|
|
*This branch is not meant for production. Use at your own risk.*
|
2016-03-06 00:49:13 +01:00
|
|
|
|
2016-07-24 00:42:04 +02:00
|
|
|
| <sub> Continuously Integrated Host </sub> | <sub> Compiler </sub> | <sub> Third party </sub> | <sub> Status </sub> |
|
|
|
|
|:------------------------------------------- |:------------------------ |:------------------------ |:------------------- |
|
2017-09-09 14:50:16 +02:00
|
|
|
| <sub> Linux Ubuntu 16.04 Xenial </sub> | <sub> GCC 6 </sub> | <sub> Boost 1.62 </sub> | [![POSIX Build Status](https://travis-ci.org/charybdis-ircd/charybdis.svg?branch=master)](https://travis-ci.org/charybdis-ircd/charybdis) |
|
|
|
|
| <sub> Linux Ubuntu 14.04 Xenial </sub> | <sub> Clang 3.8 </sub> | <sub> Boost 1.62 </sub> | [![POSIX Build Status](https://travis-ci.org/charybdis-ircd/charybdis.svg?branch=master)](https://travis-ci.org/charybdis-ircd/charybdis) |
|
|
|
|
| <sub> Apple Darwin 15.5 </sub> | <sub> LLVM 7.3.0 </sub> | <sub> Boost 1.62 </sub> | [![POSIX Build Status](https://travis-ci.org/charybdis-ircd/charybdis.svg?branch=master)](https://travis-ci.org/charybdis-ircd/charybdis) |
|
|
|
|
| <sub> Windows </sub> | <sub> mingw 3.5 </sub> | <sub> Boost 1.62 </sub> | [![Windows Build Status](https://ci.appveyor.com/api/projects/status/is0obsml8xyq2qk7/branch/master?svg=true)](https://ci.appveyor.com/project/kaniini/charybdis/branch/master) |
|
2016-03-06 00:49:13 +01:00
|
|
|
|
2017-03-31 00:57:58 +02:00
|
|
|
## Tips
|
2015-02-25 03:32:08 +01:00
|
|
|
|
|
|
|
* Please read doc/index.txt to get an overview of the current documentation.
|
|
|
|
|
2016-03-23 21:10:44 +01:00
|
|
|
* Read the NEWS file for what's new in this release.
|
|
|
|
|
2017-08-23 23:45:41 +02:00
|
|
|
## Developers
|
|
|
|
|
2017-09-12 18:37:44 +02:00
|
|
|
* Generate doxygen using `/usr/bin/doxygen tools/doxygen.conf` the target
|
|
|
|
directory is doc/html. Browse to doc/html/index.html
|