Skip to content

Commit

Permalink
keepalived-1.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
acassen committed Oct 15, 2017
1 parent 84b5c96 commit a060a36
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 15 deletions.
59 changes: 59 additions & 0 deletions ChangeLog
@@ -1,3 +1,62 @@
2017-10-15 Alexandre Cassen <acassen@linux-vs.org>
* keepalived-1.3.8 released.
* parser: do not exit when glob() doesn't match any files.
* Use nodename as default id for conditional configuration.
If the node name returned by uname() is host123.abc.de, then
lines in the configuration file matching @host123 will match the
conditional configuration test. This means that it is no longer
necessary to specify the -i command line option if the conditional
configuration string used in the configuration is the node name.
* Option --i/--config-id parameter is not optional.
Since the config-id defaults to the hostname, there is no point
in allowing --config-id to be used without a parameter, just to mean
use the hostname.
* Use NULL instead of 0 for pointers in get_longopts struct.
* Some minor tidying up of the new JSON output code.
1. Use SIGRTMIN+2 rather than (_SIGRTMIN + 4)
2. Don't include JSON code if not building with VRRP
3. Some code alignment fixes
4. Some conditional compilation additions
* Add --signum command line option to report signal numbers.
Since keepalived is starting to use real time signals, and those
signal numbers are not fixes, this commit introduces a way to
ask keepalived to report those signal numbers.
* Stop command line option -i segfaulting.
* Fix config include files when file has no directory par.
When an include file name has no directory part, there is no
directory to change to, so don't try to do so.
* Use getcwd() malloc functionality if available.
* Add support for csh brace globs in config file names.
* Update documentation for config file include directive.
* Use fchdir() when changing direcories while reading include files.
The getcwd(3) man page recommends using open()/fchdir() rather than
getcwd()/chdir() since fchdir() is guarantee to return to the previous
directory even if directories have been renamed in between the first
chdir and the second. It also suggests that it is faster, and saves
mallocs or allocation of arrays on the stack of size PATH_MAX.
* Use alloc_value_block() for vrrp_vip_handler().
* Fix whitespace error introduced in commit 9458c9b9.
* Reinforce that '@' conditional config character must be 1st on line.
The '@' conditional configuration character must be the very first
on a configuration, meaning that there cannot even by whitespace
before the '@' character.
* Check whether GLOB_BRACE is supported (it is not part of POSIX.2).
* When building a docker image, it appears that autoheader is required.
* Fix IPVS virtual server setup with persistence.
* Remove a merge conflict .rej file accidentally added to git.
This commit also updates the .gitconfig file to ensure that .rej
files will not be added in the future.
* config synopsis - cleanup line endings and comment alignment.
* conf examples - clean eol whitespace.
* conf examples - clean triple line breaks.
* add pair of config options used in misc_check.
* clean surprise tab character.
* many whitespace fixes; some missing docu added to synopsis.
* config docs - apply code review markups.
* Trivial updates to latest format cleaning patches.
* Allow conditional configuration to work with include statements.
* Allow '@' conditional configuration to be preceeded by whitespace.

2017-10-01 Alexandre Cassen <acassen@linux-vs.org>
* keepalived-1.3.7 released.
* Allow broadcast address to be specified as '-' or '+'
Expand Down
22 changes: 11 additions & 11 deletions configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Keepalived 1.3.7.
# Generated by GNU Autoconf 2.69 for Keepalived 1.3.8.
#
# Report bugs to <keepalived-devel@lists.sourceforge.net>.
#
Expand Down Expand Up @@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='Keepalived'
PACKAGE_TARNAME='keepalived'
PACKAGE_VERSION='1.3.7'
PACKAGE_STRING='Keepalived 1.3.7'
PACKAGE_VERSION='1.3.8'
PACKAGE_STRING='Keepalived 1.3.8'
PACKAGE_BUGREPORT='keepalived-devel@lists.sourceforge.net'
PACKAGE_URL='http://www.keepalived.org/'

