0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 22:41:12 +01:00
Commit graph

143 commits

Author SHA1 Message Date
Konstantinos Sideris
a478d1b482 Update dev Dockerfile 2019-03-27 13:01:32 -07:00
Jason Volk
066a4b4a2c tools/m4: Add boost-context and boost-coroutine macros. 2019-02-19 13:25:32 -08:00
Jason Volk
4de73b5085 tools: Pass consistent arguments to all scripts in the procedure. 2018-12-28 16:04:38 -08:00
Jason Volk
f61b95b070 tools: Fix defaults in boostrap. 2018-12-28 14:26:10 -08:00
Jason Volk
fff4379b79 tools: Build RocksDB with tls-model=initial-exec. 2018-12-23 16:10:17 -08:00
Jason Volk
639dfa40d5 tools: Improve flags exports in buildrocks. 2018-12-23 15:23:53 -08:00
Jason Volk
44dc1b46d3 tools: Specify a runtime-link option booststrap. 2018-12-21 18:10:54 -08:00
Jason Volk
51ccd61edb configure: Allow a cxxflags to booststrap; use std=gnu++17 in b2 cxxflags. 2018-12-21 17:57:10 -08:00
Jason Volk
1ebb05af70 tools: Disable JEMALLOC for RocksDB builds. 2018-11-29 13:46:45 -08:00
Jason Volk
ec9157367f tools: Fix buildrocks script to fetch tags from remote. 2018-10-15 22:31:28 -07:00
Jason Volk
a9082eb03a Move m4 to tools/m4. 2018-09-17 18:52:26 -07:00
Jason Volk
755cfbffb0 tools: Remove old tools. 2018-09-04 04:52:08 -07:00
Jason Volk
57f761c388 tools/boostrap: Add missing serialization submodule. 2018-09-01 23:34:06 -07:00
Konstantinos Sideris
111bf3b717 tools: Add docker file. 2018-08-27 11:01:49 -07:00
Jason Volk
cc4bc23a22 configure/tools: Derive number of make jobs for buildjs.sh. 2018-07-03 14:35:10 -07:00
Jason Volk
34a8f7957b tools: Move appveyor-build script to tools. 2018-06-15 23:50:15 -06:00
Jason Volk
b33b37e9e0 tools/buildrocks: Detect number of processors to set make job count. 2018-06-14 19:44:18 -06:00
Jason Volk
233d320275 tools/boostrap: Add a bjam --clean here to ensure reconfigure update. 2018-05-22 16:24:11 -07:00
Jason Volk
e32fd3f1e5 tools/doxygen.conf: Callgraphs look pretty but, no. 2018-05-21 02:35:57 -07:00
Jason Volk
1268d90fb0 ircd::db: RocksDB to 5.12.2. 2018-04-09 15:57:05 -07:00
Jason Volk
ecf0efa7be tools: Allow a branch argument to buildrocks script. 2018-04-09 15:56:18 -07:00
Jason Volk
21d4cbf1ad Move submodules into deps/ 2018-01-27 21:05:58 -08:00
Jason Volk
631991895b tools: Add very preliminary synapse db dump tool. 2017-11-30 11:23:43 -08:00
Jason Volk
c8d3550a43 doxygen: Remove unnecessary graphs and other things. 2017-10-11 20:54:01 -07:00
Jason Volk
ed9a8691c4 Update doxygen config. 2017-09-24 18:16:33 -07:00
Jason Volk
c4abd63533 Add preliminary doxygen config. 2017-09-24 18:16:32 -07:00
Jason Volk
fd3ae151b9 configure.ac: Send boost version to the tools build script. 2017-09-08 03:47:51 -07:00
Jason Volk
4d4a56fe9c ircd::js: Upgrade SpiderMonkey to esr52 from esr45. 2017-08-23 15:25:22 -06:00
Jason Volk
1f4b21458f tools: Update buildrocks script; stronger version pinning. 2017-08-23 15:19:35 -06:00
Jason Volk
e2bfd79336 tools: Improve js build script. 2017-08-23 15:03:27 -06:00
Jason Volk
b592b69b86 What is the Matrix? Control. 2017-03-10 17:51:18 -08:00
Jason Volk
fedeab2ddd ircd: Add locale:: namespace for portable internationalization. 2016-11-13 16:29:47 -08:00
Jason Volk
95068c7d06 Introduce Mozilla SpiderMonkey. 2016-10-25 01:55:50 -07:00
Jason Volk
5df4bf6da2 ircd::db: Add database interface. Support RocksDB. 2016-09-27 02:20:42 -07:00
Jason Volk
b090f2d3e4 boostrap.sh: Pipe down the ./b2 output. 2016-09-26 16:06:56 -07:00
Jason Volk
c2e9c6df3b tools/boostrap: Reduce b2 headers output. 2016-09-21 16:28:52 -07:00
Jason Volk
249ba02faa Introduce userspace contexts. 2016-09-09 16:17:36 -07:00
Jason Volk
1df1545a3c configure.ac: Support boost::spirit parser framework. 2016-09-09 16:17:02 -07:00
Jason Volk
12c836dc6e Rip out libltdl. 2016-09-09 16:17:02 -07:00
Jason Volk
638db81e09 configure.ac: Support boost::filesystem / boost::dll. 2016-09-09 16:17:01 -07:00
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
Valery Yatsko
170703fe3a Removing glines 2008-04-11 18:47:03 +04:00
Valery Yatsko
79b0d5a330 .cvsignore files removed, SVN-Access replaced by Mercurial-Access 2008-04-09 22:24:50 +04:00
nenolod
212380e3f4 [svn] - the new plan:
+ branches/release-2.1 -> 2.2 base
  + 3.0 -> branches/cxxconversion
  + backport some immediate 3.0 functionality for 2.2
  + other stuff
2007-01-24 22:40:21 -08:00