70 Commits

Author SHA1 Message Date
Felipe Zimmerle
e9dce44f6a
build: Minor fixies on Lua detection 2020-08-18 09:19:51 -03:00
Felipe Zimmerle
8c85b78361
Adds support to lua 5.4 2020-08-17 11:08:03 -03:00
Felipe Zimmerle
fe98ce4c7d
Cosmetics: address cppcheck warnings 2020-01-30 18:19:34 -03:00
Felipe Zimmerle
a6620604d4
build: fix yajl messages 2020-01-22 09:16:13 -03:00
Victor Hora
20ef01d75c Allow LuaJIT 2.1 to be used 2018-10-12 17:32:10 -04:00
Victor Hora
0a88e0237f
Allow libMaxmind to work with Ubuntu PPA packages 2018-09-11 20:36:30 -03:00
Victor Hora
0ac23a47cf Add LUA compatibility for CentOS and try to use LuaJIT first if available 2018-08-22 14:13:09 -04:00
Victor Hora
857bf9da58 Allow LuaJIT to be used 2018-08-22 12:08:44 -04:00
Robert Paprocki
dee9898449 Implement support for Lua 5.1 2018-07-27 15:43:12 -04:00
Charles Peterson
b5528bb8de
fix when multiple lines for curl version
Issue #1771
2018-05-10 15:16:00 -03:00
Felipe Zimmerle
df169ea108
Adds support for libMaxMind 2018-03-22 19:11:42 -03:00
Ervin Hegedüs
9dff36f598
Added some cosmetics to autoconf related code 2018-02-23 18:37:21 -03:00
Andrei Belov
f4a05b6e1f
Configure: actually disable Lua on systems with liblua5.1
In particular, on CentOS 7.3.1611 building libmodsecurity with
default configure options ends up with failure while compiling
src/engine/lua.cc, while config.log states that Lua was disabled.
2017-12-26 16:04:23 +03:00
Victor Hora
c98e665475
Improvements on LUA build scripts and support for LUA 5.2 2017-12-12 09:51:10 -03:00
Minasu
af7e6ee169
Correction lua header 2017-11-17 09:52:33 -03:00
Felipe Zimmerle
381cf8ac21
Makes ssdeep enabled by default on the build scripts 2017-11-07 09:15:14 -03:00
Felipe Zimmerle
7fa5ca9ba0
Makes lua optional 2017-11-06 00:44:54 -03:00
Felipe Zimmerle
1189e9b0ef
Adds support to LUA in configure scripts 2017-10-31 09:59:12 -03:00
Felipe Zimmerle
a9d54c30a1
Fix on ssdeep search script 2017-10-27 16:57:26 -03:00
Felipe Zimmerle
7622866f97
Adds support for @fuzzyHash
Issue #997
2017-10-26 17:44:17 -03:00
Felipe Zimmerle
a2427df27f
fix: ignore .git directory while generating the release file 2017-08-27 23:51:20 -03:00
Felipe Zimmerle
04f7009980
Adds a simple release script 2017-08-27 22:06:20 -03:00
Felipe Zimmerle
6143eb99e3
Removes LMDB from the default configuration options 2017-05-10 12:50:38 -03:00
Andrei Belov
ae8698d8cf
Makes JIT support in PCRE to be optional
In particular, this change allows to build libmodsecurity on some old
but still supported systems such as RHEL/CentOS 6.
2016-09-26 14:50:31 -03:00
Felipe Zimmerle
5febc7b26d Looking for lmdb in the right location under MacOS 2016-07-28 17:40:41 -03:00
Felipe Zimmerle
8a135cff9a
Extends the possible names for liblmdb0 2016-07-14 00:19:47 -03:00
Felipe Zimmerle
4c8aa54099
build: Adds missing lmdb.m4 2016-07-11 13:59:37 -03:00
Felipe Zimmerle
9919026620
Fixes regarding memory management
Fixes assorted issues identified by valgrind.
2016-06-16 00:03:57 -03:00
Felipe Zimmerle
8cdb138076
Adds support to make check-valgrind
make check-valgrind is useful to identify any memory related issue.
2016-06-14 14:05:28 -03:00
Felipe Zimmerle
28008be616 Build: Adds /usr/lib64 as possible path for YAJL
Reported by @LinuxJedi at #1077
2016-03-18 16:42:15 -03:00
Felipe Zimmerle
d528b8ea6d Build: Looking for YAJL's LD flags instead of CFLAGS
Original author: @LinuxJedi. Reported at #1077.
2016-03-18 16:41:22 -03:00
Chaim Sanders
29680d69aa Updated geoip m4 file to support from path 2016-01-07 10:43:45 -03:00
Felipe Zimmerle
5273258261 Fix libxml configure script 2016-01-07 10:20:34 -03:00
Felipe Zimmerle
0694cd30ca Adds support to libxml2 detection on the build system 2015-12-10 11:17:07 -03:00
Felipe Zimmerle
fbf8ea74f3 Makes YAJL dependency to be optional 2015-11-24 16:03:33 -03:00
Felipe Zimmerle
cf4377df70 Makes libCurl optional during configure 2015-11-24 15:06:34 -03:00
Felipe Zimmerle
21cae53d47 Improves the libgeoip detection during configure 2015-11-19 10:40:23 -03:00
Andrew Hutchings
c035e76ede Avoid segfault if parser `ref' is empty 2015-11-17 11:28:47 -03:00
Felipe Zimmerle
4dcefa104d Adds more plausible names for libgeoip 2015-11-10 04:53:34 -08:00
Felipe Zimmerle
ffb973700a Replaces libpcrecpp by libpcre 2015-10-27 08:55:12 -03:00
Felipe Zimmerle
e94226f1d8 Fix some build issues
Optional dependencies were temporarily marked as mandatory, in order
to sort any build problem, later it will be marked as optional again.
2015-08-25 00:25:33 -03:00
Felipe Zimmerle
73c6c8cf7c build: searching for pcre/geoip on /opt/local directory 2015-08-13 16:27:20 -03:00
Felipe Zimmerle
218eab6417 Fix libgeoip lookup during the build 2015-08-10 15:22:32 -03:00
Felipe Zimmerle
17f88f5821 Using libpcre instead of c++11 regex 2015-08-03 13:45:09 -03:00
Felipe Zimmerle
76b34af357 Adds support to load remote rules 2015-07-23 14:40:56 -03:00
Felipe Zimmerle
e189055ec3 Adds support to GeoIP operator and variables. 2015-07-20 21:05:14 -03:00
Felipe Zimmerle
95cb4c56ab Very first commit: libmodsecurity
Check the README.md file for further information about the libmodsecurity.
2015-06-26 14:35:15 -03:00
Felipe Zimmerle
33cbe0452a Opens space for libmodsecurity
Deletes all files in the repository does not seems to be a good idea.
The better approach will be to create a new repository. On other hand
we don't want this to be detached from this main repository. We can
push this to other repository if necessary.
2015-06-26 14:00:07 -03:00
Kurt Newman
d9bebfb874 Compiles against ssdeep in non-standard location
Issue 871: (*nix) Tacks on the include and lib directory when
a the user specifies a path for ssdeep in an alternate location.
2015-05-04 09:56:03 -03:00
Felipe Zimmerle
23823bb2c3 Makes Curl no longer a mandatory depedency for ModSecurity core
As reported by Rainer Jung, Curl may not be mandatory to build
	ModSecurity core. This patch make it optional by:
	- Concentrate all downloads using curl on msc_remote_rules.c
	- Split Curl build definitions checks into: WITH_CURL, WITH_REMOTE_RULES
	and WITH_CRYPTO.
	  - WITH_CURL: Contains Culr headers and binaries during the build time.
	  - WITH_REMOTE_RULES: Currently enabled if Curl is present.
	  - WITH_CRYPTO: Set if apr tool was compiled with crypto support.
	- Renames msc_remote_grab_content to msc_remote_download_content
2014-12-03 08:28:59 -08:00