Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Jon Ciesla
3080009b6d Fix for crash. 2012-10-25 09:34:21 -05:00
2 changed files with 16 additions and 1 deletions

10
ucarp-1.5.2-sighup.patch Normal file
View file

@ -0,0 +1,10 @@
--- src/carp.c~ 2010-01-31 15:59:12.000000000 -0600
+++ src/carp.c 2012-10-25 09:25:54.949976635 -0500
@@ -762,6 +762,7 @@
if (shutdown_at_exit != 0) {
(void) signal(SIGINT, sighandler_exit);
+ (void) signal(SIGHUP, sighandler_exit);
(void) signal(SIGQUIT, sighandler_exit);
(void) signal(SIGTERM, sighandler_exit);
}

View file

@ -1,7 +1,7 @@
Summary: Common Address Redundancy Protocol (CARP) for Unix
Name: ucarp
Version: 1.5.2
Release: 3%{?dist}
Release: 3.1%{?dist}
# See the COPYING file which details everything
License: MIT and BSD
Group: System Environment/Daemons
@ -13,6 +13,7 @@ Source3: vip-common.conf
Source4: vip-up
Source5: vip-down
#Source6: vip-helper.sh
Patch0: ucarp-1.5.2-sighup.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
@ -34,6 +35,7 @@ need for any dedicated extra network link between redundant hosts.
%prep
%setup -q
%patch0 -p0
%build
%configure
@ -98,6 +100,9 @@ fi
%{_sbindir}/ucarp
%changelog
* Thu Oct 25 2012 Jon Ciesla <limburgher@gmail.com> - 1.5.2-3.1
- Patch for crash.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild