commit mysql-community-server for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2017-05-20 10:14:41

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Sat May 20 10:14:41 2017 rev:63 rq:496838 version:5.6.36

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2017-04-28 09:13:41.558788445 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2017-05-20 10:14:43.450889403 +0200
@@ -1,0 +2,9 @@
+Thu May 18 13:39:17 UTC 2017 - kstreit...@suse.com
+
+- fix permissions for /var/run/mysql that were wrongly set to
+  700 instead of 755 due to added umask. This prevented non-root
+  from connecting to the database [bsc#1038740]
+- switch from '/var/run' to '/run' as /var/run is just a symlink
+  to /run
+
+---



Other differences:
--
++ README.SUSE ++
--- /var/tmp/diff_new_pack.OXBjLn/_old  2017-05-20 10:15:21.029579927 +0200
+++ /var/tmp/diff_new_pack.OXBjLn/_new  2017-05-20 10:15:21.033579362 +0200
@@ -35,7 +35,7 @@
 
 File locations changes:
  - MySQL socket file and pid file were moved from /var/lib/mysql to more
-   reasonable location ( /var/run/mysql ) by default.
+   reasonable location ( /run/mysql ) by default.
  - MySQL log files are in /var/log/mysql.
 
 3) BerkeleyDB:

++ configuration-tweaks.tar.xz ++

++ my.ini ++
--- /var/tmp/diff_new_pack.OXBjLn/_old  2017-05-20 10:15:21.181558454 +0200
+++ /var/tmp/diff_new_pack.OXBjLn/_new  2017-05-20 10:15:21.185557889 +0200
@@ -9,7 +9,7 @@
 # of the '~/.my.cnf' configuration file with an access mode set to 400 or 600.
 # password   = your_password
 # port   = 3306
-# socket = /var/run/mysql/mysql.sock
+# socket = /run/mysql/mysql.sock
 
 [mysqld]
 
@@ -41,7 +41,7 @@
 
 # These are commonly set, remove the # and set as required.
 # port = 3306
-# socket = /var/run/mysql/mysql.sock
+# socket = /run/mysql/mysql.sock
 
 # Don't listen on a TCP/IP port at all. This can be a security enhancement,
 # if all processes that need to connect to mysqld run on the same host.

++ mysql-patches.tar.xz ++

++ mysql-systemd-helper ++
--- /var/tmp/diff_new_pack.OXBjLn/_old  2017-05-20 10:15:21.281544328 +0200
+++ /var/tmp/diff_new_pack.OXBjLn/_new  2017-05-20 10:15:21.281544328 +0200
@@ -12,10 +12,10 @@
mysql_daemon_group=mysql
if [[ -z "$INSTANCE" ]]; then
datadir=/var/lib/mysql
-   socket="/var/run/mysql/mysql.sock"
+   socket="/run/mysql/mysql.sock"
else
datadir="/var/lib/mysql-$INSTANCE"
-   socket="/var/run/mysql/mysql.${INSTANCE}.sock"
+   socket="/run/mysql/mysql.${INSTANCE}.sock"
fi
 
# Read options - important for multi setup
@@ -75,7 +75,7 @@
echo "Trying to run upgrade of MySQL databases..."
 
# Check whether upgrade process is not already running
-   protected="$(cat "/var/run/mysql/protecteddir.$INSTANCE" 2> 
/dev/null)"
+   protected="$(cat "/run/mysql/protecteddir.$INSTANCE" 2> 
/dev/null)"
if [[ -n "$protected" && -d "$protected" ]]; then
pid="$(cat "$protected/mysqld.pid" 2> /dev/null)"
if [[ "$pid" && -d "/proc/$pid" ]] &&
@@ -84,10 +84,10 @@
else
echo "Stale files from previous upgrade 
detected, cleaned them up"
rm -rf "$protected"
-   rm -f "/var/run/mysql/protecteddir.$INSTANCE"
+   rm -f "/run/mysql/protecteddir.$INSTANCE"
fi
fi
-   protected="$(mktemp -d -p /var/tmp mysql-protected.XX | tee 
"/var/run/mysql/protecteddir.$INSTANCE")"
+   protected="$(mktemp -d -p /var/tmp mysql-protected.XX | tee 
"/run/mysql/protecteddir.$INSTANCE")"
[ -n "$protected" ] || die "Can't create a tmp dir '$protected'"
 
# Create a secure tmp dir
@@ -134,7 +134,7 @@
# Cleanup
echo "Final cleanup"
if [[ -z "$up_ok" ]]; then
-   rm -rf "$protected" 
"/var/run/mysql/protecteddir.$INSTANCE"
+   rm -rf "$protected" "/run/mysql/protecteddir.$INSTANCE"
else 
die "Something failed during upgrade, please check logs"
fi
@@ -172,8 +172,10 @@
 
 