Expand Down Expand Up @@ -1392,7 +1392,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures Keepalived 1.3.7 to adapt to many kinds of systems.
\`configure' configures Keepalived 1.3.8 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -1458,7 +1458,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of Keepalived 1.3.7:";;
short | recursive ) echo "Configuration of Keepalived 1.3.8:";;
esac
cat <<\_ACEOF
Expand Down Expand Up @@ -1491,7 +1491,7 @@ Optional Features:
--enable-sha1 compile with SHA1 support
--disable-vrrp-auth compile without VRRP authentication
--disable-checksum_compat
compile without v1.3.7 and earlier VRRPv3 unicast
compile without v1.3.8 and earlier VRRPv3 unicast
checksum compatibility
--disable-routes compile without ip rules/routes
--enable-gnu-std-paths use GNU standard paths for pid files etc
Expand Down Expand Up @@ -1616,7 +1616,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
Keepalived configure 1.3.7
Keepalived configure 1.3.8
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
Expand Down Expand Up @@ -2272,7 +2272,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Keepalived $as_me 1.3.7, which was
It was created by Keepalived $as_me 1.3.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
Expand Down Expand Up @@ -3135,7 +3135,7 @@ fi
# Define the identity of the package.
PACKAGE='keepalived'
VERSION='1.3.7'
VERSION='1.3.8'
cat >>confdefs.h <<_ACEOF
Expand Down Expand Up @@ -11018,7 +11018,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by Keepalived $as_me 1.3.7, which was
This file was extended by Keepalived $as_me 1.3.8, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -11085,7 +11085,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
Keepalived config.status 1.3.7
Keepalived config.status 1.3.8
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Expand Down
8 changes: 4 additions & 4 deletions configure.ac
Expand Up @@ -88,7 +88,7 @@ m4_ifndef([AS_VAR_COPY],

dnl ----[ Process this file with autoconf to produce a configure script ]----
AC_PREREQ([2.63])
AC_INIT([Keepalived], [1.3.7], [keepalived-devel@lists.sourceforge.net], [], [http://www.keepalived.org/])
AC_INIT([Keepalived], [1.3.8], [keepalived-devel@lists.sourceforge.net], [], [http://www.keepalived.org/])
AM_INIT_AUTOMAKE([-Wall -Werror -Woverride foreign])

AC_CONFIG_SRCDIR([keepalived/core/main.c])
Expand Down Expand Up @@ -159,7 +159,7 @@ AC_ARG_WITH(init,
AC_ARG_ENABLE(vrrp-auth,
[AS_HELP_STRING([--disable-vrrp-auth], [compile without VRRP authentication])])
AC_ARG_ENABLE(chksum_compat,
[AS_HELP_STRING([--disable-checksum_compat], [compile without v1.3.7 and earlier VRRPv3 unicast checksum compatibility])])
[AS_HELP_STRING([--disable-checksum_compat], [compile without v1.3.8 and earlier VRRPv3 unicast checksum compatibility])])
AC_ARG_ENABLE(routes,
[AS_HELP_STRING([--disable-routes], [compile without ip rules/routes])])
AC_ARG_ENABLE(gnu-std-paths,
Expand Down Expand Up @@ -1021,11 +1021,11 @@ AC_CHECK_DECL([IPVS_SVC_ATTR_PE_NAME],
dnl ----[ Check for GLOB_BRACE support ]----
AC_CHECK_DECLS([GLOB_BRACE], [add_build_opt([GLOB_BRACE])], [], [[#include <glob.h>]])
dnl ----[ Do we want v1.3.7 and earlier VRRPv3 unicast checksum compatibility support ]----
dnl ----[ Do we want v1.3.8 and earlier VRRPv3 unicast checksum compatibility support ]----
UNICAST_CHKSUM_COMPAT_SUPPORT=No
if test .$enable_chksum_compat != .no; then
UNICAST_CHKSUM_COMPAT_SUPPORT=Yes
AC_DEFINE([_WITH_UNICAST_CHKSUM_COMPAT_], [ 1 ], [Define to 1 to enable v1.3.7 and earlier VRRPv3 unicast checksum compatibility])
AC_DEFINE([_WITH_UNICAST_CHKSUM_COMPAT_], [ 1 ], [Define to 1 to enable v1.3.8 and earlier VRRPv3 unicast checksum compatibility])
add_build_opt([OLD_CHKSUM_COMPAT])
fi
Expand Down

0 comments on commit a060a36

Please sign in to comment.