diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/ChangeLog /tmp/qZRLuX1bC7/keepalived-1.1.15/ChangeLog --- /tmp/uUQpUd4uAg/keepalived-1.1.13/ChangeLog 2006-10-11 11:32:24.000000000 +0200 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/ChangeLog 2007-09-14 18:41:35.000000000 +0200 @@ -1,3 +1,45 @@ +2007-09-15 Alexandre Cassen + * keepalived-1.1.15 released. + * Matthias Saou, fixed genhash + Makefile for man page installation. + * Casey Zacek, provided a patch + to check_http to remove buffer minimization while processing + stream. It appears some webserver cause healthchecker crash. + * Chris Marchesi, provided + a patch for better handling of SSL handshake errors. + * Shinji Tanaka, fixed parser "include" + directive to support declaration inside configuration directives, + like including file inside vrrp_instance declaration. + * Andreas Kotes, fixed HTTP healthchecker + while handling MD5SUM result. It appears checker never removed + realserver on MD5SUM mismatch !!! whats that crap. + * VRRP : Willy Tarreau, fixed a missing notifications + upon transition from fault to backup. + * VRRP : Add support to route metric in virtual_routes definition. + +2007-09-13 Alexandre Cassen + * keepalived-1.1.14 released. + * Shinji Tanaka, extended parsing + framework to support "include" directives. For more + informations and documentation please refer to Shinji + website : + http://misccs.dyndns.org/index.php?keepalived%20include%20patch + * Tobias Klausmann, add error loggin + while parsing configuration file. + * Merged patches from rpmforge.net on Makefile and redhat specfile. + * Create a goodies directory to store nice scripts received from + users. Add Steve Milton (milton AT isomedia.com) arpreset script + to delete a single ARP entry from a CISCO router. + * VRRP : David Woodhouse, fixed vrrp_arp + includes. + * VRRP : Pierre-Yves Ritschard, fixed negative + weights in script. + * VRRP : Michael Smith, extended + virtual_ipaddress setting to support Old-style Linux interface + aliases like eth0:1. + * VRRP : Ward Wouts, add support to + vrrp_script logging. + 2006-10-11 Alexandre Cassen * keepalived-1.1.13 released. * VRRP : Added a new notify script to be launch during vrrp diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/changelog /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/changelog --- /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/changelog 2008-01-02 21:13:30.000000000 +0100 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/changelog 2008-01-02 21:13:30.000000000 +0100 @@ -1,3 +1,20 @@ +keepalived (1.1.15-1ubuntu1) hardy; urgency=low + + * Merge from debian unstable (LP: #179992), remaining changes: + - Merged with Debian. Changes are: + + patch 99_linux_2.6_compat.patch changed as patched file changed + + -- Koen Beek Fri, 21 Dec 2007 09:40:47 +0000 + +keepalived (1.1.15-1) unstable; urgency=low + + * New upstream release (Closes: #401827) + * Remove 00_fix-manpagepath.patch and + 01_fix-genhash-manpagepath.patch(obsolete) + * Bump standards version + + -- Alexander Wirt Tue, 18 Dec 2007 18:44:55 +0100 + keepalived (1.1.13-1ubuntu1) hardy; urgency=low * Merge from Debian unstable (LP: #174796), remaining changes: diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/control /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/control --- /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/control 2008-01-02 21:13:30.000000000 +0100 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/control 2008-01-02 21:13:30.000000000 +0100 @@ -4,7 +4,7 @@ Maintainer: Ubuntu Core Developers XSBC-Original-Maintainer: Alexander Wirt Build-Depends: debhelper (>> 4.1.0), libssl-dev, libpopt-dev, textutils, cdbs, autoconf -Standards-Version: 3.7.2 +Standards-Version: 3.7.3 Package: keepalived Section: admin diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/init.d /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/init.d --- /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/init.d 2008-01-02 21:13:30.000000000 +0100 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/init.d 2008-01-02 21:13:30.000000000 +0100 @@ -4,7 +4,15 @@ # # Written by Andres Salomon # - +### BEGIN INIT INFO +# Provides: keepalived +# Required-Start: $syslog $network +# Required-Stop: $syslog $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts keepalived +# Description: Starts keepalived lvs loadbalancer +### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/keepalived NAME=keepalived @@ -12,40 +20,57 @@ CONFIG=/etc/keepalived/keepalived.conf TMPFILES="/tmp/.vrrp /tmp/.healthcheckers" +#includes lsb functions +. /lib/lsb/init-functions + set -e test -f $CONFIG || exit 0 test -f $DAEMON || exit 0 case "$1" in start) - echo -n "Starting $DESC: " - for file in $TMPFILES - do + log_daemon_msg "Starting $DESC" "$NAME" + for file in $TMPFILES + do test -e $file && test ! -L $file && rm $file - done - start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ - --exec $DAEMON - echo "$NAME." + done + if start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON; then + log_end_msg 0 + else + log_end_msg 1 + fi ;; stop) - echo -n "Stopping $DESC: " - start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \ - --exec $DAEMON - echo "$NAME." + log_daemon_msg "Stopping $DESC" "$NAME" + if start-stop-daemon --oknodo --stop --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON; then + log_end_msg 0 + else + log_end_msg 1 + fi ;; reload|force-reload) - echo "Reloading $DESC configuration file." - start-stop-daemon --stop --quiet --signal 1 --pidfile \ - /var/run/$NAME.pid --exec $DAEMON + log_action_begin_msg "Reloading $DESC configuration..." + if start-stop-daemon --stop --quiet --signal 1 --pidfile \ + /var/run/$NAME.pid --exec $DAEMON; then + log_end_msg 0 + else + log_action_end_msg 1 + fi ;; restart) - echo -n "Restarting $DESC: " - start-stop-daemon --stop --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON + log_action_begin_msg "Restarting $DESC" "$NAME" + + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON sleep 1 - start-stop-daemon --start --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON - echo "$NAME." + if start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON; then + log_end_msg 0 + else + log_end_msg 1 + fi ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|restart|reload|force-reload}" >&2 diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/patches/00_fix-manpagepath.patch /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/patches/00_fix-manpagepath.patch --- /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/patches/00_fix-manpagepath.patch 2008-01-02 21:13:30.000000000 +0100 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/patches/00_fix-manpagepath.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ ---- /tmp/keepalived-1.1.11/keepalived/Makefile.in 2005-03-01 00:32:01.000000000 +0100 -+++ keepalived/Makefile.in 2005-03-02 21:31:12.300052216 +0100 -@@ -102,7 +102,7 @@ - install -d $(DESTDIR)$(sysconfdir)/keepalived/samples - install -m 644 $(conf_file) $(DESTDIR)$(sysconfdir)/keepalived/ - install -m 644 ../doc/samples/* $(DESTDIR)$(sysconfdir)/keepalived/samples/ -- install -d $(DESTDIR)@mandir@/man/man5 -- install -d $(DESTDIR)@mandir@/man/man8 -- install -m 644 ../doc/man/man5/keepalived.conf.5 $(DESTDIR)@mandir@/man/man5 -- install -m 644 ../doc/man/man8/keepalived.8 $(DESTDIR)@mandir@/man/man8 -+ install -d $(DESTDIR)@mandir@/man5 -+ install -d $(DESTDIR)@mandir@/man8 -+ install -m 644 ../doc/man/man5/keepalived.conf.5 $(DESTDIR)@mandir@/man5 -+ install -m 644 ../doc/man/man8/keepalived.8 $(DESTDIR)@mandir@/man8 diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/patches/01_fix-genhash-manpagepath.patch /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/patches/01_fix-genhash-manpagepath.patch --- /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/patches/01_fix-genhash-manpagepath.patch 2008-01-02 21:13:30.000000000 +0100 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/patches/01_fix-genhash-manpagepath.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,13 +0,0 @@ ---- /tmp/keepalived-1.1.11/genhash/Makefile.in 2005-03-01 00:31:17.000000000 +0100 -+++ genhash/Makefile.in 2005-03-02 21:37:30.461562928 +0100 -@@ -44,8 +44,8 @@ - install: - install -d $(DESTDIR)$(bindir) - install -m 755 $(BIN)/$(EXEC) $(DESTDIR)$(bindir)/ -- install -d $(DESTDIR)@mandir@/man/man1 -- install -m 644 ../doc/man/man1/genhash.1 $(DESTDIR)@mandir@/man/man1 -+ install -d $(DESTDIR)@mandir@/man1 -+ install -m 644 ../doc/man/man1/genhash.1 $(DESTDIR)@mandir@/man1 - - mrproper: clean distclean - rm -f config.* diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/patches/99_linux_2.6_compat.patch /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/patches/99_linux_2.6_compat.patch --- /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/patches/99_linux_2.6_compat.patch 2008-01-02 21:13:30.000000000 +0100 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/patches/99_linux_2.6_compat.patch 2008-01-02 21:13:30.000000000 +0100 @@ -1,12 +1,13 @@ ---- keepalived-1.1.12.orig/keepalived/vrrp/vrrp_arp.c -+++ keepalived-1.1.12/keepalived/vrrp/vrrp_arp.c -@@ -22,6 +22,9 @@ - * Copyright (C) 2001-2006 Alexandre Cassen, - */ - -+/* Work around incompatibility between linux/types.h and sys/types.h */ -+#define __KERNEL_STRICT_NAMES -+ - /* system includes */ - #include - +diff -Nur keepalived-1.1.15/keepalived/vrrp/vrrp_arp.c keepalived-1.1.15.new/keepalived/vrrp/vrrp_arp.c +--- keepalived-1.1.15/keepalived/vrrp/vrrp_arp.c 2007-09-14 17:20:47.000000000 +0200 ++++ keepalived-1.1.15.new/keepalived/vrrp/vrrp_arp.c 2007-12-18 19:06:42.000000000 +0100 +@@ -22,6 +22,9 @@ + * Copyright (C) 2001-2007 Alexandre Cassen, + */ + ++/* Work around incompatibility between linux/types.h and sys/types.h */ ++#define __KERNEL_STRICT_NAMES ++ + /* local includes */ + #include "vrrp_arp.h" + #include "memory.h" diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/rules /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/rules --- /tmp/uUQpUd4uAg/keepalived-1.1.13/debian/rules 2008-01-02 21:13:30.000000000 +0100 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/debian/rules 2008-01-02 21:13:30.000000000 +0100 @@ -13,6 +13,8 @@ rm -rf $(DEB_DESTDIR)/etc/keepalived/samples rm -rf $(DEB_DESTDIR)/etc/keepalived/keepalived.conf rm -rf $(DEB_DESTDIR)/etc/init.d/keepalived.init + rm -rf $(DEB_DESTDIR)/etc/rc.d + rm -rf $(DEB_DESTDIR)/etc/sysconfig rm -rf $(DEB_DESTDIR)/usr/man clean:: diff -Nru /tmp/uUQpUd4uAg/keepalived-1.1.13/doc/keepalived.conf.SYNOPSIS /tmp/qZRLuX1bC7/keepalived-1.1.15/doc/keepalived.conf.SYNOPSIS --- /tmp/uUQpUd4uAg/keepalived-1.1.13/doc/keepalived.conf.SYNOPSIS 2006-10-10 15:22:04.000000000 +0200 +++ /tmp/qZRLuX1bC7/keepalived-1.1.15/doc/keepalived.conf.SYNOPSIS 2007-09-14 17:57:37.000000000 +0200 @@ -165,8 +165,8 @@ auth_pass # Password string } virtual_ipaddress { # VRRP IP addres block - / brd dev scope - / brd dev scope + / brd dev scope label