Commit 795af12c authored by Sylvestre Ledru's avatar Sylvestre Ledru

Import Upstream version 5.1.0

parents

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

core
*.a
*.o
*.so*
*.log
*.status
*.guess
*.sub
*.cache
*.m4
*.fw
*.conf
*.app
!src/gui/FwbuilderInfo.plist
*.dylib
*.spec
*.control
*.nsi
build_num
test/ipt/secuwall-1
Makefile
!test/*/Makefile
install*
!src/res/configlets/*/install*
ltmain.sh
configure
libtool
qmake.inc
config.h
.obj
.moc
.ui
qtdbus_test
fwbedit
qrc_MainRes.cpp
fwb_iosacl
fwb_ipf
fwb_ipfw
fwb_ipt
fwb_pf
fwb_pix
fwb_procurve_acl
transfer_secuwall
.configure_marker
.build_marker
src/unit_tests/*/*Test
src/unit_tests/*/*Tests
src/unit_tests/*/*.output
src/unit_tests/generatedScriptTests*/generatedScriptTests*
src/unit_tests/generatedScriptTestsSecuwall/ref.*
src/unit_tests/generatedScriptTestsSecuwall/secuwall-1/
src/unit_tests/generatedScriptTestsSecuwall/secuwall-2/
#-*- mode: shell-script; tab-width: 4; -*-
FWB_MAJOR_VERSION=5
FWB_MINOR_VERSION=1
FWB_MICRO_VERSION=0
# build number is like "nano" version number. I am incrementing build
# number during development cycle
#
BUILD_NUM="3599"
VERSION="$FWB_MAJOR_VERSION.$FWB_MINOR_VERSION.$FWB_MICRO_VERSION.$BUILD_NUM"
GENERATION="$FWB_MAJOR_VERSION.$FWB_MINOR_VERSION"
# Data format version
FWBUILDER_XML_VERSION=22
#define VERSION "5.1.0.3599"
#define GENERATION "5.1"
This diff is collapsed.
dnl
dnl $Id: acsite.m4 808 2004-09-08 05:34:53Z vkurland $
dnl
dnl Test files
define( [AC_TEST_FILES],
[
ac_file_found=yes
for f in $1; do
if test ! -f $2/$f; then
ac_file_found=no
break;
fi
done
if test "$ac_file_found" = "yes" ; then
ifelse([$3], , :,[$3])
else
ifelse([$4], , :,[$4])
fi
])
dnl Search for headers, add path to CPPFLAGS if found
define( [AC_SEARCH_HEADERS],
[
AC_MSG_CHECKING("for $1")
ac_hdr_found=no
for p in $2; do
AC_TEST_FILES($1, $p,
[
ac_hdr_found=yes
break
]
)
done
if test "$ac_hdr_found" = "yes" ; then
CPPFLAGS="$CPPFLAGS -I$p"
AC_MSG_RESULT( [($p) yes] )
ifelse([$3], , :,[$3])
else
AC_MSG_RESULT("no")
ifelse([$4], , :,[$4])
fi
])
dnl checks for ucd-snmp or netsnmp library and sets
dnl vars LIBSNMP_LIBS and HAVE_LIBSNMP
dnl
dnl call like this:
dnl AC_CHECK_LIBSNMP ( snmp )
dnl AC_CHECK_LIBSNMP ( netsnmp )
dnl
define( [AC_CHECK_LIBSNMP],
[
ac_snmplib_name="$1"
ac_snmplib_name=`echo ${ac_snmplib_name} | tr -d " "`
AC_CHECK_LIB($ac_snmplib_name, init_snmp,
[
LIBSNMP_LIBS="-l$ac_snmplib_name"
HAVE_LIBSNMP="1"
AC_DEFINE(HAVE_LIBSNMP)
],[
if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then
unset ac_cv_lib_snmp_init_snmp
fi
save_LIBS="$LIBS"
LIBS="$LIBS -lcrypto"
AC_CHECK_LIB($ac_snmplib_name, init_snmp,
[
LIBS="$save_LIBS"
LIBSNMP_LIBS="-lcrypto -l$ac_snmplib_name"
HAVE_LIBSNMP="1"
AC_DEFINE(HAVE_LIBSNMP)
],[
echo
dnl if test "${ac_cv_lib_snmp_init_snmp+set}" = "set"; then
dnl unset ac_cv_lib_snmp_init_snmp
dnl fi
dnl
dnl save_LIBS="$LIBS"
dnl LIBS="$LIBS -ldes"
dnl AC_CHECK_LIB($ac_snmplib_name, init_snmp,
dnl [
dnl LIBS="$save_LIBS"
dnl LIBSNMP_LIBS="-ldes -l$ac_snmplib_name"
dnl HAVE_LIBSNMP="1"
dnl AC_DEFINE(HAVE_LIBSNMP)
dnl ])
])
])
dnl if test "Z$HAVE_LIBSNMP" != "Z"; then
dnl AC_CHECK_LIB($ac_snmplib_name, snprint_objid, [
dnl AC_DEFINE(HAVE_SNPRINT_OBJID)
dnl ])
dnl fi
])
define( [AC_CHECK_GETHOSTBYNAME_R],
[
ac_define_this="$1"
if test -z "$ac_define_this"; then ac_define_this="__FWB_DUMMY__"; fi
AC_MSG_CHECKING(if gethostbyname_r takes 3 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <netdb.h>
],[
char *name;
struct hostent *he;
struct hostent_data data;
(void) gethostbyname_r(name, he, &data);
],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_3)
ac_cv_func_which_gethostname_r="3",
[
dnl ac_cv_func_which_gethostname_r=no
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyname_r takes 6 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <netdb.h>
],[
char *name;
struct hostent *he, *res;
char buffer[2048];
int buflen = 2048;
int h_errnop;
(void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop)
],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_6)
ac_cv_func_which_gethostname_r="6",
[
dnl ac_cv_func_which_gethostname_r=no
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyname_r takes 5 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <netdb.h>
],[
char *name;
struct hostent *he;
char buffer[2048];
int buflen = 2048;
int h_errnop;
(void) gethostbyname_r(name, he, buffer, buflen, &h_errnop)
],
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_FUNC_GETHOSTBYNAME_R_5)
ac_cv_func_which_gethostname_r="5",
[
AC_MSG_RESULT(no)
ac_cv_func_which_gethostname_r=no])
])
] ,ac_cv_func_which_gethostname_r=no)
])
dnl check for number of arguments to gethostbyaddr_r. it might take
dnl 5, 7, or 8 arguments.
define( [AC_CHECK_GETHOSTBYADDR_R],
[
ac_define_this="$1"
if test -z "$ac_define_this"; then ac_define_this="__FWB_DUMMY__"; fi
AC_MSG_CHECKING(if gethostbyaddr_r takes 5 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <sys/types.h>
#include <netdb.h>
],[
char * address;
int length;
int type;
struct hostent h;
struct hostent_data hdata;
int rc;
rc = gethostbyaddr_r(address, length, type, &h, &hdata);
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_GETHOSTBYADDR_R_5)
ac_cv_gethostbyaddr_args=5
],[
AC_MSG_RESULT(no)
AC_MSG_CHECKING(if gethostbyaddr_r takes 7 arguments)
AC_TRY_COMPILE([
#define $ac_define_this
#include <sys/types.h>