rpms/keepalived/F-11 keepalived-1.1.19-fix-ipvs-loading.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 keepalived.init, 1.4, 1.5 keepalived.spec, 1.15, 1.16 sources, 1.6, 1.7

Matthias Saou thias at fedoraproject.org
Tue Dec 8 15:46:55 UTC 2009


Author: thias

Update of /cvs/extras/rpms/keepalived/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14527/F-11

Modified Files:
	.cvsignore keepalived.init keepalived.spec sources 
Added Files:
	keepalived-1.1.19-fix-ipvs-loading.patch 
Log Message:
Fix init script priority and update to 1.1.19 with the modprobe fix on F-12 and F-11.


keepalived-1.1.19-fix-ipvs-loading.patch:
 ipvswrapper.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE keepalived-1.1.19-fix-ipvs-loading.patch ---
diff -Naupr keepalived-1.1.19.orig/keepalived/check/ipvswrapper.c keepalived-1.1.19/keepalived/check/ipvswrapper.c
--- keepalived-1.1.19.orig/keepalived/check/ipvswrapper.c	2009-09-28 13:03:40.000000000 +0200
+++ keepalived-1.1.19/keepalived/check/ipvswrapper.c	2009-11-24 22:41:56.220195007 +0100
@@ -789,7 +789,7 @@ string_to_number(const char *s, int min,
 static int
 modprobe_ipvs(void)
 {
-	char *argv[] = { "/sbin/modprobe", "-s", "-k", "--", "ip_vs", NULL };
+	char *argv[] = { "/sbin/modprobe", "-s", "--", "ip_vs", NULL };
 	int child;
 	int status;
 	int rc;


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/keepalived/F-11/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- .cvsignore	12 Apr 2009 17:07:57 -0000	1.5
+++ .cvsignore	8 Dec 2009 15:46:54 -0000	1.6
@@ -1 +1 @@
-keepalived-1.1.17.tar.gz
+keepalived-1.1.19.tar.gz


Index: keepalived.init
===================================================================
RCS file: /cvs/extras/rpms/keepalived/F-11/keepalived.init,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- keepalived.init	12 Apr 2009 17:07:57 -0000	1.4
+++ keepalived.init	8 Dec 2009 15:46:54 -0000	1.5
@@ -2,7 +2,7 @@
 #
 # keepalived   High Availability monitor built upon LVS and VRRP
 #
-# chkconfig:   - 21 79
+# chkconfig:   - 86 14
 # description: Robust keepalive facility to the Linux Virtual Server project \
 #              with multilayer TCP/IP stack checks.
 
@@ -10,8 +10,8 @@
 # Provides: keepalived
 # Required-Start: $local_fs $network $named $syslog
 # Required-Stop: $local_fs $network $named $syslog
-# Should-Start: httpd
-# Should-Stop:  httpd
+# Should-Start: smtpdaemon httpd
+# Should-Stop: smtpdaemon httpd
 # Default-Start: 
 # Default-Stop: 0 1 2 3 4 5 6
 # Short-Description: High Availability monitor built upon LVS and VRRP


Index: keepalived.spec
===================================================================
RCS file: /cvs/extras/rpms/keepalived/F-11/keepalived.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- keepalived.spec	12 Apr 2009 17:07:57 -0000	1.15
+++ keepalived.spec	8 Dec 2009 15:46:54 -0000	1.16
@@ -1,16 +1,14 @@
-# Ugly, but we need headers from a kernel to rebuild against
-%define kernel %(rpm -q kernel-devel --qf '%{RPMTAG_VERSION}-%{RPMTAG_RELEASE}\\n' 2>/dev/null | head -1)
-
 Summary: HA monitor built upon LVS, VRRP and service pollers
 Name: keepalived
-Version: 1.1.17
-Release: 1%{?dist}
+Version: 1.1.19
+Release: 3%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: http://www.keepalived.org/
 Source0: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
 Source1: keepalived.init
 Patch0: keepalived-1.1.14-installmodes.patch
+Patch1: keepalived-1.1.19-fix-ipvs-loading.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires(post): /sbin/chkconfig
 Requires(preun): /sbin/service, /sbin/chkconfig
@@ -39,6 +37,7 @@ healthchecks and LVS directors failover.
 %prep
 %setup -q
 %patch0 -p1 -b .installmodes
+%patch1 -p1 -b .fix-ipvs-loading
 # Fix file mode (600 as of 1.1.13, still as of 1.1.17)
 %{__chmod} a+r doc/samples/sample.misccheck.smbcheck.sh
 # Included as doc, so disable its dependencies
@@ -46,8 +45,8 @@ healthchecks and LVS directors failover.
 
 
 %build
-# Get the first available kernel build dir for our version, expanding arch
-KERNELDIR=$(ls -1d /lib/modules/%{kernel}*/build | head -1)
+# Get the most recent available kernel build dir, allows to expand arch too
+KERNELDIR=$(ls -1d --sort t /lib/modules/*/build | head -1)
 %configure --with-kernel-dir="${KERNELDIR}"
 %{__make} %{?_smp_mflags} STRIP=/bin/true
 
@@ -106,6 +105,22 @@ fi
 
 
 %changelog
+* Tue Dec  8 2009 Matthias Saou <http://freshrpms.net/> 1.1.19-3
+- Update init script to have keepalived start after the local MTA (#526512).
+- Simplify the kernel source detection, to avoid running rpm from rpmbuild.
+
+* Tue Nov 24 2009 Matthias Saou <http://freshrpms.net/> 1.1.19-2
+- Include patch to remove obsolete -k option to modprobe (#528465).
+
+* Wed Oct 21 2009 Matthias Saou <http://freshrpms.net/> 1.1.19-1
+- Update to 1.1.19.
+
+* Fri Aug 21 2009 Tomas Mraz <tmraz at redhat.com> - 1.1.17-3
+- rebuilt with new openssl
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.17-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
 * Sun Apr 12 2009 Matthias Saou <http://freshrpms.net/> 1.1.17-1
 - Update to 1.1.17.
 - Update init script all the way.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/keepalived/F-11/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources	12 Apr 2009 17:07:57 -0000	1.6
+++ sources	8 Dec 2009 15:46:54 -0000	1.7
@@ -1 +1 @@
-324ef61a9eed389679f0a05edd1d1323  keepalived-1.1.17.tar.gz
+a35b8d9d462810f7650d292bd7457523  keepalived-1.1.19.tar.gz




More information about the fedora-extras-commits mailing list