Skip to content

[FreeBSD] - there is no way to install ModSecurity v3. Missing dependency operator, Need an operator #1711

Closed
@bryn1u

Description

@bryn1u

Hello guys,
First i show you way to install ModSecurity which i tried.

git clone --depth 1 -b v3/master --single-branch https://github.com/SpiderLabs/ModSecurity
cd ModSecurity
git submodule init
git submodule update
./build.sh
./configure

configure - output

ModSecurity -  for FreeBSD
 
 Mandatory dependencies
   + libInjection                                  ....
   + SecLang tests                                 ....480a2f8
 
 Optional dependencies
   + GeoIP                                         ....found 
      /usr/local/lib//libGeoIP.so, /usr/local/include
   + LibCURL                                       ....found v7.58.0
      -L/usr/local/lib -lcurl, -I/usr/local/include -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL
   + YAJL                                          ....not found
   + LMDB                                          ....disabled
   + LibXML2                                       ....found v2.9.7
      -L/usr/local/lib -lxml2 -lz -llzma -L/usr/lib -lm, -I/usr/local/include/libxml2 -I/usr/include -DWITH_LIBXML2
   + SSDEEP                                        ....not found
   + LUA                                           ....not found
 
 Other Options
   + Test Utilities                                ....disabled
   + SecDebugLog                                   ....enabled
   + afl fuzzer                                    ....disabled
   + library examples                              ....enabled
   + Building parser                               ....disabled
   + Treating pm operations as critical section    ....disabled

After that. I entry "make" and:

root@proton:~/ModSecurity # make
make: "/root/ModSecurity/Makefile" line 3098: Missing dependency operator
make: "/root/ModSecurity/Makefile" line 3100: Need an operator
make: "/root/ModSecurity/Makefile" line 3102: Need an operator
make: "/root/ModSecurity/Makefile" line 3106: Missing dependency operator
make: "/root/ModSecurity/Makefile" line 3110: Need an operator
make: "/root/ModSecurity/Makefile" line 3112: Need an operator
make: "/root/ModSecurity/Makefile" line 3125: Need an operator
make: "/root/ModSecurity/Makefile" line 3127: Error in archive specification: ""
make: "/root/ModSecurity/Makefile" line 3132: warning: duplicate script for target "ifeq" ignored
make: "/root/ModSecurity/Makefile" line 3109: warning: using previous script for "ifeq" defined here
make: "/root/ModSecurity/Makefile" line 3133: Missing dependency operator
make: "/root/ModSecurity/Makefile" line 3134: warning: duplicate script for target "ifeq" ignored
make: "/root/ModSecurity/Makefile" line 3109: warning: using previous script for "ifeq" defined here
make: "/root/ModSecurity/Makefile" line 3134: warning: duplicate script for target "(no,yes)" ignored
make: "/root/ModSecurity/Makefile" line 3109: warning: using previous script for "(no,yes)" defined here
make: "/root/ModSecurity/Makefile" line 3135: Need an operator
make: "/root/ModSecurity/Makefile" line 3137: Need an operator
make: "/root/ModSecurity/Makefile" line 3138: Need an operator
make: "/root/ModSecurity/Makefile" line 3140: Need an operator
make: Fatal errors encountered -- cannot continue
make: stopped in /root/ModSecurity
root@proton:~/ModSecurity # 

I have tried the same way on linux and it works. So, what is the problem under FreeBSD ?
Thanks for help.

##Edit:
Modsecurity v2 compiles and works fine. There is something wrong with v3 for FreeBSD

Metadata

Metadata

Assignees

Labels

3.xRelated to ModSecurity version 3.xRIP - Type - UsageRelated with usage (not a bug)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions