solanum/README.md

94 lines
3.2 KiB
Markdown
Raw Normal View History

2021-05-27 20:01:24 +00:00
# solanum ![Build Status](https://github.com/solanum-ircd/solanum/workflows/CI/badge.svg)
2015-02-25 02:32:08 +00:00
2020-10-15 14:51:12 +00:00
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].
2015-02-25 02:32:08 +00:00
2020-11-23 15:12:14 +00:00
[atheme]: https://atheme.github.io/
2015-02-25 02:32:08 +00:00
[anope]: http://www.anope.org/
# necessary requirements
* A supported platform
* A working dynamic library system
* A working lex and yacc - flex and bison should work
# platforms
Solanum is developed on Linux with glibc, but is currently portable to most POSIX-compatible operating systems.
However, this portability is likely to be removed unless someone is willing to maintain it. If you'd like to be that
person, please let us know on IRC.
# platform specific errata
These are known issues and workarounds for various platforms.
2020-03-15 22:06:42 +00:00
* **macOS**: you must set the `LIBTOOLIZE` environment variable to point to glibtoolize before running autogen.sh:
```bash
brew install libtool
export LIBTOOLIZE="/usr/local/bin/glibtoolize"
./autogen.sh
```
* **FreeBSD**: if you are compiling with ipv6 you may experience
problems with ipv4 due to the way the socket code is written. To
fix this you must: `sysctl net.inet6.ip6.v6only=0`
* **Solaris**: you may have to set your `PATH` to include `/usr/gnu/bin` and `/usr/gnu/sbin` before `/usr/bin`
and `/usr/sbin`. Solaris's default tools don't seem to play nicely with the configure script. When running
as a 32-bit binary, it should be started as:
```bash
ulimit -n 4095 ; LD_PRELOAD_32=/usr/lib/extendedFILE.so.1 ./solanum
```
2015-02-25 02:32:08 +00:00
2020-11-09 21:08:56 +00:00
# building
2016-03-05 23:49:13 +00:00
2020-11-09 21:08:56 +00:00
```bash
./autogen.sh
./configure --prefix=/path/to/installation
make
make check # run tests
make install
```
See `./configure --help` for build options.
2016-03-05 23:49:13 +00:00
2015-02-25 02:32:08 +00:00
# feature specific requirements
2015-12-05 13:09:52 +00:00
* For SSL/TLS client and server connections, one of:
* OpenSSL 1.0.0 or newer (`--enable-openssl`)
* LibreSSL (`--enable-openssl`)
* mbedTLS (`--enable-mbedtls`)
* GnuTLS (`--enable-gnutls`)
2015-12-05 13:09:52 +00:00
* For certificate-based oper CHALLENGE, OpenSSL 1.0.0 or newer.
2015-12-05 13:09:52 +00:00
(Using CHALLENGE is not recommended for new deployments, so if you want to use a different TLS library,
feel free.)
2015-02-25 02:32:08 +00:00
* For ECDHE under OpenSSL, on Solaris you will need to compile your own OpenSSL on these systems, as they
have removed support for ECC/ECDHE. Alternatively, consider using another library (see above).
2015-02-25 02:32:08 +00:00
# tips
* To report bugs in Solanum, visit us at `#solanum` on [Libera Chat](https://libera.chat)
2015-02-25 02:32:08 +00:00
* Please read [doc/index.txt](doc/index.txt) to get an overview of the current documentation.
2015-02-25 02:32:08 +00:00
* Read the [NEWS.md](NEWS.md) file for what's new in this release.
* The files, `/etc/services`, `/etc/protocols`, and `/etc/resolv.conf`, SHOULD be
2015-02-25 02:32:08 +00:00
readable by the user running the server in order for ircd to start with
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.
2015-02-25 02:32:08 +00:00
# git access
* The Solanum git repository can be checked out using the following command:
2020-10-15 14:51:12 +00:00
`git clone https://github.com/solanum-ircd/solanum`
* Solanum's git repository can be browsed over the Internet at the following address:
2020-10-15 14:51:12 +00:00
https://github.com/solanum-ircd/solanum