Skip to content
Newer
Older
100644 354 lines (308 sloc) 9.57 KB
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
1 dnl Fwknop AutoConf script...
2 dnl =========================
3 dnl
4 dnl Created by Damien Stuart
5 dnl
6 dnl Inspiration from RRDtool configure.ac, the AutoConf Archive
7 dnl (http://www.nongnu.org/autoconf-archive/), and other examples.
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
8
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
9 dnl Minimum Autoconf version required.
bbe8c9d Set pcap non-block mode back on unless it is a freebsd system. Server…
Damien Stuart authored Oct 21, 2010
10 AC_PREREQ(2.62)
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
11
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
12 dnl Define our name, version and email.
13 m4_define(my_package, [fwknop])
781218e Bumped version to rc3 (even though we may go straight to release) and…
Damien Stuart authored Oct 31, 2010
14 m4_define(my_version, [2.0.0rc3])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
15 m4_define(my_bug_email, [dstuart@dstuart.org])
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
16
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
17 AC_INIT(my_package, my_version, my_bug_email)
53b7fae Major rearrangement. Renamed directories: "fko" to "lib", "src" to "c…
Damien Stuart authored Aug 9, 2009
18
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored Dec 24, 2008
19 AC_CONFIG_AUX_DIR(config)
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored Jan 25, 2009
20
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
21 AC_CANONICAL_TARGET
22
2bf25e6 Added perl/legacy distribution (fwknop-1.9.12). Renamed this distribu…
Damien Stuart authored Sep 11, 2009
23 AM_INIT_AUTOMAKE([tar-ustar -Wall -Werror foreign])
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
24
bcdef19 Commented out AM_MAINTAINER_MODE.
Damien Stuart authored Jan 6, 2010
25 dnl AM_MAINTAINER_MODE
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
26
bbe8c9d Set pcap non-block mode back on unless it is a freebsd system. Server…
Damien Stuart authored Oct 21, 2010
27 AC_CONFIG_HEADERS([config.h])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
28
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
29 dnl The top of our header
30 dnl
31 AH_TOP([
32 #ifndef FWKNOP_CONFIG_H
33 #define FWKNOP_CONFIG_H
34 ])
35
36 dnl The bottom of our header file
37 dnl
38 AH_BOTTOM([
39 #endif /* FWKNOP_CONFIG_H */
40 ])
41
42 dnl Decide whether or not to build the client
43 dnl
44 want_client=yes
45 AC_ARG_ENABLE([client],
46 [AS_HELP_STRING([--disable-client],
47 [Do not build the fwknop client @<:@default is to build@:>@])],
48 [want_client=$enableval],
49 [])
50 AM_CONDITIONAL([WANT_CLIENT], [test "$want_client" = yes])
51
52 dnl Decide whether or not to build the server
53 dnl
54 want_server=yes
55 AC_ARG_ENABLE([server],
56 [AS_HELP_STRING([--disable-server],
57 [Do not build the fwknop server @<:@default is to build@:>@])],
58 [want_server=$enableval],
59 [])
60 AM_CONDITIONAL([WANT_SERVER], [test "$want_server" = yes])
61
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
62 dnl Decide whether or not to enable the digest-cache
63 dnl
64 want_digest_cache=yes
65 AC_ARG_ENABLE([digest-cache],
66 [AS_HELP_STRING([--disable-digest-cache],
67 [Do not enable the fwknopd digest-cache @<:@default is to build@:>@])],
68 [want_digest_cache=$enableval],
69 [])
70 dnl AM_CONDITIONAL([WANT_DIGEST_CACHE], [test "$want_digest_cache" = yes])
71
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
72 AC_GNU_SOURCE
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
73
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
74 AC_PROG_CC
75 AM_PROG_CC_C_O
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
76 AC_PROG_CPP
53b7fae Major rearrangement. Renamed directories: "fko" to "lib", "src" to "c…
Damien Stuart authored Aug 9, 2009
77 AC_PROG_AWK
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
78 AC_PROG_SED
53b7fae Major rearrangement. Renamed directories: "fko" to "lib", "src" to "c…
Damien Stuart authored Aug 9, 2009
79 AC_PROG_GREP
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
80 AC_PROG_INSTALL
81 AC_PROG_LN_S
82 AC_PROG_MAKE_SET
474a787 more checks for configure. omit salt from Rijndael-encrypted data as …
Damien Stuart authored Dec 28, 2008
83 AC_PROG_RANLIB
e113cb7 Updates to allow for building libfko as a shared lib. (make use of li…
Damien Stuart authored Dec 25, 2008
84 AC_PROG_LIBTOOL
85
6126b7b Updates to accomodate building and compiling on FreeBSD systems.
Damien Stuart authored Aug 8, 2010
86 # It seems we need to add these for (at least my) FreeBSD system.
87 # (--DSS TOD): See if we can either make this conditional on OS or
88 # add the search path at check time).
89 #
90 if [ test "x$CPPFLAGS" = "x" ] ; then
91 CPPFLAGS="-I/usr/local/include -I/usr/local/include/gpgme"
92 fi
93 if [ test "x$LDFLAGS" = "x" ] ; then
94 LDFLAGS="-L/usr/local/lib"
95 fi
96
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
97 # Checks for header files.
98 #
99 AC_HEADER_STDC
7f45031 Added SHA384 and SHA512 digests. Tweaks for getting rid of windows wa…
Damien Stuart authored Aug 2, 2009
100 AC_HEADER_TIME
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
101 AC_HEADER_RESOLV
7f45031 Added SHA384 and SHA512 digests. Tweaks for getting rid of windows wa…
Damien Stuart authored Aug 2, 2009
102
6126b7b Updates to accomodate building and compiling on FreeBSD systems.
Damien Stuart authored Aug 8, 2010
103 AC_CHECK_HEADERS([arpa/inet.h ctype.h endian.h errno.h locale.h netdb.h net/ethernet.h netinet/in.h stdint.h stdlib.h string.h strings.h sys/byteorder.h sys/endian.h sys/ethernet.h sys/socket.h sys/stat.h sys/time.h sys/wait.h termios.h time.h unistd.h])
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
104
105 # Type checks.
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
106 #
2a51204 Removing files that are auto-generated by the autogen.sh script.
Damien Stuart authored Jan 25, 2009
107 AC_C_CONST
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
108 AC_TYPE_INT8_T
109 AC_TYPE_INT16_T
110 AC_TYPE_INT32_T
111 AC_TYPE_INT64_T
112 AC_TYPE_UINT8_T
113 AC_TYPE_UINT16_T
114 AC_TYPE_UINT32_T
115 AC_TYPE_UINT64_T
deb85dd Total re-arrangement for autoconf/automake implementation.
Damien Stuart authored Dec 21, 2008
116 AC_TYPE_OFF_T
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
117 AC_TYPE_PID_T
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
118 AC_TYPE_SIZE_T
e3bd3b7 Added additional sanity checks and clean-up of access.conf processing…
Damien Stuart authored Jan 30, 2010
119 AC_TYPE_SSIZE_T
7f45031 Added SHA384 and SHA512 digests. Tweaks for getting rid of windows wa…
Damien Stuart authored Aug 2, 2009
120
2a51204 Removing files that are auto-generated by the autogen.sh script.
Damien Stuart authored Jan 25, 2009
121 AC_CHECK_SIZEOF(unsigned int)
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
122 dnl AC_CHECK_TYPES([uint8_t, uint32_t])
7f0e7a9 Updated autoconf files and code to support Solaris (ver 10 x86 at lea…
Damien Stuart authored Mar 15, 2009
123
124 AC_C_BIGENDIAN
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
125
153d1ec Added AC_SYS_LARGE_FILE to configure.ac
Damien Stuart authored Jul 9, 2010
126 AC_SYS_LARGEFILE
127
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
128 # Checks for library functions.
129 #
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored Dec 24, 2008
130 AC_FUNC_MALLOC
474a787 more checks for configure. omit salt from Rijndael-encrypted data as …
Damien Stuart authored Dec 28, 2008
131 AC_FUNC_REALLOC
be3bb07 Added getpasswd routine for getting a password from the user. A few u…
Damien Stuart authored Feb 10, 2009
132 AC_FUNC_STAT
7f45031 Added SHA384 and SHA512 digests. Tweaks for getting rid of windows wa…
Damien Stuart authored Aug 2, 2009
133
be3bb07 Added getpasswd routine for getting a password from the user. A few u…
Damien Stuart authored Feb 10, 2009
134 AC_CHECK_FUNCS([bzero gettimeofday memmove memset socket strchr strcspn strdup strncasecmp strndup strrchr strspn])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
135
7f0e7a9 Updated autoconf files and code to support Solaris (ver 10 x86 at lea…
Damien Stuart authored Mar 15, 2009
136 AC_SEARCH_LIBS([socket], [socket])
137 AC_SEARCH_LIBS([inet_addr], [nsl])
138
d0373a5 Fixed libfko so gpgme engine is gpg by default. Added functions to li…
Damien Stuart authored Feb 6, 2010
139 # Check for 3rd-party libs
140 #
18c0560 Fixed gpgme check so it would not fail if gpgme was not installed. Se…
Damien Stuart authored Jan 25, 2009
141 AC_ARG_WITH([gpgme],
142 [AS_HELP_STRING([--with-gpgme],
143 [support for gpg encryption using libgpgme @<:@default=check@:>@])],
144 [],
145 [with_gpgme=check])
146
10b308b Fixed configure.ac again (I broke it with my last change). Added firs…
Damien Stuart authored Jan 26, 2009
147 have_gpgme=yes
18c0560 Fixed gpgme check so it would not fail if gpgme was not installed. Se…
Damien Stuart authored Jan 25, 2009
148 AS_IF([test "x$with_gpgme" != xno],
41127cd Added better autoconf handling of gpgpme. Fixes so libfko will compil…
Damien Stuart authored Feb 22, 2009
149 [AM_PATH_GPGME([],
150 [AC_DEFINE([HAVE_LIBGPGME], [1], [Define if you have libgpgme])],
18c0560 Fixed gpgme check so it would not fail if gpgme was not installed. Se…
Damien Stuart authored Jan 25, 2009
151 [if test "x$with_gpgme" != xcheck; then
152 AC_MSG_FAILURE(
153 [--with-gpgme was given, but test for gpgme failed])
10b308b Fixed configure.ac again (I broke it with my last change). Added firs…
Damien Stuart authored Jan 26, 2009
154 else
155 have_gpgme=no
18c0560 Fixed gpgme check so it would not fail if gpgme was not installed. Se…
Damien Stuart authored Jan 25, 2009
156 fi
41127cd Added better autoconf handling of gpgpme. Fixes so libfko will compil…
Damien Stuart authored Feb 22, 2009
157 ], [have_gpgme=no])], [have_gpgme=no])
158
b6c57aa Changed the way running external commands are hanlded to address issu…
Damien Stuart authored Jul 3, 2010
159 dnl Add various common way to sbin dir to the path (just in case)
160 APP_PATH=$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/usr/local/sbin
161
162 dnl Check for gpg (not gpg2)
163 dnl
164 AC_ARG_WITH([gpg],
165 [AS_HELP_STRING([--with-gpg=/path/to/gpg],
166 [Specify path to the gpg executable that gpgme will use @<:@default=check path@:>@])],
167 [
168 AS_IF([ test "x$withval" = x -o "x$withval" = xyes -o "x$withval" = xno ],
169 [AC_MSG_ERROR([--with-gpg requires an argument specifying a path to gpg])],
9413006 Cleaned out some old commented-out sections configure.ac and fixed an…
Damien Stuart authored Jul 19, 2010
170 [ GPG_EXE=$withval ]
b6c57aa Changed the way running external commands are hanlded to address issu…
Damien Stuart authored Jul 3, 2010
171 )
172 ],
173 [
174 AC_PATH_PROG(GPG_EXE, [gpg], [], [$APP_PATH])
175 ]
176 )
177 AS_IF([test "x$GPG_EXE" != x],
178 [
179 AC_DEFINE_UNQUOTED([GPG_EXE], ["$GPG_EXE"], [Path to gpg executable])
180 gpg_exe=$GPG_EXE
181 ], [ gpg_exe="(not found)"]
182 )
183
8c1261c Fixed memory leak issue in libfko when fko_new_with_data() was called…
Damien Stuart authored Oct 16, 2009
184 dnl Check for libpcap, gdbm (or ndbm) if we are building the server component
791eb40 Added check for libpcap. More stubbing in on the server code side.
Damien Stuart authored Sep 4, 2009
185 dnl
2310b36 Made local exe checks run only of a server is being built. Removed ch…
Damien Stuart authored Dec 29, 2009
186 AS_IF([test "$want_server" = yes], [
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
187 # Looking for libpcap
188 #
189 AC_CHECK_LIB([pcap],[pcap_open_live],
190 [ AC_DEFINE([HAVE_LIBPCAP], [1], [Define if you have libpcap]) ],
191 [ AC_MSG_ERROR([fwknopd needs libpcap])]
192 )
193
194 AS_IF([test "$want_digest_cache" = yes], [
195 use_ndbm=no
196 have_digest_cache=yes
8c1261c Fixed memory leak issue in libfko when fko_new_with_data() was called…
Damien Stuart authored Oct 16, 2009
197
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
198 # Looking for gdbm or fallback to ndbm or bail
199 #
200 AC_CHECK_LIB([gdbm],[gdbm_open],
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored Jul 8, 2010
201 [
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
202 AC_DEFINE([HAVE_LIBGDBM], [1], [Define if you have libgdbm])
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored Jul 8, 2010
203 ],
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
204 [ AC_CHECK_LIB([ndbm],[dbm_open],
205 [
206 AC_DEFINE([HAVE_LIBNDBM], [1], [Define if you have libndbm])
207 use_ndbm=yes
208 ],
209 [ AC_CHECK_HEADER([ndbm.h],
210 [ AC_CHECK_FUNC([dbm_open],
211 [ AC_DEFINE([HAVE_LIBNDBM], [1], [Define if you have libndbm])],
212 [
213 AC_DEFINE([NO_DIGEST_CACHE], [1], [Define this to disable the digest cache for replay detection.])
214 AC_MSG_WARN([No DBM implementation found. Replay detection will be disabled.])
215 have_digest_cache=no
216 ]
217 )]
03361fe Fix check and handling of ndbm as an option for the digest cache.
Damien Stuart authored Mar 26, 2011
218 )]
219 )]
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
220 )],
221 [
222 AC_DEFINE([NO_DIGEST_CACHE], [1], [Define this to disable the digest cache for replay detection.])
223 have_digest_cache=no
224 ]
791eb40 Added check for libpcap. More stubbing in on the server code side.
Damien Stuart authored Sep 4, 2009
225 )
226
9d2a4c2 Fixed autoconf config so libfko and fwknop client are not linked with…
Damien Stuart authored Jul 8, 2010
227 AM_CONDITIONAL([USE_NDBM], [test x$use_ndbm = xyes])
228
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
229 dnl Check for iptables
230 dnl
231 AC_ARG_WITH([iptables],
232 [AS_HELP_STRING([--with-iptables=/path/to/iptables],
233 [Specify path to the iptables executable @<:@default=check path@:>@])],
234 [
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
235 AS_IF([ test "x$withval" = xno ], [],
236 AS_IF([ test "x$withval" = x -o "x$withval" = xyes ],
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
237 [AC_MSG_ERROR([--with-iptables requires an argument specifying a path to iptables])],
9413006 Cleaned out some old commented-out sections configure.ac and fixed an…
Damien Stuart authored Jul 19, 2010
238 [ IPTABLES_EXE=$withval ]
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
239 )
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
240 )
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
241 ],
242 [
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
243 AC_PATH_PROG(IPTABLES_EXE, [iptables], [], [$APP_PATH])
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
244 ]
245 )
2310b36 Made local exe checks run only of a server is being built. Removed ch…
Damien Stuart authored Dec 29, 2009
246
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
247 dnl Check for ipfw
248 dnl
249 AC_ARG_WITH([ipfw],
250 [AS_HELP_STRING([--with-ipfw=/path/to/ipfw],
251 [Specify path to the ipfw executable @<:@default=check path@:>@])],
252 [
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
253 AS_IF([ test "x$withval" = xno ], [],
254 AS_IF([ test "x$withval" = x -o "x$withval" = xyes ],
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
255 [AC_MSG_ERROR([--with-ipfw requires an argument specifying a path to ipfw])],
9413006 Cleaned out some old commented-out sections configure.ac and fixed an…
Damien Stuart authored Jul 19, 2010
256 [ IPFW_EXE=$withval ]
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
257 )
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
258 )
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
259 ],
260 [
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
261 AC_PATH_PROG(IPFW_EXE, [ipfw], [], [$APP_PATH])
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
262 ]
263 )
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
264
265 dnl Check for ipf (ipfilter)
266 dnl
267 AC_ARG_WITH([ipf],
268 [AS_HELP_STRING([--with-ipf=/path/to/ipf],
269 [Specify path to the ipf executable @<:@default=check path@:>@])],
b823580 Added configure args for specifying specific pathes to the local exec…
Damien Stuart authored Dec 29, 2009
270 [
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
271 AS_IF([ test "x$withval" = xno ], [],
272 AS_IF([ test "x$withval" = x -o "x$withval" = xyes ],
273 [AC_MSG_ERROR([--with-ipfw requires an argument specifying a path to ipfw])],
274 [ IPF_EXE=$withval ]
275 )
276 )
277 ],
278 [
279 AC_PATH_PROG(IPF_EXE, [ipf], [], [$APP_PATH])
280 ]
281 )
7dc24c1 @mrash Bug fix for USE_NDBM variable so that client-only builds work. The sp…
authored Jul 29, 2010
282
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
283 dnl Determine which firewall exe we use (if we have one).
284 dnl If iptables was found or specified, it wins, then we fallback to ipfw,
285 dnl otherwise we try ipf.
286 dnl
287 AS_IF([test "x$IPTABLES_EXE" != x], [
288 FW_DEF="FW_IPTABLES"
289 FIREWALL_TYPE="iptables"
290 FIREWALL_EXE=$IPTABLES_EXE
291 AC_DEFINE_UNQUOTED([FIREWALL_IPTABLES], [1], [The firewall type: iptables.])
292 ],[
293 AS_IF([test "x$IPFW_EXE" != x], [
294 FW_DEF="FW_IPFW"
295 FIREWALL_TYPE="ipfw"
296 FIREWALL_EXE=$IPFW_EXE
297 AC_DEFINE_UNQUOTED([FIREWALL_IPFW], [1], [The firewall type: ipfw.])
298 ],[ AS_IF([test "x$IPF_EXE" != x], [
1381f18 Made autoconf print an error message indicating ipf is not supported …
Damien Stuart authored Aug 29, 2010
299 AC_MSG_ERROR([Sorry - ipf was specified or the only one found, however, it is not supported yet.])
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
300 FIREWALL_TYPE="ipf"
301 FIREWALL_EXE=$IPF_EXE
302 AC_DEFINE_UNQUOTED([FIREWALL_IPF], [1], [The firewall type: ipf.])
303 ], [AC_MSG_ERROR([No firewall program was found or specified.]) ]
304 ]
305 ]
306 )))
307
308 AC_DEFINE_UNQUOTED([FIREWALL_EXE], ["$FIREWALL_EXE"],
309 [Path to firewall command executable (it should match the firewall type).])
310
311 ],
7dc24c1 @mrash Bug fix for USE_NDBM variable so that client-only builds work. The sp…
authored Jul 29, 2010
312 [test "$want_server" = no], [
313 use_ndbm=no
314 AM_CONDITIONAL([USE_NDBM], [test x$use_ndbm = xno])
315 ]
316 )
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
317
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored Dec 24, 2008
318 AC_CONFIG_FILES([Makefile
53b7fae Major rearrangement. Renamed directories: "fko" to "lib", "src" to "c…
Damien Stuart authored Aug 9, 2009
319 lib/Makefile
320 client/Makefile
321 server/Makefile
322 common/Makefile
323 doc/Makefile])
a82c361 Another major re-write of the fwknop library.
Damien Stuart authored Dec 24, 2008
324
1cdf9fd Re-arrangement of source tree.
Damien Stuart authored Dec 24, 2008
325 AC_OUTPUT
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored Jan 25, 2009
326
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
327 if [test "$have_gpgme" = "yes" ]; then
d0373a5 Fixed libfko so gpgme engine is gpg by default. Added functions to li…
Damien Stuart authored Feb 6, 2010
328 have_gpgme="$have_gpgme
329 Gpgme engine: $GPG_EXE"
330 fi
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
331
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored Jan 25, 2009
332 echo "
2310b36 Made local exe checks run only of a server is being built. Removed ch…
Damien Stuart authored Dec 29, 2009
333 $PACKAGE_NAME-$PACKAGE_VERSION configuration.
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
334 ==========================================================
53b7fae Major rearrangement. Renamed directories: "fko" to "lib", "src" to "c…
Damien Stuart authored Aug 9, 2009
335 Client build: $want_client
336 Server build: $want_server
337 GPG encryption support: $have_gpgme
861c0e8 Autoconf updates for detecting locally installed program paths and ch…
Damien Stuart authored Dec 28, 2009
338
339 Installation prefix: $prefix
2310b36 Made local exe checks run only of a server is being built. Removed ch…
Damien Stuart authored Dec 29, 2009
340 "
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
341 if [test "$want_server" = "yes" ]; then
838b80f Refactored firewall rule code to separate files by firewall type. Stu…
Damien Stuart authored Aug 10, 2010
342 echo " Server support:
343 firewall type: $FIREWALL_TYPE
344 firewall program path: $FIREWALL_EXE
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored Jan 25, 2009
345 "
2310b36 Made local exe checks run only of a server is being built. Removed ch…
Damien Stuart authored Dec 29, 2009
346
39e7412 Added a no-digest-cache configure option and capability (though it is…
Damien Stuart authored Mar 27, 2011
347 if [test "$want_digest_cache" = "no" ]; then
348 echo " *WARNING*
349 The digest-cache functionality is not enabled. This
350 could leave the fwknopd server open to replay attacks!
351 "
352 fi
353 fi
Something went wrong with that request. Please try again.