Update to 1.2.14

This commit is contained in:
Ryan O'Hara 2014-12-16 13:46:20 -06:00
parent a518763960
commit 3c0be38db8
4 changed files with 35 additions and 3 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/keepalived-1.2.11.tar.gz
/keepalived-1.2.12.tar.gz
/keepalived-1.2.13.tar.gz
/keepalived-1.2.14.tar.gz

View File

@ -0,0 +1,25 @@
From 03451c7f5be641d89c63dec8ee07ab4f9e275ebb Mon Sep 17 00:00:00 2001
From: Ryan O'Hara <rohara@redhat.com>
Date: Tue, 16 Dec 2014 13:25:55 -0600
Subject: [PATCH] Fix format of long int in log_message call
---
keepalived/vrrp/vrrp_snmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/keepalived/vrrp/vrrp_snmp.c b/keepalived/vrrp/vrrp_snmp.c
index 6df7795..ef8ef97 100644
--- a/keepalived/vrrp/vrrp_snmp.c
+++ b/keepalived/vrrp/vrrp_snmp.c
@@ -541,7 +541,7 @@ vrrp_snmp_instance_priority(int action,
/* Commit: change values. There is no way to fail. */
log_message(LOG_INFO,
"VRRP_Instance(%s) base priority changed from"
- " %d to %d via SNMP.",
+ " %d to %ld via SNMP.",
vrrp->iname, vrrp->base_priority, (long)(*var_val));
vrrp->base_priority = (long)(*var_val);
/* If we the instance is not part of a sync group, the
--
1.9.3

View File

@ -8,8 +8,8 @@
Name: keepalived
Summary: High Availability monitor built upon LVS, VRRP and service pollers
Version: 1.2.13
Release: 4%{?dist}
Version: 1.2.14
Release: 1%{?dist}
License: GPLv2+
URL: http://www.keepalived.org/
Group: System Environment/Daemons
@ -17,6 +17,8 @@ Group: System Environment/Daemons
Source0: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
Source1: keepalived.service
Patch1: 0001-Fix-format-of-long-int.patch
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
@ -47,6 +49,7 @@ infrastructures.
%prep
%setup -q
%patch1 -p1
%build
%configure \
@ -101,6 +104,9 @@ rm -rf %{buildroot}
%{_mandir}/man8/keepalived.8*
%changelog
* Tue Dec 16 2014 Ryan O'Hara <rohara@redhat.com> - 1.2.14-1
- Update to 1.2.14
* Tue Oct 28 2014 Ryan O'Hara <rohara@redhat.com> - 1.2.13-4
- Create /usr/libexec/keepalived directory (#1158113)

View File

@ -1 +1 @@
5f5c038139c55b5af54deefbcce64e33 keepalived-1.2.13.tar.gz
ef945274de599107d5b9f60bf5a0cc2d keepalived-1.2.14.tar.gz