Jason Volk
39eebde589
Fix error on GCC-6 platform
...
error: invalid operands of types ‘__gnu_cxx::__enable_if<true, double>::__type
{aka double}’ and ‘int’ to binary ‘operator%’
2016-08-20 19:30:33 -07:00
Jason Volk
404239eb60
Build system cleanup.
2016-07-22 19:46:28 -07:00
Jason Volk
8873731aa0
Attempt at shipping boost.
2016-07-22 19:46:27 -07:00
Jason Volk
834964c659
Convert IRCd to C++
...
Happy 28th birthday. You're all grown up.
2016-07-22 19:46:27 -07:00
Jason Volk
ac4dda1e67
Towards a leak-free repository.
...
Adds a Makefile target 'mrproper' though this only works on new versions of AC.
2016-07-21 20:51:02 -07:00
Jason Volk
ea53aab823
Refactor repository layout.
...
* librb is no longer a separately configured subproject.
* charybdis is now a standalone directory with a binary.
* Include path layout now requires a directory ircd/ rb/ etc.
2016-07-21 20:51:02 -07:00
Aaron Jones
906fd91f4b
tools/mkfingerprint: strlen(3) on a raw byte array is wrong -- use its length as indicated by the function that filled it
2016-06-01 20:54:48 +00:00
Aaron Jones
ef9cb1d8de
tools/mkpasswd: functions that call exit(3) should be marked noreturn
2016-06-01 20:54:13 +00:00
Simon Arlott
f590c59d5c
mkfingerprint: use certfp method names from certfp.h
2016-04-26 20:58:16 +01:00
Simon Arlott
0346918701
add mkfingerprint program
2016-04-26 20:49:03 +01:00
Matt Ullman
e23126c83b
Cleanup warnings
2016-03-21 22:28:41 -04:00
Elizabeth Myers
8522eb3b2b
mkpasswd: improve help and remove DES support.
...
Just Say No™ to weak ciphers.
2016-03-21 09:12:59 -05:00
Elizabeth Myers
fe037171d6
Change all leftover libratbox stuff to librb.
2016-03-06 03:49:27 -06:00
Elizabeth Myers
1b7a47417b
Remove more $Id tags.
2016-03-06 02:58:32 -06:00
William Pitcock
c83f2f5e12
rename libratbox to librb, since its pretty modified anyway
2016-03-06 02:30:20 -06:00
William Pitcock
9ea48ec30a
remove presupplied autotools files
2016-03-05 17:47:48 -06:00
William Pitcock
c678fbc08b
ircd: remove broken USE_IODEBUG_HOOKS knob and related code
2016-02-20 12:02:49 -06:00
Valerii Iatsko
5203cba5ce
Remove libratbox's snprintf.c, update related ircd code
2016-02-10 02:25:32 +01:00
William Pitcock
9e45a5ca19
buildsystem: further cleanup
2016-01-08 07:01:00 -06:00
William Pitcock
f0718c93d5
configure: use correct path for libltdl
2016-01-08 06:50:01 -06:00
William Pitcock
5164a68650
buildsystem: update Makefile.in's
2016-01-08 05:20:32 -06:00
Aaron Jones
d8c4154da2
Fix LTDL conditional, remove some unnecessary and/or ugly configure tests
2016-01-07 17:15:55 +00:00
Aaron Jones
eec2776c6c
Fix some autotools discrepancies, disable SQLite threading code
2016-01-07 16:58:28 +00:00
William Pitcock
2a19fc3f57
general: remove last vestiges of static modules support (this hasn't ever actually worked...)
2016-01-06 01:28:20 -06:00
William Pitcock
c52df12552
buildsystem: convert to automake + libtool
2016-01-05 21:20:25 -06:00
Jail Bird
29c92cf95f
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!
2015-04-20 00:55:20 -05:00
Jilles Tjoelker
36e50ccfa5
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.
2014-09-21 18:20:39 +02:00
Jilles Tjoelker
a7fa7fff0d
smoketest: Remove race conditions causing occasional test failures.
2014-06-12 23:43:05 +02:00
Jilles Tjoelker
f6b62c59bb
Chase change from example.conf to ircd.conf.example in various places.
2014-06-12 23:43:05 +02:00
Alex Iadicicco
011e38be79
mkpasswd: Prompt for password twice
2014-04-04 16:46:44 -07:00
Keith Buck
55abcbb20a
Remove trailing whitespace from all .c and .h files.
...
3134 bytes were removed.
2014-03-03 04:25:47 +00:00
Patrick Godschalk
3c55c3a355
Just use 4k RSA certificates while at it
2013-11-19 00:59:08 +01:00
Patrick Godschalk
b858bc54f9
Use sha-512 rather than deprecated sha-1; generate a csr
2013-11-19 00:49:01 +01:00
Antoine Beaupré
14048b96b0
rename genssl.sh to genssl
2013-06-05 01:49:19 -04:00
William Pitcock
5fd2dd9556
genssl: use DH params length of 2048 to appease the weechat idiots
2012-11-19 21:12:30 +00:00
Jilles Tjoelker
bdad42f050
tools/smoketest.sh: Remove DNSBL external dependency.
2012-07-14 14:51:55 +02:00
Jilles Tjoelker
96d5791220
tools: Add a simple test script.
...
It compiles and runs ircd, verifying if some aspects of PRIVMSG work.
2012-07-14 13:50:55 +02:00
Nathan Phillip Brink
634d4aad72
Fix inconsistency between --sysconfdir and --with-confdir, deprecate --with-confdir.
...
The inconsistency was created in
c74836dc4a
where genssl.sh.in was made
to use sysconfdir while the IRCd and buildsystem still used confdir.
2012-03-02 01:11:42 +00:00
Nathan Phillip Brink
c74836dc4a
Add explicit support for being installed into a system triggered with --enable-fhs-paths.
...
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.
2012-03-01 02:41:09 +00:00
Nathan Phillip Brink
f2ee5e6219
Fix viconf's dependencies on setup.h and config.h.
2012-02-29 07:43:54 +00:00
Elizabeth Jennifer Myers
7600b65f4d
Make SHA512 the default for mkpasswd again, as SHA512 support is guaranteed to *always* be in libratbox.
2011-01-06 01:56:47 -05:00
Lee T. Starnes
69b2e74527
cosmetic fix: Blowfish doesn't use CamelCase
2011-01-05 23:20:04 -06:00
JD Horelick
f26e8b67e2
Remove all the DEFINE's and the random places they were used for the .conf-based ban stuff.
2010-12-04 17:26:14 -05:00
JD Horelick
f1e5a31775
Change the filenames of the generated SSL key/cert to ssl.* instead of test.* so that they're a bit more descriptive.
2010-11-13 16:07:54 -05:00
Jilles Tjoelker
5a91bbf920
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.
2010-09-16 01:39:06 +02:00
William Pitcock
920cb1dc4a
mkpasswd: Default to SHA512 instead of inherently insecure DES.
2010-09-15 03:44:58 -05:00
Jilles Tjoelker
f1d07f6b7c
Import new mkpasswd from ircd-ratbox.
...
This now uses libratbox.
2009-02-22 00:59:16 +01:00
Jilles Tjoelker
03c1fe2153
Make genssl.sh work.
...
Submitted by jdhore.
2008-08-29 01:34:18 +02:00
William Pitcock
9d129b8ab0
Install it into /bin
2008-04-25 14:52:17 -05:00
William Pitcock
828a2e6ad5
Add SSL generation tool.
2008-04-25 14:46:24 -05:00