rpms/mysql/devel .cvsignore, 1.38, 1.39 mysql-plugin-bug.patch, 1.6, 1.7 mysql.init, 1.24, 1.25 mysql.spec, 1.120, 1.121 sources, 1.38, 1.39

Tom Lane tgl at fedoraproject.org
Sun Jun 7 00:50:06 UTC 2009


Author: tgl

Update of /cvs/pkgs/rpms/mysql/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30191

Modified Files:
	.cvsignore mysql-plugin-bug.patch mysql.init mysql.spec 
	sources 
Log Message:
Update to MySQL 5.1.35.  Fix SELinux context when recreating /var/lib/mysql/.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/.cvsignore,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- .cvsignore	16 May 2009 02:38:15 -0000	1.38
+++ .cvsignore	7 Jun 2009 00:50:05 -0000	1.39
@@ -1 +1 @@
-mysql-5.1.34.tar.gz
+mysql-5.1.35.tar.gz

mysql-plugin-bug.patch:

Index: mysql-plugin-bug.patch
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql-plugin-bug.patch,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- mysql-plugin-bug.patch	16 May 2009 02:38:15 -0000	1.6
+++ mysql-plugin-bug.patch	7 Jun 2009 00:50:05 -0000	1.7
@@ -7,11 +7,11 @@ http://bugs.mysql.com/bug.php?id=42144
 For the moment, just disable this test.
 
 
-diff -Naur mysql-5.1.34.orig/mysql-test/t/disabled.def mysql-5.1.34/mysql-test/t/disabled.def
---- mysql-5.1.34.orig/mysql-test/t/disabled.def	2009-03-31 11:26:07.000000000 -0400
-+++ mysql-5.1.34/mysql-test/t/disabled.def	2009-05-15 20:02:24.000000000 -0400
-@@ -13,3 +13,5 @@
- innodb_bug39438          : BUG#42383 2009-01-28 lsoares "This fails in embedded and on windows.  Note that this test is not run on windows and on embedded in PB for main trees currently"
+diff -Naur mysql-5.1.35.orig/mysql-test/t/disabled.def mysql-5.1.35/mysql-test/t/disabled.def
+--- mysql-5.1.35.orig/mysql-test/t/disabled.def	2009-05-14 08:22:26.000000000 -0400
++++ mysql-5.1.35/mysql-test/t/disabled.def	2009-06-06 18:58:28.000000000 -0400
+@@ -15,3 +15,5 @@
+ 
  #concurrent_innodb_safelog: disabled for embedded server due to bug#43733 Select on processlist let the embedded server crash (concurrent_innodb_safelog).
  #concurrent_innodb_unsafelog: disabled for embedded server due to bug#43733.
 +#


Index: mysql.init
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql.init,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -r1.24 -r1.25
--- mysql.init	16 May 2009 02:38:15 -0000	1.24
+++ mysql.init	7 Jun 2009 00:50:05 -0000	1.25
@@ -46,6 +46,15 @@ start(){
 	chmod 0640 "$errlogfile"
 	[ -x /sbin/restorecon ] && /sbin/restorecon "$errlogfile"
 	if [ ! -d "$datadir/mysql" ] ; then
+	    # First, make sure $datadir is there with correct permissions
+	    if [ ! -e "$datadir" -a ! -h "$datadir" ]
+	    then
+		mkdir -p "$datadir" || exit 1
+	    fi
+	    chown mysql:mysql "$datadir"
+	    chmod 0755 "$datadir"
+	    [ -x /sbin/restorecon ] && /sbin/restorecon "$datadir"
+	    # Now create the database
 	    action $"Initializing MySQL database: " /usr/bin/mysql_install_db --datadir="$datadir" --user=mysql
 	    ret=$?
 	    chown -R mysql:mysql "$datadir"


Index: mysql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/mysql.spec,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -p -r1.120 -r1.121
--- mysql.spec	16 May 2009 02:40:09 -0000	1.120
+++ mysql.spec	7 Jun 2009 00:50:05 -0000	1.121
@@ -1,5 +1,5 @@
 Name: mysql
-Version: 5.1.34
+Version: 5.1.35
 Release: 1%{?dist}
 Summary: MySQL client programs and shared libraries
 Group: Applications/Databases
@@ -639,6 +639,12 @@ fi
 %{_mandir}/man1/mysql_client_test.1*
 
 %changelog
+* Sat Jun  6 2009 Tom Lane <tgl at redhat.com> 5.1.35-1
+- Update to MySQL 5.1.35, for various fixes described at
+  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html
+- Ensure that /var/lib/mysql is created with the right SELinux context
+Resolves: #502966
+
 * Fri May 15 2009 Tom Lane <tgl at redhat.com> 5.1.34-1
 - Update to MySQL 5.1.34, for various fixes described at
   http://dev.mysql.com/doc/refman/5.1/en/news-5-1-34.html


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mysql/devel/sources,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- sources	16 May 2009 02:38:15 -0000	1.38
+++ sources	7 Jun 2009 00:50:06 -0000	1.39
@@ -1 +1 @@
-42493187729677cf8f77faeeebd5b3c2  mysql-5.1.34.tar.gz
+327bffc7a2a5fd4471fbbaab125275cd  mysql-5.1.35.tar.gz




More information about the fedora-extras-commits mailing list