Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
mysql-41
> mysql.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mysql.spec of Package mysql-41 (Revision 2)
Currently displaying revision
2
,
show latest
%define mysql_version 4.1.24-20080313 %define distribution sles10 %define release 1.%{distribution} # # Product definitions - one of these has to be defined via the RPM build # options, e.g. "--define 'pro 1'" # %{!?pro_cert:%define pro_cert 0} %{!?pro:%define pro 0} %{!?pro_gpl_cert:%define pro_gpl_cert 0} %{!?pro_gpl:%define pro_gpl 0} # On SuSE 9 no separate "debuginfo" package is built. To enable basic # debugging on that platform, we don't strip binaries on SuSE 9. We # disable the strip of binaries by redefining the RPM macro # "__os_install_post" leaving out the script calls that normally does # this. We do this in all cases, as on platforms where "debuginfo" is # created, a script "find-debuginfo.sh" will be called that will do # the strip anyway, part of separating the executable and debug # information into separate files put into separate packages. # # Some references (shows more advanced conditional usage): # http://www.redhat.com/archives/rpm-list/2001-November/msg00257.html # http://www.redhat.com/archives/rpm-list/2003-February/msg00275.html # http://www.redhat.com/archives/rhl-devel-list/2004-January/msg01546.html # http://lists.opensuse.org/archive/opensuse-commit/2006-May/1171.html %define __os_install_post /usr/lib/rpm/brp-compress # Build a standard binary by default %define comment MySQL Community Edition - Standard (%{license}) %define commercial 0 %define server_suffix -standard %if %{pro_cert} %define comment MySQL Pro Certified Server (%{license}) %define commercial 1 %define server_suffix -pro-cert %endif %if %{pro} %define comment MySQL Pro Server (%{license}) %define commercial 1 %define server_suffix -pro %endif %if %{pro_gpl_cert} %define comment MySQL Pro Certified Server (%{license}) %define commercial 0 %define server_suffix -pro-gpl-cert %endif %if %{pro_gpl} %define comment MySQL Pro Server (%{license}) %define commercial 0 %define server_suffix -pro-gpl %endif %define mysqld_user mysql %define mysqld_group mysql %define mysqldatadir /var/lib/mysql # We don't package all files installed into the build root by intention - # See BUG#998 for details. %define _unpackaged_files_terminate_build 0 %define see_base For a description of MySQL see the base MySQL RPM or http://www.mysql.com Name: MySQL%{server_suffix} Summary: MySQL: a very fast and reliable SQL database server Group: Applications/Databases Version: 4.1.24 Release: %{release} Distribution: SUSE Linux Enterprise Server 9 %if %{commercial} License: Commercial Source: mysqlcom-%{mysql_version}.tar.gz %else License: GPL Source: mysql-%{mysql_version}.tar.gz %endif URL: http://www.mysql.com/ Packager: MySQL Product Engineering Team <build@mysql.com> Vendor: MySQL AB Provides: msqlormysql MySQL-server mysql BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv less libacl libattr libgcc libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel netcfg net-tools openldap2-client pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslog-ng sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils gcc gcc-c++ gdbm gettext libstdc++-devel libtool perl rpm # Think about what you use here since the first step is to # run a rm -rf BuildRoot: %{_tmppath}/%{name}-%{version}-build # From the manual %description The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. MySQL is a trademark of MySQL AB. The MySQL software has Dual Licensing, which means you can use the MySQL software free of charge under the GNU General Public License (http://www.gnu.org/licenses/). You can also purchase commercial MySQL licenses from MySQL AB if you do not wish to be bound by the terms of the GPL. See the chapter "Licensing and Support" in the manual for further info. The MySQL web site (http://www.mysql.com/) provides the latest news and information about the MySQL software. Also please see the documentation and the manual for more information. %package -n MySQL-server%{server_suffix} Summary: @COMMENT@ for SUSE Linux Enterprise Server 9 Group: Applications/Databases Requires: aaa_base coreutils pwdutils grep procps Provides: msqlormysql mysql-server mysql MySQL MySQL-server Obsoletes: MySQL mysql mysql-server %description -n MySQL-server%{server_suffix} The MySQL(TM) software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. MySQL is a trademark of MySQL AB. The MySQL software has Dual Licensing, which means you can use the MySQL software free of charge under the GNU General Public License (http://www.gnu.org/licenses/). You can also purchase commercial MySQL licenses from MySQL AB if you do not wish to be bound by the terms of the GPL. See the chapter "Licensing and Support" in the manual for further info. The MySQL web site (http://www.mysql.com/) provides the latest news and information about the MySQL software. Also please see the documentation and the manual for more information. This package includes the MySQL server binary (incl. InnoDB) as well as related utilities to run and administrate a MySQL server. If you want to access and work with the database, you have to install package "MySQL-client%{server_suffix}" as well! %package -n MySQL-client%{server_suffix} Summary: MySQL - Client Group: Applications/Databases Obsoletes: mysql-client Provides: mysql-client %description -n MySQL-client%{server_suffix} This package contains the standard MySQL clients and administration tools. %{see_base} %package -n MySQL-test%{server_suffix} Requires: mysql-client perl Summary: MySQL - Test suite Group: Applications/Databases Provides: mysql-test Obsoletes: mysql-test AutoReqProv: no %description -n MySQL-test%{server_suffix} This package contains the MySQL regression test suite. %{see_base} %package -n MySQL-devel%{server_suffix} Summary: MySQL - Development header files and libraries Group: Applications/Databases Provides: mysql-devel Obsoletes: mysql-devel %description -n MySQL-devel%{server_suffix} This package contains the development header files and libraries necessary to develop MySQL client applications. %{see_base} %package -n MySQL-shared%{server_suffix} Summary: MySQL - Shared libraries Group: Applications/Databases %description -n MySQL-shared%{server_suffix} This package contains the shared libraries (*.so*) which certain languages and applications need to dynamically load and use MySQL. %prep %if %{commercial} %setup -n mysqlcom-%{mysql_version} %else %setup -n mysql-%{mysql_version} %endif %build BuildMySQL() { # The --enable-assembler simply does nothing on systems that does not # support assembler speedups. sh -c "CFLAGS=\"${CFLAGS:-$RPM_OPT_FLAGS}\" \ CXXFLAGS=\"${CXXFLAGS:-$RPM_OPT_FLAGS}\" \ LDFLAGS=\"$LDFLAGS\" \ ./configure \ $* \ --enable-assembler \ --enable-local-infile \ --with-mysqld-user=%{mysqld_user} \ --with-unix-socket-path=/var/lib/mysql/mysql.sock \ --with-pic \ --prefix=/ \ --with-extra-charsets=complex \ --exec-prefix=%{_exec_prefix} \ --libexecdir=%{_sbindir} \ --libdir=%{_libdir} \ --sysconfdir=%{_sysconfdir} \ --datadir=%{_datadir} \ --localstatedir=%{mysqldatadir} \ --infodir=%{_infodir} \ --includedir=%{_includedir} \ --mandir=%{_mandir} \ --enable-thread-safe-client \ --with-comment=\"%{comment}\" \ %if %{commercial} %else --with-readline \ %endif ; make" } RBR=$RPM_BUILD_ROOT %if %{commercial} MBD=$RPM_BUILD_DIR/mysqlcom-%{mysql_version} %else MBD=$RPM_BUILD_DIR/mysql-%{mysql_version} %endif # Clean up the BuildRoot first [ "$RBR" != "/" ] && [ -d $RBR ] && rm -rf $RBR; mkdir -p $RBR%{_libdir}/mysql # Use gcc for C and C++ code (to avoid a dependency on libstdc++ and # including exceptions into the code if [ -z "$CXX" -a -z "$CC" ] then export CC="gcc" export CXX="gcc" fi # Create the shared libs seperately to avoid a dependency for the client utilities BuildMySQL "--enable-shared --without-server" # Install shared libraries (cd libmysql/.libs; cp -av *.so* $RBR/%{_libdir}) (cd libmysql_r/.libs; cp -av *.so* $RBR/%{_libdir}) # Include libgcc.a in the devel subpackage (BUG 4921) if expr "$CC" : ".*gcc.*" > /dev/null ; then libgcc=`$CC --print-libgcc-file` if [ -f $libgcc ] then install -m 644 $libgcc $RBR%{_libdir}/mysql/libmygcc.a fi fi make clean BuildMySQL "--disable-shared \ --with-server-suffix='%{server_suffix}' \ --without-embedded-server \ --with-innodb \ --with-archive-storage-engine \ --without-bench \ --with-zlib-dir=bundled \ --without-berkeley-db \ --with-big-tables \ --without-vio \ --without-openssl" if test -n "$MYSQL_CONFLOG_DEST" then cp -fp config.log "$MYSQL_CONFLOG_DEST" fi if test -f sql/.libs/mysqld then nm --numeric-sort sql/.libs/mysqld > sql/mysqld.sym else nm --numeric-sort sql/mysqld > sql/mysqld.sym fi make test-force || true %install RBR=$RPM_BUILD_ROOT %if %{commercial} MBD=$RPM_BUILD_DIR/mysqlcom-%{mysql_version} %else MBD=$RPM_BUILD_DIR/mysql-%{mysql_version} %endif # Ensure that needed directories exists install -d $RBR%{_sysconfdir}/{logrotate.d,init.d} install -d $RBR%{mysqldatadir}/mysql install -d $RBR%{_datadir}/mysql-test install -d $RBR%{_includedir} install -d $RBR%{_libdir} install -d $RBR%{_mandir} install -d $RBR%{_sbindir} make DESTDIR=$RBR benchdir_root=%{_datadir} install # install symbol files ( for stack trace resolution) install -m644 $MBD/sql/mysqld.sym $RBR%{_libdir}/mysql/mysqld.sym # Install logrotate and autostart install -m644 $MBD/support-files/mysql-log-rotate $RBR%{_sysconfdir}/logrotate.d/mysql install -m755 $MBD/support-files/mysql.server $RBR%{_sysconfdir}/init.d/mysql # Create a symlink "rcmysql", pointing to the init.script. SuSE users # will appreciate that, as all services usually offer this. ln -s %{_sysconfdir}/init.d/mysql $RPM_BUILD_ROOT%{_sbindir}/rcmysql # Create symbolic compatibility link safe_mysqld -> mysqld_safe # (safe_mysqld will be gone in MySQL 4.1) ln -sf ./mysqld_safe $RBR%{_bindir}/safe_mysqld # Touch the place where the my.cnf config file might be located # Just to make sure it's in the file list and marked as a config file touch $RBR%{_sysconfdir}/my.cnf %pre -n MySQL-server%{server_suffix} # Shut down a previously installed server first if test -x %{_sysconfdir}/init.d/mysql then %{_sysconfdir}/init.d/mysql stop > /dev/null 2>&1 echo "Giving mysqld a couple of seconds to exit nicely" sleep 5 elif test -x %{_sysconfdir}/rc.d/init.d/mysql then %{_sysconfdir}/rc.d/init.d/mysql stop > /dev/null 2>&1 echo "Giving mysqld a couple of seconds to exit nicely" sleep 5 fi %post -n MySQL-server%{server_suffix} mysql_datadir=%{mysqldatadir} # Create data directory if needed if test ! -d $mysql_datadir; then mkdir -m755 $mysql_datadir; fi if test ! -d $mysql_datadir/mysql; then mkdir $mysql_datadir/mysql; fi if test ! -d $mysql_datadir/test; then mkdir $mysql_datadir/test; fi # Make MySQL start/shutdown automatically when the machine does it. # use insserv for older SuSE Linux versions if test -x /sbin/insserv then /sbin/insserv %{_sysconfdir}/init.d/mysql # use chkconfig on Red Hat and newer SuSE releases elif test -x /sbin/chkconfig then /sbin/chkconfig --add mysql fi # Create a MySQL user and group. Do not report any problems if it already # exists. groupadd -r %{mysqld_group} 2> /dev/null || true useradd -M -r -d $mysql_datadir -s /bin/bash -c "MySQL server" -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true # The user may already exist, make sure it has the proper group nevertheless (BUG#12823) usermod -g %{mysqld_group} %{mysqld_user} 2> /dev/null || true # Change permissions so that the user that will run the MySQL daemon # owns all database files. chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir # Initiate databases %{_bindir}/mysql_install_db --rpm --user=%{mysqld_user} # Change permissions again to fix any new files. chown -R %{mysqld_user}:%{mysqld_group} $mysql_datadir # Fix permissions for the permission database so that only the user # can read them. chmod -R og-rw $mysql_datadir/mysql # Restore selinux file_context if [ -x sbin/restorecon ]; then sbin/restorecon -R var/lib/mysql fi # Restart in the same way that mysqld will be started normally. %{_sysconfdir}/init.d/mysql start # Allow safe_mysqld to start mysqld and print a message before we exit sleep 2 %preun -n MySQL-server%{server_suffix} if test $1 = 0 then # Stop MySQL before uninstalling it if test -x %{_sysconfdir}/init.d/mysql then %{_sysconfdir}/init.d/mysql stop > /dev/null # Remove autostart of mysql # for older SuSE Linux versions if test -x /sbin/insserv then /sbin/insserv -r %{_sysconfdir}/init.d/mysql # use chkconfig on Red Hat and newer SuSE releases elif test -x /sbin/chkconfig then /sbin/chkconfig --del mysql fi fi fi # We do not remove the mysql user since it may still own a lot of # database files. # Clean up the BuildRoot %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %files -n MySQL-server%{server_suffix} %defattr(-,root,root,0755) %if %{commercial} %doc MySQLEULA.txt %else %doc COPYING README %endif %doc support-files/my-*.cnf %doc %attr(644, root, root) %{_infodir}/mysql.info* %doc %attr(644, root, man) %{_mandir}/man1/mysqlman.1* %doc %attr(644, root, man) %{_mandir}/man1/isamchk.1* %doc %attr(644, root, man) %{_mandir}/man1/isamlog.1* %doc %attr(644, root, man) %{_mandir}/man1/myisam_ftdump.1* %doc %attr(644, root, man) %{_mandir}/man1/myisamchk.1* %doc %attr(644, root, man) %{_mandir}/man1/myisamlog.1* %doc %attr(644, root, man) %{_mandir}/man1/myisampack.1* %doc %attr(644, root, man) %{_mandir}/man1/mysql_explain_log.1* %doc %attr(644, root, man) %{_mandir}/man8/mysqld.8* %doc %attr(644, root, man) %{_mandir}/man1/mysqld_multi.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqld_safe.1* %doc %attr(644, root, man) %{_mandir}/man1/mysql_fix_privilege_tables.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqlhotcopy.1* %doc %attr(644, root, man) %{_mandir}/man1/mysql.server.1* %doc %attr(644, root, man) %{_mandir}/man1/mysql_zap.1* %doc %attr(644, root, man) %{_mandir}/man1/pack_isam.1* %doc %attr(644, root, man) %{_mandir}/man1/perror.1* %doc %attr(644, root, man) %{_mandir}/man1/replace.1* %doc %attr(644, root, man) %{_mandir}/man1/safe_mysqld.1* %ghost %config(noreplace,missingok) %{_sysconfdir}/my.cnf %attr(755, root, root) %{_bindir}/isamchk %attr(755, root, root) %{_bindir}/isamlog %attr(755, root, root) %{_bindir}/my_print_defaults %attr(755, root, root) %{_bindir}/myisam_ftdump %attr(755, root, root) %{_bindir}/myisamchk %attr(755, root, root) %{_bindir}/myisamlog %attr(755, root, root) %{_bindir}/myisampack %attr(755, root, root) %{_bindir}/mysql_convert_table_format %attr(755, root, root) %{_bindir}/mysql_create_system_tables %attr(755, root, root) %{_bindir}/mysql_explain_log %attr(755, root, root) %{_bindir}/mysql_fix_extensions %attr(755, root, root) %{_bindir}/mysql_fix_privilege_tables %attr(755, root, root) %{_bindir}/mysql_install_db %attr(755, root, root) %{_bindir}/mysql_secure_installation %attr(755, root, root) %{_bindir}/mysql_setpermission %attr(755, root, root) %{_bindir}/mysql_tzinfo_to_sql %attr(755, root, root) %{_bindir}/mysql_zap %attr(755, root, root) %{_bindir}/mysqlbug %attr(755, root, root) %{_bindir}/mysqld_multi %attr(755, root, root) %{_bindir}/mysqld_safe %attr(755, root, root) %{_bindir}/mysqldumpslow %attr(755, root, root) %{_bindir}/mysqlhotcopy %attr(755, root, root) %{_bindir}/mysqltest %attr(755, root, root) %{_bindir}/pack_isam %attr(755, root, root) %{_bindir}/perror %attr(755, root, root) %{_bindir}/replace %attr(755, root, root) %{_bindir}/resolve_stack_dump %attr(755, root, root) %{_bindir}/resolveip %attr(755, root, root) %{_bindir}/safe_mysqld %attr(755, root, root) %{_sbindir}/mysqld %attr(755, root, root) %{_sbindir}/rcmysql %attr(644, root, root) %{_libdir}/mysql/mysqld.sym %attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql %attr(755, root, root) %{_sysconfdir}/init.d/mysql %attr(755, root, root) %{_datadir}/mysql/ %files -n MySQL-client%{server_suffix} %defattr(-, root, root, 0755) %attr(755, root, root) %{_bindir}/msql2mysql %attr(755, root, root) %{_bindir}/mysql %attr(755, root, root) %{_bindir}/mysql_client_test %attr(755, root, root) %{_bindir}/mysql_find_rows %attr(755, root, root) %{_bindir}/mysql_tableinfo %attr(755, root, root) %{_bindir}/mysql_waitpid %attr(755, root, root) %{_bindir}/mysqlaccess %attr(755, root, root) %{_bindir}/mysqladmin %attr(755, root, root) %{_bindir}/mysqlbinlog %attr(755, root, root) %{_bindir}/mysqlcheck %attr(755, root, root) %{_bindir}/mysqldump %attr(755, root, root) %{_bindir}/mysqlimport %attr(755, root, root) %{_bindir}/mysqlshow %doc %attr(644, root, man) %{_mandir}/man1/msql2mysql.1* %doc %attr(644, root, man) %{_mandir}/man1/mysql.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqlaccess.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqladmin.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqlbinlog.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqlcheck.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqldump.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqlimport.1* %doc %attr(644, root, man) %{_mandir}/man1/mysqlshow.1* %post -n MySQL-shared%{server_suffix} /sbin/ldconfig %postun -n MySQL-shared%{server_suffix} /sbin/ldconfig %files -n MySQL-devel%{server_suffix} %defattr(-, root, root, 0755) %if %{commercial} %else %doc EXCEPTIONS-CLIENT %endif %doc %attr(644, root, man) %{_mandir}/man1/mysql_config.1* %attr(755, root, root) %{_bindir}/comp_err %attr(755, root, root) %{_bindir}/mysql_config %dir %attr(755, root, root) %{_includedir}/mysql %dir %attr(755, root, root) %{_libdir}/mysql %{_includedir}/mysql/* %{_libdir}/mysql/libdbug.a %{_libdir}/mysql/libheap.a %{_libdir}/mysql/libmy*.a %{_libdir}/mysql/libmy*.la %{_libdir}/mysql/libnisam.a %{_libdir}/mysql/libvio.a %{_libdir}/mysql/libz* %files -n MySQL-shared%{server_suffix} %defattr(-, root, root, 0755) # Shared libraries (omit for architectures that don't support them) %{_libdir}/*.so* %files -n MySQL-test%{server_suffix} %defattr(-, root, root, 0755) %attr(-, root, root) %{_datadir}/mysql-test %attr(755, root, root) %{_bindir}/mysql_client_test # The spec file changelog only includes changes made to the spec file # itself - note that they must be ordered by date (important when # merging BK trees) %changelog * Thu Mar 13 2008 Carsten Schoene <cs@internetx.de> - bump to mysql 4.1.24-20080313 * Fri Sep 07 2007 Carsten Schoene <cs@internetx.de> - bump to mysql 4.1.24-20070902 - fix mysqld manpage which moved from section 1 to 8 * Mon Oct 23 2006 Mads Martin Joergensen <mmj@mysql.com> - Run sbin/restorecon after db init (Bug#12676) * Wed Jun 28 2006 Joerg Bruehe <joerg@mysql.com> Move "mysqldumpslow" from the client RPM to the server RPM (bug#20216). * Sat May 23 2006 Kent Boortz <kent@mysql.com> - Always compile for PIC, position independent code. * Sat Apr 01 2006 Kent Boortz <kent@mysql.com> - Allow to override $LDFLAGS * Mon Jan 09 2006 Joerg Bruehe <joerg@mysql.com> - fix the MySQL-test subpackage (BUG#16070): no "mysqltestmanager*" files in 4.1 * Fri Jan 06 2006 Lenz Grimmer <lenz@mysql.com> - added a MySQL-test subpackage (BUG#16070) * Tue Dec 27 2005 Joerg Bruehe <joerg@mysql.com> Aply selected parts of experimental changes which were originally done on Wed Dec 14 2005 by Rodrigo Novo <rodrigo@mysql.com> - Cosmetic change: rpm packager - Add libz.a & libz.la to the list of files for subpackage -devel - moved --with-zlib-dir=bundled out of BuildMySQL, as it doesn't makes sense for the shared package - added libmysqlclient.la to the list of installed files * Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com> - Extend the file existence check for "init.d/mysql" on un-install to also guard the call to "insserv"/"chkconfig". * Wed Nov 16 2005 Lenz Grimmer <lenz@mysql.com> - added mysql_client_test to the "client" subpackage (BUG#14546) * Tue Nov 15 2005 Lenz Grimmer <lenz@mysql.com> - changed default definitions to build a standard GPL release when not defining anything else - install the shared libs more elegantly by using "make install" * Thu Oct 13 2005 Lenz Grimmer <lenz@mysql.com> - added a usermod call to assign a potential existing mysql user to the correct user group (BUG#12823) - added a separate macro "mysqld_group" to be able to define the user group of the mysql user seperately, if desired. * Fri Sep 30 2005 Lenz Grimmer <lenz@mysql.com> - don't use install-strip to install the binaries (strip segfaults on icc-compiled binaries on IA64) * Thu Sep 22 2005 Lenz Grimmer <lenz@mysql.com> - allow overriding the CFLAGS (needed for Intel icc compiles) - replace the CPPFLAGS=-DBIG_TABLES with "--with-big-tables" configure option * Fri Aug 19 2005 Joerg Bruehe <joerg@mysql.com> - Protect against failing tests. * Thu Aug 04 2005 Lenz Grimmer <lenz@mysql.com> - Fixed the creation of the mysql user group account in the postinstall section (BUG 12348) * Fri Jul 29 2005 Lenz Grimmer <lenz@mysql.com> - Fixed external RPM Requirements to better suit the target distribution (BUG 12233) * Fri Jul 15 2005 Lenz Grimmer <lenz@mysql.com> - create a "mysql" user group and assign the mysql user account to that group in the server postinstall section. (BUG 10984) * Wed Jun 01 2005 Lenz Grimmer <lenz@mysql.com> - use "mysqldatadir" variable instead of hard-coding the path multiple times - use the "mysqld_user" variable on all occasions a user name is referenced - removed (incomplete) Brazilian translations - removed redundant release tags from the subpackage descriptions * Wed Apr 13 2005 Lenz Grimmer <lenz@mysql.com> - removed the MySQL manual files (html/ps/texi) - they have been removed from the MySQL sources and are now available seperately. * Tue Apr 5 2005 Lenz Grimmer <lenz@mysql.com> - removed mysql.server.sh.patch as it has been included in the sources now * Fri Jan 14 2005 Lenz Grimmer <lenz@mysql.com> - replaced obsoleted "BuildPrereq" with "BuildRequires" instead * Thu Dec 31 2004 Lenz Grimmer <lenz@mysql.com> - enabled the "Archive" storage engine for the max binary - enabled the "CSV" storage engine for the max binary - enabled the "Example" storage engine for the max binary * Thu Aug 26 2004 Lenz Grimmer <lenz@mysql.com> - MySQL-Max now requires MySQL-server instead of MySQL (BUG 3860) * Fri Aug 20 2004 Lenz Grimmer <lenz@mysql.com> - do not link statically on IA64/AMD64 as these systems do not have a patched glibc installed * Tue Aug 10 2004 Lenz Grimmer <lenz@mysql.com> - Added libmygcc.a to the devel subpackage (required to link applications against the the embedded server libmysqld.a) (BUG 4921) * Mon Aug 09 2004 Lenz Grimmer <lenz@mysql.com> - Added EXCEPTIONS-CLIENT to the "devel" package * Thu Jul 29 2004 Lenz Grimmer <lenz@mysql.com> - disabled OpenSSL in the Max binaries again (the RPM packages were the only exception to this anyway) (BUG 1043) * Wed Jun 30 2004 Lenz Grimmer <lenz@mysql.com> - fixed server postinstall (mysql_install_db was called with the wrong parameter) * Thu Jun 24 2004 Lenz Grimmer <lenz@mysql.com> - added mysql_tzinfo_to_sql to the server subpackage - run "make clean" instead of "make distclean" * Mon Apr 05 2004 Lenz Grimmer <lenz@mysql.com> - added ncurses-devel to the build prerequisites (BUG 3377) * Thu Feb 12 2004 Lenz Grimmer <lenz@mysql.com> - when using gcc, _always_ use CXX=gcc - replaced Copyright with License field (Copyright is obsolete) * Tue Feb 03 2004 Lenz Grimmer <lenz@mysql.com> - added myisam_ftdump to the Server package * Tue Jan 13 2004 Lenz Grimmer <lenz@mysql.com> - link the mysql client against libreadline instead of libedit (BUG 2289) * Mon Dec 22 2003 Lenz Grimmer <lenz@mysql.com> - marked /etc/logrotate.d/mysql as a config file (BUG 2156) * Fri Dec 13 2003 Lenz Grimmer <lenz@mysql.com> - fixed file permissions (BUG 1672) * Thu Dec 11 2003 Lenz Grimmer <lenz@mysql.com> - made testing for gcc3 a bit more robust * Fri Dec 05 2003 Lenz Grimmer <lenz@mysql.com> - added missing file mysql_create_system_tables to the server subpackage * Fri Nov 21 2003 Lenz Grimmer <lenz@mysql.com> - removed dependency on MySQL-client from the MySQL-devel subpackage as it is not really required. (BUG 1610) * Fri Aug 29 2003 Lenz Grimmer <lenz@mysql.com> - Fixed BUG 1162 (removed macro names from the changelog) - Really fixed BUG 998 (disable the checking for installed but unpackaged files) * Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com> - Fixed BUG 959 (libmysqld not being compiled properly) - Fixed BUG 998 (RPM build errors): added missing files to the distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow, mysql_fix_privilege_tables.1), removed "-n" from install section. * Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com> - removed the GIF Icon (file was not included in the sources anyway) - removed unused variable shared_lib_version - do not run automake before building the standard binary (should not be necessary) - add server suffix '-standard' to standard binary (to be in line with the binary tarball distributions) - Use more RPM macros (_exec_prefix, _sbindir, _libdir, _sysconfdir, _datadir, _includedir) throughout the spec file. - allow overriding CC and CXX (required when building with other compilers) * Fri May 16 2003 Lenz Grimmer <lenz@mysql.com> - re-enabled RAID again * Wed Apr 30 2003 Lenz Grimmer <lenz@mysql.com> - disabled MyISAM RAID (--with-raid) - it throws an assertion which needs to be investigated first. * Mon Mar 10 2003 Lenz Grimmer <lenz@mysql.com> - added missing file mysql_secure_installation to server subpackage (BUG 141) * Tue Feb 11 2003 Lenz Grimmer <lenz@mysql.com> - re-added missing pre- and post(un)install scripts to server subpackage - added config file /etc/my.cnf to the file list (just for completeness) - make sure to create the datadir with 755 permissions * Mon Jan 27 2003 Lenz Grimmer <lenz@mysql.com> - removed unused CC and CXX variables - CFLAGS and CXXFLAGS should honor RPM_OPT_FLAGS * Fri Jan 24 2003 Lenz Grimmer <lenz@mysql.com> - renamed package "MySQL" to "MySQL-server" - fixed Copyright tag - added mysql_waitpid to client subpackage (required for mysql-test-run) * Wed Nov 27 2002 Lenz Grimmer <lenz@mysql.com> - moved init script from /etc/rc.d/init.d to /etc/init.d (the majority of Linux distributions now support this scheme as proposed by the LSB either directly or via a compatibility symlink) - Use new "restart" init script action instead of starting and stopping separately - Be more flexible in activating the automatic bootup - use insserv (on older SuSE versions) or chkconfig (Red Hat, newer SuSE versions and others) to create the respective symlinks * Wed Sep 25 2002 Lenz Grimmer <lenz@mysql.com> - MySQL-Max now requires MySQL >= 4.0 to avoid version mismatches (mixing 3.23 and 4.0 packages) * Fri Aug 09 2002 Lenz Grimmer <lenz@mysql.com> - Turn off OpenSSL in MySQL-Max for now until it works properly again - enable RAID for the Max binary instead - added compatibility link: safe_mysqld -> mysqld_safe to ease the transition from 3.23 * Thu Jul 18 2002 Lenz Grimmer <lenz@mysql.com> - Reworked the build steps a little bit: the Max binary is supposed to include OpenSSL, which cannot be linked statically, thus trying to statically link against a special glibc is futile anyway - because of this, it is not required to make yet another build run just to compile the shared libs (saves a lot of time) - updated package description of the Max subpackage - clean up the BuildRoot directory afterwards * Mon Jul 15 2002 Lenz Grimmer <lenz@mysql.com> - Updated Packager information - Fixed the build options: the regular package is supposed to include InnoDB and linked statically, while the Max package should include BDB and SSL support * Fri May 03 2002 Lenz Grimmer <lenz@mysql.com> - Use more RPM macros (e.g. infodir, mandir) to make the spec file more portable - reorganized the installation of documentation files: let RPM take care of this - reorganized the file list: actually install man pages along with the binaries of the respective subpackage - do not include libmysqld.a in the devel subpackage as well, if we have a special "embedded" subpackage - reworked the package descriptions * Mon Oct 8 2001 Monty - Added embedded server as a separate RPM * Fri Apr 13 2001 Monty - Added mysqld-max to the distribution * Tue Jan 2 2001 Monty - Added mysql-test to the bench package * Fri Aug 18 2000 Tim Smith <tim@mysql.com> - Added separate libmysql_r directory; now both a threaded and non-threaded library is shipped. * Wed Sep 28 1999 David Axmark <davida@mysql.com> - Added the support-files/my-example.cnf to the docs directory. - Removed devel dependency on base since it is about client development. * Wed Sep 8 1999 David Axmark <davida@mysql.com> - Cleaned up some for 3.23. * Thu Jul 1 1999 David Axmark <davida@mysql.com> - Added support for shared libraries in a separate sub package. Original fix by David Fox (dsfox@cogsci.ucsd.edu) - The --enable-assembler switch is now automatically disables on platforms there assembler code is unavailable. This should allow building this RPM on non i386 systems. * Mon Feb 22 1999 David Axmark <david@detron.se> - Removed unportable cc switches from the spec file. The defaults can now be overridden with environment variables. This feature is used to compile the official RPM with optimal (but compiler version specific) switches. - Removed the repetitive description parts for the sub rpms. Maybe add again if RPM gets a multiline macro capability. - Added support for a pt_BR translation. Translation contributed by Jorge Godoy <jorge@bestway.com.br>. * Wed Nov 4 1998 David Axmark <david@detron.se> - A lot of changes in all the rpm and install scripts. This may even be a working RPM :-) * Sun Aug 16 1998 David Axmark <david@detron.se> - A developers changelog for MySQL is available in the source RPM. And there is a history of major user visible changed in the Reference Manual. Only RPM specific changes will be documented here.