From 30f5142ab04114d341508c9fb56cc73a61ba5900 Mon Sep 17 00:00:00 2001 From: airwoflgh Date: Thu, 17 Dec 2015 11:08:41 -0500 Subject: [PATCH] Issue #33 makefile fix Added -D_BSD_SOURCE to CFLAGS in makefile definition. --- ChangeLog | 6 ++++-- Makefile.am | 2 +- configure.ac | 2 +- src/knockd.c | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8b3780e..2cd200f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ VERSION DESCRIPTION ----------------------------------------------------------------------------- +0.7.8 - Fix for Issue #33, #34 and #35 contributed by Alexander + Rumyanstev. 0.7.7 - Fix for Issue #7 & #17 contributed by Michael G�hler. All IPs assigned to a single interface are now listened on. - Fix for compile warning on OSX where daemon() is deprecated. @@ -17,11 +19,11 @@ VERSION DESCRIPTION - Fixed PCAP filter for PSH flag detection. - Patches from Christos Triantafyllidis - Updated FSF address. -0.7.2 - Patches from Paul Rogers (paul.rogers@flumps.org) +0.7.2 - Patches from Paul Rogers - Applied missing fixes from issue #16 - OpenBSD build issues, reordering of headers, scoping DLT_LINUX_SLL for Linux only, for -> while loop in sniff() cleanup. -0.7.1 - Patches from Paul Rogers (paul.rogers@flumps.org) +0.7.1 - Patches from Paul Rogers - Fixed issue #2 - SIGHUP (reload) now listens for new sequences in the config file. - Fixed issue #26 - knockd now fails if a malformed config diff --git a/Makefile.am b/Makefile.am index edfb7d8..c5b15ab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ AM_CPPFLAGS=-D_DEFAULT_SOURCE -AM_CFLAGS=-g -Wall -pedantic -fno-exceptions +AM_CFLAGS=-g -Wall -pedantic -fno-exceptions -D_BSD_SOURCE bin_PROGRAMS = knock man_MANS = doc/knock.1 diff --git a/configure.ac b/configure.ac index d7a5260..02e3012 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.60) -AC_INIT([knock], [0.7.7], [https://github.com/jvinet/knock/issues]) +AC_INIT([knock], [0.7.8], [https://github.com/jvinet/knock/issues]) AM_INIT_AUTOMAKE([dist-xz no-dist-gzip foreign subdir-objects]) AC_CONFIG_HEADER([config.h]) diff --git a/src/knockd.c b/src/knockd.c index 6a5b902..9e8b333 100644 --- a/src/knockd.c +++ b/src/knockd.c @@ -62,7 +62,7 @@ extern int daemon(int, int); #endif -static char version[] = "0.7.7"; +static char version[] = "0.7.8"; #define SEQ_TIMEOUT 25 /* default knock timeout in seconds */ #define CMD_TIMEOUT 10 /* default timeout in seconds between start and stop commands */