aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Expand)AuthorAgeFilesLines
* Clean up include/stdinc.h and librb/include/rb_lib.h•••- Unconditionally require stdbool.h in IRCd We are a C99 project anyway (configure.ac and meson.build both require a C99 compiler), so this header will always be present This removes the awful hack defining bool, true, and false in its absense, which was creating build errors when using meson, because meson.build did not set the HAVE_STDBOOL_H macro - Modernise definition of alloca(3) according to GNU guidance This was in both librb and IRCd, while it only needs to be in the former - Fix missing endianness check in librb/meson.build IRCd and librb both use the WORDS_BIGENDIAN macro, which was only being set by their configure.ac (with the AC_C_BIGENDIAN M4 macro) Since IRCd's stdinc.h includes librb's rb_lib.h, which then includes librb's librb-config.h, which would have the macro defined there, we only need to check for it in librb, so we can remove the endianness check from IRCd's configure.ac and don't need to add it to IRCd's meson.build - Use __has_attribute to detect whether compiler attributes are available This is supported by gcc (5+), clang (2.9+), and ICC (17+) - Add a __noreturn macro for __attribute__((__noreturn__)) and adjust the codebase to use that - Remove inclusion of headers that are only used by librb - Remove inclusion of headers that are included in rb_lib.h because stdinc.h includes rb_lib.h anyway - Remove the checks for headers and functions from the IRCd configure.ac and meson.build that are only used by librb - Alphabetise checks for headers and functions (by the name of the macro they define) in the meson.build files - Use check_header() instead of has_header() in meson to see if it is actually possible to compile code using the header - Remove dead code using srand48(3) which has never been compiled because neither build system has ever set the HAVE_SRAND48 macro and the surrounding code makes no use of this libc RNG - Remove the TLS defines from IRCd's meson.build because librb's meson.build already defines them and IRCd pulls those in amdj/fix-buildsys-headersGravatar Aaron Jones2026-05-141-2/+2
* build: add Meson buildsystemGravatar Valentin Lorentz2026-03-171-0/+15
* Remove Windows supportGravatar jailbird7772021-07-301-38/+0
* Innovation by sedGravatar Ed Kellett2020-10-152-6/+6
* mkpasswd: avoid strdup(NULL) and the like if rb_crypt() failsGravatar Aaron Jones2016-12-201-3/+17
* tools/mkfingerprint: strlen(3) on a raw byte array is wrong -- use its length...Gravatar Aaron Jones2016-06-011-1/+1
* tools/mkpasswd: functions that call exit(3) should be marked noreturnGravatar Aaron Jones2016-06-011-2/+2
* mkfingerprint: use certfp method names from certfp.hGravatar Simon Arlott2016-04-261-6/+11
* add mkfingerprint programGravatar Simon Arlott2016-04-262-1/+85
* Cleanup warningsGravatar Matt Ullman2016-03-211-19/+0
* mkpasswd: improve help and remove DES support.•••Just Say No™ to weak ciphers. Gravatar Elizabeth Myers2016-03-212-152/+47
* Change all leftover libratbox stuff to librb.Gravatar Elizabeth Myers2016-03-061-1/+1
* Remove more $Id tags.Gravatar Elizabeth Myers2016-03-062-2/+0
* rename libratbox to librb, since its pretty modified anywayGravatar William Pitcock2016-03-061-2/+2
* remove presupplied autotools filesGravatar William Pitcock2016-03-051-698/+0
* ircd: remove broken USE_IODEBUG_HOOKS knob and related codeGravatar William Pitcock2016-02-201-2/+2
* Remove libratbox's snprintf.c, update related ircd codeGravatar Valerii Iatsko2016-02-101-2/+2
* buildsystem: further cleanupGravatar William Pitcock2016-01-081-1/+0
* configure: use correct path for libltdlGravatar William Pitcock2016-01-081-2/+2
* buildsystem: update Makefile.in'sGravatar William Pitcock2016-01-081-2/+2
* Fix LTDL conditional, remove some unnecessary and/or ugly configure testsGravatar Aaron Jones2016-01-071-1/+0
* Fix some autotools discrepancies, disable SQLite threading codeGravatar Aaron Jones2016-01-071-6/+9
* general: remove last vestiges of static modules support (this hasn't ever act...Gravatar William Pitcock2016-01-061-3/+0
* buildsystem: convert to automake + libtoolGravatar William Pitcock2016-01-056-258/+682
* Spring cleaning redux:•••- Implemented changes suggested by Jilles - Remove some unused parameters in functions - Remove some unused ssl procs - 63-bit time_t support in TS deltas - const char * vs char * cleanup - struct alignment (void *) casts - signed vs unsigned fixes - bad memset() call - Bad LT_MAIN in libratbox - char -> unsigned char casts for isdigit/isspace/etc calls Thanks Jilles! Gravatar Jail Bird2015-04-201-4/+1
* tools: Remove Hybrid 6 conversion tools.•••Hybrid 6 is old enough that the conversion tools can go away now. They are for I and K lines; the ircd.conf converter was already removed. This removes compiler/analyzer warnings about these tools. Gravatar Jilles Tjoelker2014-09-214-939/+3
* smoketest: Remove race conditions causing occasional test failures.Gravatar Jilles Tjoelker2014-06-121-2/+2
* Chase change from example.conf to ircd.conf.example in various places.Gravatar Jilles Tjoelker2014-06-121-1/+1
* mkpasswd: Prompt for password twiceGravatar Alex Iadicicco2014-04-041-3/+16
* Remove trailing whitespace from all .c and .h files.•••3134 bytes were removed. Gravatar Keith Buck2014-03-034-38/+38
* Just use 4k RSA certificates while at itGravatar Patrick Godschalk2013-11-191-1/+1
* Use sha-512 rather than deprecated sha-1; generate a csrGravatar Patrick Godschalk2013-11-191-3/+11
* rename genssl.sh to gensslGravatar Antoine Beaupré2013-06-052-4/+4
* genssl: use DH params length of 2048 to appease the weechat idiotsGravatar William Pitcock2012-11-191-1/+1
* tools/smoketest.sh: Remove DNSBL external dependency.Gravatar Jilles Tjoelker2012-07-141-0/+1
* tools: Add a simple test script.•••It compiles and runs ircd, verifying if some aspects of PRIVMSG work. Gravatar Jilles Tjoelker2012-07-141-0/+101
* Fix inconsistency between --sysconfdir and --with-confdir, deprecate --with-c...•••The inconsistency was created in c74836dc4a5bde1e0bf38da58053bf5f28da8ff5 where genssl.sh.in was made to use sysconfdir while the IRCd and buildsystem still used confdir. Gravatar Nathan Phillip Brink2012-03-021-2/+2
* Add explicit support for being installed into a system triggered with --enabl...•••Add two mechanism for avoiding name-collisions in a system-wide installation of charybdis. The ssld and bandb daemons, intended to be directly used by ircd and not the user, install into libexec when --enable-fhs-paths is set. For binaries which are meant to be in PATH (bindir), such as ircd and viconf, there is now an option --with-program-prefix=progprefix inspired by automake. If the user specifies --with-program-prefix=charybdis, the ircd binary is named charybdisircd when installed. Add support for saving the pidfile to a rundir and storing the ban database in localstatedir instead of in sysconfdir. This is, again, conditional on --enable-fhs-paths. Fix(?) genssl.sh to always write created SSL key/certificate/dh parameters to the sysconfdir specified during ./configure. The previous behavior was to assume that the user ran genssl.sh after ensuring that his current working directory was either sysconfdir or a sibling directory of sysconfdir. Gravatar Nathan Phillip Brink2012-03-014-24/+43
* Fix viconf's dependencies on setup.h and config.h.Gravatar Nathan Phillip Brink2012-02-291-5/+1
* Make SHA512 the default for mkpasswd again, as SHA512 support is guaranteed t...Gravatar Elizabeth Jennifer Myers2011-01-061-13/+13
* cosmetic fix: Blowfish doesn't use CamelCaseGravatar Lee T. Starnes2011-01-052-17/+17
* Remove all the DEFINE's and the random places they were used for the .conf-ba...Gravatar JD Horelick2010-12-042-6/+1
* Change the filenames of the generated SSL key/cert to ssl.* instead of test.*...Gravatar JD Horelick2010-11-131-3/+3
* mkpasswd: Default to MD5-based crypt instead of SHA-based.•••We have own code for MD5-based crypt and can therefore support this even if the OS does not. The SHA-based crypts are not ubiquitous yet. Gravatar Jilles Tjoelker2010-09-161-13/+13
* mkpasswd: Default to SHA512 instead of inherently insecure DES.Gravatar William Pitcock2010-09-151-10/+10
* Import new mkpasswd from ircd-ratbox.•••This now uses libratbox. Gravatar Jilles Tjoelker2009-02-222-279/+438
* Make genssl.sh work.•••Submitted by jdhore. Gravatar Jilles Tjoelker2008-08-291-6/+3
* Install it into /binGravatar William Pitcock2008-04-252-7/+9
* Add SSL generation tool.Gravatar William Pitcock2008-04-251-0/+19
* Removing glinesGravatar Valery Yatsko2008-04-111-7/+0