rpms/memcached/F-7 memcached-1.2.3-save_pid_fix.patch, NONE, 1.1 memcached.spec, 1.1, 1.2 memcached.sysv, 1.1, 1.2
Paul Lindner (plindner)
fedora-extras-commits at redhat.com
Mon Aug 6 15:33:15 UTC 2007
- Previous message (by thread): rpms/gdm/devel gdm-2.19.5-dont-warp-pointer-to-stylus.patch, 1.1, 1.2 gdm.spec, 1.265, 1.266
- Next message (by thread): rpms/xsupplicant/devel xsupplicant-1.2.8-iwlibfix.patch, NONE, 1.1 xsupplicant-1.2.2-docsfix.patch, 1.2, 1.3 xsupplicant.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: plindner
Update of /cvs/pkgs/rpms/memcached/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31545
Modified Files:
memcached.spec memcached.sysv
Added Files:
memcached-1.2.3-save_pid_fix.patch
Log Message:
fixes for crash on x86_64 and startup script problems, patch properly
memcached-1.2.3-save_pid_fix.patch:
--- NEW FILE memcached-1.2.3-save_pid_fix.patch ---
--- memcached-1.2.3/memcached.c.save_pid_fix 2007-08-06 07:12:55.000000000 -0700
+++ memcached-1.2.3/memcached.c 2007-08-06 07:13:44.000000000 -0700
@@ -2723,11 +2723,12 @@ int main (int argc, char **argv) {
fprintf(stderr, "failed to create listening connection");
exit(EXIT_FAILURE);
}
- /* save the PID in if we're a daemon */
- if (daemonize)
- save_pid(getpid(), pid_file);
/* start up worker threads if MT mode */
thread_init(settings.num_threads, main_base);
+ /* save the PID in if we're a daemon, do this after thread_init due to
+ a file descriptor handling bug somewhere in libevent */
+ if (daemonize)
+ save_pid(getpid(), pid_file);
/* initialise clock event */
clock_handler(0, 0, 0);
/* initialise deletion array and timer event */
Index: memcached.spec
===================================================================
RCS file: /cvs/pkgs/rpms/memcached/F-7/memcached.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- memcached.spec 16 Jul 2007 17:41:01 -0000 1.1
+++ memcached.spec 6 Aug 2007 15:32:43 -0000 1.2
@@ -1,6 +1,6 @@
Name: memcached
Version: 1.2.3
-Release: 4%{?dist}
+Release: 7%{?dist}
Summary: High Performance, Distributed Memory Object Cache
Group: System Environment/Daemons
@@ -11,6 +11,9 @@
# custom init script
Source1: memcached.sysv
+# Fixes
+Patch1: memcached-1.2.3-save_pid_fix.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libevent-devel
@@ -27,6 +30,8 @@
%prep
%setup -q
+%patch1 -p1
+
%build
@@ -100,6 +105,10 @@
%changelog
+* Mon Aug 6 2007 Paul Lindner <lindner at inuus.com> - 1.2.3-7
+- Fix problem with -P and -d flag combo on x86_64
+- Fix init script for FC-6
+
* Fri Jul 13 2007 Paul Lindner <lindner at inuus.com> - 1.2.3-4
- Remove test that fails in fedora build system on ppc64
Index: memcached.sysv
===================================================================
RCS file: /cvs/pkgs/rpms/memcached/F-7/memcached.sysv,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- memcached.sysv 16 Jul 2007 17:41:01 -0000 1.1
+++ memcached.sysv 6 Aug 2007 15:32:43 -0000 1.2
@@ -6,7 +6,7 @@
# config: /etc/sysconfig/memcached
# Standard LSB functions
-. /lib/lsb/init-functions
+#. /lib/lsb/init-functions
# Source function library.
. /etc/init.d/functions
- Previous message (by thread): rpms/gdm/devel gdm-2.19.5-dont-warp-pointer-to-stylus.patch, 1.1, 1.2 gdm.spec, 1.265, 1.266
- Next message (by thread): rpms/xsupplicant/devel xsupplicant-1.2.8-iwlibfix.patch, NONE, 1.1 xsupplicant-1.2.2-docsfix.patch, 1.2, 1.3 xsupplicant.spec, 1.25, 1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list