Commit Graph
132 Commits
Author SHA1 Message Date
louiz’ 14930284a7 Fetch Catch from our own clone, instead of the github one.
Avoids:

- Relying on github’s services
- Fetching a new (malicious) version, automatically, without any “check”
2016-03-24 10:06:02 +01:00
Florent Le Coz 51a34f83f9 Add a basic integration test in python 2016-02-24 09:30:37 +01:00
Florent Le Coz 85867976dc Add a “rpm” target in the makefile, building a RPM 2016-01-21 16:53:29 +01:00
Florent Le Coz ae7c54f373 Spec file becomes a template, auto filled with the date and version 2016-01-21 16:53:29 +01:00
Florent Le Coz ccfdb60cc1 Fix a build when litesql is found but not botan
fix #3157
2016-01-15 11:54:33 +01:00
Florent Le Coz d58dcde856 Only activate systemd’s watchdog if we are compiling with systemd
ref #3152
2016-01-14 14:39:06 +01:00
Florent Le Coz 1f8e243164 Display an info message on make dist 2016-01-13 16:28:54 +01:00
Florent Le Coz 3fdc4cb334 Install the unit file in lib/, not etc/ 2016-01-13 16:25:17 +01:00
Florent Le Coz 85dfe06665 Include catch.hpp in the dist tarball 2016-01-13 16:14:10 +01:00
Florent Le Coz 3497b330dc If catch.hpp is found in tests/, use it without cloning the git repo 2016-01-13 16:14:10 +01:00
Florent Le Coz 6bebb2f67b Remove the second '-' from the package when ~dev is there 2016-01-13 14:01:05 +01:00
Florent Le Coz 1e79705628 Build the doc with the default make target 2016-01-13 14:01:05 +01:00
Florent Le Coz 25475b60ab Generate systemd file from template and make installs it and the conf
The unit file Type=, as well as the executable path should now be correct
with a simple “make install”, whatever the install prefix and the DESTDIR
values are.

ref #3152
2016-01-13 14:01:04 +01:00
Florent Le Coz 73dffca24e Only include the coverage flags when compiling with gcc 2015-11-05 16:40:09 +01:00
Florent Le Coz f03d1a16dd Only download Catch when the test_suite target is built 2015-10-29 03:55:57 +01:00
Florent Le Coz 9fe94215da Make lcov gcov etc optional
make coverage will display an error instead
2015-10-29 03:20:39 +01:00
Florent Le Coz 3b7bbe1472 make coverage is only available with a debug build 2015-10-29 02:52:24 +01:00
Florent Le Coz 6ae7e08c52 Add code coverage support
make coverage runs the test_suite and generates a report
2015-10-29 02:33:05 +01:00
Florent Le Coz 3c1889fbd0 Use Catch for our test suite
`make check` is also added to compile and run the tests
Catch is fetched with cmake automatically into the build directory when needed
2015-10-29 02:32:57 +01:00
Florent Le Coz bf30b4498f Add the network module to the test_suite
Because we added a network unit test
2015-10-24 15:16:58 +02:00
Florent Le Coz f904d57940 Provide username and realname IRC server options
Used in the USER command when connecting to the IRC server, instead of the
first nick.

