Don't save last seen times for logged-in nicks
Last seen times are currently updated by, amongst other things, the expiry check, which has the effect of updating every logged in nick and user's line in the database every hour. This makes life much harder for incremental backup systems -- by my very rough measurement, if a DB save without an expiry check costs 1MB, a save that includes one will cost 10. Atheme databases aren't huge to begin with, but I think a tenfold reduction is still worth chasing. Edited by @aaronmdjones: Add NEWS entry and script to migrate back to the v7.2 database format, should people wish to downgrade. Closes #856
|4 days ago|
|.github/workflows||10 months ago|
|build-aux||10 months ago|
|contrib||1 day ago|
|dist||1 month ago|
|doc||5 months ago|
|email/default||7 months ago|
|help||7 months ago|
|include||1 day ago|
|libathemecore||1 day ago|
|libmowgli-2 @ ffc46e5f3d||11 months ago|
|m4||7 months ago|
|modules||1 day ago|
|po||7 months ago|
|scripts||11 months ago|
|src||7 months ago|
|tools||7 months ago|
|.gitattributes||7 months ago|
|.gitignore||2 years ago|
|.gitmodules||5 years ago|
|.mailmap||2 years ago|
|ABOUT-NLS||3 years ago|
|BSDmakefile||9 years ago|
|COPYING||3 years ago|
|GIT-Access.txt||11 months ago|
|INSTALL||6 months ago|
|Makefile||7 months ago|
|NEWS.md||1 day ago|
|README.md||8 months ago|
|SECURITY.md||8 months ago|
|TODO||7 years ago|
|autogen.sh||4 years ago|
|buildsys.mk.in||7 months ago|
|buildsys.module.mk||7 months ago|
|configure||7 months ago|
|configure.ac||8 months ago|
|extra.mk.in||10 months ago|
|mingw-build.sh||10 years ago|
Atheme is a set of IRC services designed for large IRC networks with high scalability requirements. It is relatively mature software, with some code and design derived from another package called Shrike.
Atheme’s behavior is tunable using modules and a highly detailed configuration file. Almost all behavior can be changed at deployment time just by editing the configuration.
If you have a modern version of Git (1.6.5 or newer), you can recursively clone the repository:
$ git clone --recursive 'https://github.com/atheme/atheme/' atheme-devel $ cd atheme-devel
If you have an older version of Git, you must clone the repository, and then fetch its submodules:
$ git clone 'https://github.com/atheme/atheme/' atheme-devel $ cd atheme-devel $ git submodule init $ git submodule update
If you don’t have Git, you can download a package archive from our website at https://atheme.github.io/.
If you are browsing our GitHub repository, please do NOT click the “Download
ZIP” button or the “Source code” links there, as they will give you an archive
that lacks the required submodules. There are proper
archives attached to each release under “Assets”, which is what the “Download”
button on our website will take you to.
Obtain the source code repository and change into its directory (using the commands given above).
If you are building Atheme on a GNU/Linux system, or something which can sufficiently emulate that (like WSL 2 on Windows 10), execute the following commands:
$ ./configure $ make $ make install
If you are building Atheme on an OpenBSD (or similar) system, execute the following commands instead:
# pkg_add gmake $ ./configure --disable-linker-defs $ gmake $ gmake install
If your user-installed libraries that you want Atheme to use are installed by
your package manager to a directory such as
/usr/local/, you may need to
supplement the default compiler and linker search paths so that Atheme can
detect those libraries (e.g. cracklib from FreeBSD Ports):
$ ./configure CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
The following libraries generally require pkg-config to be installed:
If you do not have pkg-config installed and want to use one or more of these
libraries, please see
./configure --help for the options to set to override
pkg-config discovery for those libraries. For example, if you wish to use GNU
libidn, and it is installed into a default search path for your compiler and
linker, and you do not have pkg-config installed, execute:
$ ./configure LIBIDN_CFLAGS="" LIBIDN_LIBS="-lidn"
If a library relies on populating
LIBFOO_CFLAGS with some preprocessor
definitions, or populating
LIBFOO_LIBS with some library linking flags,
this will generally fail. Install pkg-config for the best results.
If you wish to compile Atheme with the LLVM project’s C compiler (
you may also wish to use LLVM’s linker (
lld). You can accomplish this as
$ ./configure CC="clang" LDFLAGS="-fuse-ld=lld"
If you want to use compiler sanitizers, and you want to build with Clang, you MUST also use LLD, as most of the sanitizers in Clang require LTO to function properly, and Clang in LTO mode emits LLVM bitcode, not machine code. The linker is ultimately responsible for performing most of the LTO heavy lifting, and translating the result into machine code, and most other linkers do not know how to do this.
To use compiler sanitizers with GCC (supported):
$ ./configure --disable-heap-allocator --disable-linker-defs \ --enable-compiler-sanitizers CC="gcc"
To use compiler sanitizers with Clang (recommended):
$ ./configure --disable-heap-allocator --disable-linker-defs \ --enable-compiler-sanitizers CC="clang" LDFLAGS="-fuse-ld=lld"
If you do enable the sanitizers, it is recommended to enable the configuration
general::db_save_blocking; see the example configuration file for
The sanitizers are not recommended for production usage, but they are recommended for developers, including third parties writing new features and/or modifying the source code.
If you’re still lost, read the INSTALL file or check out our wiki for more hints.