parent
df3cc3436a
commit
37e0e4f2d5
32
bz1968596-fix-build-errors.patch
Normal file
32
bz1968596-fix-build-errors.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From d9c99ffe43d9848579a472c7c5ec5515e6599cb9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ryan O'Hara <rohara@redhat.com>
|
||||||
|
Date: Mon, 7 Jun 2021 16:58:23 -0500
|
||||||
|
Subject: [PATCH] Fix build errors
|
||||||
|
|
||||||
|
---
|
||||||
|
keepalived/core/layer4.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/keepalived/core/layer4.c b/keepalived/core/layer4.c
|
||||||
|
index d2cc971a..fdca0491 100644
|
||||||
|
--- a/keepalived/core/layer4.c
|
||||||
|
+++ b/keepalived/core/layer4.c
|
||||||
|
@@ -27,13 +27,14 @@
|
||||||
|
#include <errno.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
+#include <netinet/in.h>
|
||||||
|
+#include <net/if.h>
|
||||||
|
#include <linux/icmp.h>
|
||||||
|
#include <linux/icmpv6.h>
|
||||||
|
#ifdef ERRQUEUE_NEEDS_SYS_TIME
|
||||||
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
#include <linux/errqueue.h>
|
||||||
|
-#include <netinet/in.h>
|
||||||
|
|
||||||
|
#include "layer4.h"
|
||||||
|
#include "logger.h"
|
||||||
|
--
|
||||||
|
2.31.1
|
||||||
|
|
@ -10,13 +10,15 @@
|
|||||||
Name: keepalived
|
Name: keepalived
|
||||||
Summary: High Availability monitor built upon LVS, VRRP and service pollers
|
Summary: High Availability monitor built upon LVS, VRRP and service pollers
|
||||||
Version: 2.2.2
|
Version: 2.2.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.keepalived.org/
|
URL: http://www.keepalived.org/
|
||||||
|
|
||||||
Source0: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
|
Source0: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
|
||||||
Source1: keepalived.service
|
Source1: keepalived.service
|
||||||
|
|
||||||
|
Patch1: bz1968596-fix-build-errors.patch
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
@ -55,6 +57,7 @@ infrastructures.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -104,6 +107,9 @@ mkdir -p %{buildroot}%{_libexecdir}/keepalived
|
|||||||
%{_mandir}/man8/keepalived.8*
|
%{_mandir}/man8/keepalived.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 08 2021 Ryan O'Hara <rohara@redhat.com> - 2.2.2-2
|
||||||
|
- Fix build errors (#1968596)
|
||||||
|
|
||||||
* Mon Jun 07 2021 Ryan O'Hara <rohara@redhat.com> - 2.2.2-1
|
* Mon Jun 07 2021 Ryan O'Hara <rohara@redhat.com> - 2.2.2-1
|
||||||
- Update to 2.2.2 (#1968596)
|
- Update to 2.2.2 (#1968596)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user