commit mysql-community-server for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2017-04-28 09:13:25

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Fri Apr 28 09:13:25 2017 rev:62 rq:490957 version:5.6.36

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2017-02-13 07:49:00.139246614 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2017-04-28 09:13:41.558788445 +0200
@@ -1,0 +2,29 @@
+Mon Apr 24 14:00:45 UTC 2017 - kstreit...@suse.com
+
+- update to 5.6.36
+  * changes
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-36.html
+  * fixed CVEs:
+CVE-2017-3308, CVE-2017-3309, CVE-2017-3450, CVE-2017-3599, 
+CVE-2017-3329, CVE-2017-3600, CVE-2017-3453, CVE-2017-3452, 
+CVE-2017-3302, CVE-2017-3456, CVE-2017-3463, CVE-2017-3462,
+CVE-2017-3461, CVE-2017-3464
+CVE-2017-3305 [bsc#1029396] - Riddle vulnerability
+CVE-2016-5483 [bsc#1029014] - mysqldump failed to properly
+  quote certain identifiers in SQL statements written to the
+  dump output
+* remove mysql-community-server-5.6.26-enforce_ssl.patch that
+  is no longer needed
+  * upstream fixed BACKRONYM issue (bsc#924663, CVE-2015-3152) 
+  * '--ssl-mode=REQUIRED' can be specified to require a secure
+connection (it fails if a secure connection cannot be
+obtained) 
+- change permissions of the configuration dir/files to 755/644.
+  Please note that storing the password in the /etc/my.cnf file is
+  not safe. Use for example an option file that is accessible only
+  by yourself [bsc#889126]
+- increase required physical memory from 5 GB to 7 GB in order to
+  try to fix i586 build that fails because of "Out of memory" error
+- set the default umask to 077 in mysql-systemd-helper [bsc#1020976]
+
+---

Old:

  mysql-5.6.35.tar.gz

New:

  mysql-5.6.36.tar.gz



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.g3vl4V/_old  2017-04-28 09:13:44.090431443 +0200
+++ /var/tmp/diff_new_pack.g3vl4V/_new  2017-04-28 09:13:44.090431443 +0200
@@ -43,7 +43,7 @@
 %define with_cassandra 0
 %endif
 Name:   mysql-community-server
-Version:5.6.35
+Version:5.6.36
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -561,7 +561,7 @@
install -m 644 "${i}" "${DOCDIR}" || true
 done
 # Default configuration file
-install -m 660 %{SOURCE14} %{buildroot}%{_sysconfdir}/my.cnf
+install -m 664 %{SOURCE14} %{buildroot}%{_sysconfdir}/my.cnf
 
 # Systemd/initscript
 install -D -m 755 %{_sourcedir}/mysql-systemd-helper 
'%{buildroot}'%{_libexecdir}/mysql/mysql-systemd-helper
@@ -761,9 +761,9 @@
 
 %files -f mysql.files
 %defattr(-, root, root)
-%config(noreplace) %attr(0640, root, mysql) %{_sysconfdir}/my.cnf
-%dir %attr(0750, root, mysql) %{_sysconfdir}/my.cnf.d
-%config(noreplace) %attr(0640, root, mysql) %{_sysconfdir}/my.cnf.d/*
+%config(noreplace) %attr(0644, root, mysql) %{_sysconfdir}/my.cnf
+%dir %attr(0755, root, mysql) %{_sysconfdir}/my.cnf.d
+%config(noreplace) %attr(0644, root, mysql) %{_sysconfdir}/my.cnf.d/*
 %config %{_sysconfdir}/logrotate.d/%{name}
 %doc %{_defaultdocdir}/%{name}
 %dir %{_libexecdir}/mysql

++ _constraints ++
--- /var/tmp/diff_new_pack.g3vl4V/_old  2017-04-28 09:13:44.218413396 +0200
+++ /var/tmp/diff_new_pack.g3vl4V/_new  2017-04-28 09:13:44.218413396 +0200
@@ -7,7 +7,7 @@
 
 
   
-5000
+7000
   
 
   

++ configuration-tweaks.tar.xz ++

++ my.ini ++
--- /var/tmp/diff_new_pack.g3vl4V/_old  2017-04-28 09:13:44.318399296 +0200
+++ /var/tmp/diff_new_pack.g3vl4V/_new  2017-04-28 09:13:44.318399296 +0200
@@ -2,9 +2,12 @@
 # It is based on upstream defaults with some additional examples.
 
 
-# The following options will be passed to all MariaDB clients
+# The following options will be passed to all MySQL/MariaDB clients
 [client]
-# password  = your_password
+# Please note that storing the password in this file is not safe. For this
+# purpose you can, for example, list your password in the [client] section
+# of the '~/.my.cnf' configuration file with an access mode set to 400 or 600.
+# password   = your_password
 # port   = 3306
 # socket = /var/run/mysql/mysql.sock
 

++ mysql-5.6.35.tar.gz -> mysql-5.6.36.tar.gz ++
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-5.6.35.tar.gz 

commit mysql-community-server for openSUSE:Factory

2017-02-12 Thread root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2017-02-13 07:48:58

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2016-10-31 09:56:16.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2017-02-13 07:49:00.139246614 +0100
@@ -1,0 +2,23 @@
+Fri Feb  3 18:32:42 UTC 2017 - kstreit...@suse.com
+
+- update to 5.6.35
+  * changes
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-35.html
+  * fixed CVEs:
+CVE-2016-8318 [bsc#1020872], CVE-2017-3312 [bsc#1020873],
+CVE-2017-3258 [bsc#1020875], CVE-2017-3273 [bsc#1020876],
+CVE-2017-3244 [bsc#1020877], CVE-2017-3257 [bsc#1020878],
+CVE-2017-3238 [bsc#1020882], CVE-2017-3291 [bsc#1020884],
+CVE-2017-3265 [bsc#1020885], CVE-2017-3313 [bsc#1020890],
+CVE-2016-8327 [bsc#1020893], CVE-2017-3317 [bsc#1020894],
+CVE-2017-3318 [bsc#1020896]
+- refresh mysql-community-server-5.6.10-group.patch  
+- replace systemd and systemd-devel BuildRequires with
+  pkgconfig(libsystemd), which matches what the build system is
+  actually looking for.  
+- switch to xz compression instead of bz2 for the following tarballs:
+  mysql-patches.tar.bz2 renamed to mysql-patches.tar.xz
+  configuration-tweaks.tar.bz2 renamed to configuration-tweaks.tar.xz
+- replace bzip2 with xz in README.debug
+
+---

Old:

  configuration-tweaks.tar.bz2
  mysql-5.6.34.tar.gz
  mysql-patches.tar.bz2

New:

  configuration-tweaks.tar.xz
  mysql-5.6.35.tar.gz
  mysql-patches.tar.xz



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.uo9Gao/_old  2017-02-13 07:49:03.538761235 +0100
+++ /var/tmp/diff_new_pack.uo9Gao/_new  2017-02-13 07:49:03.538761235 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mysql-community-server
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,7 +43,7 @@
 %define with_cassandra 0
 %endif
 Name:   mysql-community-server
-Version:5.6.34
+Version:5.6.35
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -56,9 +56,9 @@
 Source5:mysql.SuSEfirewall2
 Source7:README.install
 Source8:README.SUSE
-Source9:mysql-patches.tar.bz2
+Source9:mysql-patches.tar.xz
 Source12:   series
-Source13:   configuration-tweaks.tar.bz2
+Source13:   configuration-tweaks.tar.xz
 Source14:   my.ini
 Source15:   mysql.service
 Source16:   mysql.target
@@ -99,10 +99,8 @@
 BuildRequires:  tcpd-devel
 BuildRequires:  time
 BuildRequires:  zlib-devel
-# pkgconfig(systemd) on most versions is in systemd main pkg, remove
-# after oldest supported is Leap 43
-BuildRequires:  systemd
-BuildRequires:  systemd-devel
+# Do not ever switch away from pkgconfig(libsystemd) BuildRequires; 
systemd/systemd-devel causes build cycles
+BuildRequires:  pkgconfig(libsystemd)
 # required by rcmysql
 Requires:   %{name}-client
 Requires:   %{name}-errormessages = %{version}
@@ -505,7 +503,7 @@
 # Generate various filelists
 filelist innochecksum my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mysql_fix_privilege_tables mysql_ssl_rsa_setup 
mysql_install_db mysql_secure_installation mysql_upgrade mysqlbug mysqld 
mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow mysqlmanager mroonga 
resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump 
{m,}aria_pack {m,}aria_read_log xtstat tokuft_logprint tokuftdump >mysql.files
 
-filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor >mysql-client.files
+filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor mysqld_safe_helper >mysql-client.files
 # The dialog stuff is mariadb only
 if [ "`ls '%{buildroot}'%{_libdir}/mysql/plugin/dialog*.so 2> /dev/null`" ]; 
then
 echo '%%dir %%_libdir/mysql'   >> mysql-client.files
@@ -627,7 +625,7 @@
 # Use our configuration stuff instead of upstream one
 rm -rf '%{buildroot}'%{_sysconfdir}/my.cnf.d
 install -d -m 755 '%{buildroot}'%{_sysconfdir}/my.cnf.d
-bzip2 -cd 

commit mysql-community-server for openSUSE:Factory

2016-10-31 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2016-10-31 09:56:14

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2016-04-30 23:31:10.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2016-10-31 09:56:16.0 +0100
@@ -1,0 +2,46 @@
+Mon Oct 24 19:08:22 UTC 2016 - kstreit...@suse.com
+
+- update to 5.6.34
+  * changes
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-34.html
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-33.html
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-32.html
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-31.html
+  * fixed CVEs:
+CVE-2016-6304, CVE-2016-6662, CVE-2016-7440, CVE-2016-5584,
+CVE-2016-5617, CVE-2016-5616, CVE-2016-5626, CVE-2016-3492,
+CVE-2016-5629, CVE-2016-5507, CVE-2016-8283, CVE-2016-5609,
+CVE-2016-5612, CVE-2016-5627, CVE-2016-5630, CVE-2016-8284,
+CVE-2016-8288, CVE-2016-3477, CVE-2016-2105, CVE-2016-3486,
+CVE-2016-3501, CVE-2016-3521, CVE-2016-3615, CVE-2016-3614,
+CVE-2016-3459, CVE-2016-5439, CVE-2016-5440
+  * fix 
+[bsc#999666],  [bsc#998309],  [bsc#1005581], [bsc#1005558], 
+[bsc#1005563], [bsc#1005562], [bsc#1005566], [bsc#100], 
+[bsc#1005569], [bsc#1005557], [bsc#1005582], [bsc#1005560], 
+[bsc#1005561], [bsc#1005567], [bsc#1005570], [bsc#1005583], 
+[bsc#1005586], [bsc#989913],  [bsc#977614],  [bsc#989914], 
+[bsc#989915],  [bsc#989919],  [bsc#989922],  [bsc#989921], 
+[bsc#989911],  [bsc#989925],  [bsc#989926]
+  * refresh mysql-community-server-5.6.10-group.patch
+- requires devel packages for aio and lzo2
+- append "--ignore-db-dir=lost+found" to the mysqld options in
+  "mysql-systemd-helper" script if "lost+found" directory is found
+  in $datadir [bnc#986251]  
+- remove syslog.target from *.service files [bsc#983938]
+- add BuildRequires: systemd-devel
+- make some dependecies switchable
+- add systemd to deps to build on leap and friends  
+- replace '%{_libexecdir}/systemd/system' with %{_unitdir} macro
+- remove useless mysql@default.service [bsc#971456]
+- replace all occurrences of the string "@sysconfdir@" with "/etc" in
+  mysql-community-server-5.6.3-logrotate.patch as it wasn't expanded
+  properly [bsc#990890]
+- remove '%define _rundir' as 13.1 is out of support scope
+- run 'usermod -g mysql mysql' only if mysql user is not in mysql group.
+  Run 'usermod -s /bin/false/ mysql' only if mysql user doesn't have
+  '/bin/false' shell set.
+- re-enable mysql profiling
+- fix constraints conditions for 32bit architectures
+
+---

Old:

  mysql-5.6.30.tar.gz

New:

  mysql-5.6.34.tar.gz



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.EVIJN7/_old  2016-10-31 09:56:20.0 +0100
+++ /var/tmp/diff_new_pack.EVIJN7/_new  2016-10-31 09:56:20.0 +0100
@@ -26,14 +26,11 @@
 %define preferred 0
 %define builtin_plugins partition,csv,heap,myisam,innobase
 %define extra_provides mysql-community-server_56
-%define with_mandatory_boost 0
+%define with_mandatory_lz4 0
+%define build_readline 0
 %define build_extras 0
 # _tmpfilesdir is not defined in systemd macros up to openSUSE 13.2
 %{!?_tmpfilesdir: %global _tmpfilesdir %{_libexecdir}/tmpfiles.d }
-# Remove when 13.1 is out of support scope
-%if ! %{defined _rundir}
-%define _rundir %{_localstatedir}/run
-%endif
 %if 0%{build_extras} > 0
 %define with_jemalloc 1
 #temporarily disable OQGraph (see MDEV-9479)
@@ -46,7 +43,7 @@
 %define with_cassandra 0
 %endif
 Name:   mysql-community-server
-Version:5.6.30
+Version:5.6.34
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -102,7 +99,10 @@
 BuildRequires:  tcpd-devel
 BuildRequires:  time
 BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig(systemd)
+# pkgconfig(systemd) on most versions is in systemd main pkg, remove
+# after oldest supported is Leap 43
+BuildRequires:  systemd
+BuildRequires:  systemd-devel
 # required by rcmysql
 Requires:   %{name}-client
 Requires:   %{name}-errormessages = %{version}
@@ -129,19 +129,21 @@
 Obsoletes:  %{extra_provides}-debug-version < %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
+%if 0%{with_mandatory_lz4} > 0
+# Dependency 

commit mysql-community-server for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2016-04-30 23:31:07

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2016-02-05 00:32:10.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2016-04-30 23:31:10.0 +0200
@@ -1,0 +2,26 @@
+Mon Apr 25 12:33:26 UTC 2016 - kstreit...@suse.com
+
+- update to 5.6.30
+  * changes
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-30.html
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-29.html
+  * fixed CVEs:
+CVE-2016-0705, CVE-2016-0639, CVE-2015-3194, CVE-2016-0640,
+CVE-2016-2047, CVE-2016-0644, CVE-2016-0646, CVE-2016-0647,
+CVE-2016-0648, CVE-2016-0649, CVE-2016-0650, CVE-2016-0665,
+CVE-2016-0666, CVE-2016-0641, CVE-2016-0642, CVE-2016-0655,
+CVE-2016-0661, CVE-2016-0668, CVE-2016-0643
+  * fix [bnc#962779], [bnc#959724]
+- don't delete the log data when migration fails
+- add 'log-error' and 'secure-file-priv' configuration options
+  (added via configuration-tweaks.tar.bz2) [bsc#963810]
+  * add '/etc/my.cnf.d/error_log.conf' that specifies
+'log-error = /var/log/mysql/mysqld.log'. If no path is set, the error
+log is written to '/var/lib/mysql/$HOSTNAME.err', which is not picked
+up by logrotate.
+  * add '/etc/my.cnf.d/secure_file_priv.conf' which specifies that
+'LOAD DATA', 'SELECT ... INTO' and 'LOAD FILE()' will only work with
+files in the directory specified by 'secure-file-priv' option
+(='/var/lib/mysql-files'). 
+
+---

Old:

  mysql-5.6.28.tar.gz

New:

  mysql-5.6.30.tar.gz



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.34qi5C/_old  2016-04-30 23:31:12.0 +0200
+++ /var/tmp/diff_new_pack.34qi5C/_new  2016-04-30 23:31:12.0 +0200
@@ -36,7 +36,9 @@
 %endif
 %if 0%{build_extras} > 0
 %define with_jemalloc 1
-%define with_oqgraph 1
+#temporarily disable OQGraph (see MDEV-9479)
+#%define with_oqgraph 1
+%define with_oqgraph 0
 %define with_cassandra 1
 %else
 %define with_jemalloc 0
@@ -44,7 +46,7 @@
 %define with_cassandra 0
 %endif
 Name:   mysql-community-server
-Version:5.6.28
+Version:5.6.30
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -487,6 +489,13 @@
 
 mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process 
%{buildroot}%{_bindir}
 
+# Remove unused services for mariadb_101
+%if "%{extra_provides}" == "mariadb_101"
+rm -f %{buildroot}'%{_libexecdir}/systemd/system/mariadb.service'
+rm -f %{buildroot}'%{_libexecdir}/systemd/system/mariadb@.service'
+rm -f 
%{buildroot}'%{_libexecdir}/systemd/system/mariadb@bootstrap.service.d/use_galera_new_cluster.conf'
+%endif
+
 # Generate various filelists
 filelist innochecksum my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mysql_fix_privilege_tables mysql_ssl_rsa_setup 
mysql_install_db mysql_secure_installation mysql_upgrade mysqlbug mysqld 
mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow mysqlmanager mroonga 
resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump 
{m,}aria_pack {m,}aria_read_log xtstat tokuft_logprint tokuftdump >mysql.files
 
@@ -621,6 +630,9 @@
 # Unwanted packaged stuff
 rm -rf '%{buildroot}'%{_datadir}/mysql/{solaris,SELinux}
 
+# Create the directory specified in 'secure-file-priv' option
+mkdir -p '%{buildroot}'/var/lib/mysql-files
+
 %check
 cd build
 
@@ -768,6 +780,23 @@
 %dir %{_libdir}/mysql/plugin
 %{_libdir}/mysql/plugin/[!d]*.so
 %ghost %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}
+%dir %attr(0750, mysql, mysql) /var/lib/mysql-files
+# Pack files for mariadb_101
+%if "%{extra_provides}" == "mariadb_101"
+%{_bindir}/galera_new_cluster
+%{_bindir}/mariadb-service-convert
+%dir %{_datadir}/mysql/policy
+%dir %{_datadir}/mysql/policy/apparmor
+%{_datadir}/mysql/policy/apparmor/README
+%{_datadir}/mysql/policy/apparmor/usr.sbin.mysqld*
+%dir %{_datadir}/mysql/policy/selinux
+%{_datadir}/mysql/policy/selinux/README
+%{_datadir}/mysql/policy/selinux/mariadb-server.*
+%dir %{_datadir}/mysql/systemd
+%{_datadir}/mysql/systemd/mariadb.service
+%{_datadir}/mysql/systemd/mariadb@.service
+%{_datadir}/mysql/systemd/use_galera_new_cluster.conf
+%endif
 
 %files errormessages -f 

commit mysql-community-server for openSUSE:Factory

2016-02-04 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2016-02-05 00:32:07

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2016-01-28 17:25:57.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2016-02-05 00:32:10.0 +0100
@@ -1,0 +2,6 @@
+Tue Feb  2 13:15:46 UTC 2016 - kstreit...@suse.com
+
+- fix information leak via mysql-systemd-helper script 
+  [CVE-2015-5969], [bnc#957174] 
+
+---



Other differences:
--
++ configuration-tweaks.tar.bz2 ++

++ mysql-patches.tar.bz2 ++

++ mysql-systemd-helper ++
--- /var/tmp/diff_new_pack.6xJHiC/_old  2016-02-05 00:32:12.0 +0100
+++ /var/tmp/diff_new_pack.6xJHiC/_new  2016-02-05 00:32:12.0 +0100
@@ -22,9 +22,11 @@
if [[ -n "$INSTANCE" && "x$INSTANCE" != "xdefault" ]]; then
opts="$(/usr/bin/my_print_defaults mysqld mysqld_multi 
"$INSTANCE")"
tmp_opts="$opts"
+   config="/etc/my${INSTANCE}.cnf"
else
opts="$(/usr/bin/my_print_defaults mysqld)"
tmp_opts="$opts"
+   config="/etc/my.cnf"
fi
 
# Update local variables according to the settings from config
@@ -87,8 +89,8 @@
# Run protected MySQL accessible only though socket in our 
directory
echo "Running protected MySQL... "
/usr/sbin/mysqld \
+   --defaults-file="$config" \
--user="$mysql_daemon_user" \
-   $opts \
--skip-networking \
--skip-grant-tables \
--log-error="$protected/log_upgrade_run" \
@@ -144,7 +146,9 @@
 }
 
 mysql_start() {
-   exec /usr/sbin/mysqld --user="$mysql_daemon_user" $opts 
+   exec /usr/sbin/mysqld \
+   --defaults-file="$config" \
+   --user="$mysql_daemon_user"
 }
 
 # We rely on output in english at some points




commit mysql-community-server for openSUSE:Factory

2016-01-29 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2016-01-28 17:25:03

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2015-12-03 13:31:53.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2016-01-28 17:25:57.0 +0100
@@ -1,0 +2,15 @@
+Tue Jan 26 18:54:20 UTC 2016 - kstreit...@suse.com
+
+- update to 5.6.28
+  * changes
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-28.html
+  * fixed CVEs:
+CVE-2016-0546, CVE-2016-0504, CVE-2016-0505, CVE-2016-0594,
+CVE-2016-0595, CVE-2016-0503, CVE-2016-0596, CVE-2016-0502,
+CVE-2016-0597, CVE-2016-0611, CVE-2016-0598, CVE-2016-0600,
+CVE-2016-0610, CVE-2016-0606, CVE-2016-0608, CVE-2016-0607,
+CVE-2015-7744, CVE-2016-0605, CVE-2016-0609
+  * fix [bnc#962779], [bnc#959724]
+- refresh mysql-community-server-5.6.12-upgrade-datadir.patch
+
+---

Old:

  mysql-5.6.27.tar.gz

New:

  mysql-5.6.28.tar.gz



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.wf6MYX/_old  2016-01-28 17:25:59.0 +0100
+++ /var/tmp/diff_new_pack.wf6MYX/_new  2016-01-28 17:25:59.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mysql-community-server
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -44,7 +44,7 @@
 %define with_cassandra 0
 %endif
 Name:   mysql-community-server
-Version:5.6.27
+Version:5.6.28
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception

++ configuration-tweaks.tar.bz2 ++

++ mysql-5.6.27.tar.gz -> mysql-5.6.28.tar.gz ++
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-5.6.27.tar.gz 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-5.6.28.tar.gz 
differ: char 5, line 1

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mysql-community-server-5.6.12-upgrade-datadir.patch
 
new/mysql-patches/mysql-patches/mysql-community-server-5.6.12-upgrade-datadir.patch
--- 
old/mysql-patches/mysql-patches/mysql-community-server-5.6.12-upgrade-datadir.patch
 2015-06-16 13:03:35.0 +0200
+++ 
new/mysql-patches/mysql-patches/mysql-community-server-5.6.12-upgrade-datadir.patch
 2016-01-26 19:44:51.0 +0100
@@ -10,7 +10,7 @@
 ===
 --- client/mysql_upgrade.c.orig
 +++ client/mysql_upgrade.c
-@@ -582,21 +582,37 @@ static int extract_variable_from_show(DY
+@@ -583,21 +583,37 @@ static int extract_variable_from_show(DY
  
  static int get_upgrade_info_file_name(char* name)
  {
@@ -58,7 +58,7 @@
  
fn_format(name, "mysql_upgrade_info", name, "", MYF(0));
DBUG_PRINT("exit", ("name: %s", name));
-@@ -1009,7 +1025,7 @@ int main(int argc, char **argv)
+@@ -1016,7 +1032,7 @@ int main(int argc, char **argv)
  Read the mysql_upgrade_info file to check if mysql_upgrade
  already has been run for this installation of MySQL
*/
@@ -67,15 +67,29 @@
{
  printf("This installation of MySQL is already upgraded to %s, "
 "use --force if you still need to run mysql_upgrade\n",
-@@ -1030,9 +1046,9 @@ int main(int argc, char **argv)
-   */
-   if ((!opt_systables_only &&
-(run_mysqlcheck_mysql_db_fixnames() || 
run_mysqlcheck_mysql_db_upgrade())) ||
--  run_sql_fix_privilege_tables() ||
-   (!opt_systables_only &&
--  (run_mysqlcheck_fixnames() || run_mysqlcheck_upgrade(
-+  (run_mysqlcheck_fixnames() || run_mysqlcheck_upgrade()))
-+  || run_sql_fix_privilege_tables())
+@@ -1048,12 +1064,6 @@ int main(int argc, char **argv)
+   "mysql db");
+ }
+   }
+-  if (run_sql_fix_privilege_tables())
+-  {
+-/* Specific error msg (if present) would be printed in the function call
+- * above */
+-die("Upgrade failed");
+-  }
+   if (!opt_systables_only)
{
- /*
-   The upgrade failed to complete in some way or another,
+ if (run_mysqlcheck_fixnames())
+@@ -1067,6 +1077,12 @@ int main(int argc, char **argv)
+   "all db(s) 

commit mysql-community-server for openSUSE:Factory

2015-12-03 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2015-12-03 13:31:50

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2015-09-02 00:36:23.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2015-12-03 13:31:53.0 +0100
@@ -1,0 +2,22 @@
+Mon Nov 30 11:50:34 UTC 2015 - kstreit...@suse.com
+
+- update to 5.6.27
+  * changes:
+http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-27.html
+  * fixed CVEs:
+CVE-2015-1793, CVE-2015-0286, CVE-2015-0288, CVE-2015-1789,
+CVE-2015-4730, CVE-2015-4766, CVE-2015-4792, CVE-2015-4800,
+CVE-2015-4802, CVE-2015-4815, CVE-2015-4816, CVE-2015-4819,
+CVE-2015-4826, CVE-2015-4830, CVE-2015-4833, CVE-2015-4836,
+CVE-2015-4858, CVE-2015-4861, CVE-2015-4862, CVE-2015-4864,
+CVE-2015-4866, CVE-2015-4870, CVE-2015-4879, CVE-2015-4890,
+CVE-2015-4895, CVE-2015-4904, CVE-2015-4905, CVE-2015-4910,
+CVE-2015-4913
+  * fix [bnc#951391]
+- add mysql-community-server-5.6.26-enforce_ssl.patch to fix MySQL lack
+  of SSL enforcement. Using --ssl-verify-server-cert and --ssl[-*]
+  implies that the ssl connection is required. The mysql client will
+  now print an error if ssl is required, but the server can not handle
+  a ssl connection [bnc#924663], [bnc#928962], [CVE-2015-3152].
+
+---

Old:

  mysql-5.6.26.tar.gz

New:

  mysql-5.6.27.tar.gz



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.95lfys/_old  2015-12-03 13:31:56.0 +0100
+++ /var/tmp/diff_new_pack.95lfys/_new  2015-12-03 13:31:56.0 +0100
@@ -44,7 +44,7 @@
 %define with_cassandra 0
 %endif
 Name:   mysql-community-server
-Version:5.6.26
+Version:5.6.27
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -127,8 +127,8 @@
 Obsoletes:  %{extra_provides}-debug-version < %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
-# On mariadb we want readline5 and on mysql we use libedit from system
-%if "%{name}" == "mariadb"
+# On mariadb we want readline5 (except for SLE12) and on mysql we use libedit 
from system
+%if ("%{name}" == "mariadb" ) && ! (( 0%{?suse_version} == 1315 ) && ( ! 
0%{?is_opensuse} ))
 BuildRequires:  readline5-devel
 %else
 BuildRequires:  libedit-devel

++ configuration-tweaks.tar.bz2 ++

++ mysql-5.6.26.tar.gz -> mysql-5.6.27.tar.gz ++
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-5.6.26.tar.gz 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-5.6.27.tar.gz 
differ: char 5, line 1

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mysql-community-server-5.6.26-enforce_ssl.patch 
new/mysql-patches/mysql-patches/mysql-community-server-5.6.26-enforce_ssl.patch
--- 
old/mysql-patches/mysql-patches/mysql-community-server-5.6.26-enforce_ssl.patch 
1970-01-01 01:00:00.0 +0100
+++ 
new/mysql-patches/mysql-patches/mysql-community-server-5.6.26-enforce_ssl.patch 
2015-10-05 20:41:09.0 +0200
@@ -0,0 +1,66 @@
+PATCH-P1-FIX: fix MySQL lack of SSL enforcement
+BUGS: bnc#924663, bnc#928962, CVE-2015-3152
+
+Maintainer: Kristyna Streitova 
+
+From 4ef74979969ac9339d0d42c11a6f26632e6776f1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= 
+Date: Tue, 9 Jun 2015 14:08:44 +0300
+Subject: [PATCH] MDEV-7937: Enforce SSL when --ssl client option is used
+
+Using --ssl-verify-server-cert and --ssl[-*] implies that
+the ssl connection is required. The mysql client will now print an error if ssl
+is required, but the server can not handle a ssl connection.
+---
+ sql-common/client.c | 23 +++
+ 1 file changed, 19 insertions(+), 4 deletions(-)
+
+Index: mysql-5.6.26/sql-common/client.c
+===
+--- mysql-5.6.26.orig/sql-common/client.c
 mysql-5.6.26/sql-common/client.c
+@@ -1742,6 +1742,7 @@ mysql_ssl_set(MYSQL *mysql __attribute__
+ mysql_options(mysql, MYSQL_OPT_SSL_CAPATH, capath) +
+ mysql_options(mysql, MYSQL_OPT_SSL_CIPHER, cipher)
+ ? 1 : 0;
++  mysql->options.use_ssl = TRUE;
+ #endif
+ DBUG_RETURN(result);
+ }

commit mysql-community-server for openSUSE:Factory

2015-09-01 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2015-09-02 00:36:19

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is "mysql-community-server"

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2015-07-14 17:46:18.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2015-09-02 00:36:23.0 +0200
@@ -1,0 +2,41 @@
+Fri Aug 28 14:49:57 UTC 2015 - kstreit...@suse.com
+
+- update to MySQL 5.6.26
+  * changes:
+* http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-26.html
+  * fixed CVEs:
+CVE-2015-2617, CVE-2015-2648, CVE-2015-2611, CVE-2015-2582
+CVE-2015-4752, CVE-2015-4756, CVE-2015-2643, CVE-2015-4772
+CVE-2015-4761, CVE-2015-4757, CVE-2015-4737, CVE-2015-4771
+CVE-2015-4769, CVE-2015-2639, CVE-2015-2620, CVE-2015-2641
+CVE-2015-2661, CVE-2015-4767
+  * fix [bnc#938412]
+  * remove the following patches (changes were merged upstream):
+* mysql-community-server-5.6.24-regex_heap_overflow.patch
+* mysql-5.6.25-logjam.patch
+- disable Performance Schema by default. Since MySQL 5.6.6 upstream 
+  enabled Performance Schema by default which results in increased 
+  memory usage. The added option disable Performance Schema again in 
+  order to decrease MySQL memory usage [bnc#852477].
+- fix spurious macro expansion in comment in specfile
+- install INFO_BIN and INFO_SRC, noticed in MDEV-6912   
+- use spec-cleaner
+- tweak some cmake switches to enable more things
+  * WITH_ASAN=ON adress sanitization
+WITH_LIBWRAP=ON tcp wrappers
+ENABLED_PROFILING=OFF profiling disable
+ENABLE_DEBUG_SYNC=OFF debug testing sync disable
+WITH_PIC=ON by default we want pic generated binaries
+- remove superfluous '--group' parameter from mysql-systemd-helper
+- make -devel package installable in the presence of LibreSSL
+- cleanup after the update-message if it was displayed
+- add 'exec' to mysql-systemd-helper to shutdown mysql/mariadb cleanly
+  [bnc#943096]
+- remove redundant entry from %{_tmpfilesdir}/mysql.conf. Using both
+  'x' and 'X' options is redundant and causes a warning message.
+  Leaving only the 'x' line fixes this problem. [bnc#942908]
+- mariadb: replace readline-devel for readline5-devel (MDEV-6912)
+  [bnc#902396]
+- mariadb-101: set cmake options for MariaDB Galera Cluster
+
+---

Old:

  mysql-5.6.25.tar.gz

New:

  mysql-5.6.26.tar.gz



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.ruNF5q/_old  2015-09-02 00:36:25.0 +0200
+++ /var/tmp/diff_new_pack.ruNF5q/_new  2015-09-02 00:36:25.0 +0200
@@ -27,13 +27,14 @@
 %define builtin_plugins partition,csv,heap,myisam,innobase
 %define extra_provides mysql-community-server_56
 %define with_mandatory_boost 0
+%define build_extras 0
 # _tmpfilesdir is not defined in systemd macros up to openSUSE 13.2
 %{!?_tmpfilesdir: %global _tmpfilesdir %{_libexecdir}/tmpfiles.d }
 # Remove when 13.1 is out of support scope
 %if ! %{defined _rundir}
 %define _rundir %{_localstatedir}/run
 %endif
-%if 0 > 0
+%if 0%{build_extras} > 0
 %define with_jemalloc 1
 %define with_oqgraph 1
 %define with_cassandra 1
@@ -43,7 +44,7 @@
 %define with_cassandra 0
 %endif
 Name:   mysql-community-server
-Version:5.6.25
+Version:5.6.26
 Release:0
 Summary:Server part of %{pretty_name}
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -71,7 +72,6 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libaio-devel
 BuildRequires:  libbz2-devel
-BuildRequires:  libedit-devel
 BuildRequires:  libevent-devel
 BuildRequires:  libtool
 BuildRequires:  libxml2-devel
@@ -81,17 +81,6 @@
 BuildRequires:  pam-devel
 BuildRequires:  pcre-devel
 BuildRequires:  pkgconfig
-BuildRequires:  procps
-BuildRequires:  pwdutils
-BuildRequires:  readline-devel
-BuildRequires:  sqlite
-BuildRequires:  tcpd-devel
-BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig(systemd)
-# Tests requires time and ps and some perl modules
-# Keep in sync with Requires of mysql-testsuite
-BuildRequires:  procps
-BuildRequires:  time
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Env)
 BuildRequires:  perl(Exporter)
@@ -103,6 +92,15 @@
 BuildRequires:  perl(Sys::Hostname)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Time::HiRes)
+# Tests requires time and ps and some perl modules
+# Keep in sync with Requires of mysql-testsuite
+BuildRequires:  procps
+BuildRequires:  

commit mysql-community-server for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2015-07-14 17:45:00

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2015-07-12 22:52:42.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2015-07-14 17:46:18.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul 13 12:49:32 UTC 2015 - mplus...@suse.com
+
+- Use proper syntax in systemd unit helper (boo#937767)
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.86U8it/_old  2015-07-14 17:46:19.0 +0200
+++ /var/tmp/diff_new_pack.86U8it/_new  2015-07-14 17:46:19.0 +0200
@@ -572,9 +572,9 @@
 # and thus broken later on. Fixes bnc#906147
 pushd %{buildroot}%{_libdir}
 rm -f lib%{libname}_r.so*
-ln -sf lib%{libname}%{soname}.so.%{soname}.0.0 lib%{libname}_r.so
-ln -sf lib%{libname}%{soname}.so.%{soname}.0.0 lib%{libname}_r.so.%{soname}
-ln -sf lib%{libname}%{soname}.so.%{soname}.0.0 lib%{libname}_r.so.%{soname}.0.0
+ln -sf lib%{libname}.so.%{soname}.0.0 lib%{libname}_r.so
+ln -sf lib%{libname}.so.%{soname}.0.0 lib%{libname}_r.so.%{soname}
+ln -sf lib%{libname}.so.%{soname}.0.0 lib%{libname}_r.so.%{soname}.0.0
 popd
 
 # If not preffered simply reduce main develpackage to NULL
@@ -649,7 +649,7 @@
 /usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/mysql.conf || :
 
 # SLE11 Migration support
-for in in protected tmp; do
+for i in protected tmp; do
 rmdir $datadir/.$i 2/dev/null || :
 done
 # Remove any messages that could've been in place about the upgrade

++ configuration-tweaks.tar.bz2 ++

++ mysql-patches.tar.bz2 ++

++ mysql-systemd-helper ++
--- /var/tmp/diff_new_pack.86U8it/_old  2015-07-14 17:46:19.0 +0200
+++ /var/tmp/diff_new_pack.86U8it/_new  2015-07-14 17:46:19.0 +0200
@@ -20,10 +20,10 @@
 
# Read options - important for multi setup
if [[ -n $INSTANCE  x$INSTANCE != xdefault ]]; then
-   opts=$(/usr/bin/my_print_defaults --mysqld mysqld_multi 
$INSTANCE)
+   opts=$(/usr/bin/my_print_defaults mysqld mysqld_multi 
$INSTANCE)
tmp_opts=$opts
else
-   opts=$(/usr/bin/my_print_defaults --mysqld)
+   opts=$(/usr/bin/my_print_defaults mysqld)
tmp_opts=$opts
fi
 




commit mysql-community-server for openSUSE:Factory

2015-07-12 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2015-07-12 22:52:41

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2015-07-03 00:10:33.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2015-07-12 22:52:42.0 +0200
@@ -1,0 +2,5 @@
+Tue Jul  7 09:25:05 UTC 2015 - tchva...@suse.com
+
+- Sync to git state fixing few triv issues
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.GXS1Jj/_old  2015-07-12 22:52:44.0 +0200
+++ /var/tmp/diff_new_pack.GXS1Jj/_new  2015-07-12 22:52:44.0 +0200
@@ -182,6 +182,9 @@
 Requires:   libmysqlclient_r%{soname} = %{version}
 Requires:   openssl-devel
 Requires:   zlib-devel
+# mysql-devel needs to be provided as some pkgs still depend on it
+Provides:   mysql-devel = %{version}
+Obsoletes:  mysql-devel  %{version}
 
 %description -n libmysqlclient-devel
 This package contains the development header files and libraries

++ configuration-tweaks.tar.bz2 ++
--- old/default_plugins.cnf 2015-06-30 11:07:28.0 +0200
+++ new/default_plugins.cnf 2015-07-07 11:26:28.0 +0200
@@ -1,4 +1,4 @@
 [server]
-#plugin-load=blackhole=ha_blackhole.so
-#plugin-load=federated=ha_federated.so
-#plugin-load=archive=ha_archive.so
+#plugin-load-add=blackhole=ha_blackhole.so
+#plugin-load-add=federated=ha_federated.so
+#plugin-load-add=archive=ha_archive.so

++ mysql-patches.tar.bz2 ++




commit mysql-community-server for openSUSE:Factory

2015-07-02 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2015-07-02 22:49:31

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2015-06-30 10:16:40.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2015-07-03 00:10:33.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun 30 11:12:41 UTC 2015 - tchva...@suse.com
+
+- Add patch to fix bnc#934789 Logjam Attack: mysql uses 512 bit dh
+  groups in SSL
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.YpGUtC/_old  2015-07-03 00:10:35.0 +0200
+++ /var/tmp/diff_new_pack.YpGUtC/_new  2015-07-03 00:10:35.0 +0200
@@ -469,7 +469,7 @@
 mv %{buildroot}%{_datadir}/mysql-test/lib/My/SafeProcess/my_safe_process 
%{buildroot}%{_bindir}
 
 # Generate various filelists
-filelist innochecksum my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mysql_fix_privilege_tables mysql_install_db 
mysql_secure_installation mysql_upgrade mysqlbug mysqld mysqld_multi 
mysqld_safe mysqlbinlog mysqldumpslow mysqlmanager mroonga resolve_stack_dump 
resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump {m,}aria_pack 
{m,}aria_read_log xtstat tokuft_logprint tokuftdump mysql.files
+filelist innochecksum my_print_defaults myisam_ftdump myisamchk myisamlog 
myisampack mysql_fix_extensions mysql_fix_privilege_tables mysql_ssl_rsa_setup 
mysql_install_db mysql_secure_installation mysql_upgrade mysqlbug mysqld 
mysqld_multi mysqld_safe mysqlbinlog mysqldumpslow mysqlmanager mroonga 
resolve_stack_dump resolveip {m,}aria_chk {m,}aria_dump_log {m,}aria_ftdump 
{m,}aria_pack {m,}aria_read_log xtstat tokuft_logprint tokuftdump mysql.files
 
 filelist mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow 
mysql_config_editor mysql-client.files
 # The dialog stuff is mariadb only

++ _constraints ++
--- /var/tmp/diff_new_pack.YpGUtC/_old  2015-07-03 00:10:35.0 +0200
+++ /var/tmp/diff_new_pack.YpGUtC/_new  2015-07-03 00:10:35.0 +0200
@@ -1,5 +1,8 @@
 constraints
   hardware
+physicalmemory
+  size unit=M5000/size
+/physicalmemory
 disk
   size unit=G13/size
 /disk

++ configuration-tweaks.tar.bz2 ++

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mysql-5.6.25-logjam.patch 
new/mysql-patches/mysql-patches/mysql-5.6.25-logjam.patch
--- old/mysql-patches/mysql-patches/mysql-5.6.25-logjam.patch   1970-01-01 
01:00:00.0 +0100
+++ new/mysql-patches/mysql-patches/mysql-5.6.25-logjam.patch   2015-06-30 
11:06:34.0 +0200
@@ -0,0 +1,132 @@
+PATCH-P1-FIX-UPSTREAM: Logjam patch for mysql bnc#934789
+
+From 866b988a76e8e7e217017a7883a52a12ec5024b9 Mon Sep 17 00:00:00 2001
+From: Marek Szymczak marek.szymc...@oracle.com
+Date: Thu, 9 Oct 2014 16:39:43 +0200
+Subject: [PATCH] Bug#18367167 DH KEY LENGTH OF 1024 BITS TO MEET MINIMUM REQ
+ OF FIPS 140-2
+
+Perfect Forward Secrecy (PFS) requires Diffie-Hellman (DH) parameters to be 
set. Current implementation uses DH key of 512 bit.
+---
+ include/violite.h |  3 ++-
+ vio/viosslfactories.c | 70 ---
+ 2 files changed, 57 insertions(+), 16 deletions(-)
+
+Index: mysql-5.6.25/include/violite.h
+===
+--- mysql-5.6.25.orig/include/violite.h
 mysql-5.6.25/include/violite.h
+@@ -147,7 +147,8 @@ enum enum_ssl_init_error
+ {
+   SSL_INITERR_NOERROR= 0, SSL_INITERR_CERT, SSL_INITERR_KEY, 
+   SSL_INITERR_NOMATCH, SSL_INITERR_BAD_PATHS, SSL_INITERR_CIPHERS, 
+-  SSL_INITERR_MEMFAIL, SSL_INITERR_LASTERR
++  SSL_INITERR_MEMFAIL, SSL_INITERR_NO_USABLE_CTX, SSL_INITERR_DHFAIL,
++  SSL_INITERR_LASTERR
+ };
+ const char* sslGetErrString(enum enum_ssl_init_error err);
+ 
+Index: mysql-5.6.25/vio/viosslfactories.c
+===
+--- mysql-5.6.25.orig/vio/viosslfactories.c
 mysql-5.6.25/vio/viosslfactories.c
+@@ -20,27 +20,56 @@
+ static my_bool ssl_algorithms_added= FALSE;
+ static my_bool ssl_error_strings_loaded= FALSE;
+ 
+-static unsigned char dh512_p[]=
++/*
++  Diffie-Hellman key.
++  Generated using: openssl dhparam -5 -C 2048
++ 
++  -BEGIN DH PARAMETERS-
++  

commit mysql-community-server for openSUSE:Factory

2015-06-30 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2015-06-30 10:16:38

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2015-06-24 20:57:37.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2015-06-30 10:16:40.0 +0200
@@ -1,0 +2,11 @@
+Fri Jun 26 10:04:02 UTC 2015 - tchva...@suse.com
+
+- Enable testsuite
+
+---
+Thu Jun 25 13:52:45 UTC 2015 - tchva...@suse.com
+
+- Update again to git state now with reshaped initscript
+  now better supporting initialization/migration
+
+---

Old:

  install.inc
  rc.mysql.systemd
  rc.mysql.sysvinit

New:

  mysql-systemd-helper
  mysql.target
  mysql@.service



Other differences:
--
++ mysql-community-server.spec ++
 620 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.spec
 and 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.spec

++ README.debug ++
--- /var/tmp/diff_new_pack.5mcFdE/_old  2015-06-30 10:16:42.0 +0200
+++ /var/tmp/diff_new_pack.5mcFdE/_new  2015-06-30 10:16:42.0 +0200
@@ -45,14 +45,6 @@
 
 core-file
 
-  Note: this unfortunatelly doesn't work in SUSE Linux 10.1 and older.
-  On these systems, you need to run safe_mysqld directly under user
-  mysql:
-
-su - mysql
-mysqld_safe --socket=/var/lib/mysql/mysql.sock \
---datadir=/var/lib/mysql --core-file 
-
 The core file will be written to the /var/lib/mysql/ directory. I
 suggest setting the kernel variable kernel.core_uses_pid to 1
 
@@ -64,31 +56,19 @@
 After you got the core file, install the gdb and mysql-debuginfo
 packages and run
 
-gdb /usr/sbin/mysqld /var/lib/mysql/core
+gdb /usr/sbin/mysqld /var/lib/mysql/core
 (gdb) bt
 
-Replace mysqld with the mysqld version you used (mysqld, mysqld-max)
-and core with the actual name of the coredump.
+Replace the core with the actual name of the coredump.
 
 3) Trace files
 --
-Start mysqld using following command:
-
-$ MYSQLD_DEBUG=yes rcmysql start
-
-The init script will then start mysqld and add the --core-file,
---log and --debug options for you. The query log will be stored in
-
-/var/lib/mysql/myqld-query.log
-
-and the trace file in
-
-/var/lib/mysql/mysqld.trace
-
-If you don't like the options set by the init script, just put your own
-into /etc/my.cnf and the init script will honor them.
-
 The trace file will contain various debug information and function
 calls/returns and will become _extremly_ huge after a while, so don't
 attach it to bugzilla unless requested.
 
+Add the following line to your /etc/my.cnf into section [mysqld]:
+
+stack-trace
+
+The trace file will be then written to /var/lib/mysql directory.
\ No newline at end of file

++ README.install ++
--- /var/tmp/diff_new_pack.5mcFdE/_old  2015-06-30 10:16:42.0 +0200
+++ /var/tmp/diff_new_pack.5mcFdE/_new  2015-06-30 10:16:42.0 +0200
@@ -9,7 +9,7 @@
 To do so, start the server, then issue the following commands:
 
 '/usr/bin/mysqladmin' -u root password 'new-password'
-'/usr/bin/mysqladmin' -u root -h misibook password 'new-password'
+'/usr/bin/mysqladmin' -u root -h hostname password 'new-password'
 
 Alternatively you can run:
 '/usr/bin/mysql_secure_installation'

++ configuration-tweaks.tar.bz2 ++

++ mysql-patches.tar.bz2 ++

++ mysql-systemd-helper ++
#!/bin/bash
die() {
echo $1
exit 1
}

# Read options from config file
read_config() {
# Initial settings
MYSQLVER=$(echo @MYSQLVER@ | sed 's|\.[0-9]\+$||')
mysql_daemon_user=mysql
mysql_daemon_group=mysql
if [[ -z $INSTANCE || x$INSTANCE = xdefault ]]; then
datadir=/var/lib/mysql
socket=/var/run/mysql/mysql.sock
else
datadir=/var/lib/mysql-$INSTANCE
socket=/var/run/mysql/mysql.${INSTANCE}.sock
fi

# Read options - important for multi setup
if [[ -n $INSTANCE  x$INSTANCE != xdefault ]]; then
opts=$(/usr/bin/my_print_defaults --mysqld mysqld_multi 
$INSTANCE)
tmp_opts=$opts
else
opts=$(/usr/bin/my_print_defaults --mysqld)
tmp_opts=$opts
fi

   

commit mysql-community-server for openSUSE:Factory

2015-06-24 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2015-06-24 20:57:34

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2014-08-20 10:51:14.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2015-06-24 20:57:37.0 +0200
@@ -1,0 +2,20 @@
+Tue Jun 23 13:40:25 UTC 2015 - tchva...@suse.com
+
+- Sync with git state to allow build on Factory
+
+---
+Sun Jun 21 16:52:29 UTC 2015 - michal.hruse...@opensuse.org
+
+- merge latest packaging fixes from other variants
+  * mainly simplified packaging
+- updated to 5.6.25
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-18.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-19.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-20.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-21.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-22.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-23.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-24.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-25.html
+
+---

Old:

  README.SuSE
  build.inc
  mysql-5.6.17.tar.bz2

New:

  README.SUSE
  mysql-5.6.25.tar.gz



Other differences:
--
++ mysql-community-server.spec ++
 890 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.spec
 and 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.spec

++ README.SUSE ++
Notes about MySQL 5.1 package:
==

With MySQL 5.1 package we introduced some changes you may like to know. Most of
them will affect you only if you are upgrading from previous version and you
did some changes to your configuration.

1) Plugins:
===

One of the new features in MySQL 5.1 is support for plugins. So some of the
storage engines are now shipped like that. You can use following plugins:

 - archive
 - blackhole
 - federated
 - example

InnoDB is still compiled as internal part of MySQL. If you are upgrading from
version 5.0 or if this is your first installation of MySQL 5.1, all plugins
will be enabled by default and you can disable them manually later (see
http://dev.mysql.com/doc/refman/5.1/en/uninstall-plugin.html).

With this change you need to remove skip-federated option from your my.cnf file
if you have changed it manually. This option was there by default in previous
versions of MySQL.

2) File locations:
==

There were some changes in files locations. Most of them were made in the
default configuration file so if you are experiencing problems and you have
made some manual adjustments to your /etc/my.cnf, try to merge this file with
/etc/my.cnf.rpmnew.

File locations changes:
 - MySQL socket file and pid file were moved from /var/lib/mysql to more
   reasonable location ( /var/run/mysql ) by default.
 - MySQL log files are in /var/log/mysql.

3) BerkeleyDB:
==

MySQL no longer contains BerkeleyDB as storage engine. There is no fix for that
and if you used it before, you have to migrate your data to different storage
engine BEFORE updating. This can be done for example using following command:

ALTER TABLE foo ENGINE = INNODB;

4) MySQL Upgrade Log


If you missed messages displayed during automatic MySQL database upgrade, you
can find them from now on in

/var/log/mysql/mysqld-upgrade.log

5) Migration from previous versions
===

If you are migrating from previous versions, you should take a look at official
documentation regarding migration:

 * 5.0 - 5.1 series
   https://dev.mysql.com/doc/refman/5.1/en/upgrading-from-previous-series.html
 * 5.1 - 5.5 series
   https://dev.mysql.com/doc/refman/5.5/en/upgrading-from-previous-series.html
 * 5.5 - 5.6 series
   https://dev.mysql.com/doc/refman/5.6/en/upgrading-from-previous-series.html

++ README.debug ++
--- /var/tmp/diff_new_pack.LIz5GX/_old  2015-06-24 20:57:39.0 +0200
+++ /var/tmp/diff_new_pack.LIz5GX/_new  2015-06-24 20:57:39.0 +0200
@@ -1,7 +1,7 @@
 Debugging mysqld crashes
 
 Author: Michal Marek mma...@suse.cz
-Last modified: 2006-07-31
+Last modified: 2014-11-21
 
 Contents
 
@@ -67,22 

commit mysql-community-server for openSUSE:Factory

2014-08-20 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2014-08-20 10:50:57

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-09-23 11:17:23.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2014-08-20 10:51:14.0 +0200
@@ -1,0 +2,19 @@
+Thu Aug  7 01:04:49 UTC 2014 - sfal...@opensuse.org
+
+- Removed mysql.info.* from %files section to clear build failure, as reported 
in declined request 235821 to openSUSE:Factory 
+
+---
+Fri May 23 12:40:22 CEST 2014 - mhruse...@suse.cz
+
+- updated to 5.6.17
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-13.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-14.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-15.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-16.html
+  http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-17.html
+- merge latest fixes from other variants
+  * systemd unit file
+  * not enabling plugins by default
+  * first time install warning
+
+---

Old:

  mysql-5.6.12.tar.bz2
  rc.mysql-multi

New:

  README.install
  _constraints
  mysql-5.6.17.tar.bz2
  mysql.service
  rc.mysql.systemd
  rc.mysql.sysvinit



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.NdprKl/_old  2014-08-20 10:51:18.0 +0200
+++ /var/tmp/diff_new_pack.NdprKl/_new  2014-08-20 10:51:18.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mysql-community-server
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,8 @@
 
 
 # Few definitions which will alter build
-%define prefered   00
+%define preferred00
+%define use_systemd  01
 %define use_cmake  01
 %define cluster00
 %define have_info  01
@@ -25,6 +26,10 @@
 %define use_extra_provides 1
 %define extra_provides mysql-community-server_56
 
+%if ! %{defined _rundir}
+%define _rundir %{_localstatedir}/run
+%endif
+
 %if %{?rel:0}%{!?rel:1}
 %define rel 1
 %endif
@@ -36,16 +41,16 @@
 Summary:Server part of MySQL Community Server
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.6.12
+Version:5.6.17
 Release:0
-%define srv_vers 5.6.12
+%define srv_vers 5.6.17
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
 Source3:README.debug
 Source4:suse-test-run
 Source5:mysql.SuSEfirewall2
-Source7:rc.mysql-multi
+Source7:README.install
 Source8:README.SuSE
 Source9:mysql-patches.tar.bz2
 Source10:   build.inc
@@ -53,6 +58,9 @@
 Source12:   series
 Source13:   configuration-tweaks.tar.bz2
 Source14:   my.ini
+Source15:   rc.mysql.sysvinit
+Source16:   rc.mysql.systemd
+Source17:   mysql.service
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
@@ -67,6 +75,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  libaio-devel
 BuildRequires:  libedit-devel
+BuildRequires:  libevent-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
 BuildRequires:  openssl-devel
@@ -106,7 +115,7 @@
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
 %endif
-%if 0%{?prefered}  0
+%if 0%{?preferred}  0
 %if %{name} != mysql
 Obsoletes:  mysql  %{srv_vers}
 %endif
@@ -138,7 +147,7 @@
 
 This package only contains the server-side programs.
 
-%if 0%{?prefered}  0
+%if 0%{?preferred}  0
 %package -n libmysqlclient-devel
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
@@ -188,6 +197,7 @@
 %package -n libmysql56client_r18
 Summary:Shared Libraries for MySQL Community Server
 Group:  Development/Libraries/Other
+Requires:   libmysql56client18
 
 %description -n libmysql56client_r18
 This package contains the shared libraries (.so) which certain
@@ -207,7 +217,7 @@
 Obsoletes:  %{extra_provides}-client  %{version}
 %endif
 Requires:   %{name}-errormessages = 

commit mysql-community-server for openSUSE:Factory

2013-09-23 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-09-23 10:32:13

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-08-15 16:24:46.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-09-23 11:17:23.0 +0200
@@ -1,0 +2,19 @@
+Tue Sep 17 14:13:15 UTC 2013 - sch...@suse.de
+
+- mysql-community-server-5.6.12-va_list.patch: Fix invalid use of va_list
+
+---
+Mon Sep  9 10:35:47 CEST 2013 - mhruse...@suse.cz
+
+- better version detection
+- drop /etc/mysql dir, use upstream /etc/my.cfn.d only
+
+---
+Fri Aug 30 11:22:24 CEST 2013 - mhruse...@suse.cz
+
+- include info file
+- better README
+- Build with -DOPENSSL_LOAD_CONF so mariadb respects 
+  and load the system's openSSL configuration.
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.uCtq1P/_old  2013-09-23 11:17:24.0 +0200
+++ /var/tmp/diff_new_pack.uCtq1P/_new  2013-09-23 11:17:24.0 +0200
@@ -17,9 +17,10 @@
 
 
 # Few definitions which will alter build
-%define prefered   0
-%define use_cmake  1
-%define cluster0
+%define prefered   00
+%define use_cmake  01
+%define cluster00
+%define have_info  01
 %define builtin_plugins partition,csv,heap,myisam,innobase
 %define use_extra_provides 1
 %define extra_provides mysql-community-server_56
@@ -55,6 +56,9 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
+%if %have_info
+PreReq: %install_info_prereq %insserv_prereq
+%endif
 %endif
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -463,6 +467,10 @@
 end
 
 %posttrans
+%if %have_info
+[ -z `ls %{_infodir}/mysql.info.* 2 /dev/null` ] || \
+%install_info --info-dir=%{_infodir} %{_infodir}/mysql.info.*
+%endif
 if [ -d /var/lib/mysql ]; then
touch /var/lib/mysql/.run-mysql_upgrade
chown -R --no-dereference mysql:mysql /var/lib/mysql
@@ -502,6 +510,9 @@
 
 %postun
 if [ $1 = 0 ]; then
+   %if %have_info
+   %install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.*
+   %endif
%{insserv_cleanup}
rm -f /var/lib/systemd/migrated/mysql.service
if [ -x /usr/bin/systemctl ]; then
@@ -520,6 +531,9 @@
 %config(noreplace) %attr(0640, root, mysql) /etc/my.cnf.d/*
 %config /etc/logrotate.d/mysql
 %doc %{_defaultdocdir}/%{name}
+%if %have_info
+%doc %{_infodir}/mysql.info.*
+%endif
 /etc/init.d/mysql
 /usr/sbin/rcmysql
 %dir /usr/share/%{name}

++ README.SuSE ++
--- /var/tmp/diff_new_pack.uCtq1P/_old  2013-09-23 11:17:24.0 +0200
+++ /var/tmp/diff_new_pack.uCtq1P/_new  2013-09-23 11:17:24.0 +0200
@@ -55,3 +55,16 @@
 
/var/log/mysql/mysqld-upgrade.log
 
+5) Migration from previous versions
+===
+
+If you are migrating from previous versions, you should take a look at official
+documentation regarding migration:
+
+ * 5.0 - 5.1 series
+   https://dev.mysql.com/doc/refman/5.1/en/upgrading-from-previous-series.html
+ * 5.1 - 5.5 series
+   https://dev.mysql.com/doc/refman/5.5/en/upgrading-from-previous-series.html
+ * 5.5 - 5.6 series
+   https://dev.mysql.com/doc/refman/5.6/en/upgrading-from-previous-series.html
+

++ build.inc ++
--- /var/tmp/diff_new_pack.uCtq1P/_old  2013-09-23 11:17:24.0 +0200
+++ /var/tmp/diff_new_pack.uCtq1P/_new  2013-09-23 11:17:24.0 +0200
@@ -9,7 +9,7 @@
 %ifarch ppc64
 export EXTRA_FLAGS= -mminimal-toc 
 %endif
-export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DFORCE_INIT_OF_VARS $EXTRA_FLAGS 
+export CFLAGS=$RPM_OPT_FLAGS -DOPENSSL_LOAD_CONF -DPIC -fPIC 
-DFORCE_INIT_OF_VARS $EXTRA_FLAGS 
 export CXXFLAGS=$CFLAGS -fno-exceptions -fno-rtti
 
 %if 0%{use_cmake}  1

++ configuration-tweaks.tar.bz2 ++

++ install.inc ++
--- /var/tmp/diff_new_pack.uCtq1P/_old  2013-09-23 11:17:24.0 +0200
+++ /var/tmp/diff_new_pack.uCtq1P/_new  2013-09-23 11:17:24.0 +0200
@@ -88,6 +88,7 @@
install -m 644 ${i} ${DOCDIR} || true
 done
 install -m 755 %_sourcedir/rc.mysql-multi %buildroot/etc/init.d/mysql
+sed -i 's|@MYSQLVER@|%{version}|' %buildroot/etc/init.d/mysql
 ln -sf ../../etc/init.d/mysql %buildroot/usr/sbin/rcmysql
 # this is used by the init script
 

commit mysql-community-server for openSUSE:Factory

2013-08-15 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-08-15 16:24:45

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-08-13 10:15:58.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-08-15 16:24:46.0 +0200
@@ -1,0 +2,6 @@
+Thu Aug 15 15:55:26 CEST 2013 - mhruse...@suse.cz
+
+- fix build for Factory
+  * mysql-community-server-5.6.12-srv_buf_size.patch
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.UTNycJ/_old  2013-08-15 16:24:47.0 +0200
+++ /var/tmp/diff_new_pack.UTNycJ/_new  2013-08-15 16:24:47.0 +0200
@@ -465,7 +465,7 @@
 %posttrans
 if [ -d /var/lib/mysql ]; then
touch /var/lib/mysql/.run-mysql_upgrade
-   chown -R mysql:mysql /var/lib/mysql
+   chown -R --no-dereference mysql:mysql /var/lib/mysql
 fi
 for i in /var/lib/mysql/{.protected,.tmp}; do
( [ -d $i ]  rmdir $i ) || :

++ build.inc ++
--- /var/tmp/diff_new_pack.UTNycJ/_old  2013-08-15 16:24:47.0 +0200
+++ /var/tmp/diff_new_pack.UTNycJ/_new  2013-08-15 16:24:47.0 +0200
@@ -114,8 +114,8 @@
-DWITH_EMBEDDED_SERVER=true 
 \
-DCOMPILATION_COMMENT=openSUSE package
 \
-DDENABLE_DOWNLOADS=false   
 \
-   -DINSTALL_PLUGINDIR_RPM=%{_libdir}/mysql/plugin   
 \
-   -DINSTALL_LIBDIR_RPM=%{_libdir}   
 \
+   -DINSTALL_PLUGINDIR_RPM=%{_lib}/mysql/plugin  
 \
+   -DINSTALL_LIBDIR_RPM=%{_lib}  
 \
$@ ..
make %{?jobs:-j%jobs}
nm --numeric-sort sql/mysqld  sql/mysqld.sym

++ configuration-tweaks.tar.bz2 ++

++ install.inc ++
--- /var/tmp/diff_new_pack.UTNycJ/_old  2013-08-15 16:24:47.0 +0200
+++ /var/tmp/diff_new_pack.UTNycJ/_new  2013-08-15 16:24:47.0 +0200
@@ -1,5 +1,4 @@
 # install the debug server first, so that we don't overwrite the standard
-# /usr/sbin/mysqld
 mkdir -p %buildroot%_libdir/mysql
 make -C _build-debug/sql install DESTDIR=%buildroot
 mv %buildroot/usr/sbin/mysqld %buildroot/usr/sbin/mysqld-debug
@@ -10,16 +9,13 @@
 # remove handler socket client
 rm -f %buildroot%_libdir/libhsclient*
 rm -f %buildroot%_bindir/hsclient*
-if [ -f %{buildroot}%{_bindir}/mytop ]; then
-   mv %{buildroot}%{_bindir}/mytop %{buildroot}%{_bindir}/%{name}_mytop
-fi
+[ \! -f %{buildroot}%{_bindir}/mytop ] || mv %{buildroot}%{_bindir}/mytop 
%{buildroot}%{_bindir}/%{name}_mytop
 rm -f %buildroot%_libdir/mysql/plugin/handlersocket.so
 # remove most static libs (FIXME: don't build them at all...)
 [ \! -f %buildroot%_libdir/libmysqld.a ] || mv 
%buildroot%_libdir/libmysqld.a %buildroot%_libdir/libmysqld.static
 rm -f %buildroot%_libdir/*.a
 [ \! -f %buildroot%_libdir/libmysqld.static ] || mv 
%buildroot%_libdir/libmysqld.static %buildroot%_libdir/libmysqld.a
 rm -f %buildroot%_libdir/mysql/{,plugin}/*.{a,la}
-# XXX: package these? The ndb tools are linked statically atm
 rm -f %buildroot%_libdir/mysql/libndbclient.*
 rm -f %{buildroot}/usr/share/mysql-test/{mysql-test-run,mtr}
 rm -f 
%{buildroot}/usr/share/mysql/{binary-configure,errmsg-utf8.txt,magic,mysql-log-rotate,mysql*.server}
@@ -27,8 +23,7 @@
 ln -sf mysql-test-run.pl %{buildroot}/usr/share/mysql-test/mtr  
 ln -sf mysql-test-run.pl %{buildroot}/usr/share/mysql-test/mysql-test-run 
 mv %{buildroot}/usr/share/mysql-test/lib/My/SafeProcess/my_safe_process 
%{buildroot}%{_bindir}
-# generate filelist for binaries and their manpages (easier than enumerating
-# all the binaries and manapages manually
+# generate filelist for binaries and their manpages
 filelist()
 {
echo '%%defattr(-, root, root)'

++ my.ini ++
--- /var/tmp/diff_new_pack.UTNycJ/_old  2013-08-15 16:24:47.0 +0200
+++ /var/tmp/diff_new_pack.UTNycJ/_new  2013-08-15 16:24:47.0 +0200
@@ -98,6 +98,6 @@
 # socket = /var/lib/mysql-databases/mysqld6/mysql.sock
 # user   = mysql
 
-!include_dir /etc/mysql
-!include_dir /etc/my.cnf.d
+!includedir /etc/mysql
+!includedir /etc/my.cnf.d
 

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' 

commit mysql-community-server for openSUSE:Factory

2013-08-13 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-08-13 10:15:27

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-08-01 17:14:16.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-08-13 10:15:58.0 +0200
@@ -1,0 +2,9 @@
+Mon Aug 12 15:34:19 CEST 2013 - mhruse...@suse.cz
+
+- chown --no-dereference instead of chown to improve security
+  * similar issue as CVE-2013-1976
+- fix build for ppc64 using -mminimal-toc
+- merge latest packaging fixes
+  * more cautious upgrades
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.PY9Qd1/_old  2013-08-13 10:15:59.0 +0200
+++ /var/tmp/diff_new_pack.PY9Qd1/_new  2013-08-13 10:15:59.0 +0200
@@ -68,6 +68,7 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
 BuildRequires:  procps
+BuildRequires:  readline-devel
 BuildRequires:  zlib-devel
 %if 0%{?suse_version}
 BuildRequires:  pwdutils
@@ -93,14 +94,18 @@
 BuildRequires:  systemd
 %{?systemd_requires}
 %endif
+%if %{name} != mysql
 Provides:   mysql = %{srv_vers}
+%endif
 Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
 %endif
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql  %{srv_vers}
+%endif
 Obsoletes:  mysql-Max  %{srv_vers}
 %endif
 Conflicts:  otherproviders(mysql)
@@ -187,18 +192,22 @@
 %package client
 Summary:Client for MySQL Community Server
 Group:  Productivity/Databases/Clients
+%if %{name} != mysql
 Provides:   mysql-client = %{srv_vers}
+%endif
 %if 0%{?suse_version}
 PreReq: pwdutils
 %endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-client = %{version}
 Obsoletes:  %{extra_provides}-client  %{version}
-Requires:   %{name}-errormessages = %version
 %endif
+Requires:   %{name}-errormessages = %version
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql-client  %{srv_vers}
 %endif
+%endif
 Conflicts:  otherproviders(mysql-client)
 
 %description client
@@ -217,14 +226,18 @@
 Requires:   perl-DBD-mysql
 Summary:Benchmarks for MySQL Community Server
 Group:  Productivity/Databases/Tools
+%if %{name} != mysql
 Provides:   mysql-bench = %{srv_vers}
+%endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-bench = %{version}
 Obsoletes:  %{extra_provides}-bench  %{version}
 %endif
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql-bench  %{srv_vers}
 %endif
+%endif
 Conflicts:  otherproviders(mysql-bench)
 
 %description bench
@@ -264,14 +277,18 @@
 Requires:   %{name}-client = %{version}
 Requires:   %{name}-tools = %{version}
 Requires:   perl-DBD-mysql
+%if %{name} != mysql
 Provides:   mysql-test = %{srv_vers}
+%endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-test = %{version}
 Obsoletes:  %{extra_provides}-test  %{version}
 %endif
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql-test  %{srv_vers}
 %endif
+%endif
 Conflicts:  otherproviders(mysql-test)
 
 %description test
@@ -285,15 +302,19 @@
 Requires:   perl-DBD-mysql
 # make sure this package is installed when updating from 10.2 and older
 Provides:   mysql-client:/usr/bin/perror
+%if %{name} != mysql
 Provides:   mysql-tools = %{srv_vers}
+%endif
 Provides:   mysql:/usr/bin/mysqlhotcopy
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-tools = %{version}
 Obsoletes:  %{extra_provides}-tools  %{version}
 %endif
 %if 0%{?prefered}  0
+%if %{name} != mysql
 Obsoletes:  mysql-tools  %{srv_vers}
 %endif
+%endif
 Conflicts:  otherproviders(mysql-tools)
 
 %description tools
@@ -317,8 +338,10 @@
 %package ndb-storage
 Summary:MySQL Community Server - ndbcluster storage engine
 Group:  Productivity/Databases/Servers
+%if %{name} != mysql
 Provides:   mysql-ndb-storage = %{srv_vers}
 Obsoletes:  mysql-ndb-storage  %{srv_vers}
+%endif
 Conflicts:  otherproviders(mysql-ndb-storage)
 
 %description ndb-storage
@@ -330,8 +353,10 @@
 %package ndb-management
 Summary:MySQL Community Server - ndbcluster storage engine management
 Group:  Productivity/Databases/Servers
+%if 

commit mysql-community-server for openSUSE:Factory

2013-08-01 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-08-01 17:14:14

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-06-26 20:25:07.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-08-01 17:14:16.0 +0200
@@ -1,0 +2,11 @@
+Wed Jul 31 15:31:40 CEST 2013 - mhruse...@suse.cz
+
+- get rid of info which is not info (bnc#747811)
+- minor polishing of spec/installation
+
+---
+Fri Jul 26 10:06:18 CEST 2013 - mhruse...@suse.cz
+
+- fix ownership of logdir (bnc#763150)
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.BZQjsA/_old  2013-08-01 17:14:17.0 +0200
+++ /var/tmp/diff_new_pack.BZQjsA/_new  2013-08-01 17:14:17.0 +0200
@@ -55,10 +55,10 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
-PreReq: %install_info_prereq %insserv_prereq
 %endif
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  bison
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  libaio-devel
@@ -68,7 +68,6 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
 BuildRequires:  procps
-BuildRequires:  readline-devel
 BuildRequires:  zlib-devel
 %if 0%{?suse_version}
 BuildRequires:  pwdutils
@@ -400,7 +399,7 @@
 /usr/sbin/groupadd -r mysql /dev/null 2/dev/null || :
 /usr/sbin/useradd -r -o -g mysql -u 60 -c MySQL database admin \
   -s /bin/false -d /var/lib/mysql mysql 2 /dev/null || :
-/usr/sbin/usermod -g mysql -s /bin/false mysql || :
+/usr/sbin/usermod -g mysql -s /bin/false mysql 2 /dev/null || :
 # systemd requirment
 %if 0%{?suse_version} = 1210
 %service_add_pre mysql.service
@@ -410,7 +409,7 @@
 /usr/sbin/groupadd -r mysql /dev/null 2/dev/null || :
 /usr/sbin/useradd -r -o -g mysql -u 60 -c MySQL database admin \
   -s /bin/false -d /var/lib/mysql mysql 2 /dev/null || :
-/usr/sbin/usermod -g mysql -s /bin/false mysql || :
+/usr/sbin/usermod -g mysql -s /bin/false mysql 2 /dev/null || :
 
 %post
 # systemd requirment 
@@ -433,17 +432,8 @@
 os.execute(/bin/mkdir -p /var/run/mysql/restart)
   end
 end
-dbfile=var/mysql/mysql/db.ISM
-olddir=var/mysql
-newdir=var/lib/mysql
--- Do the database files still belong to root (very old installation)?
--- Change ownerships
-if posix.stat(dbfile, uid) == 0 then
-  os.execute(/bin/chown -Rv mysql:mysql var/mysql/)
-end
 
 %posttrans
-%install_info --info-dir=%{_infodir} %{_infodir}/mysql.info.*
 if [ -d /var/lib/mysql ]; then
touch /var/lib/mysql/.run-mysql_upgrade
chown -R mysql:mysql /var/lib/mysql
@@ -483,7 +473,6 @@
 
 %postun
 if [ $1 = 0 ]; then
-   %install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.*
%{insserv_cleanup}
rm -f /var/lib/systemd/migrated/mysql.service
if [ -x /usr/bin/systemctl ]; then
@@ -502,7 +491,6 @@
 %config(noreplace) %attr(0640, root, mysql) /etc/my.cnf.d/*
 %config /etc/logrotate.d/mysql
 %doc %{_defaultdocdir}/%{name}
-%doc %{_infodir}/mysql.info.*
 /etc/init.d/mysql
 /usr/sbin/rcmysql
 %dir /usr/share/%{name}

++ configuration-tweaks.tar.bz2 ++

++ install.inc ++
--- /var/tmp/diff_new_pack.BZQjsA/_old  2013-08-01 17:14:17.0 +0200
+++ /var/tmp/diff_new_pack.BZQjsA/_new  2013-08-01 17:14:17.0 +0200
@@ -10,6 +10,9 @@
 # remove handler socket client
 rm -f %buildroot%_libdir/libhsclient*
 rm -f %buildroot%_bindir/hsclient*
+if [ -f %{buildroot}%{_bindir}/mytop ]; then
+   mv %{buildroot}%{_bindir}/mytop %{buildroot}%{_bindir}/%{name}_mytop
+fi
 rm -f %buildroot%_libdir/mysql/plugin/handlersocket.so
 # remove most static libs (FIXME: don't build them at all...)
 rm -f %buildroot%_libdir/libmysqlclient*a
@@ -56,7 +59,7 @@
 filelist mysql_client_test mysql_client_test_embedded mysql_waitpid mysqltest 
mysqltest_embedded mysql-test.files
 # all binaries that don't need to be in a default install (mysql.rpm +
 # mysql-client.rpm)
-filelist msql2mysql mysql_config_editor mysql_plugin 
mysql_convert_table_format mysql_find_rows mysql_setpermission 
mysql_tzinfo_to_sql mysql_zap mysqlaccess mysqlhotcopy perror replace 
mysql_embedded mytop hsclient mysql-tools.files
+filelist msql2mysql mysql_config_editor mysql_plugin 
mysql_convert_table_format 

commit mysql-community-server for openSUSE:Factory

2013-06-14 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-06-14 15:46:07

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-06-05 17:45:49.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-06-14 15:46:09.0 +0200
@@ -1,0 +2,10 @@
+Thu Jun  6 13:20:49 UTC 2013 - mhruse...@suse.com
+
+- enable support for libaio (bnc#796164)
+
+---
+Wed Jun  5 13:08:03 UTC 2013 - mhruse...@suse.com
+
+- better rights for logdir (bnc#789263) 
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.iMirwf/_old  2013-06-14 15:46:10.0 +0200
+++ /var/tmp/diff_new_pack.iMirwf/_new  2013-06-14 15:46:10.0 +0200
@@ -61,6 +61,7 @@
 BuildRequires:  automake
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  libaio-devel
 BuildRequires:  libedit-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
@@ -188,6 +189,9 @@
 Summary:Client for MySQL Community Server
 Group:  Productivity/Databases/Clients
 Provides:   mysql-client = %{srv_vers}
+%if 0%{?suse_version}
+PreReq: pwdutils
+%endif
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-client = %{version}
 Obsoletes:  %{extra_provides}-client  %{version}
@@ -402,6 +406,12 @@
 %service_add_pre mysql.service
 %endif
 
+%pre client
+/usr/sbin/groupadd -r mysql /dev/null 2/dev/null || :
+/usr/sbin/useradd -r -o -g mysql -u 60 -c MySQL database admin \
+  -s /bin/false -d /var/lib/mysql mysql 2 /dev/null || :
+/usr/sbin/usermod -g mysql -s /bin/false mysql || :
+
 %post
 # systemd requirment 
 %if 0%{?suse_version} = 1210

++ configuration-tweaks.tar.bz2 ++

++ install.inc ++
--- /var/tmp/diff_new_pack.iMirwf/_old  2013-06-14 15:46:10.0 +0200
+++ /var/tmp/diff_new_pack.iMirwf/_new  2013-06-14 15:46:10.0 +0200
@@ -167,6 +167,6 @@
echo '%%dir %%_libdir/mysql/plugin' mysql-client.files
echo '%%_libdir/mysql/plugin/dialog*.so'mysql-client.files
 fi
-rm -rf '%buildroot'/usr/share/doc/%{name}-%{version}
+rm -rf '%buildroot'/usr/share/doc/{mysql,mariadb}*
 rm -rf '%buildroot'/usr/share/mysql/solaris
 rm -rf '%buildroot'/usr/share/mysql/SELinux

++ mysql-patches.tar.bz2 ++

++ rc.mysql-multi ++
--- /var/tmp/diff_new_pack.iMirwf/_old  2013-06-14 15:46:10.0 +0200
+++ /var/tmp/diff_new_pack.iMirwf/_new  2013-06-14 15:46:10.0 +0200
@@ -329,7 +329,7 @@
log_dir=`dirname $i`
if [ \! -d $log_dir ]; then
mkdir -p $log_dir
-   chmod 660 $log_dir
+   chmod 770 $log_dir
fi
done
 
@@ -350,7 +350,7 @@
echo  $log_upgrade
echo Will update MySQL now, if you encounter any 
problems, please read following file: | tee -a $log_upgrade
echo   /usr/share/doc/packages/mysql/README.SuSE | 
tee -a $log_upgrade
-   sed -i -e 's|^\([^#]*skip-locking\)|#\1|' \
+   sed -i -e 
's|^\([^#]*skip-locking\)|#\1\nskip-external-locking|' \
   -e 's|^\([^#]*skip-federated\)|#\1|' /etc/my.cnf
# Check logs for inconsistencies
SRCLOGS=

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mysql-community-server for openSUSE:Factory

2013-04-23 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-04-23 15:11:07

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-03-20 11:54:50.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-04-23 15:11:13.0 +0200
@@ -1,0 +2,12 @@
+Mon Apr 22 11:36:33 UTC 2013 - mhruse...@suse.com
+
+- few fixes to init script backported form SLE
+  (mainly one race condition during update)
+
+---
+Mon Apr 22 10:49:16 UTC 2013 - mhruse...@suse.com
+
+- updated to 5.5.31, see
+  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-31.html
+
+---

Old:

  mysql-5.5.30.tar.bz2

New:

  mysql-5.5.31.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.9R7xux/_old  2013-04-23 15:11:20.0 +0200
+++ /var/tmp/diff_new_pack.9R7xux/_new  2013-04-23 15:11:20.0 +0200
@@ -35,9 +35,9 @@
 Summary:Server part of MySQL Community Server
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.30
+Version:5.5.31
 Release:0
-%define srv_vers 5.5.30
+%define srv_vers 5.5.31
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -77,9 +77,6 @@
 %if 0%{?fedora_version}  11
 BuildRequires:  sqlite
 %endif
-%if 0%{?suse_version} = 1210
-BuildRequires:  systemd
-%endif
 %if 0%{?suse_version}  1030
 Recommends: logrotate
 %else
@@ -91,6 +88,7 @@
 Requires:   perl-base
 # systemd requirements for openSUSE = 12.1
 %if 0%{?suse_version} = 1210
+BuildRequires:  systemd
 %{?systemd_requires}
 %endif
 Provides:   mysql = %{srv_vers}
@@ -413,10 +411,6 @@
 ###
 %preun
 [ $1 = 1 ] || /usr/sbin/rcmysql stop
-# systemd requirment
-%if 0%{?suse_version} = 1210
-%service_del_preun mysql.service
-%endif
 
 %pretrans -p lua
 if posix.access(/usr/sbin/rcmysql, x) then
@@ -427,7 +421,6 @@
 os.execute(/bin/mkdir -p /var/run/mysql/restart)
   end
 end
-
 dbfile=var/mysql/mysql/db.ISM
 olddir=var/mysql
 newdir=var/lib/mysql
@@ -480,11 +473,11 @@
 if [ $1 = 0 ]; then
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.*
%{insserv_cleanup}
+   rm -f /var/lib/systemd/migrated/mysql.service
+   if [ -x /usr/bin/systemctl ]; then
+   /usr/bin/systemctl daemon-reload /dev/null 21 || :
+   fi
 fi
-# systemd requirment
-%if 0%{?suse_version} = 1210
-%service_del_postun mysql.service
-%endif
 
 ###
 # Files section   #

++ build.inc ++
--- /var/tmp/diff_new_pack.9R7xux/_old  2013-04-23 15:11:20.0 +0200
+++ /var/tmp/diff_new_pack.9R7xux/_new  2013-04-23 15:11:20.0 +0200
@@ -109,6 +109,7 @@
-DWITH_INNOBASE_STORAGE_ENGINE=1
 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1  
 \
-DWITH_EMBEDDED_SERVER=true 
 \
+   -DCOMPILATION_COMMENT=openSUSE package
 \
-DDENABLE_DOWNLOADS=false   
 \
$@ ..
make %{?jobs:-j%jobs}

++ configuration-tweaks.tar.bz2 ++

++ mysql-5.5.30.tar.bz2 - mysql-5.5.31.tar.bz2 ++
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-5.5.30.tar.bz2 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-5.5.31.tar.bz2 
differ: char 11, line 1

++ mysql-patches.tar.bz2 ++

++ rc.mysql-multi ++
--- /var/tmp/diff_new_pack.9R7xux/_old  2013-04-23 15:11:21.0 +0200
+++ /var/tmp/diff_new_pack.9R7xux/_new  2013-04-23 15:11:21.0 +0200
@@ -91,9 +91,14 @@
 # See https://bugzilla.novell.com/show_bug.cgi?id=223209
 kill_mysql ()
 {
-   local pid exe
-   test -e $pid_file || return 7  # not running
-   pid=`cat $pid_file` || return 4  # insufficient privileges
+   local pid exe test_pid_file
+   if [ $1 ]; then
+   test_pid_file=$1
+   else
+   test_pid_file=$pid_file
+

commit mysql-community-server for openSUSE:Factory

2013-03-20 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-03-20 11:54:47

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-03-12 22:37:35.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-03-20 11:54:50.0 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 16:01:26 UTC 2013 - tpaszkow...@suse.com
+
+- systemd awareness for openSUSE = 12.1 
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.reQMXa/_old  2013-03-20 11:54:52.0 +0100
+++ /var/tmp/diff_new_pack.reQMXa/_new  2013-03-20 11:54:52.0 +0100
@@ -77,6 +77,9 @@
 %if 0%{?fedora_version}  11
 BuildRequires:  sqlite
 %endif
+%if 0%{?suse_version} = 1210
+BuildRequires:  systemd
+%endif
 %if 0%{?suse_version}  1030
 Recommends: logrotate
 %else
@@ -86,6 +89,10 @@
 Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
 Requires:   perl-base
+# systemd requirements for openSUSE = 12.1
+%if 0%{?suse_version} = 1210
+%{?systemd_requires}
+%endif
 Provides:   mysql = %{srv_vers}
 Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
@@ -390,12 +397,26 @@
 /usr/sbin/useradd -r -o -g mysql -u 60 -c MySQL database admin \
   -s /bin/false -d /var/lib/mysql mysql 2 /dev/null || :
 /usr/sbin/usermod -g mysql -s /bin/false mysql || :
+# systemd requirment
+%if 0%{?suse_version} = 1210
+%service_add_pre mysql.service
+%endif
+
+%post
+# systemd requirment
+%if 0%{?suse_version} = 1210
+%service_add_post mysql.service
+%endif
 
 ###
 # preun and posttran takes care of restart#
 ###
 %preun
 [ $1 = 1 ] || /usr/sbin/rcmysql stop
+# systemd requirment
+%if 0%{?suse_version} = 1210
+%service_del_preun mysql.service
+%endif
 
 %pretrans -p lua
 if posix.access(/usr/sbin/rcmysql, x) then
@@ -460,6 +481,10 @@
%install_info_delete --info-dir=%{_infodir} %{_infodir}/mysql.info.*
%{insserv_cleanup}
 fi
+# systemd requirment
+%if 0%{?suse_version} = 1210
+%service_del_postun mysql.service
+%endif
 
 ###
 # Files section   #

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mysql-community-server for openSUSE:Factory

2013-03-12 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-03-12 22:37:33

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-02-11 20:51:01.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-03-12 22:37:35.0 +0100
@@ -1,0 +2,5 @@
+Sun Mar  3 18:11:21 UTC 2013 - sch...@suse.de
+
+- Add aarch64 to the list of lib64 platforms
+
+---



Other differences:
--
++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mysql-community-server-5.5.21-aarch64-libdir.patch
 
new/mysql-patches/mysql-patches/mysql-community-server-5.5.21-aarch64-libdir.patch
--- 
old/mysql-patches/mysql-patches/mysql-community-server-5.5.21-aarch64-libdir.patch
  1970-01-01 01:00:00.0 +0100
+++ 
new/mysql-patches/mysql-patches/mysql-community-server-5.5.21-aarch64-libdir.patch
  2013-03-03 19:04:50.0 +0100
@@ -0,0 +1,15 @@
+PATCH-P1-FIX-SUSE: set libdir for aarch64 correctly
+
+Index: mysql-5.5.30/cmake/install_layout.cmake
+===
+--- mysql-5.5.30.orig/cmake/install_layout.cmake
 mysql-5.5.30/cmake/install_layout.cmake
+@@ -146,7 +146,7 @@ SET(INSTALL_BINDIR_RPM
+ SET(INSTALL_SBINDIR_RPM sbin)
+ SET(INSTALL_SCRIPTDIR_RPM   bin)
+ #
+-IF(CMAKE_SYSTEM_PROCESSOR MATCHES x86_64 OR CMAKE_SYSTEM_PROCESSOR MATCHES 
ppc64 )
++IF(CMAKE_SYSTEM_PROCESSOR MATCHES x86_64 OR CMAKE_SYSTEM_PROCESSOR MATCHES 
ppc64 OR CMAKE_SYSTEM_PROCESSOR MATCHES aarch64)
+   SET(INSTALL_LIBDIR_RPMlib64)
+   SET(INSTALL_PLUGINDIR_RPM lib64/mysql/plugin)
+ ELSE()

++ series ++
--- /var/tmp/diff_new_pack.rRxio0/_old  2013-03-12 22:37:37.0 +0100
+++ /var/tmp/diff_new_pack.rRxio0/_new  2013-03-12 22:37:37.0 +0100
@@ -17,3 +17,4 @@
 mysql-community-server-5.5.23-fail_on_missing_errmsg_sys.patch
 mysql-community-server-5.5.29-test-wrong-path.patch
 mysql-community-server-5.5.29-CVE-2012-5611.patch
+mysql-community-server-5.5.21-aarch64-libdir.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mysql-community-server for openSUSE:Factory

2013-02-11 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-02-11 20:50:58

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2013-01-21 17:41:21.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-02-11 20:51:01.0 +0100
@@ -1,0 +2,6 @@
+Thu Feb  7 11:46:07 CET 2013 - mhruse...@suse.cz
+
+- updated to 5.5.30, see
+  http://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-30.html
+
+---

Old:

  mysql-5.5.29.tar.bz2

New:

  mysql-5.5.30.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.Wxscjs/_old  2013-02-11 20:51:03.0 +0100
+++ /var/tmp/diff_new_pack.Wxscjs/_new  2013-02-11 20:51:03.0 +0100
@@ -35,9 +35,9 @@
 Summary:Server part of MySQL Community Server
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.29
-Release:1
-%define srv_vers 5.5.29
+Version:5.5.30
+Release:0
+%define srv_vers 5.5.30
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -83,10 +83,11 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client perl-base
+Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
-Provides:   mysql-Max = %{srv_vers}
+Requires:   perl-base
 Provides:   mysql = %{srv_vers}
+Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -122,18 +123,16 @@
 This package only contains the server-side programs.
 
 %if 0%{?prefered}  0
-
 %package -n libmysqlclient-devel
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
+Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
-Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MySQL Community Server development header files and libraries
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -141,22 +140,21 @@
 necessary to develop client applications for MySQL Community Server.
 
 %package -n libmysqld18
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
 Group:  Development/Libraries/C and C++
+Requires:   %{name}-errormessages = %version
 
 %description -n libmysqld18
 This package contains the development header files and libraries
 for developing applications that embed the MySQL Community Server.
 
 %package -n libmysqld-devel
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
+Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   tcpd-devel
 Requires:   libmysqld18 = %version
-Group:  Development/Libraries/C and C++
+Requires:   tcpd-devel
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -165,7 +163,6 @@
 
 %package -n libmysql55client18
 Summary:Shared Libraries for MySQL Community Server
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysql55client18
@@ -174,7 +171,6 @@
 
 %package -n libmysql55client_r18
 Summary:Shared Libraries for MySQL Community Server
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysql55client_r18
@@ -207,7 +203,8 @@
 server daemon as well as the embedded server
 
 %package bench
-Requires:   %{name}-client perl-DBD-mysql
+Requires:   %{name}-client
+Requires:   perl-DBD-mysql
 Summary:Benchmarks for MySQL Community Server
 Group:  Productivity/Databases/Tools
 Provides:   mysql-bench = %{srv_vers}
@@ -231,8 +228,8 @@
 Summary:MySQL Community Server with debug options turned on
 Group:  Productivity/Databases/Servers
 Requires:   

commit mysql-community-server for openSUSE:Factory

2013-01-21 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2013-01-21 17:41:18

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-11-22 14:03:37.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2013-01-21 17:41:21.0 +0100
@@ -1,0 +2,16 @@
+Thu Jan 17 09:09:07 CET 2013 - mhruse...@suse.cz
+
+- MySQL is not default anymore
+
+---
+Mon Jan  7 17:23:29 CET 2013 - mhruse...@suse.cz
+
+- fixed some tests depending on latin1 as a default
+
+---
+Wed Jan  2 11:44:38 CET 2013 - mhruse...@suse.cz
+
+- updated to 5.5.29, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-29.html
+
+---

Old:

  mysql-5.5.28.tar.bz2

New:

  mysql-5.5.29.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.t5R0Ox/_old  2013-01-21 17:41:23.0 +0100
+++ /var/tmp/diff_new_pack.t5R0Ox/_new  2013-01-21 17:41:23.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mysql-community-server
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 # Few definitions which will alter build
-%define prefered   1
+%define prefered   0
 %define use_cmake  1
 %define cluster0
 %define builtin_plugins partition,csv,heap,myisam,innobase
@@ -35,9 +35,9 @@
 Summary:Server part of MySQL Community Server
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.28
+Version:5.5.29
 Release:1
-%define srv_vers 5.5.28
+%define srv_vers 5.5.29
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -163,21 +163,21 @@
 for developing applications that embed the MySQL Community Server.
 %endif
 
-%package -n libmysqlclient18
+%package -n libmysql55client18
 Summary:Shared Libraries for MySQL Community Server
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
-%description -n libmysqlclient18
+%description -n libmysql55client18
 This package contains the shared libraries (.so) which certain
 languages and applications need to dynamically load and use MySQL Community 
Server.
 
-%package -n libmysqlclient_r18
+%package -n libmysql55client_r18
 Summary:Shared Libraries for MySQL Community Server
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
-%description -n libmysqlclient_r18
+%description -n libmysql55client_r18
 This package contains the shared libraries (.so) which certain
 languages and applications need to dynamically load and use MySQL Community 
Server.
 
@@ -377,9 +377,11 @@
 sed -i 's|@localstatedir@|/var/log|' support-files/mysql-log-rotate.sh
 %if 0%{prefered}  1
 for i in `grep -Rl mysqlclient .`; do
-   sed -i 's|mysqlclient|mysqlclient|g' $i
+   sed -i 's|mysqlclient|mysql55client|g' $i
 done
 %endif
+# Broken test that needs sources
+rm -f mysql-test/t/file_contents.test mysql-test/r/file_contents.result
 
 %build
 %{expand:%(cat %_sourcedir/build.inc)}
@@ -438,13 +440,13 @@
 # Various ldconfig post scripts   #
 ###
 
-%post -n libmysqlclient18 -p /sbin/ldconfig
+%post -n libmysql55client18 -p /sbin/ldconfig
 
-%postun -n libmysqlclient18 -p /sbin/ldconfig
+%postun -n libmysql55client18 -p /sbin/ldconfig
 
-%post -n libmysqlclient_r18 -p /sbin/ldconfig
+%post -n libmysql55client_r18 -p /sbin/ldconfig
 
-%postun -n libmysqlclient_r18 -p /sbin/ldconfig
+%postun -n libmysql55client_r18 -p /sbin/ldconfig
 
 %if 0%{cluster}  1
 
@@ -521,9 +523,9 @@
 %_libdir/libmysqld.so.*
 %endif
 
-%files -n libmysqlclient18
+%files -n libmysql55client18
 %defattr(-, root, root)
-%{_libdir}/libmysqlclient.so.*
+%{_libdir}/libmysql55client.so.*
 
 %if 0%{cluster}  1
 
@@ -532,9 +534,9 @@
 %{_libdir}/libndbclient.so.*
 %endif
 
-%files -n libmysqlclient_r18
+%files -n 

commit mysql-community-server for openSUSE:Factory

2012-11-22 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-11-22 14:03:28

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-08-27 16:30:49.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-11-22 14:03:37.0 +0100
@@ -1,0 +2,8 @@
+Mon Nov 19 17:27:50 CET 2012 - mhruse...@suse.cz
+
+- updated to 5.5.28, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-28.html
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-27.html
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-26.html
+
+---

Old:

  mysql-5.5.25a.tar.bz2

New:

  mysql-5.5.28.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.w3XCHU/_old  2012-11-22 14:03:40.0 +0100
+++ /var/tmp/diff_new_pack.w3XCHU/_new  2012-11-22 14:03:40.0 +0100
@@ -35,9 +35,9 @@
 Summary:Server part of MySQL Community Server
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.25a
-Release:0
-%define srv_vers 5.5.25a
+Version:5.5.28
+Release:1
+%define srv_vers 5.5.28
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -83,11 +83,10 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client
+Requires:   %{name}-client perl-base
 Requires:   %{name}-errormessages = %version
-Requires:   perl-base
-Provides:   mysql = %{srv_vers}
 Provides:   mysql-Max = %{srv_vers}
+Provides:   mysql = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -128,12 +127,13 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
-Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
+Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MySQL Community Server development header files and libraries
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -141,21 +141,22 @@
 necessary to develop client applications for MySQL Community Server.
 
 %package -n libmysqld18
-Summary:MySQL Community Server embedded server runtime library
+License:SUSE-GPL-2.0-with-FLOSS-exception
+Summary:MySQL Community Server embedded server development files
 Group:  Development/Libraries/C and C++
-Requires:   %{name}-errormessages = %version
 
 %description -n libmysqld18
-This package contains the runtime library for applications that embed
-the MySQL Community Server.
+This package contains the development header files and libraries
+for developing applications that embed the MySQL Community Server.
 
 %package -n libmysqld-devel
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
-Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   libmysqld18 = %version
 Requires:   tcpd-devel
+Requires:   libmysqld18 = %version
+Group:  Development/Libraries/C and C++
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -164,6 +165,7 @@
 
 %package -n libmysqlclient18
 Summary:Shared Libraries for MySQL Community Server
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysqlclient18
@@ -172,6 +174,7 @@
 
 %package -n libmysqlclient_r18
 Summary:Shared Libraries for MySQL Community Server
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysqlclient_r18
@@ -185,6 +188,7 @@
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-client = %{version}
 Obsoletes:  %{extra_provides}-client  %{version}
+Requires:   %{name}-errormessages = %version
 %endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-client  %{srv_vers}
@@ -203,8 +207,7 @@
 server daemon as well 

commit mysql-community-server for openSUSE:Factory

2012-08-27 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-08-27 16:30:47

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-07-14 11:50:59.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-08-27 16:30:49.0 +0200
@@ -1,0 +2,5 @@
+Mon Aug 27 09:21:59 UTC 2012 - stefan.bru...@rwth-aachen.de
+
+- correct libmysqld18 requires %{name}-errormessages 
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.fguf5s/_old  2012-08-27 16:30:58.0 +0200
+++ /var/tmp/diff_new_pack.fguf5s/_new  2012-08-27 16:30:58.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 # Few definitions which will alter build
 %define prefered   1
@@ -34,11 +33,11 @@
 
 Name:   mysql-community-server
 Summary:Server part of MySQL Community Server
-Version:5.5.25a
-Release:1
-%define srv_vers 5.5.25a
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
+Version:5.5.25a
+Release:0
+%define srv_vers 5.5.25a
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -84,10 +83,11 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client perl-base
+Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
-Provides:   mysql-Max = %{srv_vers}
+Requires:   perl-base
 Provides:   mysql = %{srv_vers}
+Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -128,13 +128,12 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
+Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
-Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MySQL Community Server development header files and libraries
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -142,22 +141,21 @@
 necessary to develop client applications for MySQL Community Server.
 
 %package -n libmysqld18
-License:SUSE-GPL-2.0-with-FLOSS-exception
-Summary:MySQL Community Server embedded server development files
+Summary:MySQL Community Server embedded server runtime library
 Group:  Development/Libraries/C and C++
+Requires:   %{name}-errormessages = %version
 
 %description -n libmysqld18
-This package contains the development header files and libraries
-for developing applications that embed the MySQL Community Server.
+This package contains the runtime library for applications that embed
+the MySQL Community Server.
 
 %package -n libmysqld-devel
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
+Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   tcpd-devel
 Requires:   libmysqld18 = %version
-Group:  Development/Libraries/C and C++
+Requires:   tcpd-devel
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -166,7 +164,6 @@
 
 %package -n libmysqlclient18
 Summary:Shared Libraries for MySQL Community Server
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysqlclient18
@@ -175,7 +172,6 @@
 
 %package -n libmysqlclient_r18
 Summary:Shared Libraries for MySQL Community Server
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysqlclient_r18
@@ -183,14 +179,12 @@
 languages and applications need to dynamically load and use MySQL Community 
Server.
 
 %package client
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:Client for MySQL Community Server
 Group:  Productivity/Databases/Clients
 Provides:   mysql-client = %{srv_vers}

commit mysql-community-server for openSUSE:Factory

2012-07-14 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-07-14 09:55:01

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-07-02 12:39:48.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-07-14 11:50:59.0 +0200
@@ -1,0 +2,13 @@
+Mon Jul  9 15:07:58 CEST 2012 - mhruse...@suse.cz
+
+- updated to 5.5.25a
+  * fixes regression bug in the optimizer could cause excessive disk
+usage for UPDATE statements. (upstream#65745, bnc#770403)
+
+---
+Mon Jul  2 15:01:10 CEST 2012 - mhruse...@suse.cz
+
+- fixed path for error messages
+- previous patch merged in
+
+---

Old:

  init_errmsgs_ptr.diff
  mysql-5.5.25.tar.bz2

New:

  mysql-5.5.25a.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.ndToAH/_old  2012-07-14 11:51:03.0 +0200
+++ /var/tmp/diff_new_pack.ndToAH/_new  2012-07-14 11:51:03.0 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# norootforbuild
 
 # Few definitions which will alter build
 %define prefered   1
@@ -33,11 +34,11 @@
 
 Name:   mysql-community-server
 Summary:Server part of MySQL Community Server
+Version:5.5.25a
+Release:1
+%define srv_vers 5.5.25a
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
-Version:5.5.25
-Release:0
-%define srv_vers 5.5.25
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -51,7 +52,6 @@
 Source11:   install.inc
 Source12:   series
 Source13:   configuration-tweaks.tar.bz2
-Patch99:init_errmsgs_ptr.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
@@ -84,11 +84,10 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client
+Requires:   %{name}-client perl-base
 Requires:   %{name}-errormessages = %version
-Requires:   perl-base
-Provides:   mysql = %{srv_vers}
 Provides:   mysql-Max = %{srv_vers}
+Provides:   mysql = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -129,12 +128,13 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
-Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
+Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MySQL Community Server development header files and libraries
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -142,6 +142,7 @@
 necessary to develop client applications for MySQL Community Server.
 
 %package -n libmysqld18
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
 Group:  Development/Libraries/C and C++
 
@@ -150,12 +151,13 @@
 for developing applications that embed the MySQL Community Server.
 
 %package -n libmysqld-devel
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
-Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   libmysqld18 = %version
 Requires:   tcpd-devel
+Requires:   libmysqld18 = %version
+Group:  Development/Libraries/C and C++
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -164,6 +166,7 @@
 
 %package -n libmysqlclient18
 Summary:Shared Libraries for MySQL Community Server
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n libmysqlclient18
@@ -172,6 +175,7 @@
 
 %package -n libmysqlclient_r18
 Summary:Shared Libraries for MySQL Community Server
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/Other
 
 %description -n 

commit mysql-community-server for openSUSE:Factory

2012-07-02 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-07-02 12:39:45

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-06-26 17:47:39.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-07-02 12:39:48.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun 26 19:51:35 UTC 2012 - stefan.bru...@rwth-aachen.de
+
+- initialize errmsgs pointer (bnc#769131)
+
+---

New:

  init_errmsgs_ptr.diff



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.vTOgTd/_old  2012-07-02 12:39:53.0 +0200
+++ /var/tmp/diff_new_pack.vTOgTd/_new  2012-07-02 12:39:53.0 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 # Few definitions which will alter build
 %define prefered   1
@@ -34,11 +33,11 @@
 
 Name:   mysql-community-server
 Summary:Server part of MySQL Community Server
-Version:5.5.25
-Release:1
-%define srv_vers 5.5.25
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
+Version:5.5.25
+Release:0
+%define srv_vers 5.5.25
 Url:http://www.mysql.com
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
@@ -52,16 +51,26 @@
 Source11:   install.inc
 Source12:   series
 Source13:   configuration-tweaks.tar.bz2
+Patch99:init_errmsgs_ptr.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
 PreReq: %install_info_prereq %insserv_prereq
 %endif
-BuildRequires:  gcc-c++ ncurses-devel openssl-devel procps readline-devel
-BuildRequires:  autoconf automake cmake libtool zlib-devel
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  ncurses-devel
+BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
+BuildRequires:  procps
+BuildRequires:  readline-devel
+BuildRequires:  zlib-devel
 %if 0%{?suse_version}
-BuildRequires:  pwdutils tcpd-devel
+BuildRequires:  pwdutils
+BuildRequires:  tcpd-devel
 %endif
 %if 0%{?suse_version}  1030 || 0%{?fedora_version}  8
 BuildRequires:  fdupes
@@ -75,10 +84,11 @@
 Requires:   logrotate
 %endif
 # required by rcmysql
-Requires:   %{name}-client perl-base
+Requires:   %{name}-client
 Requires:   %{name}-errormessages = %version
-Provides:   mysql-Max = %{srv_vers}
+Requires:   perl-base
 Provides:   mysql = %{srv_vers}
+Provides:   mysql-Max = %{srv_vers}
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides} = %{version}
 Obsoletes:  %{extra_provides}  %{version}
@@ -119,13 +129,12 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
+Requires:   glibc-devel
 Requires:   libmysqlclient18 = %version
 Requires:   libmysqlclient_r18 = %version
-Requires:   glibc-devel
 Requires:   openssl-devel
 Requires:   zlib-devel
 Summary:MySQL Community Server development header files and libraries
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqlclient-devel
@@ -133,7 +142,6 @@
 necessary to develop client applications for MySQL Community Server.
 
 %package -n libmysqld18
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
 Group:  Development/Libraries/C and C++
 
@@ -142,13 +150,12 @@
 for developing applications that embed the MySQL Community Server.
 
 %package -n libmysqld-devel
-License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:MySQL Community Server embedded server development files
+Group:  Development/Libraries/C and C++
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version
-Requires:   tcpd-devel
 Requires:   libmysqld18 = %version
-Group:  Development/Libraries/C and C++
+Requires:   tcpd-devel
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
@@ -157,7 +164,6 @@
 
 %package -n libmysqlclient18
 Summary:Shared Libraries for MySQL Community Server
-License:

commit mysql-community-server for openSUSE:Factory

2012-06-26 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-06-26 17:47:37

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-04-17 22:00:12.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-06-26 17:47:39.0 +0200
@@ -1,0 +2,16 @@
+Tue Jun 19 22:28:24 UTC 2012 - stefan.bru...@rwth-aachen.de
+
+- split off files containing error messages, needed by both
+  standalone and embedded server (bnc#712749)
+- bail out early on broken error message files, instead of
+  failing silently later ( http://bugs.mysql.com/bug.php?id=39693 )
+
+---
+Tue Jun 12 08:19:02 CEST 2012 - mhruse...@suse.cz
+
+- updated to 5.5.25, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-23.html
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-25.html
+
+---

Old:

  mysql-5.5.22.tar.bz2

New:

  mysql-5.5.25.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.P6H3Sf/_old  2012-06-26 17:47:42.0 +0200
+++ /var/tmp/diff_new_pack.P6H3Sf/_new  2012-06-26 17:47:42.0 +0200
@@ -34,9 +34,9 @@
 
 Name:   mysql-community-server
 Summary:Server part of MySQL Community Server
-Version:5.5.22
+Version:5.5.25
 Release:1
-%define srv_vers 5.5.22
+%define srv_vers 5.5.25
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
 Url:http://www.mysql.com
@@ -76,6 +76,7 @@
 %endif
 # required by rcmysql
 Requires:   %{name}-client perl-base
+Requires:   %{name}-errormessages = %version
 Provides:   mysql-Max = %{srv_vers}
 Provides:   mysql = %{srv_vers}
 %if 0%{?use_extra_provides}  0
@@ -180,6 +181,7 @@
 %if 0%{?use_extra_provides}  0
 Provides:   %{extra_provides}-client = %{version}
 Obsoletes:  %{extra_provides}-client  %{version}
+Requires:   %{name}-errormessages = %version
 %endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-client  %{srv_vers}
@@ -189,6 +191,14 @@
 %description client
 This package contains the standard clients for MySQL Community Server.
 
+%package errormessages
+Summary:MySQL Community Server development header files and libraries
+Group:  Development/Libraries/C and C++
+
+%description errormessages
+This package provides the translated error messages for the standalone
+server daemon as well as the embedded server
+
 %package bench
 Requires:   %{name}-client perl-DBD-mysql
 License:SUSE-GPL-2.0-with-FLOSS-exception
@@ -356,7 +366,9 @@
 # remove unneeded manpages ('make install' basically installs everything under
 # man/*)
 rm -f man/mysqlman.1# dummy fallback manpage
+[ \! -f man/CMakeLists.txt ] || sed -i 's|mysqlman.1||' man/CMakeLists.txt
 rm -f man/mysql.server.1# init script, not installed in our rpm
+[ \! -f man/CMakeLists.txt ] || sed -i 's|mysql.server.1||' man/CMakeLists.txt
 rm -f man/make_win_*.1  # windows build scripts
 rm -f man/comp_err.1# built-time utility
 # 5.1 Carrier Grade Edition only / still under development as of 5.1.22
@@ -469,13 +481,22 @@
 %doc %{_infodir}/mysql.info.*
 /etc/init.d/mysql
 /usr/sbin/rcmysql
-/usr/share/mysql/
+%dir /usr/share/%{name}
+%dir /usr/share/mysql
+/usr/share/%{name}/charsets/
+/usr/share/mysql/*.cnf
+/usr/share/mysql/*.ini
+/usr/share/%{name}/*.sql
 %ghost %dir %attr(755,mysql,mysql)/var/run/mysql
 %dir %{_libdir}/mysql
 %{_libdir}/mysql/mysqld.sym
 %config /etc/sysconfig/SuSEfirewall2.d/services/mysql
 %dir %_libdir/mysql/plugin
-%_libdir/mysql/plugin/*.so
+%_libdir/mysql/plugin/[!d]*.so
+
+%files errormessages -f errormessages.files
+%defattr(-, root, root)
+/usr/share/%{name}/*/errmsg.sys
 
 %files client -f mysql-client.files
 %defattr(-, root, root)

++ build.inc ++
--- /var/tmp/diff_new_pack.P6H3Sf/_old  2012-06-26 17:47:42.0 +0200
+++ /var/tmp/diff_new_pack.P6H3Sf/_new  2012-06-26 17:47:42.0 +0200
@@ -102,6 +102,7 @@
-DWITH_LIBEDIT=0
 \
-DINSTALL_LAYOUT=RPM
 \
-DMYSQL_UNIX_ADDR=%{socketpath}/mysql.sock  
 \
+ 

commit mysql-community-server for openSUSE:Factory

2012-04-17 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-04-17 21:59:58

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-03-20 17:47:28.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-04-17 22:00:12.0 +0200
@@ -1,0 +2,6 @@
+Tue Mar 27 08:31:58 CEST 2012 - mhruse...@suse.cz
+
+- updated to 5.5.22, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-22.html
+
+---

Old:

  mysql-5.5.21.tar.bz2

New:

  mysql-5.5.22.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.1KbhOR/_old  2012-04-17 22:00:16.0 +0200
+++ /var/tmp/diff_new_pack.1KbhOR/_new  2012-04-17 22:00:16.0 +0200
@@ -34,9 +34,9 @@
 
 Name:   mysql-community-server
 Summary:Server part of MySQL Community Server
-Version:5.5.21
+Version:5.5.22
 Release:1
-%define srv_vers 5.5.21
+%define srv_vers 5.5.22
 License:SUSE-GPL-2.0-with-FLOSS-exception
 Group:  Productivity/Databases/Servers
 Url:http://www.mysql.com

++ configuration-tweaks.tar.bz2 ++

++ mysql-5.5.21.tar.bz2 - mysql-5.5.22.tar.bz2 ++
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-5.5.21.tar.bz2 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-5.5.22.tar.bz2 
differ: char 11, line 1

++ mysql-patches.tar.bz2 ++

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mysql-community-server for openSUSE:Factory

2012-03-20 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-03-20 17:47:26

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2012-03-01 17:21:11.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-03-20 17:47:28.0 +0100
@@ -1,0 +2,10 @@
+Fri Mar 16 15:01:14 UTC 2012 - dval...@suse.com
+
+- fix libdir for ppc64 
+
+---
+Wed Mar 14 15:57:38 UTC 2012 - mhruse...@suse.cz
+
+- better va_list handling (fixes build on arm)
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.l9PHOv/_old  2012-03-20 17:47:31.0 +0100
+++ /var/tmp/diff_new_pack.l9PHOv/_new  2012-03-20 17:47:31.0 +0100
@@ -22,6 +22,8 @@
 %define use_cmake  1
 %define cluster0
 %define builtin_plugins partition,csv,heap,myisam,innobase
+%define use_extra_provides 1
+%define extra_provides mysql-community-server_55
 
 %if %{?rel:0}%{!?rel:1}
 %define rel 1
@@ -76,6 +78,10 @@
 Requires:   %{name}-client perl-base
 Provides:   mysql-Max = %{srv_vers}
 Provides:   mysql = %{srv_vers}
+%if 0%{?use_extra_provides}  0
+Provides:   %{extra_provides} = %{version}
+Obsoletes:  %{extra_provides}  %{version}
+%endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql  %{srv_vers}
 Obsoletes:  mysql-Max  %{srv_vers}
@@ -171,6 +177,10 @@
 Summary:Client for MySQL Community Server
 Group:  Productivity/Databases/Clients
 Provides:   mysql-client = %{srv_vers}
+%if 0%{?use_extra_provides}  0
+Provides:   %{extra_provides}-client = %{version}
+Obsoletes:  %{extra_provides}-client  %{version}
+%endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-client  %{srv_vers}
 %endif
@@ -185,6 +195,10 @@
 Summary:Benchmarks for MySQL Community Server
 Group:  Productivity/Databases/Tools
 Provides:   mysql-bench = %{srv_vers}
+%if 0%{?use_extra_provides}  0
+Provides:   %{extra_provides}-bench = %{version}
+Obsoletes:  %{extra_provides}-bench  %{version}
+%endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-bench  %{srv_vers}
 %endif
@@ -204,6 +218,10 @@
 Requires:   %{name} = %{version}
 Provides:   mysql-debug = %{srv_vers}
 Provides:   %{name}-debug = %{srv_vers}
+%if 0%{?use_extra_provides}  0
+Provides:   %{extra_provides}-debug-verion = %{version}
+Obsoletes:  %{extra_provides}-debug-version  %{version}
+%endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-debug  %{srv_vers}
 %endif
@@ -226,6 +244,10 @@
 Requires:   %{name}-tools = %{version}
 Requires:   %{name}-bench = %{version}
 Provides:   mysql-test = %{srv_vers}
+%if 0%{?use_extra_provides}  0
+Provides:   %{extra_provides}-test = %{version}
+Obsoletes:  %{extra_provides}-test  %{version}
+%endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-test  %{srv_vers}
 %endif
@@ -244,6 +266,10 @@
 # make sure this package is installed when updating from 10.2 and older
 Provides:   mysql:/usr/bin/mysqlhotcopy mysql-client:/usr/bin/perror
 Provides:   mysql-tools = %{srv_vers}
+%if 0%{?use_extra_provides}  0
+Provides:   %{extra_provides}-tools = %{version}
+Obsoletes:  %{extra_provides}-tools  %{version}
+%endif
 %if 0%{?prefered}  0
 Obsoletes:  mysql-tools  %{srv_vers}
 %endif

++ configuration-tweaks.tar.bz2 ++

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mysql-community-server-5.5.21-ppc64-libdir.patch
 
new/mysql-patches/mysql-patches/mysql-community-server-5.5.21-ppc64-libdir.patch
--- 
old/mysql-patches/mysql-patches/mysql-community-server-5.5.21-ppc64-libdir.patch
1970-01-01 01:00:00.0 +0100
+++ 
new/mysql-patches/mysql-patches/mysql-community-server-5.5.21-ppc64-libdir.patch
2012-03-16 13:27:30.0 +0100
@@ -0,0 +1,19 @@
+PATCH-P1-FIX-SUSE: set libdir for ppc64 correctly
+
+The patch sets correct libdir for ppc64
+
+Maintainer: Michal Hrusecky michal.hruse...@opensuse.org
+
+Index: mysql-5.5.21/cmake/install_layout.cmake
+===
+--- mysql-5.5.21.orig/cmake/install_layout.cmake
 mysql-5.5.21/cmake/install_layout.cmake
+@@ -138,7 +138,7 @@ SET(INSTALL_BINDIR_RPM
+ 

commit mysql-community-server for openSUSE:Factory

2012-03-07 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-03-07 13:43:25

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:




Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.HPnMvn/_old  2012-03-07 13:43:30.0 +0100
+++ /var/tmp/diff_new_pack.HPnMvn/_new  2012-03-07 13:43:30.0 +0100
@@ -181,7 +181,7 @@
 
 %package bench
 Requires:   %{name}-client perl-DBD-mysql
-License:LSUSE-GPL-2.0-with-FLOSS-exception
+License:SUSE-GPL-2.0-with-FLOSS-exception
 Summary:Benchmarks for MySQL Community Server
 Group:  Productivity/Databases/Tools
 Provides:   mysql-bench = %{srv_vers}

++ configuration-tweaks.tar.bz2 ++

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mysql-community-server for openSUSE:Factory

2012-03-01 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2012-03-01 17:21:10

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2011-11-05 11:26:24.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2012-03-01 17:21:11.0 +0100
@@ -1,0 +2,32 @@
+Wed Feb 22 14:06:55 CET 2012 - mhruse...@suse.cz
+
+- updated to 5.5.21, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-21.html
+
+---
+Wed Feb 15 10:54:25 UTC 2012 - cfarr...@suse.com
+
+- license update: SUSE-GPL-2.0-with-FLOSS-exception
+
+---
+Wed Feb  1 18:22:20 UTC 2012 - mhruse...@suse.cz
+
+- updated to 5.5.20, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-20.html
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-19.html
+
+---
+Mon Jan 30 08:36:04 UTC 2012 - mhruse...@suse.cz
+
+- adding /usr/share/aclocal to the files list
+- renaming *-debug package to *-debug-version to avoid conflicts
+
+---
+Mon Dec  5 17:54:38 CET 2011 - mhruse...@suse.cz
+
+- migrated to the common packaging
+- updated to 5.5.18, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-18.html
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-17.html
+
+---

Old:

  default_plugins.cnf
  mysql-5.5.15-arm.patch
  mysql-5.5.16.tar.bz2
  old-ssl.series

New:

  configuration-tweaks.tar.bz2
  mysql-5.5.21.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
 688 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.spec
 and 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.spec

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.5VdYWm/_old  2012-03-01 17:21:15.0 +0100
+++ /var/tmp/diff_new_pack.5VdYWm/_new  2012-03-01 17:21:15.0 +0100
@@ -1,6 +1,2 @@
 libmysqlclient18
 libmysqlclient_r18
-libmysqlclient-devel
-  requires -libmysqlclient-targettype
-  requires libmysqlclient18-targettype = version
-  requires libmysqlclient_r18-targettype = version

++ build.inc ++
--- /var/tmp/diff_new_pack.5VdYWm/_old  2012-03-01 17:21:15.0 +0100
+++ /var/tmp/diff_new_pack.5VdYWm/_new  2012-03-01 17:21:15.0 +0100
@@ -3,7 +3,10 @@
 %else
 %define socketpath /var/run/mysql
 %endif
-export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS 
-DFORCE_INIT_OF_VARS -fno-strict-aliasing -Wno-unused-parameter
+%if 0%{?suse_version}  1140
+export WARN_DIS=$WARN_DIS -Wno-unused-but-set-variable -fno-strict-aliasing 
-Wno-unused-parameter 
+%endif
+export CFLAGS=$RPM_OPT_FLAGS -DPIC -fPIC -DUNDEF_HAVE_INITGROUPS 
-DFORCE_INIT_OF_VARS $WARN_DIS 
 export CXXFLAGS=$CFLAGS -fno-exceptions -fno-rtti
 
 %if 0%{use_cmake}  1
@@ -17,7 +20,7 @@
pushd _build$suffix
../configure \
--enable-assembler \
-   --without-readline \
+   --with-readline \
--infodir=%{_infodir} \
--libdir=%{_libdir} \
--libexecdir=/usr/sbin \
@@ -45,6 +48,7 @@
 %endif
--with-ssl=/usr \
--with-plugins=%{builtin_plugins} \
+   --without-plugin-handlersocket \
HOSTNAME=/bin/hostname -f \
$@
# Add this for MyISAM RAID support:
@@ -66,7 +70,11 @@
popd
 }
 # Build the client, extra tools, libraries
+%if 0%{?prefered}  0
 BuildMySQL  --with-embedded-server
+%else
+BuildMySQL  --without-embedded-server
+%endif
 # build mysqld-debug
 BuildMySQL -debug --with-debug --without-embedded-server
 
@@ -109,5 +117,4 @@
 
 BuildMySQL  -DCMAKE_BUILD_TYPE=Release -DINSTALL_SQLBENCHDIR=share
 BuildMySQL -debug -DCMAKE_BUILD_TYPE=Debug
-
 %endif

++ install.inc ++
--- /var/tmp/diff_new_pack.5VdYWm/_old  2012-03-01 17:21:15.0 +0100
+++ /var/tmp/diff_new_pack.5VdYWm/_new  2012-03-01 17:21:15.0 +0100
@@ -7,6 +7,10 @@
 # install the client, extra tools, libraries and the standard server
 make -C _build install DESTDIR=%buildroot benchdir_root=/usr/share/
 install -m 644 _build/sql/mysqld.sym %buildroot%_libdir/mysql/mysqld.sym
+# remove handler socket client
+rm 

commit mysql-community-server for openSUSE:Factory

2011-10-25 Thread h_root
Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory checked in at 2011-10-25 16:17:19

Comparing /work/SRC/openSUSE:Factory/mysql-community-server (Old)
 and  /work/SRC/openSUSE:Factory/.mysql-community-server.new (New)


Package is mysql-community-server, Maintainer is 

Changes:

--- 
/work/SRC/openSUSE:Factory/mysql-community-server/mysql-community-server.changes
2011-10-19 13:43:29.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.mysql-community-server.new/mysql-community-server.changes
   2011-10-25 16:17:20.0 +0200
@@ -1,0 +2,6 @@
+Thu Oct 20 19:03:22 UTC 2011 - a...@suse.de
+
+- Add empty line after libmysqld18 postun, so that rpm does not
+  use the next line as argument.
+
+---



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.grkJxK/_old  2011-10-25 16:17:24.0 +0200
+++ /var/tmp/diff_new_pack.grkJxK/_new  2011-10-25 16:17:24.0 +0200
@@ -489,6 +489,7 @@
 %post -n libmysqld18 -p /sbin/ldconfig
 
 %postun -n libmysqld18 -p /sbin/ldconfig
+
 %endif
 
 
#---

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mysql-community-server for openSUSE:Factory

2011-10-03 Thread h_root

Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory
checked in at Mon Oct 3 20:00:42 CEST 2011.




--- openSUSE:Factory/mysql-community-server/mysql-community-server.changes  
2011-09-23 02:14:04.0 +0200
+++ 
/mounts/work_src_done/STABLE/mysql-community-server/mysql-community-server.changes
  2011-10-02 17:20:16.0 +0200
@@ -1,0 +2,11 @@
+Sun Oct  2 15:38:26 CEST 2011 - mhruse...@suse.cz
+
+- updated to 5.5.16, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-16.html
+
+---
+Sun Oct  2 13:42:43 CEST 2011 - mhruse...@suse.cz
+
+- passing correct types to add_plugin (fixes arm build)
+
+---

calling whatdependson for head-i586


Old:

  mysql-5.5.15.tar.bz2

New:

  mysql-5.5.15-arm.patch
  mysql-5.5.16.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.CBjpNe/_old  2011-10-03 20:00:38.0 +0200
+++ /var/tmp/diff_new_pack.CBjpNe/_new  2011-10-03 20:00:38.0 +0200
@@ -32,9 +32,9 @@
 
 Name:   mysql-community-server
 Summary:A True Multiuser, Multithreaded SQL Database Server
-Version:5.5.15
-%define srv_vers   5.5.15
+Version:5.5.16
 Release:1
+%define srv_vers   5.5.16
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Group:  Productivity/Databases/Servers
 Url:http://www.mysql.com
@@ -52,13 +52,14 @@
 Source12:   series
 Source13:  default_plugins.cnf
 Source14:  old-ssl.series
+Patch1: mysql-5.5.15-arm.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
 %else
-#PreReq: /usr/sbin/useradd /usr/sbin/usermod /usr/sbin/groupadd 
+PreReq: /usr/sbin/useradd /usr/sbin/usermod /usr/sbin/groupadd 
 %endif
-#PreReq: coreutils sed grep
+PreReq: coreutils sed grep
 %if 0%{?suse_version}
 PreReq: %install_info_prereq %insserv_prereq
 %endif
@@ -119,6 +120,7 @@
 
 %if 0%{?prefered}  0
 
#---
+
 %package -n libmysqlclient-devel
 
#---
 # mysql-devel was last used in openSUSE 10.2
@@ -166,6 +168,7 @@
 %endif
 
 
#---
+
 %package -n libmysqlclient18
 
#---
 Summary:MySQL Shared Libraries
@@ -241,8 +244,10 @@
 
 
#---
 %if %{defined mdkversion}
+
 %package debuging
 %else
+
 %package debug
 %endif
 
#---
@@ -255,9 +260,13 @@
 Conflicts:  otherproviders(mysql-debug)
 
 %if %{defined mdkversion}
+
 %description debuging
+
 %else
+
 %description debug
+
 %endif
 A version of the mysql server that has some debug code turned on.
 It should be only used to track down problems with the standard
@@ -270,8 +279,8 @@
 Michael Widenius mo...@mysql.com
 David Axmark dav...@mysql.com
 
-
 
#---
+
 %package test
 
#---
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
@@ -384,6 +393,7 @@
 %endif
 
 
#---
+
 %prep
 
#---
 %setup -q -n mysql-%version -D -a 9
@@ -394,6 +404,7 @@
 mysql-patches/tools/apply-series.sh %{S:12}
 # remove unneeded manpages ('make install' basically installs everything under
 # man/*)
+%patch1
 rm -f man/mysqlman.1# dummy fallback manpage
 rm -f man/mysql.server.1# init script, not installed in our rpm
 rm -f man/make_win_*.1  # windows build scripts
@@ -405,24 +416,28 @@
 sed -i 's|@localstatedir@|/var/log|' support-files/mysql-log-rotate.sh
 
 
#---
+
 %build
 
#---
 %{expand:%(cat %_sourcedir/build.inc)}
 
 
#---
+
 %install
 
#---
 %{expand:%(cat %_sourcedir/install.inc)}
 
 
#---
+
 %pre
 

commit mysql-community-server for openSUSE:Factory

2011-09-19 Thread h_root

Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory
checked in at Mon Sep 19 21:24:24 CEST 2011.




--- mysql-community-server/mysql-community-server.changes   2011-09-07 
22:02:39.0 +0200
+++ 
/mounts/work_src_done/STABLE/mysql-community-server/mysql-community-server.changes
  2011-09-16 10:45:54.0 +0200
@@ -1,0 +2,8 @@
+Fri Sep  9 20:11:57 UTC 2011 - jeng...@medozas.de
+
+- Update baselibs.conf to also provide libmysqlclient-devel-32bit
+- Add default_plugins.cnf/old-ssl.series to specfile
+  (osc warning: (W) Attention, default_plugins.cnf is not
+  mentioned in spec files as source or patch.)
+
+---

calling whatdependson for head-i586




Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.9GjIgb/_old  2011-09-19 21:24:20.0 +0200
+++ /var/tmp/diff_new_pack.9GjIgb/_new  2011-09-19 21:24:20.0 +0200
@@ -33,8 +33,8 @@
 Name:   mysql-community-server
 Summary:A True Multiuser, Multithreaded SQL Database Server
 Version:5.5.15
-Release:1
 %define srv_vers   5.5.15
+Release:1
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Group:  Productivity/Databases/Servers
 Url:http://www.mysql.com
@@ -50,6 +50,8 @@
 Source10:   build.inc
 Source11:   install.inc
 Source12:   series
+Source13:  default_plugins.cnf
+Source14:  old-ssl.series
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
@@ -117,7 +119,6 @@
 
 %if 0%{?prefered}  0
 
#---
-
 %package -n libmysqlclient-devel
 
#---
 # mysql-devel was last used in openSUSE 10.2
@@ -165,7 +166,6 @@
 %endif
 
 
#---
-
 %package -n libmysqlclient18
 
#---
 Summary:MySQL Shared Libraries
@@ -241,31 +241,23 @@
 
 
#---
 %if %{defined mdkversion}
-
 %package debuging
-
-Group:  Productivity/Databases/Servers
 %else
-
 %package debug
-Group:  Productivity/Databases/Servers
 %endif
 
#---
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Summary:MySQL server with debug options turned on
+Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}
 Provides:   mysql-debug = %{srv_vers}
 Obsoletes:  mysql-debug  %{srv_vers}
 Conflicts:  otherproviders(mysql-debug)
 
 %if %{defined mdkversion}
-
 %description debuging
-
 %else
-
 %description debug
-
 %endif
 A version of the mysql server that has some debug code turned on.
 It should be only used to track down problems with the standard
@@ -278,8 +270,8 @@
 Michael Widenius mo...@mysql.com
 David Axmark dav...@mysql.com
 
-#---
 
+#---
 %package test
 
#---
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
@@ -392,7 +384,6 @@
 %endif
 
 
#---
-
 %prep
 
#---
 %setup -q -n mysql-%version -D -a 9
@@ -414,19 +405,16 @@
 sed -i 's|@localstatedir@|/var/log|' support-files/mysql-log-rotate.sh
 
 
#---
-
 %build
 
#---
 %{expand:%(cat %_sourcedir/build.inc)}
 
 
#---
-
 %install
 
#---
 %{expand:%(cat %_sourcedir/install.inc)}
 
 
#---
-
 %pre
 
#---
 /usr/sbin/groupadd -r mysql /dev/null 2/dev/null || :
@@ -435,7 +423,6 @@
 /usr/sbin/usermod -g mysql -s /bin/false mysql || :
 
 
#---
-
 %preun
 
#---
 [ $1 = 1 ] || /usr/sbin/rcmysql stop
@@ -457,7 +444,6 @@
 

commit mysql-community-server for openSUSE:Factory

2011-09-15 Thread h_root

Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory
checked in at Thu Sep 15 14:02:11 CEST 2011.




--- mysql-community-server/mysql-community-server.changes   2011-06-06 
11:05:16.0 +0200
+++ 
/mounts/work_src_done/STABLE/mysql-community-server/mysql-community-server.changes
  2011-09-07 22:02:39.0 +0200
@@ -1,0 +2,17 @@
+Wed Sep  7 20:06:36 UTC 2011 - andrea.turr...@gmail.com
+
+- fixed typos from descriptions of mysql-community-server.spec
+
+---
+Wed Aug 17 14:04:19 CEST 2011 - mhruse...@suse.cz
+
+- updated to 5.5.15, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-15.html
+
+---
+Wed Jul 27 13:26:39 CEST 2011 - mhruse...@suse.cz
+
+- updated to 5.5.14, see
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-14.html
+
+---

calling whatdependson for head-i586


Old:

  mysql-5.5.13.tar.bz2

New:

  mysql-5.5.15.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.gwCTCq/_old  2011-09-15 14:02:03.0 +0200
+++ /var/tmp/diff_new_pack.gwCTCq/_new  2011-09-15 14:02:03.0 +0200
@@ -32,9 +32,9 @@
 
 Name:   mysql-community-server
 Summary:A True Multiuser, Multithreaded SQL Database Server
-Version:5.5.13
+Version:5.5.15
 Release:1
-%define srv_vers   5.5.13
+%define srv_vers   5.5.15
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Group:  Productivity/Databases/Servers
 Url:http://www.mysql.com
@@ -146,7 +146,7 @@
 
 %description -n libmysqld18
 This package contains the development header files and libraries
-for developing application that embed the MySQL server
+for developing applications that embed the MySQL server.
 
 
 
#---
@@ -161,7 +161,7 @@
 
 %description -n libmysqld-devel
 This package contains the development header files and libraries
-for developing application that embed the MySQL server
+for developing applications that embed the MySQL server.
 %endif
 
 
#---
@@ -244,14 +244,15 @@
 
 %package debuging
 
+Group:  Productivity/Databases/Servers
 %else
 
 %package debug
+Group:  Productivity/Databases/Servers
 %endif
 
#---
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Summary:MySQL server with debug options turned on
-Group:  Productivity/Databases/Servers
 Requires:   %{name} = %{version}
 Provides:   mysql-debug = %{srv_vers}
 Obsoletes:  mysql-debug  %{srv_vers}

++ mysql-5.5.13.tar.bz2 - mysql-5.5.15.tar.bz2 ++
mysql-community-server/mysql-5.5.13.tar.bz2 
/mounts/work_src_done/STABLE/mysql-community-server/mysql-5.5.15.tar.bz2 
differ: char 11, line 1






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit mysql-community-server for openSUSE:Factory

2011-05-23 Thread h_root

Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory
checked in at Mon May 23 15:55:23 CEST 2011.




--- mysql-community-server/mysql-community-server.changes   2011-05-11 
12:32:15.0 +0200
+++ 
/mounts/work_src_done/STABLE/mysql-community-server/mysql-community-server.changes
  2011-05-23 12:08:05.0 +0200
@@ -1,0 +2,5 @@
+Mon May 23 12:07:18 CEST 2011 - mhruse...@suse.cz
+
+- enable creation of libraries and devel packages
+
+---

calling whatdependson for head-i586




Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.0gtNXv/_old  2011-05-23 15:54:09.0 +0200
+++ /var/tmp/diff_new_pack.0gtNXv/_new  2011-05-23 15:54:09.0 +0200
@@ -18,7 +18,7 @@
 # norootforbuild
 
 # Few definitions which will alter build
-%define prefered   0
+%define prefered   1
 %define use_cmake  1
 %define cluster0
 %define builtin_plugins partition,csv,heap,myisam,innobase
@@ -33,7 +33,7 @@
 Name:   mysql-community-server
 Summary:A True Multiuser, Multithreaded SQL Database Server
 Version:5.5.12
-Release:1
+Release:3
 %define srv_vers   5.5.12
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Group:  Productivity/Databases/Servers
@@ -138,13 +138,13 @@
 David Axmark dav...@mysql.com
 
 
#---
-%package -n libmysqld0
+%package -n libmysqld18
 
#---
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Summary:MySQL embedded server development files
 Group:  Development/Libraries/C and C++
 
-%description -n libmysqld0
+%description -n libmysqld18
 This package contains the development header files and libraries
 for developing application that embed the MySQL server
 
@@ -156,7 +156,7 @@
 Summary:MySQL embedded server development files
 # the headers files are the shared
 Requires:   libmysqlclient-devel = %version tcpd-devel
-Requires:   libmysqld0 = %version
+Requires:   libmysqld18 = %version
 Group:  Development/Libraries/C and C++
 
 %description -n libmysqld-devel
@@ -504,14 +504,14 @@
 %if 0%{prefered}  0
 
#---
 
-%post -n libmysqld0
+%post -n libmysqld18
 
#---
 /sbin/ldconfig
 
#---
 
 
#---
 
-%postun -n libmysqld0
+%postun -n libmysqld18
 
#---
 /sbin/ldconfig
 
#---
@@ -587,7 +587,7 @@
 
 
#---
 
-%files -n libmysqld0
+%files -n libmysqld18
 
#---
 %defattr(-,root,root)
 %_libdir/libmysqld.so.*

++ build.inc ++
--- /var/tmp/diff_new_pack.0gtNXv/_old  2011-05-23 15:54:09.0 +0200
+++ /var/tmp/diff_new_pack.0gtNXv/_new  2011-05-23 15:54:09.0 +0200
@@ -109,4 +109,5 @@
 
 BuildMySQL  -DCMAKE_BUILD_TYPE=Release -DINSTALL_SQLBENCHDIR=share
 BuildMySQL -debug -DCMAKE_BUILD_TYPE=Debug
+
 %endif

++ install.inc ++
--- /var/tmp/diff_new_pack.0gtNXv/_old  2011-05-23 15:54:09.0 +0200
+++ /var/tmp/diff_new_pack.0gtNXv/_new  2011-05-23 15:54:09.0 +0200
@@ -9,6 +9,7 @@
 install -m 644 _build/sql/mysqld.sym %buildroot%_libdir/mysql/mysqld.sym
 # remove most static libs (FIXME: don't build them at all...)
 rm -f %buildroot%_libdir/libmysqlclient*a
+rm -f %buildroot%_libdir/libmysqlservices*a
 rm -f %buildroot%_libdir/mysql/*.a %buildroot%_libdir/mysql/*.la
 rm -f %buildroot%_libdir/mysql/plugin/*a
 # XXX: package these? The ndb tools are linked statically atm
@@ -58,7 +59,7 @@
 install -d -m 755 %buildroot/etc/logrotate.d
 install -d -m 755 %buildroot/etc/init.d
 install -m 644 _build/support-files/mysql-log-rotate 
%buildroot/etc/logrotate.d/mysql
-%if 0%{?prefered}  0
+%if 0%{?prefered}  0%{?use_cmake}
 install -m 644 _buildlibmysqld/*.so* %buildroot%_libdir
 ln -s libmysqld.so.0.0.1 %buildroot%_libdir/libmysqld.so.0
 ln -s libmysqld.so.0.0.1 %buildroot%_libdir/libmysqld.so

++ mysql-patches.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mysql-patches/mysql-patches/mysql-community-server-5.1.30-federated-workaround.patch
 

commit mysql-community-server for openSUSE:Factory

2011-05-20 Thread h_root

Hello community,

here is the log from the commit of package mysql-community-server for 
openSUSE:Factory
checked in at Fri May 20 14:43:50 CEST 2011.




--- mysql-community-server/mysql-community-server.changes   2011-02-21 
01:39:23.0 +0100
+++ 
/mounts/work_src_done/STABLE/mysql-community-server/mysql-community-server.changes
  2011-05-11 12:32:15.0 +0200
@@ -2 +2 @@
-Mon Feb 21 01:39:16 CET 2011 - r...@suse.de
+Mon May  9 08:32:16 CEST 2011 - mhruse...@suse.cz
@@ -4 +4,39 @@
-- add default_plugins.cnf as source to specfile 
+- updated to 5.5.12, see
+  http://dev.mysql.com/doc/refman/5.5/en/mysql-nutshell.html
+  http://dev.mysql.com/doc/refman/5.5/en/news-5-5-12.html
+
+---
+Mon Mar 14 14:56:48 CET 2011 - mhruse...@suse.cz
+
+- updated to 5.1.56, see
+  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-56.html
+
+---
+Wed Feb 23 10:59:13 UTC 2011 - adr...@suse.de
+
+- remove runlevel 2 from default start in init script or it isn't
+  usable on openSUSE 11.4 and later
+
+---
+Tue Feb 22 10:51:11 CET 2011 - mhruse...@suse.cz
+
+- updated to 5.1.55, see
+  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-55.html
+
+---
+Mon Feb 21 13:50:01 CET 2011 - mhruse...@suse.cz
+
+- fixed init script to work with SELinux (bnc#635645)
+
+---
+Wed Jan 19 10:43:43 CET 2011 - mhruse...@suse.cz
+
+- updated to 5.1.54, see
+  http://dev.mysql.com/doc/refman/5.1/en/news-5-1-54.html
+
+---
+Wed Jan 19 10:42:26 CET 2011 - mhruse...@suse.cz
+
+- fixed init script to
+  - allow running as different user/group
+  - create TMPDIR correctly

calling whatdependson for head-i586


Old:

  mysql-5.1.53.tar.bz2

New:

  mysql-5.5.12.tar.bz2



Other differences:
--
++ mysql-community-server.spec ++
--- /var/tmp/diff_new_pack.0DZF9f/_old  2011-05-20 14:41:58.0 +0200
+++ /var/tmp/diff_new_pack.0DZF9f/_new  2011-05-20 14:41:58.0 +0200
@@ -18,7 +18,8 @@
 # norootforbuild
 
 # Few definitions which will alter build
-%define prefered   1
+%define prefered   0
+%define use_cmake  1
 %define cluster0
 %define builtin_plugins partition,csv,heap,myisam,innobase
 
@@ -31,13 +32,13 @@
 
 Name:   mysql-community-server
 Summary:A True Multiuser, Multithreaded SQL Database Server
-Version:5.1.53
-Release:6
-%define srv_vers   5.1.53
+Version:5.5.12
+Release:1
+%define srv_vers   5.5.12
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Group:  Productivity/Databases/Servers
 Url:http://www.mysql.com
-# 
http://dev.mysql.com/get/Downloads/MySQL-5.1/%{name}-%{version}.tar.gz/from/pick
+# 
http://dev.mysql.com/get/Downloads/MySQL-5.5/%{name}-%{version}.tar.gz/from/pick
 Source: mysql-%{version}.tar.bz2
 Source2:baselibs.conf
 Source3:README.debug
@@ -48,23 +49,19 @@
 Source9:mysql-patches.tar.bz2
 Source10:   build.inc
 Source11:   install.inc
-%if 0%{?suse_version}  1120 || 0%{?fedora_version}  11
 Source12:   series
-%else
-Source12:   old-ssl.series
-Source13:   default_plugins.cnf
-%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 PreReq: pwdutils
 %else
-PreReq: /usr/sbin/useradd /usr/sbin/usermod /usr/sbin/groupadd 
+#PreReq: /usr/sbin/useradd /usr/sbin/usermod /usr/sbin/groupadd 
 %endif
-PreReq: coreutils sed grep
+#PreReq: coreutils sed grep
 %if 0%{?suse_version}
 PreReq: %install_info_prereq %insserv_prereq
 %endif
-BuildRequires:  gcc-c++ ncurses-devel openssl-devel procps readline-devel 
zlib-devel
+BuildRequires:  gcc-c++ ncurses-devel openssl-devel procps readline-devel
+BuildRequires:  cmake zlib-devel
 %if 0%{?suse_version}
 BuildRequires:  pwdutils tcpd-devel
 %endif
@@ -126,7 +123,7 @@
 # mysql-devel was last used in openSUSE 10.2
 Provides:   mysql-devel = %srv_vers-%release
 Obsoletes:  mysql-devel  %srv_vers
-Requires:   libmysqlclient16 = %version libmysqlclient_r16 = %version 
glibc-devel zlib-devel openssl-devel
+Requires:   libmysqlclient18 = %version libmysqlclient_r18 = %version 
glibc-devel zlib-devel openssl-devel
 Summary:MySQL Development Header Files and Libraries
 License:GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
 Group:  Development/Libraries/C and C++
@@ -165,15 +162,17 @@
 %description -n libmysqld-devel
 This package contains the development header files and libraries
 for developing application that embed the