Bram Matthys
a3b5f29626
Mass change of time_t in printf-like functions to %lld with an
...
explicit cast to (long long). On *NIX we could get away with
lazily assuming time_t is of the same length as long (and use %ld),
even though the specification says nothing about it.
Unfortunately on Windows things are not that simple:
'time_t' is 'long long' (64 bits) and both 'int' and 'long'
are 32 bits, even when compiling in 64 bit mode.
This problem could be 'fixed' in multiple ways:
One way would be to minimize the usage of time_t and use 'long long'
or 'uint64_t' everywhere for variables to minimize casting later.
I, however, chose to maintain 'time_t' for most of time grabbing
and time calculations (eg: delta), and do the explicit cast in
any printf-like functions that may be there.
Both solutions work. I mostly like the explicit time_t look, so one
can immediately recognize a variable relates to time.
2019-08-24 18:33:52 +02:00
Bram Matthys
85b3b91b19
Windows build: Add format string verification during build.
...
(Will be used to hunt and fix those time_t integer type mismatches)
2019-08-24 17:10:44 +02:00
Bram Matthys
f5168b6323
Buildbot: U5: curl-ssl -> curl (always SSL/TLS after all...)
2019-08-22 15:40:03 +02:00
Bram Matthys
b8c6e2e88b
Updates for BuildBot on Windows:
...
32 to 64 bit transition, visual studio 2019 and some directory name
updates as we now put all the shit in c:\dev\unrealircd-5-libs,
or c:\projects\unrealircd-5-libs in case of buildbot..
2019-08-22 15:34:05 +02:00
Bram Matthys
fc0c06621b
AppArmor: use a more generic rule for data/ now that we have all these
...
databases, and who knows what else the user has (think: 3rd party modules).
2019-08-18 18:42:33 +02:00
Bram Matthys
b312a88b0a
Update test framework location
2019-08-18 11:18:52 +02:00
Bram Matthys
6dc7aac372
Update some unrealircd-4 references to unrealircd-5.
...
.. or actually I just want to test buildbot :D
2019-08-15 11:26:20 +02:00
Bram Matthys
8ff6ad17ee
Part 4 of ssl/tls rename (not important)
...
[skip ci]
2019-08-12 14:44:14 +02:00
Bram Matthys
2b0afacdf0
Rename of "ssl" to "tls" part 2
2019-08-12 14:35:32 +02:00
Bram Matthys
86844c3c2b
Replace UnrealIRCd 4 -> UnrealIRCd 5
2019-08-12 13:49:35 +02:00
Bram Matthys
645989e602
Rename makefile.win32 to makefile.windows, among several other changes.
...
(Would surprise me if this compiles without failure, tho)
@skipci
2019-08-11 17:46:12 +02:00
Bram Matthys
73bbf10170
Build tests: --enable-werror
2019-07-07 09:54:40 +02:00
Bram Matthys
fa39bafe99
tls-tests: Check not only against baseline but against all
...
[skip ci]
2019-07-07 09:34:30 +02:00
Bram Matthys
6a44b002da
Add cipherscan profile for openssl 1.0.1, as used by Debian 8 (jessie).
...
Main difference is that the curve used for ECDHE is fixed at prime256v1
rather than a list of multiple choices (this due to an openssl 1.0.1
limitation).
[skip ci]
2019-07-07 09:27:57 +02:00
Bram Matthys
0235c6f233
Remove 2 cipherscan profiles (only to reintroduce them later)
...
[skip ci]
2019-07-07 09:24:33 +02:00
Bram Matthys
74325280dd
Due to new defaults, the baseline for the SSL/TLS changed as well.
2019-07-01 07:45:48 +02:00
Bram Matthys
fea09b6659
Switch from RSA 4096 to ECC secp384r1
2019-06-30 10:53:58 +02:00
Bram Matthys
d3d9b499a7
Move src/ssl.cnf -> extras/ssl.cnf
...
[skip ci]
2019-06-30 10:25:19 +02:00
Bram Matthys
df7bcc1326
Remove temporary FreeBSD workaround.
...
(reverts adf56ad8fd )
2019-06-26 07:14:35 +02:00
Bram Matthys
adf56ad8fd
Re-enable FreeBSD workaround for mysterious test failures.
2019-06-07 12:24:25 +02:00
Bram Matthys
9f64711113
Remove FreeBSD 12 workaround
2019-06-03 15:17:02 +02:00
Bram Matthys
597186d9c3
BuildBot: Fix run-tests on FreeBSD 12
2019-06-03 14:45:56 +02:00
Bram Matthys
253df2c8db
BuildBot: -j3 -> -j4
...
[skip ci]
2019-06-03 13:31:58 +02:00
Bram Matthys
55757a5605
Remove references to old test framework.
...
[skip ci]
2019-06-03 13:30:15 +02:00
Bram Matthys
73cea64c9f
Updates for IRC test framework: changed port to 5901 of irc1
2019-06-03 13:03:43 +02:00
Bram Matthys
bc8e4a5c47
Updates for new IRC test framework
2019-06-03 12:59:22 +02:00
Bram Matthys
b8e65a2f7f
Buildbot: *NIX build test: add -DNOREMOVETMP to make valgrind do a better
...
job at printing module information (I hope).
2019-06-01 08:24:31 +02:00
Bram Matthys
c3add3b41c
Windows build: Randomly remove some slashes, for no reason.
...
[skip ci]
2019-05-30 20:12:25 +02:00
Bram Matthys
a2a7acc4bd
Buildbot: more windows updates
2019-05-30 19:30:20 +02:00
Bram Matthys
e8e113a8c0
Buildbot: .............................
2019-05-30 19:23:15 +02:00
Bram Matthys
120ec5cea3
.............
2019-05-30 19:22:14 +02:00
Bram Matthys
d02b4de5d3
Buildbot: updates for windows
2019-05-30 19:20:15 +02:00
Bram Matthys
2682d7bc6d
Buildbot: Updates for windows
2019-05-30 19:08:33 +02:00
Bram Matthys
9530006e70
BB: Terminate unrealircd at end of test (otherwise it may hang buildbot)
2019-05-30 16:48:05 +02:00
Bram Matthys
03fbc35fb7
Buildbot: Run cipherscan not on FreeBSD for now, so we can test the rest.
2019-05-30 16:14:06 +02:00
Bram Matthys
3f723323d0
BuildBot: Use gmake on FreeBSD and temporarily disable select-config.
2019-05-30 16:08:54 +02:00
Bram Matthys
1b0a7cb9b8
Fix build tests due to previous change.
2019-05-30 08:51:05 +02:00
Bram Matthys
5513b21936
Remove old extras/regex
2019-05-25 10:50:01 +02:00
Bram Matthys
1108b58951
Remove old TRE regex engine. Hasn't been maintained since 2010
...
and has various outstanding crash and 100% CPU issues.
We have been encouraging the PCRE2 engine since the start of
UnrealIRCd 4 already.
TRE is being phased out of U4 by the end of the year, so we can
safely remove it in U5 already.
2019-05-25 10:42:46 +02:00
Bram Matthys
7aa6c6e167
Test framework: add run-tests.bbwrapper
2019-05-13 13:41:13 +02:00
Bram Matthys
f2a5a143b7
Changes for buildbot infrastructure
2019-05-13 13:07:37 +02:00
Bram Matthys
d6e285bdfc
AppVeyor: replace wget with curl, since wget mysteriously fails.
...
[skip travis]
2019-04-22 07:42:04 +02:00
Bram Matthys
b1944284bd
Trace appveyor issue...
...
[skip travis]
2019-04-22 07:33:16 +02:00
Bram Matthys
4e75af79fa
'make install' will now upgrade the spamfilter.conf examples from
...
'posix' to 'regex' if the user is using the exact same spamfilter.conf
that shipped with UnrealIRCd 4.x until now. Otherwise, we do not
update anything. Also, custom spamfilters in this file are not touched.
Let's hope this will apply to most of our users to ensure that they
will have no or less issues with the 'posix' to 'regex' conversion
process.
2019-04-14 13:01:31 +02:00
Bram Matthys
872830bdf2
I give up. Test framework will no longer run on Travis-CI, ruby is broken.
2019-03-09 15:38:08 +01:00
Bram Matthys
b396dc3c20
..
2019-03-09 15:33:31 +01:00
Bram Matthys
f47dc78418
.
2019-03-09 15:31:48 +01:00
Bram Matthys
2c114d458e
...............................
2019-03-09 15:27:46 +01:00
Bram Matthys
f039e08f0b
Travis-CI + ruby = ....
2019-03-09 15:17:31 +01:00
Bram Matthys
e0a4e7fe71
Travis-CI: :/
2019-03-09 15:05:47 +01:00