mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
Good bye, good old friend. You have served many of us so well...
But you know we have mysql323-{client,server} these days which is just better.
This commit is contained in:
parent
781d776030
commit
bd3f221440
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37643
@ -1,18 +0,0 @@
|
||||
# ports collection makefile for: MySQL-client
|
||||
# Date created: Thu Jun 24 00:12:22 CEST 1999
|
||||
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ${MASTERPORTNAME:S/-server/-client/g}
|
||||
PORTREVISION= 0
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../mysql322-server
|
||||
COMMENT= ${PKGDIR}/pkg-comment.client
|
||||
PKGINSTALL= mustnotexist
|
||||
PLIST= ${PKGDIR}/pkg-plist.client
|
||||
|
||||
CLIENT_ONLY= yes
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
@ -1,162 +0,0 @@
|
||||
# ports collection makefile for: MySQL-server
|
||||
# Date created: 26 Jan 1998
|
||||
# Whom: Josh Tiefenbach <josh@ican.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME?= ${MASTERPORTNAME}
|
||||
PORTVERSION= 3.22.32
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://www.wipol.uni-bonn.de/MySQL/Downloads/MySQL-3.22/ \
|
||||
http://www.mysql.net/Downloads/MySQL-3.22/ \
|
||||
http://mysql.he.net/Downloads/MySQL-3.22/ \
|
||||
ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.22/
|
||||
DISTNAME= mysql-${PORTVERSION}
|
||||
|
||||
MAINTAINER= dirk@FreeBSD.org
|
||||
|
||||
FORBIDDEN= 'Use mysql323-{client,server} instead.'
|
||||
|
||||
SLAVEDIRS= databases/mysql322-client
|
||||
MASTERPORTNAME= mysql-server
|
||||
DB_DIR?= /var/db/mysql
|
||||
USE_PERL5= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ARGS= --localstatedir=${DB_DIR} \
|
||||
--without-perl \
|
||||
--without-debug \
|
||||
--without-readline \
|
||||
--without-bench \
|
||||
--with-low-memory
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
CONFIGURE_ARGS+=--enable-assembler
|
||||
.endif
|
||||
CONFIGURE_ENV+= PERL=${PERL} \
|
||||
PERL5=${PERL} \
|
||||
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
|
||||
CONFIGURE_ARGS="${CONFIGURE_ARGS}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
# without including these flags mysqld may crash under heavy load
|
||||
# and multiple connections at the same time
|
||||
CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti
|
||||
.if ${OSVERSION} >= 400002
|
||||
CXXFLAGS+= -fno-exceptions
|
||||
.endif
|
||||
|
||||
# MySQL-Server part
|
||||
.if !defined(CLIENT_ONLY)
|
||||
RUN_DEPENDS= mysql:${PORTSDIR}/databases/mysql322-client
|
||||
|
||||
PLIST_SUB= MYSQL_VERSION=${PORTVERSION}
|
||||
|
||||
.if ${OSVERSION} >= 320000
|
||||
.if defined(MIT_PTHREADS)
|
||||
CONFIGURE_ARGS+= --with-mit-threads=yes
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "Using supplied mit-pthreads."
|
||||
@${ECHO}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-mit-threads=no
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "Using native FreeBSD threads (libc_r)."
|
||||
@${ECHO}
|
||||
@${ECHO} "You may set MIT_PTHREADS (make MIT_PTHREADS=yes)"
|
||||
@${ECHO} "to compile mysql with the supplied mit-pthreads."
|
||||
@${ECHO} "(You don't want to set this unless you have a good reason)."
|
||||
@${ECHO}
|
||||
.endif
|
||||
.elif ${OSVERSION} >= 300000
|
||||
.if defined(NATIVE_THREADS)
|
||||
CONFIGURE_ARGS+= --with-mit-threads=no
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "Using native FreeBSD threads (libc_r)."
|
||||
@${ECHO}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-mit-threads=yes
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "Using supplied mit-pthreads."
|
||||
@${ECHO}
|
||||
@${ECHO} "You may set NATIVE_THREADS (make NATIVE_THREADS=yes)"
|
||||
@${ECHO} "to compile mysql with the native FreeBSD threads (libc_r)."
|
||||
@${ECHO} "Warning: There are some bugs in libc_r which prevent"
|
||||
@${ECHO} " 'mysqladmin shutdown' from working properly and"
|
||||
@${ECHO} " killing mysqld might not work."
|
||||
@${ECHO}
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-mit-threads=yes
|
||||
|
||||
pre-fetch:
|
||||
@${ECHO}
|
||||
@${ECHO} "Using supplied mit-pthreads."
|
||||
@${ECHO}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/strings/strings-x86.s ${WRKSRC}/strings/strings-x86.S
|
||||
${MV} ${WRKSRC}/strings/longlong2str-x86.s ${WRKSRC}/strings/longlong2str-x86.S
|
||||
|
||||
pre-install:
|
||||
.if !defined(PACKAGE_BUILDING) && exists(${DB_DIR}) && !defined(OVERWRITE_DB)
|
||||
@${ECHO} "You appear to already have a mysql database directory in ${DB_DIR}."
|
||||
@${ECHO} ""
|
||||
@${ECHO} "In order to preserve your existing data, you should:"
|
||||
@${ECHO} " - dump all your databases"
|
||||
@${ECHO} " - kill mysql if it is running"
|
||||
@${ECHO} " - delete the ${DB_DIR} directory"
|
||||
@${ECHO} " - run 'make install'"
|
||||
@${ECHO} " - start up mysql"
|
||||
@${ECHO} " - re-create all of your database"
|
||||
@${ECHO} " - re-load your data"
|
||||
@${ECHO} ""
|
||||
@${ECHO} "If you understand the consequences of this upgrade, please re-build this"
|
||||
@${ECHO} "port with the environment variable OVERWRITE_DB defined."
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(PACKAGE_BUILDING)
|
||||
${PREFIX}/bin/mysql_install_db
|
||||
@${SETENV} DB_DIR=${DB_DIR} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
.endif
|
||||
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-server.sh > ${PREFIX}/etc/rc.d/mysql-server.sh
|
||||
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-server.sh
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/mysql/Img
|
||||
.for doc in manual.html manual.ps manual_toc.html manual.txt manual.texi include.texi
|
||||
${INSTALL_DATA} ${WRKSRC}/Docs/${doc} ${PREFIX}/share/doc/mysql
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/Docs/Img/*.gif ${PREFIX}/share/doc/mysql/Img
|
||||
${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info
|
||||
@install-info ${PREFIX}/info/mysql.info ${PREFIX}/info/dir
|
||||
.endif
|
||||
|
||||
# MySQL-Client part
|
||||
.else
|
||||
MAN1= mysql.1
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
LDCONFIG_DIRS= %%PREFIX%%/lib/mysql
|
||||
|
||||
CONFIGURE_ARGS+=--without-server
|
||||
MAKE_ENV= CLIENT_ONLY="${CLIENT_ONLY}"
|
||||
|
||||
post-install:
|
||||
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/mysql-client.sh > ${PREFIX}/etc/rc.d/mysql-client.sh
|
||||
@${CHMOD} 750 ${PREFIX}/etc/rc.d/mysql-client.sh
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1 +0,0 @@
|
||||
MD5 (mysql-3.22.32.tar.gz) = 244e08d9a1f4b2ad799aa40ad3cc897a
|
@ -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
|
@ -1,18 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
if [ -x %%PREFIX%%/bin/safe_mysqld ]; then
|
||||
%%PREFIX%%/bin/safe_mysqld --user=mysql > /dev/null & && echo -n ' mysqld'
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
/usr/bin/killall mysqld > /dev/null 2>&1 && echo -n ' mysqld'
|
||||
;;
|
||||
*)
|
||||
echo ""
|
||||
echo "Usage: `basename $0` { start | stop }"
|
||||
echo ""
|
||||
exit 64
|
||||
;;
|
||||
esac
|
@ -1,33 +0,0 @@
|
||||
--- scripts/mysql_install_db.sh.orig Wed Jan 12 21:06:30 2000
|
||||
+++ scripts/mysql_install_db.sh Sun Mar 26 23:20:27 2000
|
||||
@@ -15,8 +15,6 @@
|
||||
force=0
|
||||
IN_RPM=0
|
||||
|
||||
-# Are we doing an rpm install?
|
||||
-if test "$1" = "-IN-RPM"; then IN_RPM=1; shift; fi
|
||||
if test "$1" = "--force"; then force=1; shift; fi
|
||||
|
||||
# Get mysqld/safe_mysqld options from /etc/my.cnf or ~/.my.cnf
|
||||
@@ -60,8 +58,6 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
-# On IRIX hostname is in /usr/bsd so add this to the path
|
||||
-PATH=$PATH:/usr/bsd
|
||||
hostname=`hostname` # Install this too in the user table
|
||||
|
||||
# Check if hostname is valid
|
||||
@@ -255,12 +251,6 @@
|
||||
END_OF_DATA
|
||||
then
|
||||
echo ""
|
||||
- if test "$IN_RPM" -eq 0
|
||||
- then
|
||||
- echo "To start mysqld at boot time you have to copy support-files/mysql.server"
|
||||
- echo "to the right place for your system"
|
||||
- echo
|
||||
- fi
|
||||
echo "PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
|
||||
echo "This is done with:"
|
||||
echo "$bindir/mysqladmin -u root password 'new-password'"
|
@ -1,13 +0,0 @@
|
||||
--- mit-pthreads/config/configure.orig Fri Dec 31 01:15:51 1999
|
||||
+++ mit-pthreads/config/configure Mon Jan 3 16:52:59 2000
|
||||
@@ -692,10 +692,6 @@
|
||||
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
|
||||
if test "$ac_test_CFLAGS" = set; then
|
||||
CFLAGS="$ac_save_CFLAGS"
|
||||
- elif test $ac_cv_prog_cc_g = yes; then
|
||||
- CFLAGS="-g -O2"
|
||||
- else
|
||||
- CFLAGS="-O2"
|
||||
fi
|
||||
else
|
||||
GCC=
|
@ -1,73 +0,0 @@
|
||||
--- scripts/safe_mysqld.sh.orig Fri May 14 11:11:46 1999
|
||||
+++ scripts/safe_mysqld.sh Tue Jun 8 11:14:02 1999
|
||||
@@ -12,33 +12,9 @@
|
||||
|
||||
trap '' 1 2 3 15 # we shouldn't let anyone kill us
|
||||
|
||||
-# Check if we are starting this relative (for the binary release)
|
||||
-if test -d ./data/mysql -a -f ./share/mysql/english/errmsg.sys -a \
|
||||
- -x ./bin/mysqld
|
||||
-then
|
||||
- MY_BASEDIR_VERSION=`pwd` # Where bin, share and data are
|
||||
- DATADIR=$MY_BASEDIR_VERSION/data # Where the databases are
|
||||
- ledir=$MY_BASEDIR_VERSION/bin # Where mysqld is
|
||||
-# Check if this is a 'moved install directory'
|
||||
-elif test -f ./var/mysql/db.frm -a -f ./share/mysql/english/errmsg.sys -a \
|
||||
- -x ./libexec/mysqld
|
||||
-then
|
||||
- MY_BASEDIR_VERSION=`pwd` # Where libexec, share and var are
|
||||
- DATADIR=$MY_BASEDIR_VERSION/var # Where the databases are
|
||||
- ledir=$MY_BASEDIR_VERSION/libexec # Where mysqld is
|
||||
-else
|
||||
- MY_BASEDIR_VERSION=@prefix@
|
||||
- DATADIR=@localstatedir@
|
||||
- ledir=@libexecdir@
|
||||
- if test ! -x $ledir/mysqld
|
||||
- then
|
||||
- echo "The file $ledir/mysqld doesn't exist or is not executable"
|
||||
- echo "Please do a cd to the mysql installation directory and restart"
|
||||
- echo "this script from there as follows:"
|
||||
- echo "./bin/safe_mysqld".
|
||||
- exit 1;
|
||||
- fi
|
||||
-fi
|
||||
+MY_BASEDIR_VERSION=@prefix@
|
||||
+DATADIR=@localstatedir@
|
||||
+ledir=@libexecdir@
|
||||
|
||||
pid_file=$DATADIR/`@HOSTNAME@`.pid
|
||||
log=$DATADIR/`@HOSTNAME@`.log
|
||||
@@ -114,33 +90,6 @@
|
||||
if test ! -f $pid_file # This is removed if normal shutdown
|
||||
then
|
||||
break;
|
||||
- fi
|
||||
- if @IS_LINUX@
|
||||
- then
|
||||
- # Test if one process was hanging.
|
||||
- # This is only a fix for Linux (running as base 3 mysqld processes)
|
||||
- # but should work for the rest of the servers.
|
||||
- # The only thing is ps x => redhat 5 gives warnings when using ps -x.
|
||||
- # kill -9 is used or the process won't react on the kill.
|
||||
- numofproces=`ps x | grep -v "grep" | grep -c $ledir/mysqld`
|
||||
- echo -e "\nNumber of processes running now: $numofproces" | tee -a $err_log
|
||||
- I=1
|
||||
- while test "$I" -le "$numofproces"
|
||||
- do
|
||||
- PROC=`ps x | grep $ledir/mysqld | grep -v "grep" | tail -1`
|
||||
- for T in $PROC
|
||||
- do
|
||||
- break
|
||||
- done
|
||||
- # echo "TEST $I - $T **"
|
||||
- if kill -9 $T
|
||||
- then
|
||||
- echo "mysqld process hanging, pid $T - killed" | tee -a $err_log
|
||||
- else
|
||||
- break
|
||||
- fi
|
||||
- I=`expr $I + 1`
|
||||
- done
|
||||
fi
|
||||
echo "mysqld restarted on " `date` | tee -a $err_log
|
||||
done
|
@ -1,132 +0,0 @@
|
||||
--- configure.orig Sun Feb 13 03:46:09 2000
|
||||
+++ configure Wed May 3 12:20:25 2000
|
||||
@@ -2743,7 +2743,7 @@
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
-HOSTNAME="$ac_cv_path_HOSTNAME"
|
||||
+HOSTNAME="$ac_cv_path_HOSTNAME -s"
|
||||
if test -n "$HOSTNAME"; then
|
||||
echo "$ac_t""$HOSTNAME" 1>&6
|
||||
else
|
||||
@@ -2871,30 +2871,7 @@
|
||||
echo $ac_n "checking "how to check if pid exists"""... $ac_c" 1>&6
|
||||
echo "configure:2873: checking "how to check if pid exists"" >&5
|
||||
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
|
||||
- { echo "configure: error: Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual." 1>&2; exit 1; }
|
||||
-fi
|
||||
-
|
||||
+FIND_PROC="$PS -uaxww | grep mysqld | grep \" \$\$PID \" > /dev/null"
|
||||
echo "$ac_t"""$FIND_PROC"" 1>&6
|
||||
|
||||
# Check if a pid is valid
|
||||
@@ -4646,8 +4623,6 @@
|
||||
#define $ac_tr_lib 1
|
||||
EOF
|
||||
|
||||
- LIBS="-lc_r $LIBS"
|
||||
-
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
fi
|
||||
@@ -4881,28 +4856,6 @@
|
||||
fi
|
||||
|
||||
|
||||
-# Build optimized or debug version ?
|
||||
-# First check for gcc and g++
|
||||
-if test "$ac_cv_prog_gcc" = "yes"
|
||||
-then
|
||||
- DEBUG_CFLAGS="-g"
|
||||
- DEBUG_OPTIMIZE_CC="-O"
|
||||
- OPTIMIZE_CFLAGS="-O6"
|
||||
-else
|
||||
- DEBUG_CFLAGS="-g"
|
||||
- DEBUG_OPTIMIZE_CC=""
|
||||
- OPTIMIZE_CFLAGS="-O"
|
||||
-fi
|
||||
-if test "$ac_cv_prog_cxx_g" = "yes"
|
||||
-then
|
||||
- DEBUG_CXXFLAGS="-g"
|
||||
- DEBUG_OPTIMIZE_CXX="-O"
|
||||
- OPTIMIZE_CXXFLAGS="-O3"
|
||||
-else
|
||||
- DEBUG_CXXFLAGS="-g"
|
||||
- DEBUG_OPTIMIZE_CXX=""
|
||||
- OPTIMIZE_CXXFLAGS="-O"
|
||||
-fi
|
||||
# Check whether --with-debug or --without-debug was given.
|
||||
if test "${with_debug+set}" = set; then
|
||||
withval="$with_debug"
|
||||
@@ -5615,10 +5568,6 @@
|
||||
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
cross_compiling=$ac_cv_prog_cxx_cross
|
||||
|
||||
-if test "$ac_cv_prog_gxx" = "yes"
|
||||
-then
|
||||
- CXXFLAGS="$CXXFLAGS -Werror"
|
||||
-fi
|
||||
mysql_cv_btype_last_arg_accept=none
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5625 "configure"
|
||||
@@ -7655,10 +7604,6 @@
|
||||
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
cross_compiling=$ac_cv_prog_cxx_cross
|
||||
|
||||
-if test "$ac_cv_prog_gxx" = "yes"
|
||||
-then
|
||||
- CXXFLAGS="$CXXFLAGS -Werror"
|
||||
-fi
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7664 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -7721,10 +7666,6 @@
|
||||
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
||||
cross_compiling=$ac_cv_prog_cxx_cross
|
||||
|
||||
-if test "$ac_cv_prog_gxx" = "yes"
|
||||
-then
|
||||
- CXXFLAGS="$CXXFLAGS -Werror"
|
||||
-fi
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 7730 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -8005,7 +7946,7 @@
|
||||
#include <pthread.h>
|
||||
int main() {
|
||||
pthread_attr_t thr_attr;
|
||||
-pthread_attr_setscope(&thr_attr,0);
|
||||
+XXXpthread_attr_setscope(&thr_attr,0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:8012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
@@ -8210,7 +8151,7 @@
|
||||
echo ""
|
||||
echo "Configuring MIT Pthreads"
|
||||
# We will never install so installation paths are not needed.
|
||||
- (cd mit-pthreads; sh ./configure)
|
||||
+ (cd mit-pthreads; sh ./configure ${CONFIGURE_ARGS})
|
||||
echo "End of MIT Pthreads configuration"
|
||||
echo ""
|
||||
fi
|
@ -1,15 +0,0 @@
|
||||
--- Makefile.in.orig Sat Jan 1 17:59:38 2000
|
||||
+++ Makefile.in Mon Jan 3 17:19:23 2000
|
||||
@@ -144,7 +144,11 @@
|
||||
# These are built from source in the Docs directory
|
||||
EXTRA_DIST = INSTALL-SOURCE-GENERIC README PUBLIC INSTALL-SOURCE MIRRORS
|
||||
|
||||
-SUBDIRS = include @docs_dirs@ @readline_dir@ client @sql_server_dirs@ scripts tests man @bench_dirs@ support-files
|
||||
+.if defined(CLIENT_ONLY)
|
||||
+SUBDIRS = include @readline_dir@ client tests man
|
||||
+.else
|
||||
+SUBDIRS = include @docs_dirs@ @sql_server_dirs@ scripts @bench_dirs@ support-files
|
||||
+.endif
|
||||
|
||||
|
||||
# Relink after clean
|
@ -1,11 +0,0 @@
|
||||
--- mit-pthreads/config/Makefile.in.orig Mon Mar 2 19:44:34 1998
|
||||
+++ mit-pthreads/config/Makefile.in Fri Sep 3 21:45:05 1999
|
||||
@@ -5,8 +5,6 @@
|
||||
#NOPIC=
|
||||
#NOPROFILE=1
|
||||
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/include -I${srcdir}/include -DPTHREAD_KERNEL
|
||||
-CDEBUGFLAGS= @CFLAGS@
|
||||
-CFLAGS+= ${CDEBUGFLAGS}
|
||||
# CFLAGS+= ${CPPFLAGS} <- done by bsd.lib.mk
|
||||
CFLAGS+= ${CPPFLAGS}
|
||||
LIBDIR= $(exec_prefix)/lib
|
@ -1,11 +0,0 @@
|
||||
--- strings/Makefile.in.orig Sat Jan 1 18:00:30 2000
|
||||
+++ strings/Makefile.in Mon Jan 3 17:21:19 2000
|
||||
@@ -145,7 +145,7 @@
|
||||
INCLUDES = @MT_INCLUDES@ -I$(srcdir)/../include -I../include
|
||||
pkglib_LIBRARIES = libmystrings.a
|
||||
#no assembler
|
||||
-@ASSEMBLER_x86_TRUE@ASRCS = strings-x86.s longlong2str-x86.s
|
||||
+@ASSEMBLER_x86_TRUE@ASRCS = strings-x86.S longlong2str-x86.S
|
||||
@ASSEMBLER_x86_FALSE@@ASSEMBLER_sparc_TRUE@ASRCS = bmove_upp-sparc.s strappend-sparc.s strend-sparc.s strinstr-sparc.s strmake-sparc.s strmov-sparc.s strnmov-sparc.s strstr-sparc.s strxmov-sparc.s
|
||||
@ASSEMBLER_x86_FALSE@@ASSEMBLER_sparc_FALSE@ASRCS =
|
||||
# These file MUST all be on the same line!! Otherwise automake
|
@ -1,14 +0,0 @@
|
||||
--- include/Makefile.in.orig Sat Jan 1 17:59:41 2000
|
||||
+++ include/Makefile.in Wed Jan 5 21:04:23 2000
|
||||
@@ -259,7 +259,11 @@
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
+.if defined(CLIENT_ONLY)
|
||||
install: install-am
|
||||
+.else
|
||||
+install:
|
||||
+.endif
|
||||
uninstall-am: uninstall-pkgincludeHEADERS
|
||||
uninstall: uninstall-am
|
||||
all-am: Makefile $(HEADERS) all-local
|
@ -1,16 +0,0 @@
|
||||
--- sql/mysqld.cc.orig Sun Feb 13 02:40:18 2000
|
||||
+++ sql/mysqld.cc Mon Feb 21 21:24:51 2000
|
||||
@@ -63,8 +63,11 @@
|
||||
inline void reset_floating_point_exceptions()
|
||||
{
|
||||
/* Don't fall for overflow, underflow,divide-by-zero or loss of precision */
|
||||
- fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL |
|
||||
- FP_X_DZ | FP_X_IMP));
|
||||
+#if defined(__i386__)
|
||||
+ fpsetmask(~(FP_X_INV | FP_X_DNML | FP_X_OFL | FP_X_UFL | FP_X_DZ | FP_X_IMP));
|
||||
+#else
|
||||
+ fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | FP_X_IMP));
|
||||
+#endif
|
||||
}
|
||||
#else
|
||||
#define reset_floating_point_exceptions()
|
@ -1 +0,0 @@
|
||||
Multithreaded SQL database (server)
|
@ -1 +0,0 @@
|
||||
Multithreaded SQL database (client)
|
@ -1,4 +0,0 @@
|
||||
MySQL is a very fast, multi-threaded, multi-user and robust SQL
|
||||
(Structured Query Language) database server.
|
||||
|
||||
WWW: http://www.mysql.com/
|
@ -1,48 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATH=/bin:/usr/sbin
|
||||
if [ -z "${DB_DIR}" ]; then
|
||||
DB_DIR=/var/db/mysql
|
||||
fi
|
||||
|
||||
case $2 in
|
||||
POST-INSTALL)
|
||||
USER=mysql
|
||||
GROUP=${USER}
|
||||
UID=88
|
||||
GID=${UID}
|
||||
|
||||
if pw group show "${GROUP}" 2>/dev/null; then
|
||||
echo "You already have a group \"${GROUP}\", so I will use it."
|
||||
else
|
||||
if pw groupadd ${GROUP} -g ${GID}; then
|
||||
echo "Added group \"${GROUP}\"."
|
||||
else
|
||||
echo "Adding group \"${GROUP}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if pw user show "${USER}" 2>/dev/null; then
|
||||
echo "You already have a user \"${USER}\", so I will use it."
|
||||
if pw usermod ${USER} -d ${DB_DIR}
|
||||
then
|
||||
echo "Changed home directory of \"${USER}\" to \"${DB_DIR}\""
|
||||
else
|
||||
echo "Changing home directory of \"${USER}\" to \"${DB_DIR}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
|
||||
-d ${DB_DIR} -s /sbin/nologin -c "MySQL Daemon"
|
||||
then
|
||||
echo "Added user \"${USER}\"."
|
||||
else
|
||||
echo "Adding user \"${USER}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
chown -R ${USER}.${GROUP} ${DB_DIR}
|
||||
;;
|
||||
esac
|
@ -1,148 +0,0 @@
|
||||
bin/comp_err
|
||||
bin/isamchk
|
||||
bin/isamlog
|
||||
bin/msql2mysql
|
||||
bin/mysql_find_rows
|
||||
bin/mysql_fix_privilege_tables
|
||||
bin/mysql_install_db
|
||||
bin/mysql_setpermission
|
||||
bin/mysql_zap
|
||||
bin/mysqlaccess
|
||||
bin/mysqlbug
|
||||
bin/mysqlhotcopy
|
||||
bin/perror
|
||||
bin/print_defaults
|
||||
bin/replace
|
||||
bin/resolveip
|
||||
bin/safe_mysqld
|
||||
etc/rc.d/mysql-server.sh
|
||||
@unexec install-info --delete %D/info/mysql.info %D/info/dir
|
||||
info/mysql.info
|
||||
@exec install-info %D/info/mysql.info %D/info/dir
|
||||
lib/mysql/libdbug.a
|
||||
lib/mysql/libheap.a
|
||||
lib/mysql/libmerge.a
|
||||
lib/mysql/libmystrings.a
|
||||
lib/mysql/libmysys.a
|
||||
lib/mysql/libnisam.a
|
||||
libexec/mysqld
|
||||
share/doc/mysql/Img/australia.gif
|
||||
share/doc/mysql/Img/austria.gif
|
||||
share/doc/mysql/Img/brazil.gif
|
||||
share/doc/mysql/Img/bulgaria.gif
|
||||
share/doc/mysql/Img/canada.gif
|
||||
share/doc/mysql/Img/chile.gif
|
||||
share/doc/mysql/Img/china.gif
|
||||
share/doc/mysql/Img/croatia.gif
|
||||
share/doc/mysql/Img/czech-republic.gif
|
||||
share/doc/mysql/Img/denmark.gif
|
||||
share/doc/mysql/Img/estonia.gif
|
||||
share/doc/mysql/Img/finland.gif
|
||||
share/doc/mysql/Img/france.gif
|
||||
share/doc/mysql/Img/germany.gif
|
||||
share/doc/mysql/Img/great-britain.gif
|
||||
share/doc/mysql/Img/greece.gif
|
||||
share/doc/mysql/Img/html-fs.gif
|
||||
share/doc/mysql/Img/hungary.gif
|
||||
share/doc/mysql/Img/iceland.gif
|
||||
share/doc/mysql/Img/ireland.gif
|
||||
share/doc/mysql/Img/island.gif
|
||||
share/doc/mysql/Img/israel.gif
|
||||
share/doc/mysql/Img/italy.gif
|
||||
share/doc/mysql/Img/japan.gif
|
||||
share/doc/mysql/Img/kroatia.gif
|
||||
share/doc/mysql/Img/mysql-logo.gif
|
||||
share/doc/mysql/Img/mysql5.gif
|
||||
share/doc/mysql/Img/netherlands.gif
|
||||
share/doc/mysql/Img/poland.gif
|
||||
share/doc/mysql/Img/portugal.gif
|
||||
share/doc/mysql/Img/romania.gif
|
||||
share/doc/mysql/Img/russia.gif
|
||||
share/doc/mysql/Img/singapore.gif
|
||||
share/doc/mysql/Img/south-africa.gif
|
||||
share/doc/mysql/Img/south-africa1.gif
|
||||
share/doc/mysql/Img/south-korea.gif
|
||||
share/doc/mysql/Img/spain.gif
|
||||
share/doc/mysql/Img/sweden.gif
|
||||
share/doc/mysql/Img/switzerland.gif
|
||||
share/doc/mysql/Img/taiwan.gif
|
||||
share/doc/mysql/Img/tcxlogo3.gif
|
||||
share/doc/mysql/Img/ukraine.gif
|
||||
share/doc/mysql/Img/usa.gif
|
||||
share/doc/mysql/include.texi
|
||||
share/doc/mysql/manual.html
|
||||
share/doc/mysql/manual.ps
|
||||
share/doc/mysql/manual.texi
|
||||
share/doc/mysql/manual.txt
|
||||
share/doc/mysql/manual_toc.html
|
||||
share/mysql/binary-configure
|
||||
share/mysql/czech/errmsg.sys
|
||||
share/mysql/czech/errmsg.txt
|
||||
share/mysql/danish/errmsg.sys
|
||||
share/mysql/danish/errmsg.txt
|
||||
share/mysql/dutch/errmsg.sys
|
||||
share/mysql/dutch/errmsg.txt
|
||||
share/mysql/english/errmsg.sys
|
||||
share/mysql/english/errmsg.txt
|
||||
share/mysql/estonia/errmsg.sys
|
||||
share/mysql/estonia/errmsg.txt
|
||||
share/mysql/french/errmsg.sys
|
||||
share/mysql/french/errmsg.txt
|
||||
share/mysql/german/errmsg.sys
|
||||
share/mysql/german/errmsg.txt
|
||||
share/mysql/greek/errmsg.sys
|
||||
share/mysql/greek/errmsg.txt
|
||||
share/mysql/hungarian/errmsg.sys
|
||||
share/mysql/hungarian/errmsg.txt
|
||||
share/mysql/italian/errmsg.sys
|
||||
share/mysql/italian/errmsg.txt
|
||||
share/mysql/japanese/errmsg.sys
|
||||
share/mysql/japanese/errmsg.txt
|
||||
share/mysql/korean/errmsg.sys
|
||||
share/mysql/korean/errmsg.txt
|
||||
share/mysql/make_binary_distribution
|
||||
share/mysql/my-example.cnf
|
||||
share/mysql/mysql-%%MYSQL_VERSION%%.spec
|
||||
share/mysql/mysql-log-rotate
|
||||
share/mysql/mysql.server
|
||||
share/mysql/norwegian-ny/errmsg.sys
|
||||
share/mysql/norwegian-ny/errmsg.txt
|
||||
share/mysql/norwegian/errmsg.sys
|
||||
share/mysql/norwegian/errmsg.txt
|
||||
share/mysql/polish/errmsg.sys
|
||||
share/mysql/polish/errmsg.txt
|
||||
share/mysql/portuguese/errmsg.sys
|
||||
share/mysql/portuguese/errmsg.txt
|
||||
share/mysql/russian/errmsg.sys
|
||||
share/mysql/russian/errmsg.txt
|
||||
share/mysql/slovak/errmsg.sys
|
||||
share/mysql/slovak/errmsg.txt
|
||||
share/mysql/spanish/errmsg.sys
|
||||
share/mysql/spanish/errmsg.txt
|
||||
share/mysql/swedish/errmsg.sys
|
||||
share/mysql/swedish/errmsg.txt
|
||||
@dirrm share/doc/mysql/Img
|
||||
@dirrm share/doc/mysql
|
||||
@dirrm share/mysql/czech
|
||||
@dirrm share/mysql/danish
|
||||
@dirrm share/mysql/dutch
|
||||
@dirrm share/mysql/english
|
||||
@dirrm share/mysql/estonia
|
||||
@dirrm share/mysql/french
|
||||
@dirrm share/mysql/german
|
||||
@dirrm share/mysql/greek
|
||||
@dirrm share/mysql/hungarian
|
||||
@dirrm share/mysql/italian
|
||||
@dirrm share/mysql/japanese
|
||||
@dirrm share/mysql/korean
|
||||
@dirrm share/mysql/norwegian
|
||||
@dirrm share/mysql/norwegian-ny
|
||||
@dirrm share/mysql/polish
|
||||
@dirrm share/mysql/portuguese
|
||||
@dirrm share/mysql/russian
|
||||
@dirrm share/mysql/slovak
|
||||
@dirrm share/mysql/spanish
|
||||
@dirrm share/mysql/swedish
|
||||
@dirrm share/mysql
|
||||
@exec %D/bin/mysql_install_db
|
||||
@unexec /usr/bin/killall mysqld > /dev/null 2>&1 || true
|
@ -1,30 +0,0 @@
|
||||
bin/mysql
|
||||
bin/mysqladmin
|
||||
bin/mysqldump
|
||||
bin/mysqlimport
|
||||
bin/mysqlshow
|
||||
etc/rc.d/mysql-client.sh
|
||||
include/mysql/dbug.h
|
||||
include/mysql/errmsg.h
|
||||
include/mysql/m_ctype.h
|
||||
include/mysql/m_string.h
|
||||
include/mysql/my_config.h
|
||||
include/mysql/my_global.h
|
||||
include/mysql/my_list.h
|
||||
include/mysql/my_net.h
|
||||
include/mysql/my_pthread.h
|
||||
include/mysql/my_sys.h
|
||||
include/mysql/mysql.h
|
||||
include/mysql/mysql_com.h
|
||||
include/mysql/mysql_version.h
|
||||
include/mysql/mysqld_error.h
|
||||
include/mysql/raid.h
|
||||
include/mysql/sslopt-case.h
|
||||
include/mysql/sslopt-longopts.h
|
||||
include/mysql/sslopt-usage.h
|
||||
include/mysql/sslopt-vars.h
|
||||
lib/mysql/libmysqlclient.a
|
||||
lib/mysql/libmysqlclient.so
|
||||
lib/mysql/libmysqlclient.so.6
|
||||
@dirrm include/mysql
|
||||
@dirrm lib/mysql
|
Loading…
Reference in New Issue
Block a user