Charlène Wendling
256362372c
Use ${CMAKE_DL_LIBS} for portability
...
Some systems, like OpenBSD for example, have libdl integrated in libc.
Let CMAKE_DL_LIBS decide if '-ldl' is needed as a linker flag
2020-12-22 03:43:15 +01:00
Sirius Bakke
c86153e0e7
fix: Deprecated Qt cmake macro
2020-10-07 21:11:11 +02:00
Thorsten Schoening
0f34c2d459
Building using MXE on UB 18.04 fails without ws2_32 being linked
...
explicitly.
2020-05-01 12:47:13 +02:00
Sirius Bakke
ac89370f29
chore: Remove QBS </3
2019-07-28 19:59:21 +02:00
Sirius Bakke
598e2fafde
refactor: Reduce cmake global defines
2019-07-28 19:59:21 +02:00
Sirius Bakke
03ed123626
chore: Add support for mxe w32 and cmake
2019-06-09 23:46:58 +02:00
Sirius Bakke
5b2d0e297d
chore: Add support for CMake
...
TODO: Support macOS and Windows
2019-02-20 00:12:56 -03:00
Sirius Bakke
7824066a96
feat: Apply modernize-use-nullptr
2018-09-12 20:21:26 +02:00
Sirius Bakke
defc5c7b63
feat: Remove automake and qmake files
2018-09-12 20:21:21 +02:00
Sirius Bakke
ea85cab17b
feat: Remove unneeded header includes
2018-09-12 20:21:12 +02:00
Sirius Bakke
123dceefc4
feat: Add qbs build files
2018-09-12 20:20:41 +02:00
Sirius Bakke
e41ab255e1
fix: Remove Qt4 support
2018-05-13 13:58:58 +02:00
Sylvestre Ledru
6a89b028b3
Disable the silent mode (easier to debug)
2017-09-29 11:33:55 +02:00
Sirius Bakke
96268831a2
Feature: Support for Qt5
...
* Compile time checking adjust includes and code for deprecated features
* QHttp class is removed from Qt5 so the custom HttpGet class is
disabled when compiling with Qt5. The api on fwbuilder.org isn't
working, so the code for getting tips and checking if a new version is
available must be rewritten anyway.
2013-08-14 12:35:02 +02:00
Sirius Bakke
1e685abd1f
Feature: Dummy objects for policy rules
2013-08-14 12:34:54 +02:00
Sirius Bakke
78190b2b26
Fix: Console applications use QCoreApplication
...
* Changed all the compiler executables from using QApplication to
QCoreApplication
* libcommon is now using only QCoreApplication
2013-08-10 20:29:10 +02:00
Vadim Kurland
af8031a87a
building with mingw on windows
2011-05-19 19:22:58 -07:00
Theron Tock
216dd1a2fb
Make sure DEPENDPATH has same stuff as INCLUDEPATH, otherwise when files
...
change in other directories the dependent files don't get recompiled.
Fixed up INCLUDEPATH in various places.
Removed -pthread as an INCLUDEPATH (leads to bogus -I-pthread).
2011-05-11 14:05:18 -07:00
Vadim Kurland
cb7662fdae
see #2212 now compilers do not copy object database but CompilerDriver does. This means one object tree copy instead of many (it used to be one copy for the driver plus one copy for each compiler pass)
2011-03-12 14:49:12 -08:00
Vadim Kurland
abcafdd4b3
still working on windows build failure; names for the items in BaseCompiler::termination_status shuld be unique; new build number 3466
2011-02-08 15:26:31 -08:00
Vadim Kurland
99a0b3d412
fixes #2055 Compiler shows success, but there was a fatal error in the config; the problem affected compilers for all platforms, not only pix
2011-02-07 23:05:27 -08:00
Vadim Kurland
eb61a51c89
fixes #1989 :
...
Got rid
of global variables sysfname, tempfname, librespath, respath and
localepath; will now use class Constants to keep this information.
2011-01-26 13:27:57 -08:00
Vadim
cd4da4fb52
fixed build on Mandriva
2011-01-14 21:46:18 -08:00
Vadim Kurland
18377b1ff2
refs #1876 build number is now part of the long version number
2010-12-29 12:00:15 -08:00
Vadim Kurland
2417543eba
merged libfwbuilder into fwbuilder as src/libfwbuilder; unit tests do not work yet
2010-12-25 20:12:30 -08:00
SVN User
3665045dfe
proper references to library on windows
2009-12-17 02:59:53 +00:00
Vadim Kurland
68a2e1bdc3
fixes #923 converted src/common to a library
2009-12-17 02:17:47 +00:00
Vadim Kurland
18c5f5c689
getting rid of dependencies on build_num
2009-11-22 20:53:39 +00:00
Vadim Kurland
f1d722a0c0
using BUILD_NUM instead of RELEASE everywhere
2009-10-01 17:14:32 +00:00
Vadim Kurland
e2d4204cd6
fixes #405
2009-09-25 22:04:02 +00:00
Vadim Kurland
23ee2d9531
merge from v3_1_merge
2009-09-23 17:00:48 +00:00
Vadim Kurland
a08e47cc69
* ACL.cpp (ciscoACL::addRemark): fixed bug #1778536 "IOSACL -
...
remark command". Remarks now include rule comments; if comment
consists of several lines, each line is added using separate
remark statement. This works for both IOS ACL and PIX platforms.
2009-07-13 15:45:49 +00:00
Vadim Kurland
a5c4bf5a81
merged r840 from branch v3
2009-04-29 19:27:56 +00:00
Vadim Kurland
d65440d258
2009-04-29 Vadim Kurland <vadim@vk.crocodile.org>
...
* RoutingCompiler_pix.cpp (RoutingCompiler_pix::prolog): fixes bug
#2782645 : "Can't compile for FWSM platform". Routing compiler for
PIX should accept firewall object with platform "fwsm" as well as
"pix".
* ObjectManipulator.cpp (ObjectManipulator::actuallyCreateObject):
fixes bug #2783780 : "Tree objects not sorted in
3.0.4". Automatically re-sort object branch when new host or
firewall object is created so that the new object is positioned in
the alphabetic sorting order.
2009-04-29 19:24:43 +00:00
SVN User
f125a42358
fixes to compile on win32
2009-01-06 08:10:34 +00:00
Vadim Kurland
8bb882cccd
2009-01-05 vadim <vadim@vk.crocodile.org>
...
* RoutingCompiler_cisco.cpp (RoutingCompiler_cisco::compile):
fixed bug (no #): routing compiler for pix refused to add more
than one routing rule with an error saying that other rules were
duplicates. Error was introduced in build 732.
2009-01-06 03:56:35 +00:00
Vadim Kurland
42dee41104
* RoutingCompiler_cisco.cpp: refactored PIX routing compiler by
...
steven@openbsd.org to use it as a foundation of the routing
compiler for both PIX and Cisco IOS (r731).
2009-01-02 06:54:03 +00:00
Vadim Kurland
bff50df97e
bugfixes in routing compiler for pix
2009-01-02 00:19:01 +00:00
Vadim Kurland
56212319d6
2009-01-01 vadim <vadim@vk.crocodile.org>
...
* RoutingCompiler_pix.cpp: applied patch by Steven Mestdagh
<steven@openbsd.org> that adds support for static routing
configuration for PIX.
2009-01-01 20:55:43 +00:00
Vadim Kurland
5ef36c5a52
2008-12-25 vadim <vadim@vk.crocodile.org>
...
* All policy compilers: using FWObjectDatabase::createClass
methods to create rules and other objects in compilers wherever
the type is known at the (code) compile time. This makes code
cleaner and speeds it up a little because of eliminated cast() and
string comparison.
* changes in libfbuilder: eliminated excessive use of dynamic_cast
and long chains of "if" comparing object type names in
FWObjectDatabase in methods that create new objects of given type.
2008-12-25 20:38:53 +00:00
Vadim Kurland
cce39c6d28
finally fixing QMAKE_COPY for iosacl and pix
2008-10-11 15:51:21 +00:00
Vadim Kurland
6ecc343b07
bug 2158407
2008-10-11 05:42:31 +00:00
Vadim Kurland
5d7af145af
input field for path to scp in preferences dialog
2008-10-09 05:08:41 +00:00
Vadim Kurland
c6aa73ff0f
* NATCompiler_pix.cpp (mergeNATCmd::processNext): fixed crash in
...
compiler for PIX that happened when compiler tried to merge
"global" commands and some of the interfaces of the firewall had
dynamic address.
2008-09-21 10:32:41 +00:00
Vadim Kurland
d35860e90a
address warnings gcc 4.3
2008-08-13 06:10:55 +00:00
Vadim Kurland
3d11499301
fixed bug in fwb_pix with netzone "any"
2008-08-12 21:13:31 +00:00
Vadim Kurland
699800dd12
patch for gcc 4.3
2008-08-03 16:47:47 +00:00
Vadim Kurland
2672f24f53
do CONFIG-=qt on unix but not on mac
2008-08-02 05:49:01 +00:00
Vadim Kurland
6db9a56b78
remove CONFIG -= qt in compilers to make code compile on Mac
2008-08-02 05:39:48 +00:00
Vadim Kurland
60bec65e08
removed dependency on QT in compilers
2008-08-02 04:59:32 +00:00