Update to 1.2.14
This commit is contained in:
parent
a518763960
commit
3c0be38db8
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
25
0001-Fix-format-of-long-int.patch
Normal file
25
0001-Fix-format-of-long-int.patch
Normal 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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user