fix #3028
2015-09-23 18:47:29 +02:00
Florent Le Coz 88ae2599f6 Introduce an optional Database module
Uses litesql
2015-09-18 22:09:26 +02:00
Florent Le Coz 525f452cbc louloulibs is part of the repository, so no need to check for its presence 2015-07-15 21:17:34 +02:00
Florent Le Coz a004261733 Bump to 3.0~dev 2015-06-04 04:32:03 +02:00
Florent Le Coz c649e56deb Release version 2.0 2015-05-28 23:58:14 +02:00
Florent Le Coz 427df5fc2a Revert "Use git-archive-all in the make dist, to include the submodules in the archive"
This reverts commit 54f96debca.
2015-05-28 23:46:24 +02:00
Florent Le Coz 54f96debca Use git-archive-all in the make dist, to include the submodules in the archive 2015-05-26 14:00:25 +02:00
Florent Le Coz f0e07beacb Forgot to remove some XMPP files that are now in louloulibs instead 2015-03-02 10:21:01 +01:00
Florent Le Coz 649ebaf1b9 Suggest the command git submodule update --init 2015-02-27 18:32:30 +01:00
Florent Le Coz cc6a2295c3 Fix a typo 2015-02-27 17:50:42 +01:00
Florent Le Coz b3503bf112 Also check if the louloulibs/CMakeLists.txt file is missing
Because apparently when cloning a repository with submodules, git creates
empty sub-directories
2015-02-27 12:46:22 +01:00
Florent Le Coz e6569a1090 Only use include_directory() if the directory path is defined 2015-02-27 12:40:50 +01:00
Florent Le Coz d600a2843f Remove all the libs that are now in louloulibs 2015-02-27 12:26:48 +01:00
Florent Le Coz 53e6b1da69 Fix the systemd-conditional code
By using SYSTEMD_FOUND instead of SYSTEMDDAEMON_FOUND, where I forgot to
rename it…
2015-02-26 02:56:46 +01:00
Florent Le Coz b86547dc1e Implement async DNS resolution using c-ares
fix #2533
2015-02-23 13:56:08 +01:00
Florent Le Coz 2bb4a347cd Improve dependencies checks in the build process
- Rename all Find*.cmake files to uppercase, to make things more consistent,
  and fix some issues with them (notably the REQUIRED flag)

- Rename SYSTEMDDAEMON to SYSTEMD and only use the libsystemd instead of
  libsystemd-daemon because it's deprecated for a long time now

- Provide a WITH_* and WITHOUT_* switch for all optional dependencies

- Document things in the INSTALL file
2014-11-13 06:44:15 +01:00
Florent Le Coz b94247813b Provide WITHOUT_BOTAN and WITHOUT_SYSTEMD cmake flags
Use them to build without linking to them, even if they are on your system
2014-07-15 15:44:19 +02:00
Florent Le Coz 4582f10797 Bump master version to 2.0~dev 2014-07-12 14:30:27 +02:00
Florent Le Coz b578aebc03 Release version 1.0 2014-07-12 14:17:23 +02:00
Florent Le Coz a165e59240 Fix some cmake issues
fix #2551
2014-06-30 01:02:59 +02:00
Florent Le Coz 2cf64e10b5 Provide a make dist target 2014-06-24 17:48:31 +02:00
Florent Le Coz a2d55e4bea Rename cmake target test->test_suite for cmake 3.0
See CMP0037
2014-06-23 01:00:21 +02:00
Florent Le Coz aaf7177413 Write the software version, including the git hash, in config.h using cmake 2014-06-20 10:45:38 +02:00
Florent Le Coz 9757c2c695 includes from cmake BINARY_DIR should be included before considering SOURCE_DIR 2014-06-18 11:45:09 +02:00
Florent Le Coz 349dc06e91 Silence warnings coming from Botan headers 2014-06-08 13:03:05 +02:00
Florent Le Coz 23f32ba39e Implement TLS support using Botan
For now, it tries two TLS ports and then connects to the non-tls port.  In
the future we would like the user to be able to configure that.

fix #2435
2014-06-08 05:07:54 +02:00
Florent Le Coz a63faf6fa9 Use libuuid to generate unique IDs for iq and adhoc sessions 2014-05-30 13:39:00 +02:00
Florent Le Coz 634e7cf125 mini reorder 2014-05-11 03:37:07 +02:00
Florent Le Coz 23db31cff1 [cmake] Do not print useless messages when an optional lib is not found 2014-05-11 03:36:42 +02:00
Florent Le Coz 18b27793de Use epoll on linux by default, poll otherwise 2014-04-30 02:30:19 +02:00