diff options
Diffstat (limited to 'databases/mysql55-server/files')
11 files changed, 0 insertions, 311 deletions
diff --git a/databases/mysql55-server/files/mysql-client.sh b/databases/mysql55-server/files/mysql-client.sh deleted file mode 100644 index bef414c12ed2..000000000000 --- a/databases/mysql55-server/files/mysql-client.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -case "$1" in - start) - /sbin/ldconfig -m %%PREFIX%%/lib/mysql - ;; - stop) - ;; - *) - echo "" - echo "Usage: `basename $0` { start | stop }" - echo "" - exit 64 - ;; -esac diff --git a/databases/mysql55-server/files/mysql-server.sh b/databases/mysql55-server/files/mysql-server.sh deleted file mode 100644 index 5180b9c0c1eb..000000000000 --- a/databases/mysql55-server/files/mysql-server.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -DB_DIR=%%DB_DIR%% -PIDFILE=${DB_DIR}/`/bin/hostname -s`.pid - -case "$1" in - start) - if [ -x %%PREFIX%%/bin/mysqld_safe ]; then - /usr/bin/limits -U mysql \ - %%PREFIX%%/bin/mysqld_safe --user=mysql --datadir=${DB_DIR} --pid-file=${PIDFILE} > /dev/null & - echo -n ' mysqld' - fi - ;; - stop) - if [ -f ${PIDFILE} ]; then - /bin/kill `cat ${PIDFILE}` > /dev/null 2>&1 && echo -n ' mysqld' - else - echo "mysql-server isn't running" - fi - ;; - *) - echo "" - echo "Usage: `basename $0` { start | stop }" - echo "" - exit 64 - ;; -esac diff --git a/databases/mysql55-server/files/patch-Docs::Makefile.in b/databases/mysql55-server/files/patch-Docs::Makefile.in deleted file mode 100644 index e9700bd64e46..000000000000 --- a/databases/mysql55-server/files/patch-Docs::Makefile.in +++ /dev/null @@ -1,21 +0,0 @@ ---- Docs/Makefile.in.orig Fri Mar 5 15:59:43 2004 -+++ Docs/Makefile.in Fri Mar 5 16:00:00 2004 -@@ -446,7 +446,7 @@ - - all: $(targets) txt_files - --txt_files: ../INSTALL-SOURCE ../COPYING ../INSTALL-WIN-SOURCE \ -+txt_files: ../INSTALL-SOURCE ../COPYING \ - INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt - - CLEAN_FILES: $(BUILD_SOURCES) -@@ -609,9 +609,6 @@ - - ../INSTALL-SOURCE: mysql.info $(GT) - perl -w $(GT) mysql.info "Installing" "Tutorial" > $@ -- --../INSTALL-WIN-SOURCE: mysql.info $(GT) -- perl -w $(GT) mysql.info "Windows source build" "Post-installation" > $@ - - # We put the description for the binary installation here so that - # people who download source wont have to see it. It is moved up to diff --git a/databases/mysql55-server/files/patch-Makefile.in b/databases/mysql55-server/files/patch-Makefile.in deleted file mode 100644 index 94f38623fcf4..000000000000 --- a/databases/mysql55-server/files/patch-Makefile.in +++ /dev/null @@ -1,16 +0,0 @@ ---- Makefile.in.orig Mon Dec 1 13:55:28 2003 -+++ Makefile.in Wed Dec 10 00:18:16 2003 -@@ -209,12 +209,7 @@ - - # These are built from source in the Docs directory - EXTRA_DIST = INSTALL-SOURCE README COPYING zlib --SUBDIRS = . include @docs_dirs@ \ -- @readline_topdir@ sql-common \ -- @thread_dirs@ pstack @sql_client_dirs@ \ -- @sql_server_dirs@ scripts man tests SSL\ -- BUILD @netware_dir@ os2 @libmysqld_dirs@ \ -- @bench_dirs@ support-files @fs_dirs@ @tools_dirs@ -+SUBDIRS = - - - # Relink after clean diff --git a/databases/mysql55-server/files/patch-configure b/databases/mysql55-server/files/patch-configure deleted file mode 100644 index 9eed46865e83..000000000000 --- a/databases/mysql55-server/files/patch-configure +++ /dev/null @@ -1,75 +0,0 @@ ---- configure.orig Sun Dec 21 19:03:09 2003 -+++ configure Wed Dec 24 10:40:53 2003 -@@ -8128,8 +8128,6 @@ - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"; $ac_aux_dir/ltconfig $LIBTOOL_DEPS; - --# Always use our own libtool. --LIBTOOL='$(SHELL) $(top_builddir)/libtool' - - # Prevent multiple expansion - -@@ -9261,43 +9262,8 @@ - echo "$as_me:$LINENO: checking \"how to check if pid exists\"" >&5 - echo $ECHO_N "checking \"how to check if pid exists\"... $ECHO_C" >&6 - PS=$ac_cv_path_PS --# Linux style --if $PS p $$ 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS p \$\$PID | grep mysqld > /dev/null" --# Solaris --elif $PS -p $$ 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS -p \$\$PID | grep mysqld > /dev/null" - # BSD style --elif $PS -uaxww 2> /dev/null | grep $0 > /dev/null --then - FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null" --# SysV style --elif $PS -ef 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS -ef | grep mysqld | grep \" \$\$PID \" > /dev/null" --# Do anybody use this? --elif $PS $$ 2> /dev/null | grep $0 > /dev/null --then -- FIND_PROC="$PS \$\$PID | grep mysqld > /dev/null" --else -- case $SYSTEM_TYPE in -- *darwin*) -- FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null" -- ;; -- *cygwin*) -- FIND_PROC="$PS -e | grep mysqld | grep \" \$\$PID \" > /dev/null" -- ;; -- *netware*) -- FIND_PROC= -- ;; -- *) -- { { echo "$as_me:$LINENO: error: Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual." >&5 --echo "$as_me: error: Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual." >&2;} -- { (exit 1); exit 1; }; } -- esac --fi - - echo "$as_me:$LINENO: result: \"$FIND_PROC\"" >&5 - echo "${ECHO_T}\"$FIND_PROC\"" >&6 -@@ -12678,8 +12644,8 @@ - # Some system specific hacks - # - --MAX_C_OPTIMIZE="-O3" --MAX_CXX_OPTIMIZE="-O3" -+MAX_C_OPTIMIZE="" -+MAX_CXX_OPTIMIZE="" - - case $SYSTEM_TYPE in - *solaris2.7*) -@@ -23893,7 +23859,7 @@ - /* ) rel_srcdir="$srcdir" ;; - * ) rel_srcdir="../$srcdir" ;; - esac -- if test "x$enable_dependency_tracking" == xno -+ if test "x$enable_dependency_tracking" = xno - then - innodb_conf_flags=--disable-dependency-tracking - fi diff --git a/databases/mysql55-server/files/patch-man::Makefile.in b/databases/mysql55-server/files/patch-man::Makefile.in deleted file mode 100644 index 86d18cec61b2..000000000000 --- a/databases/mysql55-server/files/patch-man::Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ ---- man/Makefile.in.orig Mon Feb 23 14:54:10 2004 -+++ man/Makefile.in Mon Feb 23 14:54:34 2004 -@@ -272,9 +272,7 @@ - vio_dir = @vio_dir@ - vio_libs = @vio_libs@ - --man_MANS = mysql.1 isamchk.1 isamlog.1 mysql_zap.1 mysqlaccess.1 \ -- mysqladmin.1 mysqld.1 mysqld_multi.1 mysqldump.1 mysqlshow.1 \ -- perror.1 replace.1 mysqld_safe.1 mysql_fix_privilege_tables.1 -+man_MANS = - - - EXTRA_DIST = mysql.1.in isamchk.1.in isamlog.1.in mysql_zap.1.in \ diff --git a/databases/mysql55-server/files/patch-scripts::Makefile.in b/databases/mysql55-server/files/patch-scripts::Makefile.in deleted file mode 100644 index 9010d283909f..000000000000 --- a/databases/mysql55-server/files/patch-scripts::Makefile.in +++ /dev/null @@ -1,47 +0,0 @@ ---- scripts/Makefile.in.orig Tue Mar 2 12:25:53 2004 -+++ scripts/Makefile.in Tue Mar 2 12:26:20 2004 -@@ -203,25 +203,7 @@ - vio_dir = @vio_dir@ - vio_libs = @vio_libs@ - --bin_SCRIPTS = @server_scripts@ \ -- msql2mysql \ -- mysql_config \ -- mysql_fix_privilege_tables \ -- mysql_fix_extensions \ -- mysql_setpermission \ -- mysql_secure_installation \ -- mysql_zap \ -- mysqlaccess \ -- mysqlbug \ -- mysql_convert_table_format \ -- mysql_find_rows \ -- mysqlhotcopy \ -- mysqldumpslow \ -- mysql_explain_log \ -- mysql_tableinfo \ -- mysqld_multi \ -- make_win_src_distribution \ -- mysql_create_system_tables -+bin_SCRIPTS = - - - EXTRA_SCRIPTS = make_binary_distribution.sh \ -@@ -254,7 +236,7 @@ - mysqlbug - - --dist_pkgdata_DATA = fill_help_tables.sql mysql_fix_privilege_tables.sql -+dist_pkgdata_DATA = - - # mysqlbug should be distributed built so that people can report build - # failures with it. -@@ -510,8 +492,6 @@ - - all: fill_help_tables.sql make_win_src_distribution make_binary_distribution make_sharedlib_distribution - --fill_help_tables.sql: fill_help_tables ../Docs/manual.texi -- ./fill_help_tables < ../Docs/manual.texi > fill_help_tables.sql - # Tell versions [3.59,3.63) of GNU make to not export all variables. - # Otherwise a system limit (for SysV at least) may be exceeded. - .NOEXPORT: diff --git a/databases/mysql55-server/files/patch-scripts::mysql_install_db.sh b/databases/mysql55-server/files/patch-scripts::mysql_install_db.sh deleted file mode 100644 index 1ccb78b2925a..000000000000 --- a/databases/mysql55-server/files/patch-scripts::mysql_install_db.sh +++ /dev/null @@ -1,22 +0,0 @@ ---- scripts/mysql_install_db.sh.orig Thu Mar 11 10:20:57 2004 -+++ scripts/mysql_install_db.sh Thu Mar 11 10:27:09 2004 -@@ -118,7 +118,7 @@ - if [ $? -ne 0 ] - then - resolved=`$bindir/resolveip localhost 2>&1` -- if [ $? -eq 0 ] -+ if [ $? -ne 0 ] - then - echo "Neither host '$hostname' and 'localhost' could not be looked up with" - echo "$bindir/resolveip" -@@ -128,8 +128,8 @@ - exit 1 - fi - echo "WARNING: The host '$hostname' could not be looked up with resolveip." -- echo "This probably means that your libc libraries are not 100 % compatible" -- echo "with this binary MySQL version. The MySQL daemon, mysqld, should work" -+ echo "This probably means that your host name is not listed in your" -+ echo "/etc/hosts file (as it should). The MySQL daemon, mysqld, should work" - echo "normally with the exception that host name resolving will not work." - echo "This means that you should use IP addresses instead of hostnames" - echo "when specifying MySQL privileges !" diff --git a/databases/mysql55-server/files/patch-scripts::mysqlbug.sh b/databases/mysql55-server/files/patch-scripts::mysqlbug.sh deleted file mode 100644 index fa26d2206310..000000000000 --- a/databases/mysql55-server/files/patch-scripts::mysqlbug.sh +++ /dev/null @@ -1,14 +0,0 @@ ---- scripts/mysqlbug.sh.orig Tue May 18 10:20:19 2004 -+++ scripts/mysqlbug.sh Fri May 14 02:53:22 2004 -@@ -254,9 +254,9 @@ - if cmp -s $TEMP $TEMP.x - then - echo "File not changed, no bug report submitted." -- cp $TEMP /tmp/failed-mysql-bugreport -+ mv -f $TEMP /tmp/failed-mysql-bugreport - echo "The raw bug report exists in /tmp/failed-mysql-bugreport" -- echo "If you use this remember that the first lines of the report now is a lie.." -+ echo "If you use this remember that the first lines of the report are now a lie.." - exit 1 - fi - diff --git a/databases/mysql55-server/files/patch-scripts::mysqlhotcopy.sh b/databases/mysql55-server/files/patch-scripts::mysqlhotcopy.sh deleted file mode 100644 index 19d4395fa09f..000000000000 --- a/databases/mysql55-server/files/patch-scripts::mysqlhotcopy.sh +++ /dev/null @@ -1,49 +0,0 @@ ---- scripts/mysqlhotcopy.sh.orig Sun Dec 21 19:01:29 2003 -+++ scripts/mysqlhotcopy.sh Thu Sep 23 11:02:45 2004 -@@ -7,6 +7,7 @@ - use File::Path; - use DBI; - use Sys::Hostname; -+use File::Temp; - - =head1 NAME - -@@ -607,7 +608,6 @@ - sub copy_index - { - my ($method, $files, $source, $target) = @_; -- my $tmpfile="$opt_tmpdir/mysqlhotcopy$$"; - - print "Copying indices for ".@$files." files...\n" unless $opt{quiet}; - foreach my $file (@$files) -@@ -633,23 +633,23 @@ - } - close OUTPUT || die "Error on close of $to: $!\n"; - } -- elsif ($opt{method} eq 'scp') -+ elsif ($opt{method} =~ /^scp\b/) - { -- my $tmp=$tmpfile; -- open(OUTPUT,">$tmp") || die "Can\'t create file $tmp: $!\n"; -- if (syswrite(OUTPUT,$buff) != length($buff)) -+ my ($fh, $tmp)=tempfile('mysqlhotcopy-XXXXXX', DIR => $opt_tmpdir); -+ die "Can\'t create/open file in $opt_tmpdir\n"; -+ if (syswrite($fh,$buff) != length($buff)) - { - die "Error when writing data to $tmp: $!\n"; - } -- close OUTPUT || die "Error on close of $tmp: $!\n"; -- safe_system("scp $tmp $to"); -+ close $fh || die "Error on close of $tmp: $!\n"; -+ safe_system("$opt{method} $tmp $to"); -+ unlink $tmp; - } - else - { - die "Can't use unsupported method '$opt{method}'\n"; - } - } -- unlink "$tmpfile" if ($opt{method} eq 'scp'); - } - - diff --git a/databases/mysql55-server/files/patch-sql::mysqld.cc b/databases/mysql55-server/files/patch-sql::mysqld.cc deleted file mode 100644 index 1d0288494fb5..000000000000 --- a/databases/mysql55-server/files/patch-sql::mysqld.cc +++ /dev/null @@ -1,12 +0,0 @@ ---- sql/mysqld.cc.orig Wed Feb 5 01:55:03 2003 -+++ sql/mysqld.cc Wed Feb 5 01:57:06 2003 -@@ -104,7 +104,8 @@ - int allow_severity = LOG_INFO; - int deny_severity = LOG_WARNING; - --#ifdef __STDC__ -+#include <osreldate.h> -+#if defined(__STDC__) && __FreeBSD_version < 500000 - #define my_fromhost(A) fromhost(A) - #define my_hosts_access(A) hosts_access(A) - #define my_eval_client(A) eval_client(A) |