Overview

Request 103700 accepted

Updates & fixes
old: openSUSE:Factory/mariadb
new: server:database/mariadb rev NoneIndex: baselibs.conf
===================================================================
--- baselibs.conf (revision 11)
+++ baselibs.conf (revision 67)
@@ -1,2 +1,2 @@
-libmysqlclient16
-libmysqlclient_r16
+libmariadbclient16
+libmariadbclient_r16
Index: build.inc
===================================================================
--- build.inc (revision 11)
+++ build.inc (revision 67)
@@ -3,13 +3,14 @@
%else
%define socketpath /var/run/mysql
%endif
-autoreconf -f -i
-export WARN_DIS=" -Wno-unused-parameter "
%if 0%{?suse_version} > 1140
-export WARN_DIS="$WARN_DIS -Wno-unused-but-set-variable "
+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 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
+autoreconf -f -i
# Make the compile a function, since we do multiple builds
BuildMySQL() {
# The --enable-assembler simply does nothing on systems that do not
@@ -18,7 +19,6 @@
mkdir _build$suffix
pushd _build$suffix
../configure \
- --with-libevent \
--enable-assembler \
--without-readline \
--infodir=%{_infodir} \
@@ -48,6 +48,7 @@
%endif
--with-ssl=/usr \
--with-plugins=%{builtin_plugins} \
+ --without-plugin-handlersocket \
HOSTNAME="/bin/hostname -f" \
"$@"
# Add this for MyISAM RAID support:
@@ -69,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

@@ -85,3 +90,31 @@
cd ..
%endif

+%else # cmake build
+
+BuildMySQL() {
+ mkdir _build$1
+ pushd _build$1
+ shift
+ cmake -DWITH_SSL=system \
+ -DWITH_ZLIB=system \
+ -DWITH_READLINE=0 \
+ -DWITH_LIBEDIT=0 \
+ -DINSTALL_LAYOUT=RPM \
+ -DMYSQL_UNIX_ADDR=%{socketpath}/mysql.sock \
+ -DWITH_COMMENT="openSUSE MySQL rpm" \
+ -DWITH_EXTRA_CHARSET=all \
+ -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci \
+ -DWITH_INNOBASE_STORAGE_ENGINE=1 \
+ -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
+ -DWITH_EMBEDDED_SERVER=true \
+ -DDENABLE_DOWNLOADS=false \
+ "$@" ..
+ make %{?jobs:-j%jobs}
+ nm --numeric-sort sql/mysqld > sql/mysqld.sym
+ popd
+}
+
+BuildMySQL "" -DCMAKE_BUILD_TYPE=Release -DINSTALL_SQLBENCHDIR=share
+BuildMySQL "-debug" -DCMAKE_BUILD_TYPE=Debug
+%endif
Index: install.inc
===================================================================
--- install.inc (revision 11)
+++ install.inc (revision 67)
@@ -7,14 +7,20 @@
# 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 -f %buildroot%_libdir/libhsclient*
+rm -f %buildroot%_bindir/hsclient*
+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
+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
rm -f %buildroot%_libdir/mysql/libndbclient.*
rm -f %{buildroot}/usr/share/mysql-test/mysql-test-run
-rm -f %{buildroot}/usr/share/mysql-test/mtr
+rm -f %{buildroot}/usr/share/mysql-test/mtr
+rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini
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}
@@ -45,29 +51,33 @@
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_convert_table_format mysql_find_rows mysql_setpermission mysql_tzinfo_to_sql mysql_zap mysqlaccess mysqlhotcopy perror replace >mysql-tools.files
+filelist msql2mysql 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 ndbd ndbmtd ndbd_redo_log_reader >mysql-ndb-storage.files
filelist ndb_mgmd >mysql-ndb-management.files
filelist ndb_{config,desc,error_reporter,mgm,print_backup_file,print_schema_file,print_sys_file,restore,select_all,select_count,show_tables,size.pl,test_platform,waiter} >mysql-ndb-tools.files
-filelist ndb_{cpcd,delete_all,drop_index,drop_table} >mysql-ndb-extra.files
+filelist ndb_{cpcd,delete_all,drop_index,index_stat,print_file,redo_log_reader,drop_table,select_all} >mysql-ndb-extra.files
### files not installed by make install
# Create directory structure
-DOCS=(COPYING README EXCEPTIONS-CLIENT %_sourcedir/README.debug %_sourcedir/README.SuSE)
+DOCS=(COPYING README EXCEPTIONS-CLIENT %_sourcedir/README.debug %_sourcedir/README.SuSE plugin/daemon_example/daemon_example.ini)
DOCDIR=%buildroot%_defaultdocdir/%name
install -d -m 755 ${DOCDIR}
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
%endif
install -m 660 _build/support-files/my-medium.cnf %buildroot/etc/my.cnf
install -m 640 scripts/mysqlaccess.conf %buildroot/etc/mysqlaccess.conf
-install -m 644 "${DOCS[@]}" ${DOCDIR}
+for i in "${DOCS[@]}"; do
+ install -m 644 "${i}" "${DOCDIR}" || true
+done
install -m 755 %_sourcedir/rc.mysql-multi %buildroot/etc/init.d/mysql
ln -sf ../../etc/init.d/mysql %buildroot/usr/sbin/rcmysql
+# this is used by the init script
+install -m 755 -d %buildroot/var/run/mysql
# SuSEfirewall service description
install -D -m 644 %_sourcedir/mysql.SuSEfirewall2 \
%buildroot/etc/sysconfig/SuSEfirewall2.d/services/mysql
@@ -108,14 +118,17 @@
rm -rf '%buildroot'/%_libdir/libmysqld.*
rm -rf '%buildroot'/%_libdir/*.la
rm -rf '%buildroot'/%_libdir/*.so
-rm -rf '%buildroot'/%_libdir/*.a
rm -rf '%buildroot'/%_includedir
rm -rf '%buildroot'/%_datadir/man/*/mysql_config*
rm -rf '%buildroot'/%_datadir/aclocal
+rm -rf '%buildroot'/%_libdir/*.a
%endif
sed -i 's|doc/packages/mysql|doc/packages/%{name}|g' '%buildroot'/etc/init.d/mysql
ln -s mysqlcheck '%buildroot'%_bindir/mysqlrepair
ln -s mysqlcheck '%buildroot'%_bindir/mysqlanalyze
ln -s mysqlcheck '%buildroot'%_bindir/mysqloptimize
+if [ -f '%buildroot'/usr/bin/mysqlaccess.conf ]; then
+ mv '%buildroot'/usr/bin/mysqlaccess.conf '%buildroot'/etc/mysqlaccess.conf
+fi
mkdir -p '%buildroot'/etc/mysql
-[ -z "`ls -1 %_sourcedir/*.cnf`" ] || cp %_sourcedir/*.cnf '%buildroot'/etc/mysql
+bzip2 -cd '%_sourcedir'/configuration-tweaks.tar.bz2 | tar -C '%buildroot'/etc/mysql -xvf -
Index: mariadb.changes
===================================================================
--- mariadb.changes (revision 11)
+++ mariadb.changes (revision 67)
@@ -1,4 +1,30 @@
-------------------------------------------------------------------
+Mon Jan 30 08:46:31 UTC 2012 - mhrusecky@suse.cz
+
+- adding /ush/share/aclocal in files
+- renaming *-debug package to *-debug-version to avoid conflicts
+
+-------------------------------------------------------------------
+Mon Jan 30 08:23:32 UTC 2012 - mhrusecky@suse.cz
+
+- adding missing buildrequires (fixes build for factory)
+
+-------------------------------------------------------------------
+Thu Dec 8 10:39:05 CET 2011 - mhrusecky@suse.cz
+
+- migrated to the new common template
+- updated to MariaDB 5.2.10
+ * Release notes:
+ http://kb.askmonty.org/v/mariadb-5210-release-notes
+ * Changelog:
+ http://kb.askmonty.org/v/mariadb-5210-changelog
+
+-------------------------------------------------------------------
+Wed Nov 23 09:27:43 UTC 2011 - coolo@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
Wed Nov 2 12:55:18 UTC 2011 - bkutil@suse.com

- Fix pretrans script in spec file to use RPM embedded LUA.
Index: mariadb.spec
===================================================================
--- mariadb.spec (revision 11)
+++ mariadb.spec (revision 67)
@@ -1,7 +1,7 @@
#
# spec file for package mariadb
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -19,8 +19,9 @@

# Few definitions which will alter build
%define prefered 0
+%define use_cmake 0
%define cluster 0
-%define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
+%define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb

%if %{?rel:0}%{!?rel:1}
%define rel 1
@@ -30,14 +31,13 @@
#Vendor: %vendor

Name: mariadb
-Summary: A True Multiuser, Multithreaded SQL Database Server
-Version: 5.2.9
+Summary: Server part of MariaDB
+Version: 5.2.10
Release: 1
-%define srv_vers 5.1.57
+%define srv_vers 5.1.60
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Group: Productivity/Databases/Servers
-Url: http://www.mysql.com
-# http://askmonty.org/downloads/r/http://ftp.rediris.es/mirror/MariaDB/mariadb-5.1.47/kvm-tarbake-jaunty-x86/%{name}-%{version}.tar.gz
+Url: http://www.mariab.org
Source: mariadb-%{version}.tar.bz2
Source2: baselibs.conf
Source3: README.debug
@@ -49,15 +49,16 @@
Source10: build.inc
Source11: install.inc
Source12: series
+Source13: configuration-tweaks.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
PreReq: pwdutils
-PreReq: coreutils sed grep
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: autoconf automake cmake libtool zlib-devel
%if 0%{?suse_version}
-BuildRequires: libevent-devel pwdutils tcpd-devel
+BuildRequires: pwdutils tcpd-devel
%endif
%if 0%{?suse_version} > 1030 || 0%{?fedora_version} > 8
BuildRequires: fdupes
@@ -74,8 +75,11 @@
Requires: %{name}-client perl-base
Provides: mysql-Max = %{srv_vers}
Provides: mysql = %{srv_vers}
+%if 0%{?prefered} > 0
+Obsoletes: mysql < %{srv_vers}
+Obsoletes: mysql-Max < %{srv_vers}
+%endif
Conflicts: otherproviders(mysql)
-Patch1: mariadb-strict-aliasing.patch

%description
MariaDB is a backward compatible, drop-in replacement branch of the MySQL
@@ -84,210 +88,119 @@

This package only contains the server-side programs.

-%if ! 0%{?prefered} > 0
-
-#-------------------------------------------------------------------------------
-
-%package -n libmariadbclient16
-#-------------------------------------------------------------------------------
-Summary: MariaDB Shared Libraries
-License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
-Group: Development/Libraries/Other
-
-%description -n libmariadbclient16
-This package contains the shared libraries (.so) which certain
-languages and applications need to dynamically load and use MariaDB.
-
-Authors:
---------
- Michael Widenius
- David Axmark
-
-#-------------------------------------------------------------------------------
-%package -n libmariadbclient_r16
-#-------------------------------------------------------------------------------
-Summary: MariaDB Shared Libraries
-License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
-Group: Development/Libraries/Other
-
-%description -n libmariadbclient_r16
-This package contains the shared libraries (.so) which certain
-languages and applications need to dynamically load and use MariaDB.
-
-Authors:
---------
- Michael Widenius
- David Axmark
-
-%endif
%if 0%{?prefered} > 0

-#-------------------------------------------------------------------------------
-
%package -n libmysqlclient-devel
-#-------------------------------------------------------------------------------
# mysql-devel was last used in openSUSE 10.2
Provides: mysql-devel = %srv_vers-%release
-Requires: libmysqlclient16 = %{version} libmysqlclient_r16 = %{version} glibc-devel zlib-devel openssl-devel
-Summary: MariaDB Development Header Files and Libraries
+Obsoletes: mysql-devel < %srv_vers
+Requires: libmysqlclient16 = %version
+Requires: libmysqlclient_r16 = %version
+Requires: glibc-devel
+Requires: openssl-devel
+Requires: zlib-devel
+Summary: MariaDB development header files and libraries
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Group: Development/Libraries/C and C++

%description -n libmysqlclient-devel
This package contains the development header files and libraries
-necessary to develop MariaDB client applications.
+necessary to develop client applications for MariaDB.

-Authors:
---------
- Michael Widenius
- David Axmark
-
-#-------------------------------------------------------------------------------
-%package -n libmysqld0
-#-------------------------------------------------------------------------------
+%package -n libmysqld16
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Summary: MariaDB embedded server development files
-# the headers files are the shared
-Requires: libmysqlclient-devel = %{version}
Group: Development/Libraries/C and C++

-%description -n libmysqld0
+%description -n libmysqld16
This package contains the development header files and libraries
-for developing application that embed the MariaDB server
-
+for developing applications that embed the MariaDB.

-#-------------------------------------------------------------------------------
%package -n libmysqld-devel
-#-------------------------------------------------------------------------------
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Summary: MariaDB embedded server development files
# the headers files are the shared
-Requires: libmysqlclient-devel = %{version}
-Requires: libmysqld0 = %{version}
+Requires: libmysqlclient-devel = %version
+Requires: tcpd-devel
+Requires: libmysqld16 = %version
Group: Development/Libraries/C and C++

%description -n libmysqld-devel
This package contains the development header files and libraries
-for developing application that embed the MariaDB server
+for developing applications that embed the MariaDB.
+%endif

-#-------------------------------------------------------------------------------
-%package -n libmysqlclient16
-#-------------------------------------------------------------------------------
-Summary: MariaDB Shared Libraries
+%package -n libmariadbclient16
+Summary: Shared Libraries for MariaDB
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Group: Development/Libraries/Other

-%description -n libmysqlclient16
+%description -n libmariadbclient16
This package contains the shared libraries (.so) which certain
languages and applications need to dynamically load and use MariaDB.

-Authors:
---------
- Michael Widenius
- David Axmark
-
-
-#-------------------------------------------------------------------------------
-%package -n libmysqlclient_r16
(550 more lines skipped)
Index: mysql-patches.tar.bz2
===================================================================
Binary files mysql-patches.tar.bz2 (revision 11) and mysql-patches.tar.bz2 (revision 67) differ
Index: series
===================================================================
--- series (revision 11)
+++ series (revision 67)
@@ -9,12 +9,12 @@
mysql-community-server-5.1.46-logrotate.patch
mariadb-5.1.50-strncat-overflow.patch
mariadb-5.2.6-install_db-quiet.patch
-mysql-community-server-5.1.51-myslq-test.patch
+mariadb-5.2.10-myslq-test.patch
mysql-community-server-5.1.51-mysql_config.patch
mysql-community-server-5.1.51-mysqld_multi-features.patch
-mariadb-5.2.6-plugins-avoid-version.patch
+mariadb-5.2.10-plugins-avoid-version.patch
mariadb-5.1.50-upgrade-exit-status.patch
mariadb-5.2.3-cnf.patch
mariadb-5.2.4-libmysql-no-pkglibdir.patch
mysql-community-server-5.1.53-ssl-compilation-fix.patch
-mariadb-5.2.6-compilation-fix.patch
+mariadb-5.2.10-compilation-fix.patch
Index: configuration-tweaks.tar.bz2
===================================================================
Binary files configuration-tweaks.tar.bz2 (revision 67) added
Index: mariadb-5.2.10.tar.bz2
===================================================================
Binary files mariadb-5.2.10.tar.bz2 (revision 67) added
Index: changes.factory
===================================================================
--- changes.factory (revision 11)
+++ changes.factory (deleted)
@@ -1,1620 +0,0 @@
--------------------------------------------------------------------
-Tue May 25 14:44:15 CEST 2010 - mhrusecky@suse.cz
-
-- updated to MariaDB 5.1.44b
- - important security related update
- - changelog:
- http://askmonty.org/wiki/Manual:MariaDB_5.1.44b_Release_Notes
-- not obsoleting mysql, to make sure mysql gets replaced by
- mysql-community-server by default
-
--------------------------------------------------------------------
-Mon Apr 26 10:34:41 CEST 2010 - mhrusecky@suse.cz
-
-- packaging MariaDB shared libraries to be used by client and tools
-
--------------------------------------------------------------------
-Wed Apr 7 10:26:52 CEST 2010 - mhrusecky@suse.cz
-
-- updated to MariaDB 5.1.44
- - changelog:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.44_Changelog
- - release notes:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.44_Release_Notes
-
--------------------------------------------------------------------
-Wed Mar 17 17:44:37 UTC 2010 - mhrusecky@suse.cz
-
-- adapted to MariaDB 5.1.42
- - changelog:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.42_Changelog
- - release notes:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.42_Release_Notes
-
--------------------------------------------------------------------
-Mon Mar 8 15:13:11 UTC 2010 - mhrusecky@suse.cz
-
-- updated to 5.1.44, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-44.html
-- splitting out shared libmysqld shared library (quick dirty way)
-- preparing spec file to be more general and easily adjustable to
- other MySQL flavours
-
--------------------------------------------------------------------
-Sun Jan 10 00:57:25 CET 2010 - mhrusecky@suse.cz
-
-- updated to 5.1.42, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-40.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-38.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-37.html
-
--------------------------------------------------------------------
-Tue Dec 15 01:23:16 CET 2009 - jengelh@medozas.de
-
-- add baselibs.conf as a source
-
--------------------------------------------------------------------
-Tue Dec 1 17:52:18 CET 2009 - mhrusecky@suse.cz
-
-- removing compatibility symlink
- - intended for 11.2 but never get there
-- fixing various security issues (bnc#557669)
- - upstream #47320 - checking server certificates (CVE-2009-4028)
- - upstream #48291 - error handling in subqueries (CVE-2009-4019)
- - upstream #47780 - preserving null_value flag in GeomFromWKB()
- (CVE-2009-4019)
- - upstream #39277 - symlink behaviour fixed (CVE-2008-7247)
- - upstream #32167 - symlink behaviour refixed (CVE-2009-4030)
-
--------------------------------------------------------------------
-Wed Nov 11 14:23:43 CET 2009 - mhrusecky@suse.cz
-
-- making pid file readable by everybody
-- fixing 'rcmysql status' for non-root
-
--------------------------------------------------------------------
-Thu Oct 29 14:11:09 CET 2009 - mhrusecky@suse.cz
-
-- adding /var/lib/mysql/mysql.sock symlink for compatibility with
- applications for older versions
-- using kill instead of killproc as killproc matches by default all
- running MySQL instances (even KDE ones)
-- checking for log consistency in rc script instead of post of spec
- as it makes more sense
-
--------------------------------------------------------------------
-Fri Oct 16 09:32:35 UTC 2009 - adrian@suse.de
-
-- fix PreRequires or mysql package can't be used in build enviroment
-- do not fail on usermod call in %pre as specified
-
--------------------------------------------------------------------
-Mon Oct 12 18:36:04 UTC 2009 - coolo@novell.com
-
-- fix prereq for usermod
-
--------------------------------------------------------------------
-Mon Oct 5 11:11:35 CEST 2009 - mhrusecky@suse.cz
-
-- fixed my.cnf rights (bnc#539249)
-- fixed restart on update (bnc#520876)
-
--------------------------------------------------------------------
-Tue Sep 15 16:45:23 CEST 2009 - mhrusecky@suse.cz
-
-- Few better formulations in README.SuSE (bnc#539243)
-
--------------------------------------------------------------------
-Tue Aug 25 10:19:04 CEST 2009 - mhrusecky@suse.cz
-
-- Refixing bnc#420313 so mysql_config will return better values
-
--------------------------------------------------------------------
-Wed Aug 12 13:29:09 CEST 2009 - mhrusecky@suse.cz
-
-- Using configure option to enforce pthreads rwlocks on s390 instead
- of sed substitution
-
--------------------------------------------------------------------
-Tue Jul 28 17:10:31 CEST 2009 - mhrusecky@suse.cz
-
-- Applying upstream patch for upstream bug#43594
- (hotcopy will ignore log tables) (bnc#525325)
-- Not using bmove512 as it may slow things down
- (see upstream bug#19975)
-
--------------------------------------------------------------------
-Mon Jul 27 14:45:24 CEST 2009 - mhrusecky@suse.cz
-
-- Applying upstream patch for upstream bug#36259
- 'Optimizing with ORDER BY'
-
--------------------------------------------------------------------
-Fri Jul 24 17:35:07 CEST 2009 - dmueller@suse.de
-
-- fix baselibs.conf (bnc#525065)
-
--------------------------------------------------------------------
-Tue Jul 7 11:19:05 CEST 2009 - mhrusecky@suse.cz
-
-- updated to 5.1.36, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-36.html
-
--------------------------------------------------------------------
-Fri Jun 26 11:09:34 CEST 2009 - mhrusecky@suse.cz
-
-- fixed rcmysql status
-
--------------------------------------------------------------------
-Tue Jun 23 19:33:08 CEST 2009 - mhrusecky@suse.cz
-
-- extra escaping in rc script just to be sure
-- creating parent directories for logs when they don't exists
-- rc script didn't always exited when it should
-- checking for incompatible databases in way it can be logged
-
--------------------------------------------------------------------
-Fri Jun 19 13:17:44 CEST 2009 - mhrusecky@suse.cz
-
-- actualized README.SuSE
-
--------------------------------------------------------------------
-Tue Jun 16 14:32:00 CEST 2009 - mhrusecky@suse.cz
-
-- updated to 5.1.35, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html
-- fixed some tests
-
--------------------------------------------------------------------
-Mon Jun 8 13:33:35 CEST 2009 - mhrusecky@suse.cz
-
-- putting all log files to subdirectory in /var/log
-
--------------------------------------------------------------------
-Mon Jun 1 18:33:43 CEST 2009 - mhrusecky@suse.cz
-
-- moving socket back to /var/lib/mysql for people with old distributions
-
--------------------------------------------------------------------
-Sat May 2 13:43:40 CEST 2009 - chris@computersalat.de
-
-- fdupes fix for fedora
-
--------------------------------------------------------------------
-Fri May 1 17:55:12 CEST 2009 - chris@computersalat.de
-
-- beautify spec file
- o some if's to get Fedora, Centos build
-- to minimize effort for admins
- o with-charset=utf8
- o with-collation=utf8_unicode_ci
-
--------------------------------------------------------------------
-Thu Apr 30 10:58:29 CEST 2009 - mhrusecky@suse.cz
-
-- adding upgrade log
(1421 more lines skipped)
Index: default_plugins.cnf
===================================================================
--- default_plugins.cnf (revision 11)
+++ default_plugins.cnf (deleted)
@@ -1,4 +0,0 @@
-[server]
-plugin-load=blackhole=ha_blackhole.so
-plugin-load=federated=ha_federated.so
-plugin-load=archive=ha_archive.so
Index: mariadb-5.2.9.tar.bz2
===================================================================
Binary files mariadb-5.2.9.tar.bz2 (revision 11) deleted
Index: mariadb-strict-aliasing.patch
===================================================================
--- mariadb-strict-aliasing.patch (revision 11)
+++ mariadb-strict-aliasing.patch (deleted)
@@ -1,74 +0,0 @@
---- storage/pbxt/src/Makefile.am.orig
-+++ storage/pbxt/src/Makefile.am
-@@ -40,17 +40,19 @@ libpbxt_la_SOURCES = $(non_mysql_interna
- # These are the warning Drizzle uses:
- # DRIZZLE_WARNINGS = -W -Wall -Wextra -pedantic -Wundef -Wredundant-decls -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter
-
--libpbxt_la_CXXFLAGS = -shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
--libpbxt_la_CFLAGS = -shared $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -std=c99
-+libpbxt_la_CXXFLAGS = -shared $(AM_CXXFLAGS) -fno-strict-aliasing -DMYSQL_DYNAMIC_PLUGIN
-+libpbxt_la_CFLAGS = -shared $(AM_CFLAGS) -fno-strict-aliasing -DMYSQL_DYNAMIC_PLUGIN -std=c99
- libpbxt_la_LDFLAGS = -module
-
- noinst_LTLIBRARIES = libpbxt_s.la libpbxt_s_embedded.la libpbxt_s_common.la
-
- libpbxt_s_common_la_SOURCES = $(non_mysql_internal_sources)
-+libpbxt_s_common_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- libpbxt_s_la_SOURCES = $(mysql_internal_sources)
-+libpbxt_s_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- libpbxt_s_la_LIBADD = libpbxt_s_common.la
- libpbxt_s_embedded_la_SOURCES = $(mysql_internal_sources)
--libpbxt_s_embedded_la_CXXFLAGS = $(AM_CXXFLAGS) @plugin_embedded_defs@
-+libpbxt_s_embedded_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing @plugin_embedded_defs@
- libpbxt_s_embedded_la_LIBADD = libpbxt_s_common.la
-
- EXTRA_DIST = pbms_enabled.cc win_inttypes.h
---- storage/innodb_plugin/buf/buf0flu.c.orig
-+++ storage/innodb_plugin/buf/buf0flu.c
-@@ -112,7 +112,9 @@ buf_flush_insert_in_flush_rbt(
- p_node = rbt_prev(buf_pool->flush_rbt, c_node);
-
- if (p_node != NULL) {
-- prev = *rbt_value(buf_page_t*, p_node);
-+ buf_page_t** value;
-+ value = rbt_value(buf_page_t*, p_node);
-+ prev = *value;
- ut_a(prev != NULL);
- }
-
---- storage/sphinx/Makefile.am.orig
-+++ storage/sphinx/Makefile.am
-@@ -35,17 +35,17 @@ pkgplugin_LTLIBRARIES = @plugin_sphinx_s
-
- ha_sphinx_la_LDFLAGS = -module -avoid-version -rpath $(MYSQLLIBdir) \
- -L$(top_builddir)/libservices -lmysqlservices
--ha_sphinx_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-+ha_sphinx_la_CXXFLAGS= $(AM_CXXFLAGS) -fno-strict-aliasing -DMYSQL_DYNAMIC_PLUGIN
- ha_sphinx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
- ha_sphinx_la_SOURCES = ha_sphinx.cc
-
- sphinx_la_LDFLAGS = -module -avoid-version
--sphinx_la_CXXFLAGS = $(AM_CXXFLAGS)
-+sphinx_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- sphinx_la_CFLAGS = $(AM_CFLAGS)
- sphinx_la_SOURCES = snippets_udf.cc
-
- noinst_LTLIBRARIES = @plugin_sphinx_static_target@
--libsphinx_la_CXXFLAGS = $(AM_CXXFLAGS)
-+libsphinx_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- libsphinx_la_CFLAGS = $(AM_CFLAGS)
- libsphinx_la_SOURCES= ha_sphinx.cc
-
---- storage/xtradb/buf/buf0flu.c.orig
-+++ storage/xtradb/buf/buf0flu.c
-@@ -113,7 +113,9 @@ buf_flush_insert_in_flush_rbt(
- p_node = rbt_prev(buf_pool->flush_rbt, c_node);
-
- if (p_node != NULL) {
-- prev = *rbt_value(buf_page_t*, p_node);
-+ buf_page_t** value;
-+ value = rbt_value(buf_page_t*, p_node);
-+ prev = *value;
- ut_a(prev != NULL);
- }
-

Loading...
Request History
Michal Hrusecky (old before rename to _miska_)'s avatar

-miska- created request

Updates & fixes
old: openSUSE:Factory/mariadb
new: server:database/mariadb rev NoneIndex: baselibs.conf
===================================================================
--- baselibs.conf (revision 11)
+++ baselibs.conf (revision 67)
@@ -1,2 +1,2 @@
-libmysqlclient16
-libmysqlclient_r16
+libmariadbclient16
+libmariadbclient_r16
Index: build.inc
===================================================================
--- build.inc (revision 11)
+++ build.inc (revision 67)
@@ -3,13 +3,14 @@
%else
%define socketpath /var/run/mysql
%endif
-autoreconf -f -i
-export WARN_DIS=" -Wno-unused-parameter "
%if 0%{?suse_version} > 1140
-export WARN_DIS="$WARN_DIS -Wno-unused-but-set-variable "
+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 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
+autoreconf -f -i
# Make the compile a function, since we do multiple builds
BuildMySQL() {
# The --enable-assembler simply does nothing on systems that do not
@@ -18,7 +19,6 @@
mkdir _build$suffix
pushd _build$suffix
../configure \
- --with-libevent \
--enable-assembler \
--without-readline \
--infodir=%{_infodir} \
@@ -48,6 +48,7 @@
%endif
--with-ssl=/usr \
--with-plugins=%{builtin_plugins} \
+ --without-plugin-handlersocket \
HOSTNAME="/bin/hostname -f" \
"$@"
# Add this for MyISAM RAID support:
@@ -69,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

@@ -85,3 +90,31 @@
cd ..
%endif

+%else # cmake build
+
+BuildMySQL() {
+ mkdir _build$1
+ pushd _build$1
+ shift
+ cmake -DWITH_SSL=system \
+ -DWITH_ZLIB=system \
+ -DWITH_READLINE=0 \
+ -DWITH_LIBEDIT=0 \
+ -DINSTALL_LAYOUT=RPM \
+ -DMYSQL_UNIX_ADDR=%{socketpath}/mysql.sock \
+ -DWITH_COMMENT="openSUSE MySQL rpm" \
+ -DWITH_EXTRA_CHARSET=all \
+ -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci \
+ -DWITH_INNOBASE_STORAGE_ENGINE=1 \
+ -DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
+ -DWITH_EMBEDDED_SERVER=true \
+ -DDENABLE_DOWNLOADS=false \
+ "$@" ..
+ make %{?jobs:-j%jobs}
+ nm --numeric-sort sql/mysqld > sql/mysqld.sym
+ popd
+}
+
+BuildMySQL "" -DCMAKE_BUILD_TYPE=Release -DINSTALL_SQLBENCHDIR=share
+BuildMySQL "-debug" -DCMAKE_BUILD_TYPE=Debug
+%endif
Index: install.inc
===================================================================
--- install.inc (revision 11)
+++ install.inc (revision 67)
@@ -7,14 +7,20 @@
# 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 -f %buildroot%_libdir/libhsclient*
+rm -f %buildroot%_bindir/hsclient*
+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
+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
rm -f %buildroot%_libdir/mysql/libndbclient.*
rm -f %{buildroot}/usr/share/mysql-test/mysql-test-run
-rm -f %{buildroot}/usr/share/mysql-test/mtr
+rm -f %{buildroot}/usr/share/mysql-test/mtr
+rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini
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}
@@ -45,29 +51,33 @@
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_convert_table_format mysql_find_rows mysql_setpermission mysql_tzinfo_to_sql mysql_zap mysqlaccess mysqlhotcopy perror replace >mysql-tools.files
+filelist msql2mysql 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 ndbd ndbmtd ndbd_redo_log_reader >mysql-ndb-storage.files
filelist ndb_mgmd >mysql-ndb-management.files
filelist ndb_{config,desc,error_reporter,mgm,print_backup_file,print_schema_file,print_sys_file,restore,select_all,select_count,show_tables,size.pl,test_platform,waiter} >mysql-ndb-tools.files
-filelist ndb_{cpcd,delete_all,drop_index,drop_table} >mysql-ndb-extra.files
+filelist ndb_{cpcd,delete_all,drop_index,index_stat,print_file,redo_log_reader,drop_table,select_all} >mysql-ndb-extra.files
### files not installed by make install
# Create directory structure
-DOCS=(COPYING README EXCEPTIONS-CLIENT %_sourcedir/README.debug %_sourcedir/README.SuSE)
+DOCS=(COPYING README EXCEPTIONS-CLIENT %_sourcedir/README.debug %_sourcedir/README.SuSE plugin/daemon_example/daemon_example.ini)
DOCDIR=%buildroot%_defaultdocdir/%name
install -d -m 755 ${DOCDIR}
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
%endif
install -m 660 _build/support-files/my-medium.cnf %buildroot/etc/my.cnf
install -m 640 scripts/mysqlaccess.conf %buildroot/etc/mysqlaccess.conf
-install -m 644 "${DOCS[@]}" ${DOCDIR}
+for i in "${DOCS[@]}"; do
+ install -m 644 "${i}" "${DOCDIR}" || true
+done
install -m 755 %_sourcedir/rc.mysql-multi %buildroot/etc/init.d/mysql
ln -sf ../../etc/init.d/mysql %buildroot/usr/sbin/rcmysql
+# this is used by the init script
+install -m 755 -d %buildroot/var/run/mysql
# SuSEfirewall service description
install -D -m 644 %_sourcedir/mysql.SuSEfirewall2 \
%buildroot/etc/sysconfig/SuSEfirewall2.d/services/mysql
@@ -108,14 +118,17 @@
rm -rf '%buildroot'/%_libdir/libmysqld.*
rm -rf '%buildroot'/%_libdir/*.la
rm -rf '%buildroot'/%_libdir/*.so
-rm -rf '%buildroot'/%_libdir/*.a
rm -rf '%buildroot'/%_includedir
rm -rf '%buildroot'/%_datadir/man/*/mysql_config*
rm -rf '%buildroot'/%_datadir/aclocal
+rm -rf '%buildroot'/%_libdir/*.a
%endif
sed -i 's|doc/packages/mysql|doc/packages/%{name}|g' '%buildroot'/etc/init.d/mysql
ln -s mysqlcheck '%buildroot'%_bindir/mysqlrepair
ln -s mysqlcheck '%buildroot'%_bindir/mysqlanalyze
ln -s mysqlcheck '%buildroot'%_bindir/mysqloptimize
+if [ -f '%buildroot'/usr/bin/mysqlaccess.conf ]; then
+ mv '%buildroot'/usr/bin/mysqlaccess.conf '%buildroot'/etc/mysqlaccess.conf
+fi
mkdir -p '%buildroot'/etc/mysql
-[ -z "`ls -1 %_sourcedir/*.cnf`" ] || cp %_sourcedir/*.cnf '%buildroot'/etc/mysql
+bzip2 -cd '%_sourcedir'/configuration-tweaks.tar.bz2 | tar -C '%buildroot'/etc/mysql -xvf -
Index: mariadb.changes
===================================================================
--- mariadb.changes (revision 11)
+++ mariadb.changes (revision 67)
@@ -1,4 +1,30 @@
-------------------------------------------------------------------
+Mon Jan 30 08:46:31 UTC 2012 - mhrusecky@suse.cz
+
+- adding /ush/share/aclocal in files
+- renaming *-debug package to *-debug-version to avoid conflicts
+
+-------------------------------------------------------------------
+Mon Jan 30 08:23:32 UTC 2012 - mhrusecky@suse.cz
+
+- adding missing buildrequires (fixes build for factory)
+
+-------------------------------------------------------------------
+Thu Dec 8 10:39:05 CET 2011 - mhrusecky@suse.cz
+
+- migrated to the new common template
+- updated to MariaDB 5.2.10
+ * Release notes:
+ http://kb.askmonty.org/v/mariadb-5210-release-notes
+ * Changelog:
+ http://kb.askmonty.org/v/mariadb-5210-changelog
+
+-------------------------------------------------------------------
+Wed Nov 23 09:27:43 UTC 2011 - coolo@suse.com
+
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
Wed Nov 2 12:55:18 UTC 2011 - bkutil@suse.com

- Fix pretrans script in spec file to use RPM embedded LUA.
Index: mariadb.spec
===================================================================
--- mariadb.spec (revision 11)
+++ mariadb.spec (revision 67)
@@ -1,7 +1,7 @@
#
# spec file for package mariadb
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -19,8 +19,9 @@

# Few definitions which will alter build
%define prefered 0
+%define use_cmake 0
%define cluster 0
-%define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb
+%define builtin_plugins partition,csv,heap,aria,pbxt,myisam,myisammrg,xtradb

%if %{?rel:0}%{!?rel:1}
%define rel 1
@@ -30,14 +31,13 @@
#Vendor: %vendor

Name: mariadb
-Summary: A True Multiuser, Multithreaded SQL Database Server
-Version: 5.2.9
+Summary: Server part of MariaDB
+Version: 5.2.10
Release: 1
-%define srv_vers 5.1.57
+%define srv_vers 5.1.60
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Group: Productivity/Databases/Servers
-Url: http://www.mysql.com
-# http://askmonty.org/downloads/r/http://ftp.rediris.es/mirror/MariaDB/mariadb-5.1.47/kvm-tarbake-jaunty-x86/%{name}-%{version}.tar.gz
+Url: http://www.mariab.org
Source: mariadb-%{version}.tar.bz2
Source2: baselibs.conf
Source3: README.debug
@@ -49,15 +49,16 @@
Source10: build.inc
Source11: install.inc
Source12: series
+Source13: configuration-tweaks.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
PreReq: pwdutils
-PreReq: coreutils sed grep
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: autoconf automake cmake libtool zlib-devel
%if 0%{?suse_version}
-BuildRequires: libevent-devel pwdutils tcpd-devel
+BuildRequires: pwdutils tcpd-devel
%endif
%if 0%{?suse_version} > 1030 || 0%{?fedora_version} > 8
BuildRequires: fdupes
@@ -74,8 +75,11 @@
Requires: %{name}-client perl-base
Provides: mysql-Max = %{srv_vers}
Provides: mysql = %{srv_vers}
+%if 0%{?prefered} > 0
+Obsoletes: mysql < %{srv_vers}
+Obsoletes: mysql-Max < %{srv_vers}
+%endif
Conflicts: otherproviders(mysql)
-Patch1: mariadb-strict-aliasing.patch

%description
MariaDB is a backward compatible, drop-in replacement branch of the MySQL
@@ -84,210 +88,119 @@

This package only contains the server-side programs.

-%if ! 0%{?prefered} > 0
-
-#-------------------------------------------------------------------------------
-
-%package -n libmariadbclient16
-#-------------------------------------------------------------------------------
-Summary: MariaDB Shared Libraries
-License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
-Group: Development/Libraries/Other
-
-%description -n libmariadbclient16
-This package contains the shared libraries (.so) which certain
-languages and applications need to dynamically load and use MariaDB.
-
-Authors:
---------
- Michael Widenius
- David Axmark
-
-#-------------------------------------------------------------------------------
-%package -n libmariadbclient_r16
-#-------------------------------------------------------------------------------
-Summary: MariaDB Shared Libraries
-License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
-Group: Development/Libraries/Other
-
-%description -n libmariadbclient_r16
-This package contains the shared libraries (.so) which certain
-languages and applications need to dynamically load and use MariaDB.
-
-Authors:
---------
- Michael Widenius
- David Axmark
-
-%endif
%if 0%{?prefered} > 0

-#-------------------------------------------------------------------------------
-
%package -n libmysqlclient-devel
-#-------------------------------------------------------------------------------
# mysql-devel was last used in openSUSE 10.2
Provides: mysql-devel = %srv_vers-%release
-Requires: libmysqlclient16 = %{version} libmysqlclient_r16 = %{version} glibc-devel zlib-devel openssl-devel
-Summary: MariaDB Development Header Files and Libraries
+Obsoletes: mysql-devel < %srv_vers
+Requires: libmysqlclient16 = %version
+Requires: libmysqlclient_r16 = %version
+Requires: glibc-devel
+Requires: openssl-devel
+Requires: zlib-devel
+Summary: MariaDB development header files and libraries
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Group: Development/Libraries/C and C++

%description -n libmysqlclient-devel
This package contains the development header files and libraries
-necessary to develop MariaDB client applications.
+necessary to develop client applications for MariaDB.

-Authors:
---------
- Michael Widenius
- David Axmark
-
-#-------------------------------------------------------------------------------
-%package -n libmysqld0
-#-------------------------------------------------------------------------------
+%package -n libmysqld16
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Summary: MariaDB embedded server development files
-# the headers files are the shared
-Requires: libmysqlclient-devel = %{version}
Group: Development/Libraries/C and C++

-%description -n libmysqld0
+%description -n libmysqld16
This package contains the development header files and libraries
-for developing application that embed the MariaDB server
-
+for developing applications that embed the MariaDB.

-#-------------------------------------------------------------------------------
%package -n libmysqld-devel
-#-------------------------------------------------------------------------------
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Summary: MariaDB embedded server development files
# the headers files are the shared
-Requires: libmysqlclient-devel = %{version}
-Requires: libmysqld0 = %{version}
+Requires: libmysqlclient-devel = %version
+Requires: tcpd-devel
+Requires: libmysqld16 = %version
Group: Development/Libraries/C and C++

%description -n libmysqld-devel
This package contains the development header files and libraries
-for developing application that embed the MariaDB server
+for developing applications that embed the MariaDB.
+%endif

-#-------------------------------------------------------------------------------
-%package -n libmysqlclient16
-#-------------------------------------------------------------------------------
-Summary: MariaDB Shared Libraries
+%package -n libmariadbclient16
+Summary: Shared Libraries for MariaDB
License: GPLv2 ; with additional permissions: EXCEPTIONS-CLIENT
Group: Development/Libraries/Other

-%description -n libmysqlclient16
+%description -n libmariadbclient16
This package contains the shared libraries (.so) which certain
languages and applications need to dynamically load and use MariaDB.

-Authors:
---------
- Michael Widenius
- David Axmark
-
-
-#-------------------------------------------------------------------------------
-%package -n libmysqlclient_r16
(550 more lines skipped)
Index: mysql-patches.tar.bz2
===================================================================
Binary files mysql-patches.tar.bz2 (revision 11) and mysql-patches.tar.bz2 (revision 67) differ
Index: series
===================================================================
--- series (revision 11)
+++ series (revision 67)
@@ -9,12 +9,12 @@
mysql-community-server-5.1.46-logrotate.patch
mariadb-5.1.50-strncat-overflow.patch
mariadb-5.2.6-install_db-quiet.patch
-mysql-community-server-5.1.51-myslq-test.patch
+mariadb-5.2.10-myslq-test.patch
mysql-community-server-5.1.51-mysql_config.patch
mysql-community-server-5.1.51-mysqld_multi-features.patch
-mariadb-5.2.6-plugins-avoid-version.patch
+mariadb-5.2.10-plugins-avoid-version.patch
mariadb-5.1.50-upgrade-exit-status.patch
mariadb-5.2.3-cnf.patch
mariadb-5.2.4-libmysql-no-pkglibdir.patch
mysql-community-server-5.1.53-ssl-compilation-fix.patch
-mariadb-5.2.6-compilation-fix.patch
+mariadb-5.2.10-compilation-fix.patch
Index: configuration-tweaks.tar.bz2
===================================================================
Binary files configuration-tweaks.tar.bz2 (revision 67) added
Index: mariadb-5.2.10.tar.bz2
===================================================================
Binary files mariadb-5.2.10.tar.bz2 (revision 67) added
Index: changes.factory
===================================================================
--- changes.factory (revision 11)
+++ changes.factory (deleted)
@@ -1,1620 +0,0 @@
--------------------------------------------------------------------
-Tue May 25 14:44:15 CEST 2010 - mhrusecky@suse.cz
-
-- updated to MariaDB 5.1.44b
- - important security related update
- - changelog:
- http://askmonty.org/wiki/Manual:MariaDB_5.1.44b_Release_Notes
-- not obsoleting mysql, to make sure mysql gets replaced by
- mysql-community-server by default
-
--------------------------------------------------------------------
-Mon Apr 26 10:34:41 CEST 2010 - mhrusecky@suse.cz
-
-- packaging MariaDB shared libraries to be used by client and tools
-
--------------------------------------------------------------------
-Wed Apr 7 10:26:52 CEST 2010 - mhrusecky@suse.cz
-
-- updated to MariaDB 5.1.44
- - changelog:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.44_Changelog
- - release notes:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.44_Release_Notes
-
--------------------------------------------------------------------
-Wed Mar 17 17:44:37 UTC 2010 - mhrusecky@suse.cz
-
-- adapted to MariaDB 5.1.42
- - changelog:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.42_Changelog
- - release notes:
- http://askmonty.org/wiki/index.php/Manual:MariaDB_5.1.42_Release_Notes
-
--------------------------------------------------------------------
-Mon Mar 8 15:13:11 UTC 2010 - mhrusecky@suse.cz
-
-- updated to 5.1.44, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-44.html
-- splitting out shared libmysqld shared library (quick dirty way)
-- preparing spec file to be more general and easily adjustable to
- other MySQL flavours
-
--------------------------------------------------------------------
-Sun Jan 10 00:57:25 CET 2010 - mhrusecky@suse.cz
-
-- updated to 5.1.42, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-42.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-41.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-40.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-39.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-38.html
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-37.html
-
--------------------------------------------------------------------
-Tue Dec 15 01:23:16 CET 2009 - jengelh@medozas.de
-
-- add baselibs.conf as a source
-
--------------------------------------------------------------------
-Tue Dec 1 17:52:18 CET 2009 - mhrusecky@suse.cz
-
-- removing compatibility symlink
- - intended for 11.2 but never get there
-- fixing various security issues (bnc#557669)
- - upstream #47320 - checking server certificates (CVE-2009-4028)
- - upstream #48291 - error handling in subqueries (CVE-2009-4019)
- - upstream #47780 - preserving null_value flag in GeomFromWKB()
- (CVE-2009-4019)
- - upstream #39277 - symlink behaviour fixed (CVE-2008-7247)
- - upstream #32167 - symlink behaviour refixed (CVE-2009-4030)
-
--------------------------------------------------------------------
-Wed Nov 11 14:23:43 CET 2009 - mhrusecky@suse.cz
-
-- making pid file readable by everybody
-- fixing 'rcmysql status' for non-root
-
--------------------------------------------------------------------
-Thu Oct 29 14:11:09 CET 2009 - mhrusecky@suse.cz
-
-- adding /var/lib/mysql/mysql.sock symlink for compatibility with
- applications for older versions
-- using kill instead of killproc as killproc matches by default all
- running MySQL instances (even KDE ones)
-- checking for log consistency in rc script instead of post of spec
- as it makes more sense
-
--------------------------------------------------------------------
-Fri Oct 16 09:32:35 UTC 2009 - adrian@suse.de
-
-- fix PreRequires or mysql package can't be used in build enviroment
-- do not fail on usermod call in %pre as specified
-
--------------------------------------------------------------------
-Mon Oct 12 18:36:04 UTC 2009 - coolo@novell.com
-
-- fix prereq for usermod
-
--------------------------------------------------------------------
-Mon Oct 5 11:11:35 CEST 2009 - mhrusecky@suse.cz
-
-- fixed my.cnf rights (bnc#539249)
-- fixed restart on update (bnc#520876)
-
--------------------------------------------------------------------
-Tue Sep 15 16:45:23 CEST 2009 - mhrusecky@suse.cz
-
-- Few better formulations in README.SuSE (bnc#539243)
-
--------------------------------------------------------------------
-Tue Aug 25 10:19:04 CEST 2009 - mhrusecky@suse.cz
-
-- Refixing bnc#420313 so mysql_config will return better values
-
--------------------------------------------------------------------
-Wed Aug 12 13:29:09 CEST 2009 - mhrusecky@suse.cz
-
-- Using configure option to enforce pthreads rwlocks on s390 instead
- of sed substitution
-
--------------------------------------------------------------------
-Tue Jul 28 17:10:31 CEST 2009 - mhrusecky@suse.cz
-
-- Applying upstream patch for upstream bug#43594
- (hotcopy will ignore log tables) (bnc#525325)
-- Not using bmove512 as it may slow things down
- (see upstream bug#19975)
-
--------------------------------------------------------------------
-Mon Jul 27 14:45:24 CEST 2009 - mhrusecky@suse.cz
-
-- Applying upstream patch for upstream bug#36259
- 'Optimizing with ORDER BY'
-
--------------------------------------------------------------------
-Fri Jul 24 17:35:07 CEST 2009 - dmueller@suse.de
-
-- fix baselibs.conf (bnc#525065)
-
--------------------------------------------------------------------
-Tue Jul 7 11:19:05 CEST 2009 - mhrusecky@suse.cz
-
-- updated to 5.1.36, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-36.html
-
--------------------------------------------------------------------
-Fri Jun 26 11:09:34 CEST 2009 - mhrusecky@suse.cz
-
-- fixed rcmysql status
-
--------------------------------------------------------------------
-Tue Jun 23 19:33:08 CEST 2009 - mhrusecky@suse.cz
-
-- extra escaping in rc script just to be sure
-- creating parent directories for logs when they don't exists
-- rc script didn't always exited when it should
-- checking for incompatible databases in way it can be logged
-
--------------------------------------------------------------------
-Fri Jun 19 13:17:44 CEST 2009 - mhrusecky@suse.cz
-
-- actualized README.SuSE
-
--------------------------------------------------------------------
-Tue Jun 16 14:32:00 CEST 2009 - mhrusecky@suse.cz
-
-- updated to 5.1.35, see
- http://dev.mysql.com/doc/refman/5.1/en/news-5-1-35.html
-- fixed some tests
-
--------------------------------------------------------------------
-Mon Jun 8 13:33:35 CEST 2009 - mhrusecky@suse.cz
-
-- putting all log files to subdirectory in /var/log
-
--------------------------------------------------------------------
-Mon Jun 1 18:33:43 CEST 2009 - mhrusecky@suse.cz
-
-- moving socket back to /var/lib/mysql for people with old distributions
-
--------------------------------------------------------------------
-Sat May 2 13:43:40 CEST 2009 - chris@computersalat.de
-
-- fdupes fix for fedora
-
--------------------------------------------------------------------
-Fri May 1 17:55:12 CEST 2009 - chris@computersalat.de
-
-- beautify spec file
- o some if's to get Fedora, Centos build
-- to minimize effort for admins
- o with-charset=utf8
- o with-collation=utf8_unicode_ci
-
--------------------------------------------------------------------
-Thu Apr 30 10:58:29 CEST 2009 - mhrusecky@suse.cz
-
-- adding upgrade log
(1421 more lines skipped)
Index: default_plugins.cnf
===================================================================
--- default_plugins.cnf (revision 11)
+++ default_plugins.cnf (deleted)
@@ -1,4 +0,0 @@
-[server]
-plugin-load=blackhole=ha_blackhole.so
-plugin-load=federated=ha_federated.so
-plugin-load=archive=ha_archive.so
Index: mariadb-5.2.9.tar.bz2
===================================================================
Binary files mariadb-5.2.9.tar.bz2 (revision 11) deleted
Index: mariadb-strict-aliasing.patch
===================================================================
--- mariadb-strict-aliasing.patch (revision 11)
+++ mariadb-strict-aliasing.patch (deleted)
@@ -1,74 +0,0 @@
---- storage/pbxt/src/Makefile.am.orig
-+++ storage/pbxt/src/Makefile.am
-@@ -40,17 +40,19 @@ libpbxt_la_SOURCES = $(non_mysql_interna
- # These are the warning Drizzle uses:
- # DRIZZLE_WARNINGS = -W -Wall -Wextra -pedantic -Wundef -Wredundant-decls -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter
-
--libpbxt_la_CXXFLAGS = -shared $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
--libpbxt_la_CFLAGS = -shared $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN -std=c99
-+libpbxt_la_CXXFLAGS = -shared $(AM_CXXFLAGS) -fno-strict-aliasing -DMYSQL_DYNAMIC_PLUGIN
-+libpbxt_la_CFLAGS = -shared $(AM_CFLAGS) -fno-strict-aliasing -DMYSQL_DYNAMIC_PLUGIN -std=c99
- libpbxt_la_LDFLAGS = -module
-
- noinst_LTLIBRARIES = libpbxt_s.la libpbxt_s_embedded.la libpbxt_s_common.la
-
- libpbxt_s_common_la_SOURCES = $(non_mysql_internal_sources)
-+libpbxt_s_common_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- libpbxt_s_la_SOURCES = $(mysql_internal_sources)
-+libpbxt_s_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- libpbxt_s_la_LIBADD = libpbxt_s_common.la
- libpbxt_s_embedded_la_SOURCES = $(mysql_internal_sources)
--libpbxt_s_embedded_la_CXXFLAGS = $(AM_CXXFLAGS) @plugin_embedded_defs@
-+libpbxt_s_embedded_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing @plugin_embedded_defs@
- libpbxt_s_embedded_la_LIBADD = libpbxt_s_common.la
-
- EXTRA_DIST = pbms_enabled.cc win_inttypes.h
---- storage/innodb_plugin/buf/buf0flu.c.orig
-+++ storage/innodb_plugin/buf/buf0flu.c
-@@ -112,7 +112,9 @@ buf_flush_insert_in_flush_rbt(
- p_node = rbt_prev(buf_pool->flush_rbt, c_node);
-
- if (p_node != NULL) {
-- prev = *rbt_value(buf_page_t*, p_node);
-+ buf_page_t** value;
-+ value = rbt_value(buf_page_t*, p_node);
-+ prev = *value;
- ut_a(prev != NULL);
- }
-
---- storage/sphinx/Makefile.am.orig
-+++ storage/sphinx/Makefile.am
-@@ -35,17 +35,17 @@ pkgplugin_LTLIBRARIES = @plugin_sphinx_s
-
- ha_sphinx_la_LDFLAGS = -module -avoid-version -rpath $(MYSQLLIBdir) \
- -L$(top_builddir)/libservices -lmysqlservices
--ha_sphinx_la_CXXFLAGS= $(AM_CXXFLAGS) -DMYSQL_DYNAMIC_PLUGIN
-+ha_sphinx_la_CXXFLAGS= $(AM_CXXFLAGS) -fno-strict-aliasing -DMYSQL_DYNAMIC_PLUGIN
- ha_sphinx_la_CFLAGS = $(AM_CFLAGS) -DMYSQL_DYNAMIC_PLUGIN
- ha_sphinx_la_SOURCES = ha_sphinx.cc
-
- sphinx_la_LDFLAGS = -module -avoid-version
--sphinx_la_CXXFLAGS = $(AM_CXXFLAGS)
-+sphinx_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- sphinx_la_CFLAGS = $(AM_CFLAGS)
- sphinx_la_SOURCES = snippets_udf.cc
-
- noinst_LTLIBRARIES = @plugin_sphinx_static_target@
--libsphinx_la_CXXFLAGS = $(AM_CXXFLAGS)
-+libsphinx_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-strict-aliasing
- libsphinx_la_CFLAGS = $(AM_CFLAGS)
- libsphinx_la_SOURCES= ha_sphinx.cc
-
---- storage/xtradb/buf/buf0flu.c.orig
-+++ storage/xtradb/buf/buf0flu.c
-@@ -113,7 +113,9 @@ buf_flush_insert_in_flush_rbt(
- p_node = rbt_prev(buf_pool->flush_rbt, c_node);
-
- if (p_node != NULL) {
-- prev = *rbt_value(buf_page_t*, p_node);
-+ buf_page_t** value;
-+ value = rbt_value(buf_page_t*, p_node);
-+ prev = *value;
- ut_a(prev != NULL);
- }
-


Saul Goodman's avatar

licensedigger added a reviewer

{"delegate": "license change"}


Stephan Kulow's avatar

coolo added a reviewer

spdx.org does not know about license


Stephan Kulow's avatar

coolo added a reviewer

Please review sources


Ciaran Farrell's avatar

babelworx approved review

reviewed, okay


Stephan Kulow's avatar

coolo accepted request

checkin


Saul Goodman's avatar

licensedigger accepted review

{"delegate": "license change"}


Stephan Kulow's avatar

coolo accepted review

skip review


Ciaran Farrell's avatar

babelworx accepted review

reviewed, okay


Ciaran Farrell's avatar

babelworx accepted review

reviewed, okay


Sascha Peilicke's avatar

saschpe accepted review

Thanks

openSUSE Build Service is sponsored by