diff options
author | unknown <monty@hundin.mysql.fi> | 2001-07-18 14:32:54 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-07-18 14:32:54 +0300 |
commit | 2cbf3b9b532e048dbe3d42669bff539c5864236e (patch) | |
tree | 439c4f787e95df0a5a9968168e8fa902d3fc3eea /support-files | |
parent | 653d19af023b8a02a24cda15e69f674423f44377 (diff) | |
download | mariadb-git-2cbf3b9b532e048dbe3d42669bff539c5864236e.tar.gz |
Updated version number
Update to new debian files
configure.in:
Updated version number
sql-bench/Results/ATIS-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/RUN-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/alter-table-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/big-tables-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/connect-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/create-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/insert-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/select-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
sql-bench/Results/wisconsin-mysql-Linux_2.2.16_SMP_alpha:
New benchmark results
support-files/debian/README.debian:
Update to new debian files
support-files/debian/changelog:
Update to new debian files
support-files/debian/control:
Update to new debian files
support-files/debian/gomi:
Update to new debian files
support-files/debian/move:
Update to new debian files
support-files/debian/patches/ab:
Update to new debian files
support-files/debian/patches/ad:
Update to new debian files
support-files/debian/patches/ae:
Update to new debian files
support-files/debian/rules:
Update to new debian files
support-files/debian/shlibs:
Update to new debian files
Diffstat (limited to 'support-files')
23 files changed, 508 insertions, 129 deletions
diff --git a/support-files/debian/README.debian b/support-files/debian/README.debian index aa6dbaac12e..9a990585854 100644 --- a/support-files/debian/README.debian +++ b/support-files/debian/README.debian @@ -18,6 +18,15 @@ Comments regarding the Package mysql-server-debug: --with-debug flag. mysqld only. (/usr/sbin/mysqld-debug) +* about MySQL-Max packages: + + mysql-max : + this is static linked MySQL-Max server only. (/usr/sbin/mysqld-max-static). + mysql-max-shared: + this is dynamic linked MySQL server only. (/usr/sbin/mysqld-max-shared) + mysql-max-debug: + --with-debug flag. mysqld only. (/usr/sbin/mysqld-max-debug) + * about charset I build MySQL server --with-extra-charsets=all diff --git a/support-files/debian/changelog b/support-files/debian/changelog index ee32ceb4e74..e52589d7025 100644 --- a/support-files/debian/changelog +++ b/support-files/debian/changelog @@ -1,12 +1,145 @@ -mysql (3.23.23-1potato.2) unstable; urgency=low +mysql (3.23.39-1) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Sat, 12 May 2001 05:07:35 +0900 + +mysql (3.23.38-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Sat, 12 May 2001 05:07:35 +0900 + +mysql (3.23.37-1potato.2) unstable; urgency=low + + * new + * add mysql-max multi packages. + + -- takeshi <takeshi@softagency.co.jp> Thr, 26 Apr 2001 05:07:35 +0900 + +mysql (3.23.37-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Thr, 26 Apr 2001 05:07:35 +0900 + +mysql (3.23.36-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Thr, 29 Mar 2001 05:07:35 +0900 + +mysql (3.23.35-1potato.1) unstable; urgency=low + + * sql fix patch + + -- takeshi <takeshi@softagency.co.jp> Thr, 22 Mar 2001 05:07:35 +0900 + +mysql (3.23.35-1potato) unstable; urgency=low + + * new + * --with-innobase + + -- takeshi <takeshi@softagency.co.jp> Sat, 17 Mar 2001 05:07:35 +0900 + +mysql (3.23.34a-1potato) unstable; urgency=low + + * new + * --with-innobase + + -- takeshi <takeshi@softagency.co.jp> Wed, 14 Mar 2001 05:07:35 +0900 + +mysql (3.23.33-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Tue, 13 Feb 2001 05:07:35 +0900 + +mysql (3.23.32-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Tue, 23 Jan 2001 05:07:35 +0900 + +mysql (3.23.31-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Fri, 19 Jan 2001 05:07:35 +0900 + +mysql (3.23.30-gamma-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Sat, 6 Jan 2001 05:07:35 +0900 + +mysql (3.23.29a-gamma-1potato.3) unstable; urgency=low + + * server:/usr/sbin/{mysql_config, mysqltest} -> client:/usr/bin/ + * server:/usr/bin/my_print_defaults -> client:/usr/bin/ + * /usr/mysql-test -> mysql-bench /var/mysql/mysql-test + + -- takeshi <takeshi@softagency.co.jp> Fri, 29 Dec 2000 05:07:35 +0900 + +mysql (3.23.29a-gamma-1potato.2) unstable; urgency=low + + * /usr/mysql-test -> mysql-bench /var/mysql/mysql-test + + -- takeshi <takeshi@softagency.co.jp> Sun, 17 Dec 2000 05:07:35 +0900 + +mysql (3.23.29a-gamma-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Sun, 17 Dec 2000 05:07:35 +0900 + +mysql (3.23.28-gamma-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Fri, 24 Nov 2000 05:07:35 +0900 + +mysql (3.23.27-beta-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Fri, 28 Oct 2000 05:07:35 +0900 + +mysql (3.23.26-beta-1potato) unstable; urgency=low + + * new + + -- takeshi <takeshi@softagency.co.jp> Sun, 22 Oct 2000 05:07:35 +0900 + +mysql (3.23.25-beta-1potato) unstable; urgency=low + + * new , libmysqlclient10 + * change debian/control file. remove Provides keyword + + -- takeshi <takeshi@softagency.co.jp> Fri, 29 Sep 2000 05:07:35 +0900 + +mysql (3.23.24-1potato.2) unstable; urgency=low + + * fix debian/control file + * move patch into debian/patches/ + if you want to make new patch, + write patch file and put it into debian/patches/. + debian/rules do patch debian/patches/* automatically. + * change debian/rules , debian/move + * back mysql_resolveip -> resolveip , mysql_perror -> perror + + -- takeshi <takeshi@softagency.co.jp> Thr, 14 Sep 2000 05:07:35 +0900 + +mysql (3.23.24-1potato) unstable; urgency=low * move patch into debian/patches/ if you want to make new patch, write patch file and put it into debian/patches/. debian/rules do patch debian/patches/* automatically. * change debian/rules , debian/move + * back mysql_resolveip -> resolveip , mysql_perror -> perror - -- takeshi <takeshi@softagency.co.jp> Tue, 5 Sep 2000 05:07:35 +0900 + -- takeshi <takeshi@softagency.co.jp> Sat, 9 Sep 2000 05:07:35 +0900 mysql (3.23.23-1potato) unstable; urgency=low diff --git a/support-files/debian/control b/support-files/debian/control index acd83518412..3ccc1d097c8 100644 --- a/support-files/debian/control +++ b/support-files/debian/control @@ -11,38 +11,44 @@ Description: mysql Package: mysql-doc Architecture: all +Section: doc +Priority: extra +Replaces: mysql-gpl-doc Description: mysql Documentation (html) MySQL Doc. -Package: libmysqlclient9 +Package: libmysqlclient10 Architecture: any -Provides: libmysqlclient9 -Description: libmysqlclient.so.9 - libmysqlclient.so.9 +Section: libs +Priority: extra +Description: libmysqlclient.so.10 + libmysqlclient.so.10 Package: mysql-client Architecture: any Depends: ${shlibs:Depends} -Section: devel +Section: misc Priority: extra Conflicts: mysql-client-ujis, mysql-client-sjis -Replaces: mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-client-ujis, mysql-client-sjis -Provides: mysql-client +Replaces: mysql-gpl-client, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-client-ujis, mysql-client-sjis Description: mysql clients. MySQL clients programs. Package: mysql-server Architecture: any +Section: misc +Priority: extra Depends: ${shlibs:Depends} Conflicts: mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) -Replaces: mysql-server-sjis, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) -Provides: mysql-server +Replaces: mysql-server-sjis, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0), mysql-common Description: MySQL server (static linked) MySQL server. static linked. Package: mysql-server-shared Architecture: any -Depends: ${shlibs:Depends} +Section: misc +Priority: extra +Depends: mysql-server, ${shlibs:Depends} Conflicts: mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) Replaces: mysql-server-sjis, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) Description: MySQL server (dynamic linked) @@ -50,22 +56,57 @@ Description: MySQL server (dynamic linked) Package: mysql-server-debug Architecture: any -Depends: ${shlibs:Depends} +Section: misc +Priority: extra +Depends: mysql-server, ${shlibs:Depends} Conflicts: mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) Replaces: mysql-server-sjis, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) Description: MySQL server debug MySQL server. debug +Package: mysql-max +Architecture: any +Section: misc +Priority: extra +Depends: mysql-server +Conflicts: mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) +Replaces: mysql-server-sjis, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) +Description: MySQL-MAX server (static linked) + MySQL-Max server. (static linked) + +Package: mysql-max-shared +Architecture: any +Section: misc +Priority: extra +Depends: mysql-server, ${shlibs:Depends} +Conflicts: mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) +Replaces: mysql-server-sjis, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) +Description: MySQL-MAX server (shared linked) + MySQL-Max server. (shared linked) + +Package: mysql-max-debug +Architecture: any +Section: misc +Priority: extra +Depends: mysql-server, ${shlibs:Depends} +Conflicts: mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) +Replaces: mysql-server-sjis, mysql-base (<< 3.22.11), mysql-base-ujis (<< 3.22.11), mysql-base-sjis (<< 3.22.11), mysql-server-sjis, mysql-server-ujis, mysql-server (<< 3.23.0) +Description: MySQL-MAX server (with debug shared linked) + MySQL-Max server. (with debug and shared linked) + Package: mysql-dev Architecture: any +Section: devel +Priority: extra Depends: ${shlibs:Depends} Conflicts: mysql-dev-sjis, mysql-dev-ujis -Replaces: mysql-dev-sjis, mysql-dev-ujis, libmysqlclient6-ujis, libmysqlclient6-sjis -Provides: mysql-dev +Replaces: mysql-devel, libmysqlclient10-dev, libmysqlclient9-dev, libmysqlclient6-dev, mysql-gpl-dev, mysql-dev-sjis, mysql-dev-ujis, libmysqlclient6-ujis, libmysqlclient6-sjis Description: MySQL develop suite MySQL develop. Package: mysql-bench Architecture: all +Section: misc +Priority: extra Description: mysql benchmark suite. MySQL sql-bench files. diff --git a/support-files/debian/gomi b/support-files/debian/gomi index 29afaf50a18..4c9460578be 100644 --- a/support-files/debian/gomi +++ b/support-files/debian/gomi @@ -1,14 +1,15 @@ Docs/Makefile -strings/Makefile dbug/Makefile -mysys/Makefile extra/Makefile -regex/Makefile -isam/Makefile heap/Makefile +isam/Makefile merge/Makefile +mysys/Makefile +readline/Makefile +regex/Makefile sql/Makefile sql/share/Makefile +strings/Makefile support-files/binary-configure support-files/my-example.cnf support-files/mysql-log-rotate diff --git a/support-files/debian/libmysqlclient10.dirs b/support-files/debian/libmysqlclient10.dirs new file mode 100644 index 00000000000..68457717bd8 --- /dev/null +++ b/support-files/debian/libmysqlclient10.dirs @@ -0,0 +1 @@ +usr/lib diff --git a/support-files/debian/libmysqlclient10.postinst b/support-files/debian/libmysqlclient10.postinst new file mode 100644 index 00000000000..2d1871b1df6 --- /dev/null +++ b/support-files/debian/libmysqlclient10.postinst @@ -0,0 +1,3 @@ +#!/bin/sh + +ldconfig diff --git a/support-files/debian/move b/support-files/debian/move index e134c055fe9..36f250fcfb3 100644 --- a/support-files/debian/move +++ b/support-files/debian/move @@ -7,7 +7,7 @@ if [ -e $STAMPFILE ]; then fi #---------- -CLIENT1="msql2mysql mysql mysql_convert_table_format mysql_find_rows mysql_fix_privilege_tables mysql_setpermission mysql_zap mysqlaccess mysqladmin mysqlbug mysqldump mysqlhotcopy mysqlimport mysqlshow" +CLIENT1="msql2mysql mysql mysql_convert_table_format mysql_find_rows mysql_fix_privilege_tables mysql_setpermission mysql_zap mysqlaccess mysqladmin mysqlbug mysqldump mysqlhotcopy mysqlimport mysqlshow mysql_config mysqltest my_print_defaults" # CLIENT2="add_file_priv add_func_table add_long_password make_binary_distribution" @@ -20,7 +20,7 @@ for CHAR in build do #----- cp -Rpd debian/${CHAR}/usr debian/mysql-server/ - cp -Rpd debian/${CHAR}-shared/usr/lib/mysql/libmysqlclient.so.* debian/libmysqlclient9/usr/lib/ + cp -Rpd debian/${CHAR}-shared/usr/lib/mysql/libmysqlclient.so.* debian/libmysqlclient10/usr/lib/ #----- mysql-server-shared --- cp -Rpd debian/${CHAR}-shared/usr/sbin/mysqld debian/mysql-server-shared/usr/sbin/mysqld-shared @@ -31,20 +31,28 @@ do #----- mysql-server --- mv debian/mysql-server/usr/sbin/mysqld debian/mysql-server/usr/sbin/mysqld-static + #----- mysql-max-shared --- + cp -Rpd debian/${CHAR}-max-shared/usr/sbin/mysqld debian/mysql-max-shared/usr/sbin/mysqld-max-shared + + #----- mysql-max-debug --- + cp -Rpd debian/${CHAR}-max-debug/usr/sbin/mysqld debian/mysql-max-debug/usr/sbin/mysqld-max-debug + + #----- mysql-max --- + mv debian/${CHAR}-max/usr/sbin/mysqld debian/mysql-max/usr/sbin/mysqld-max-static + #----- mysql-client ---- cd ${P}/debian/mysql-server/usr/bin/ && mv $CLIENT1 ../../../mysql-client/usr/bin/ cd ${P} mv -f debian/mysql-server/usr/{man,info} debian/mysql-client/usr/share/ - mv debian/mysql-server/usr/share/mysql/my-example.cnf debian/mysql-client/usr/share/mysql/ +# mv debian/mysql-server/usr/share/mysql/my-*.cnf debian/mysql-client/usr/share/mysql/ mv -f debian/mysql-server/usr/bin/replace debian/mysql-client/usr/bin/mysql_replace #----- mysql-server --- mv debian/mysql-server/usr/bin/* debian/mysql-server/usr/sbin/ - mv debian/mysql-server/usr/sbin/my_print_defaults debian/mysql-server/usr/bin/ mv debian/mysql-server/usr/sbin/comp_err debian/mysql-server/usr/bin/ - mv debian/mysql-server/usr/sbin/perror debian/mysql-server/usr/bin/mysql_perror - mv debian/mysql-server/usr/sbin/resolveip debian/mysql-server/usr/bin/mysql_resolveip + mv debian/mysql-server/usr/sbin/perror debian/mysql-server/usr/bin/ + mv debian/mysql-server/usr/sbin/resolveip debian/mysql-server/usr/bin/ #----- mysql-dev ---- cp -Rpd debian/${CHAR}-shared/usr/lib/mysql/libmysqlclient.so debian/mysql-dev/usr/lib/ @@ -67,6 +75,7 @@ cp -r COPYING* MIRRORS README* Docs/* debian/mysql-doc/usr/share/doc/mysql/ #### sql-bench mv debian/mysql-server/usr/sql-bench \ + debian/mysql-server/usr/mysql-test \ debian/mysql-bench/var/mysql/ touch $STAMPFILE diff --git a/support-files/debian/mysql-max-debug.dirs b/support-files/debian/mysql-max-debug.dirs new file mode 100644 index 00000000000..236670a2d0f --- /dev/null +++ b/support-files/debian/mysql-max-debug.dirs @@ -0,0 +1 @@ +usr/sbin diff --git a/support-files/debian/mysql-max-debug.postinst b/support-files/debian/mysql-max-debug.postinst new file mode 100644 index 00000000000..e9d8b628c2e --- /dev/null +++ b/support-files/debian/mysql-max-debug.postinst @@ -0,0 +1,3 @@ +#!/bin/sh + +update-alternatives --install /usr/sbin/mysqld mysqld /usr/sbin/mysqld-max-debug 40 diff --git a/support-files/debian/mysql-max-debug.postrm b/support-files/debian/mysql-max-debug.postrm new file mode 100644 index 00000000000..25c7aadf494 --- /dev/null +++ b/support-files/debian/mysql-max-debug.postrm @@ -0,0 +1,3 @@ +#!/bin/sh + +update-alternatives --auto mysqld diff --git a/support-files/debian/mysql-max-shared.dirs b/support-files/debian/mysql-max-shared.dirs new file mode 100644 index 00000000000..236670a2d0f --- /dev/null +++ b/support-files/debian/mysql-max-shared.dirs @@ -0,0 +1 @@ +usr/sbin diff --git a/support-files/debian/mysql-max-shared.postinst b/support-files/debian/mysql-max-shared.postinst new file mode 100644 index 00000000000..d47d85c73eb --- /dev/null +++ b/support-files/debian/mysql-max-shared.postinst @@ -0,0 +1,3 @@ +#!/bin/sh + +update-alternatives --install /usr/sbin/mysqld mysqld /usr/sbin/mysqld-max-shared 35 diff --git a/support-files/debian/mysql-max-shared.postrm b/support-files/debian/mysql-max-shared.postrm new file mode 100644 index 00000000000..25c7aadf494 --- /dev/null +++ b/support-files/debian/mysql-max-shared.postrm @@ -0,0 +1,3 @@ +#!/bin/sh + +update-alternatives --auto mysqld diff --git a/support-files/debian/mysql-max.dirs b/support-files/debian/mysql-max.dirs new file mode 100644 index 00000000000..236670a2d0f --- /dev/null +++ b/support-files/debian/mysql-max.dirs @@ -0,0 +1 @@ +usr/sbin diff --git a/support-files/debian/mysql-max.postinst b/support-files/debian/mysql-max.postinst new file mode 100644 index 00000000000..a65ccd5b6c7 --- /dev/null +++ b/support-files/debian/mysql-max.postinst @@ -0,0 +1,3 @@ +#!/bin/sh + +update-alternatives --install /usr/sbin/mysqld mysqld /usr/sbin/mysqld-max-static 30 diff --git a/support-files/debian/mysql-max.postrm b/support-files/debian/mysql-max.postrm new file mode 100644 index 00000000000..25c7aadf494 --- /dev/null +++ b/support-files/debian/mysql-max.postrm @@ -0,0 +1,3 @@ +#!/bin/sh + +update-alternatives --auto mysqld diff --git a/support-files/debian/patches/ab b/support-files/debian/patches/ab index ed6ca58f729..e169ee38188 100644 --- a/support-files/debian/patches/ab +++ b/support-files/debian/patches/ab @@ -1,20 +1,11 @@ ---- mysql-3.23.23.orig/scripts/Makefile.in -+++ mysql-3.23.23/scripts/Makefile.in -@@ -337,6 +337,7 @@ - @RM@ -f $@ $@-t - @SED@ \ - -e 's!@''bindir''@!$(bindir)!g' \ -+ -e 's!@''sbindir''@!$(sbindir)!g' \ - -e 's!@''scriptdir''@!$(bindir)!g' \ - -e 's!@''prefix''@!$(prefix)!g' \ - -e 's!@''datadir''@!$(datadir)!g' \ ---- mysql-3.23.23.orig/support-files/Makefile.in -+++ mysql-3.23.23/support-files/Makefile.in -@@ -308,6 +308,7 @@ - @RM@ -f $@ $@-t - @SED@ \ - -e 's!@''bindir''@!$(bindir)!g' \ -+ -e 's!@''sbindir''@!$(sbindir)!g' \ - -e 's!@''scriptdir''@!$(bindir)!g' \ - -e 's!@''prefix''@!$(prefix)!g' \ - -e 's!@''datadir''@!$(datadir)!g' \ +--- mysql-3.23.34a/sql/Makefile.in.orig Mon Mar 12 08:27:39 2001 ++++ mysql-3.23.34a/sql/Makefile.in Thu Mar 15 04:11:14 2001 +@@ -373,7 +373,7 @@ + + mysqlbinlog: $(mysqlbinlog_OBJECTS) $(mysqlbinlog_DEPENDENCIES) + @rm -f mysqlbinlog +- $(CXXLINK) $(mysqlbinlog_LDFLAGS) $(mysqlbinlog_OBJECTS) $(mysqlbinlog_LDADD) $(LIBS) ++ $(CXXLINK) $(mysqld_LDFLAGS) $(mysqlbinlog_OBJECTS) $(mysqld_LDADD) $(LIBS) + + mysqld: $(mysqld_OBJECTS) $(mysqld_DEPENDENCIES) + @rm -f mysqld diff --git a/support-files/debian/patches/ad b/support-files/debian/patches/ad index a90cf669ff6..25394116ad9 100644 --- a/support-files/debian/patches/ad +++ b/support-files/debian/patches/ad @@ -1,52 +1,11 @@ ---- mysql-3.23.23.orig/scripts/mysql_install_db.sh -+++ mysql-3.23.23/scripts/mysql_install_db.sh -@@ -11,6 +11,7 @@ - ldata=@localstatedir@ - execdir=@libexecdir@ - bindir=@bindir@ -+sbindir=@sbindir@ - force=0 - IN_RPM=0 - defaults= -@@ -47,6 +48,10 @@ +--- mysql-3.23.34a/scripts/mysql_install_db.sh.orig Mon Mar 12 08:18:27 2001 ++++ mysql-3.23.34a/scripts/mysql_install_db.sh Thu Mar 15 04:12:28 2001 +@@ -325,7 +325,7 @@ + if test "$IN_RPM" -eq 0 then - bindir=`grep "^bindir" $conf | sed 's;^[^=]*=[ \t]*;;' | sed 's;[ \t]$;;'` - fi -+ if grep "^sbindir" $conf >/dev/null -+ then -+ sbindir=`grep "^sbindir" $conf | sed '.*=[ \t]*//` -+ fi - if grep "^user" $conf >/dev/null - then - user=`grep "^user" $conf | sed 's;^[^=]*=[ \t]*;;' | sed 's;[ \t]$;;'` -@@ -56,7 +61,7 @@ - for arg - do - case "$arg" in -- --basedir=*) basedir=`echo "$arg"|sed 's;^--basedir=;;'`; bindir="$basedir/bin"; execdir="$basedir/libexec" ;; -+ --basedir=*) basedir=`echo "$arg"|sed 's;^--basedir=;;'`; bindir="$basedir/bin"; sbindir="$basedir/sbin"; execdir="$basedir/libexec" ;; - --datadir=*) ldata=`echo "$arg"|sed 's;^--datadir=;;'` ;; - --user=*) user=`echo "$arg"|sed 's;^--user=;;'` ;; - esac -@@ -82,10 +87,10 @@ - # Check if hostname is valid - if test "$IN_RPM" -eq 0 -a $force -eq 0 - then -- resolved=`$bindir/resolveip $hostname 2>&1` -+ resolved=`$bindir/mysql_resolveip $hostname 2>&1` - if [ $? -ne 0 ] - then -- resolved=`$bindir/resolveip localhost 2>&1` -+ resolved=`$bindir/mysql_resolveip localhost 2>&1` - if [ $? -eq 0 ] - then - echo "Sorry, the host '$hostname' could not be looked up." -@@ -300,7 +305,7 @@ - if test -z "$IN_RPM" - then - echo "You can start the MySQL demon with:" + echo "You can start the MySQL daemon with:" - echo "cd @prefix@ ; $bindir/safe_mysqld &" + echo "cd @prefix@ ; $sbindir/safe_mysqld &" echo - echo "You can test the MySQL demon with the benchmarks in the 'sql-bench' directory:" + echo "You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:" echo "cd sql-bench ; run-all-tests" diff --git a/support-files/debian/patches/ae b/support-files/debian/patches/ae index d6ccdcfaaf0..7ea5733147f 100644 --- a/support-files/debian/patches/ae +++ b/support-files/debian/patches/ae @@ -1,25 +1,17 @@ ---- mysql-3.23.23.orig/support-files/mysql.server.sh Tue Sep 5 19:13:35 2000 -+++ mysql-3.23.23/support-files/mysql.server.sh Tue Sep 5 19:19:40 2000 -@@ -16,6 +16,7 @@ - PATH=/sbin:/usr/sbin:/bin:/usr/bin - basedir=@prefix@ - bindir=@bindir@ -+sbindir=@sbindir@ - datadir=@localstatedir@ - pid_file=@localstatedir@/mysqld.pid - log_file=@localstatedir@/mysqld.log -@@ -64,6 +65,10 @@ - then - bindir=`grep "^bindir" $conf | cut -f 2 -d= | tr -d ' '` - fi -+ if grep "^sbindir" $conf >/dev/null -+ then -+ sbindir=`grep "^sbindir" $conf | cut -f 2 -d= | tr -d ' '` -+ fi - if grep "^log[ \t]*=" $conf >/dev/null - then - log_file=`grep "log[ \t]*=" $conf | cut -f 2 -d= | tr -d ' '` -@@ -78,14 +83,15 @@ +--- mysql-3.23.30-gamma/support-files/mysql.server.sh.orig Thu Jan 4 11:03:57 2001 ++++ mysql-3.23.30-gamma/support-files/mysql.server.sh Sat Jan 6 12:18:50 2001 +@@ -28,8 +28,10 @@ + then + basedir=@prefix@ + bindir=@bindir@ ++ sbindir=@sbindir@ + else + bindir="$basedir/bin" ++ sbindir="$basedir/sbin" + fi + if test -z "$pid_file" + then +@@ -100,18 +102,18 @@ 'start') # Start daemon @@ -28,11 +20,13 @@ then # Give extra arguments to mysqld with the my.cnf file. This script may # be overwritten at next upgrade. -- $bindir/safe_mysqld \ -- --user=$mysql_daemon_user --datadir=$datadir --pid-file=$pid_file --log=$log_file & -+ $sbindir/safe_mysqld \ -+ --user=$mysql_daemon_user --datadir=$datadir --pid-file=$pid_file & -+# --log=$log_file & +- $bindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file & ++ $sbindir/safe_mysqld --datadir=$datadir --pid-file=$pid_file & + # Make lock for RedHat / SuSE + if test -w /var/lock/subsys + then + touch /var/lock/subsys/mysql + fi else - echo "Can't execute $bindir/safe_mysqld" + echo "Can't execute $sbindir/safe_mysqld" diff --git a/support-files/debian/patches/ta b/support-files/debian/patches/ta new file mode 100644 index 00000000000..b27259f4473 --- /dev/null +++ b/support-files/debian/patches/ta @@ -0,0 +1,68 @@ +--- mysql-3.23.34a/mysql-test/install_test_db.sh.orig Mon Mar 12 08:18:24 2001 ++++ mysql-3.23.34a/mysql-test/install_test_db.sh Thu Mar 15 04:11:14 2001 +@@ -5,6 +5,15 @@ + # This scripts creates the privilege tables db, host, user, tables_priv, + # columns_priv in the mysql database, as well as the func table. + ++if [ x$1 = x"-debian" ]; then ++ DEBIAN=1 ++ shift 1 ++ execdir=/usr/sbin ++ bindir=/usr/bin ++ BINARY_DIST=1 ++ fix_bin=/var/mysql/mysql-test ++else ++ + if [ x$1 = x"-bin" ]; then + shift 1 + execdir=../bin +@@ -17,6 +26,10 @@ + fix_bin=. + fi + ++fi ++ ++ ++ + vardir=var + logdir=$vardir/log + if [ x$1 = x"-slave" ] +@@ -47,12 +60,17 @@ + #create the directories + [ -d $vardir ] || mkdir $vardir + [ -d $logdir ] || mkdir $logdir ++[ "x$RUN_USER" != "x" ] && chown -R $RUN_USER $logdir + + # Create database directories mysql & test + if [ -d $data ] ; then rm -rf $data ; fi + mkdir $data $data/mysql $data/test + + #for error messages ++if [ "x$DEBIAN" = "x1" ]; then ++ basedir=/usr ++else ++ + if [ x$BINARY_DIST = x1 ] ; then + basedir=.. + else +@@ -62,6 +80,10 @@ + ln -sf ../../sql/share share/mysql + fi + ++fi ++ ++ ++ + # Initialize variables + c_d="" i_d="" + c_h="" i_h="" +@@ -211,7 +233,9 @@ + $c_c + END_OF_DATA + then ++ [ "x$RUN_USER" != "x" ] && chown -R $RUN_USER $ldata + exit 0 + else ++ [ "x$RUN_USER" != "x" ] && chown -R $RUN_USER $ldata + exit 1 + fi diff --git a/support-files/debian/patches/tb b/support-files/debian/patches/tb new file mode 100644 index 00000000000..c3890dcab62 --- /dev/null +++ b/support-files/debian/patches/tb @@ -0,0 +1,86 @@ +--- mysql-3.23.34a/mysql-test/mysql-test-run.sh.orig Mon Mar 12 08:18:27 2001 ++++ mysql-3.23.34a/mysql-test/mysql-test-run.sh Thu Mar 15 04:11:14 2001 +@@ -37,9 +37,23 @@ + XARGS=`which xargs | head -1` + SED=sed + ++if [ $USER = root ]; then ++ RUN_USER="mysql" ++ RUN_USER_OPT="--user=$RUN_USER" ++ export RUN_USER ++fi ++ ++ + # Are we using a source or a binary distribution? + + testdir=@testdir@ ++ ++if [ -d /var/mysql/mysql-test ]; then ++ DEBIAN=1 ++ cd /var/mysql/mysql-test ++ testdir=/var/mysql ++fi ++ + if [ -d bin/mysqld ] && [ -d mysql-test ] ; then + cd mysql-test + else +@@ -56,6 +70,10 @@ + exit 1 + fi + ++if [ x$DEBIAN = x1 ]; then ++ MY_BASEDIR=/usr ++fi ++ + #++ + # Misc. Definitions + #-- +@@ -184,12 +202,21 @@ + [ -d $MYSQL_TEST_DIR/var ] || mkdir $MYSQL_TEST_DIR/var + [ -d $MYSQL_TEST_DIR/var/tmp ] || mkdir $MYSQL_TEST_DIR/var/tmp + [ -d $MYSQL_TEST_DIR/var/run ] || mkdir $MYSQL_TEST_DIR/var/run ++[ -d $MYSQL_TEST_DIR -a "x$RUN_USER" != "x" ] && chown -R $RUN_USER $MYSQL_TEST_DIR + + [ -z "$COLUMNS" ] && COLUMNS=80 + E=`$EXPR $COLUMNS - 8` + #DASH72=`expr substr '------------------------------------------------------------------------' 1 $E` + DASH72=`$ECHO '------------------------------------------------------------------------'|$CUT -c 1-$E` + ++if [ "x$DEBIAN" = "x1" ]; then ++ MYSQLD="/usr/sbin/mysqld" ++ MYSQL_TEST="/usr/sbin/mysqltest" ++ MYSQLADMIN="/usr/bin/mysqladmin" ++ INSTALL_DB="/var/mysql/mysql-test/install_test_db -debian" ++ ++else ++ + # on source dist, we pick up freshly build executables + # on binary, use what is installed + if [ x$SOURCE_DIST = x1 ] ; then +@@ -250,6 +277,8 @@ + read unused + } + ++fi ++ + + error () { + $ECHO "Error: $1" +@@ -365,7 +394,7 @@ + --language=english \ + --innobase_data_file_path=ibdata1:50M \ + $SMALL_SERVER \ +- $EXTRA_MASTER_OPT $EXTRA_MASTER_MYSQLD_OPT" ++ $RUN_USER_OPT $EXTRA_MASTER_OPT $EXTRA_MASTER_MYSQLD_OPT" + if [ x$DO_DDD = x1 ] + then + $ECHO "set args $master_args" > $GDB_MASTER_INIT +@@ -420,7 +449,7 @@ + --language=english \ + --skip-innobase \ + $SMALL_SERVER \ +- $EXTRA_SLAVE_OPT $EXTRA_SLAVE_MYSQLD_OPT" ++ $RUN_USER_OPT $EXTRA_SLAVE_OPT $EXTRA_SLAVE_MYSQLD_OPT" + if [ x$DO_DDD = x1 ] + then + $ECHO "set args $master_args" > $GDB_SLAVE_INIT diff --git a/support-files/debian/rules b/support-files/debian/rules index e63f144a655..c03e7fd1742 100755 --- a/support-files/debian/rules +++ b/support-files/debian/rules @@ -4,9 +4,11 @@ package=mysql CHARSET=ujis +SYSNAME= + TEMPINST=build -#CFLAGS="-O6 -mpentium -mstack-align-double -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -mpentium -mstack-align-double -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static +# CFLAGS="-O6 -mpentium -mstack-align-double -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -mpentium -mstack-align-double -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static CC=gcc CFLAGS=-O6 -fomit-frame-pointer @@ -14,7 +16,6 @@ CXX=gcc CXXFLAGS=-O6 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti # CXXFLAGS=-O6 -fomit-frame-pointer -felide-constructors -fno-rtti -SYSNAME= COMMONCONF= --prefix=/usr --libexecdir=/usr/sbin \ --localstatedir=/var/mysql/data \ --enable-shared \ @@ -26,8 +27,14 @@ COMMONCONF= --prefix=/usr --libexecdir=/usr/sbin \ SERVERCONF=$(COMMONCONF) --enable-assembler \ --with-raid +MYSQLMAXCONF= --with-server-suffix=-Max \ + --with-innodb \ + --with-berkeley-db + +# --with-gemini \ + # --with-berkeley-db-includes=/usr/include/db3 \ -# --with-berkeley-db-libs=/usr/lib/libdb3.a +# --with-berkeley-db-libs=/usr/lib STATICCONF=--with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static @@ -37,6 +44,7 @@ CLIENTCONF=$(COMMONCONF) --without-server patches debian/stamp-patches: -test -e debian/stamp-patches || \ for i in `find debian/patches -type f -print` ; do \ + echo "==== $$i ====" ; \ patch -p1 < $$i ; \ done touch debian/stamp-patches @@ -46,9 +54,15 @@ premkdir debian/stamp-premkdir: $(checkdir) -rm -rf debian/tmp debian/$(TEMPINST)* dh_installdirs - -install -d debian/$(TEMPINST)/usr/{bin,sbin,share,man,include,info} - -install -d debian/$(TEMPINST)-shared/usr/{bin,sbin,share,man,include,info} - -install -d debian/$(TEMPINST)-debug/usr/{bin,sbin,share,man,include,info} + + for i in '' -shared -debug -max -max-shared -max-debug ; do \ + install -d debian/$(TEMPINST)$${i}/usr/{bin,sbin,share,man,include,info} ; \ + done + +# -install -d debian/$(TEMPINST)$${i}/usr/{bin,sbin,share,man,include,info} +# -install -d debian/$(TEMPINST)-shared/usr/{bin,sbin,share,man,include,info} +# -install -d debian/$(TEMPINST)-debug/usr/{bin,sbin,share,man,include,info} + touch debian/stamp-premkdir ################################################## @@ -59,6 +73,7 @@ config debian/stamp-config: debian/stamp-premkdir debian/stamp-patches --with-charset=$(CHARSET) \ --with-bench \ $(SYSNAME) + # sed 's/-fno-implicit-templates//g' sql/Makefile > .m # mv .m sql/Makefile touch debian/stamp-config @@ -102,6 +117,51 @@ build-debug debian/stamp-build-debug: debian/stamp-patches touch debian/stamp-build-debug ################################################## +debian/stamp-mysql-max: debian/stamp-mysql-max-static debian/stamp-mysql-max-shared debian/stamp-mysql-max-debug + +debian/stamp-mysql-max-static: debian/stamp-premkdir debian/stamp-patches + -make distclean + CC=$(CC) CFLAGS="$(CFLAGS)" CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" \ + ./configure $(SERVERCONF) $(STATICCONF) \ + $(MYSQLMAXCONF) \ + --with-charset=$(CHARSET) \ + $(SYSNAME) + + make LDFLAGS="-static" + make install DESTDIR=`pwd`/debian/$(TEMPINST)-max + + touch debian/stamp-mysql-max-static + +debian/stamp-mysql-max-shared: debian/stamp-premkdir debian/stamp-patches + -make distclean + CC=$(CC) CFLAGS="$(CFLAGS)" CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" \ + ./configure $(SERVERCONF) \ + $(MYSQLMAXCONF) \ + --with-charset=$(CHARSET) \ + $(SYSNAME) + + make + make install DESTDIR=`pwd`/debian/$(TEMPINST)-max-shared + + touch debian/stamp-mysql-max-shared + + +debian/stamp-mysql-max-debug: debian/stamp-premkdir debian/stamp-patches + -make distclean + CC=$(CC) CFLAGS="$(CFLAGS)" CXX=$(CXX) CXXFLAGS="$(CXXFLAGS)" \ + ./configure $(SERVERCONF) \ + $(MYSQLMAXCONF) \ + --with-charset=$(CHARSET) \ + --with-debug \ + $(SYSNAME) + + make + make install DESTDIR=`pwd`/debian/$(TEMPINST)-max-debug + + touch debian/stamp-mysql-max-debug + + +################################################## clean: $(checkdir) -make distclean @@ -123,12 +183,12 @@ binary-indep: checkroot build # generated by this package. If there were any they would be # made here. -binary-arch: checkroot build debian/stamp-build-shared debian/stamp-build-debug +binary-arch: checkroot build debian/stamp-build-shared debian/stamp-build-debug debian/stamp-mysql-max sh debian/move ### init, post* dh_installdeb - cp debian/shlibs debian/libmysqlclient9/DEBIAN/ + cp debian/shlibs debian/libmysqlclient10/DEBIAN/ cp debian/my.cnf debian/mysql-server/etc/ cp support-files/mysql.server debian/mysql-server/etc/init.d/mysql ; chmod +x debian/mysql-server/etc/init.d/mysql @@ -143,7 +203,7 @@ binary-arch: checkroot build debian/stamp-build-shared debian/stamp-build-debug dh_shlibdeps dh_gencontrol - dpkg --build debian/libmysqlclient9 .. + dpkg --build debian/libmysqlclient10 .. dpkg --build debian/mysql-client .. dpkg --build debian/mysql-server .. dpkg --build debian/mysql-server-shared .. @@ -151,6 +211,9 @@ binary-arch: checkroot build debian/stamp-build-shared debian/stamp-build-debug dpkg --build debian/mysql-dev .. dpkg --build debian/mysql-bench .. dpkg --build debian/mysql-doc .. + dpkg --build debian/mysql-max .. + dpkg --build debian/mysql-max-shared .. + dpkg --build debian/mysql-max-debug .. define checkdir test -f debian/rules diff --git a/support-files/debian/shlibs b/support-files/debian/shlibs index 9906c2b605f..5500d337df9 100644 --- a/support-files/debian/shlibs +++ b/support-files/debian/shlibs @@ -1 +1 @@ -libmysqlclient 9 libmysqlclient9 +libmysqlclient 10 libmysqlclient10 |