diff options
Diffstat (limited to 'databases/mysql40-server')
-rw-r--r-- | databases/mysql40-server/Makefile | 102 | ||||
-rw-r--r-- | databases/mysql40-server/distinfo | 1 | ||||
-rw-r--r-- | databases/mysql40-server/files/patch-ab | 22 | ||||
-rw-r--r-- | databases/mysql40-server/files/patch-af | 73 | ||||
-rw-r--r-- | databases/mysql40-server/files/patch-configure | 67 | ||||
-rw-r--r-- | databases/mysql40-server/pkg-comment | 1 | ||||
-rw-r--r-- | databases/mysql40-server/pkg-descr | 10 | ||||
-rw-r--r-- | databases/mysql40-server/pkg-plist | 117 |
8 files changed, 0 insertions, 393 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile deleted file mode 100644 index 6665f45f380d..000000000000 --- a/databases/mysql40-server/Makefile +++ /dev/null @@ -1,102 +0,0 @@ -# ports collection makefile for: MySQL -# Version required: v3.22.13-beta -# Date created: 26 Jan 1998 -# Whom: Josh Tiefenbach <josh@ican.net> -# -# $Id: Makefile,v 1.49 1999/04/18 10:47:03 dirk Exp $ -# - -DISTNAME= mysql-3.22.22 -CATEGORIES= databases -MASTER_SITES= http://www.fh-wolfenbuettel.de/ftp/pub/database/mysql/Downloads/MySQL-3.22/ \ - ftp://ftp.digex.net/pub/database/mysql/Downloads/MySQL-3.22/ \ - ftp://ftp.bse.bg/pub/Unix/database/MySQL/ \ - ftp://ftp.plig.net/pub/mysql/Downloads/MySQL-3.22/ \ - ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.22/ - -MAINTAINER= dirk@FreeBSD.ORG - -Y2K= http://www.tcx.se/Manual_chapter/manual_Introduction.html#Year_2000_compliance - -MAN1= mysql.1 - -USE_PERL5= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --localstatedir=/var/db/mysql \ - --without-perl \ - --without-debug \ - --without-readline \ - --without-bench -CONFIGURE_ENV+= PERL=${PERL} \ - PERL5=${PERL} \ - INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ - CXXFLAGS="${CFLAGS}" \ - CONFIGURE_ARGS="${CONFIGURE_ARGS}" - -.include <bsd.port.pre.mk> - -.if defined(NATIVE_THREADS) && ${OSVERSION} >= 300000 -CONFIGURE_ARGS+= --with-mit-threads=no -.else -CONFIGURE_ARGS+= --with-mit-threads=yes -.endif - -.if !defined(NATIVE_THREADS) && ${OSVERSION} >= 300000 -pre-fetch: - @${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 still some bugs in libc_r which prevent" - @${ECHO} " 'mysqladmin shutdown' from working properly and" - @${ECHO} " killing mysqld might not work." - @${ECHO} -.elif defined(NATIVE_THREADS) && ${OSVERSION} >= 300000 -pre-fetch: - @${ECHO} - @${ECHO} "Using native FreeBSD threads (libc_r)." - @${ECHO} -.elif defined(NATIVE_THREADS) && ${OSVERSION} < 300000 -pre-fetch: - @${ECHO} - @${ECHO} "Sorry, native FreeBSD threads (libc_r) in 2.2-branch" - @${ECHO} "are still to buggy to use with mysql." - @${ECHO} "Using mit-pthreads." - @${ECHO} -.endif - -pre-install: -.if !defined(PACKAGE_BUILDING) - @ ${SETENV} ${MAKE_ENV} ${PERL5} ${SCRIPTDIR}/check_old_version -.endif - -post-install: - ${MKDIR} ${PREFIX}/share/mysql/mysql -.if !defined(PACKAGE_BUILDING) - ${PREFIX}/bin/mysql_install_db -.endif - @ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} "#" >> ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} "" >> ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} "${LDCONFIG} -m ${PREFIX}/lib/mysql" >> ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} "" >> ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} "if [ -x ${PREFIX}/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} "then" >> ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} " ${PREFIX}/bin/safe_mysqld > /dev/null & && ${ECHO} -n ' mysql'" >> ${PREFIX}/etc/rc.d/mysql.sh - @ ${ECHO} "fi" >> ${PREFIX}/etc/rc.d/mysql.sh - @ /bin/chmod 750 ${PREFIX}/etc/rc.d/mysql.sh - -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/mysql -.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 - @if [ ! -f ${PREFIX}/info/dir -a -f /usr/share/info/dir ]; then \ - ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ - fi - ${INSTALL_DATA} ${WRKSRC}/Docs/mysql.info ${PREFIX}/info - @install-info ${PREFIX}/info/mysql.info ${PREFIX}/info/dir -.endif - - ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib/mysql - -.include <bsd.port.post.mk> diff --git a/databases/mysql40-server/distinfo b/databases/mysql40-server/distinfo deleted file mode 100644 index ced1007d387b..000000000000 --- a/databases/mysql40-server/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (mysql-3.22.22.tar.gz) = 1a0eedbe7cda20845ec2e767b96ade5c diff --git a/databases/mysql40-server/files/patch-ab b/databases/mysql40-server/files/patch-ab deleted file mode 100644 index 52b6b394986d..000000000000 --- a/databases/mysql40-server/files/patch-ab +++ /dev/null @@ -1,22 +0,0 @@ ---- scripts/mysql_install_db.sh.orig Mon Mar 1 20:08:17 1999 -+++ scripts/mysql_install_db.sh Thu Mar 4 22:05:57 1999 -@@ -15,10 +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 - if test -w / - then -@@ -60,8 +56,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 diff --git a/databases/mysql40-server/files/patch-af b/databases/mysql40-server/files/patch-af deleted file mode 100644 index c9dfae350bef..000000000000 --- a/databases/mysql40-server/files/patch-af +++ /dev/null @@ -1,73 +0,0 @@ ---- scripts/safe_mysqld.sh.orig Fri Nov 27 00:37:54 1998 -+++ scripts/safe_mysqld.sh Wed Dec 23 23:45:24 1998 -@@ -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 is -- DATADIR=$MY_BASEDIR_VERSION/data # Where the databases are -- ledir=$MY_BASEDIR_VERSION/bin # Where mysqld are --# 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 is -- DATADIR=$MY_BASEDIR_VERSION/var # Where the databases are -- ledir=$MY_BASEDIR_VERSION/libexec # Where mysqld are --else -- MY_BASEDIR_VERSION=@prefix@ -- DATADIR=@localstatedir@ -- ledir=@libexecdir@ -- if test ! -x $ledir/mysqld -- then -- echo "The file $ledir/mysqld doesn't exists or is not executable" -- echo "Please do a cd to the mysql installation directory and restart" -- echo "this scrift 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 proces 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 proces 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 proces 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 diff --git a/databases/mysql40-server/files/patch-configure b/databases/mysql40-server/files/patch-configure deleted file mode 100644 index 0f4d1b00d253..000000000000 --- a/databases/mysql40-server/files/patch-configure +++ /dev/null @@ -1,67 +0,0 @@ ---- configure.orig Mon Apr 5 01:46:35 1999 -+++ configure Tue Apr 6 23:08:43 1999 -@@ -2199,30 +2199,7 @@ - echo $ac_n "checking "how to check if pid exists"""... $ac_c" 1>&6 - echo "configure:2201: 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 -@@ -3684,8 +3661,6 @@ - #define $ac_tr_lib 1 - EOF - -- LIBS="-lc_r $LIBS" -- - else - echo "$ac_t""no" 1>&6 - fi -@@ -3935,14 +3910,6 @@ - else - CFLAGS="$CFLAGS -DDBUG_OFF" - CXXFLAGS="$CXXFLAGS -DDBUG_OFF" -- if test "$ac_cv_prog_gcc" = "yes" -- then -- CFLAGS="-O6 $CFLAGS" -- CXXFLAGS="-O $CXXFLAGS" # Should be -O3 with gcc or g++ -- else -- CFLAGS="-O $CFLAGS" -- CXXFLAGS="-O $CXXFLAGS" -- fi - fi - - # Force static compilation to avoid linking probles/get more speed -@@ -7004,7 +6971,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 diff --git a/databases/mysql40-server/pkg-comment b/databases/mysql40-server/pkg-comment deleted file mode 100644 index 4fe439ba185a..000000000000 --- a/databases/mysql40-server/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -a multithreaded SQL database. diff --git a/databases/mysql40-server/pkg-descr b/databases/mysql40-server/pkg-descr deleted file mode 100644 index f48f94577494..000000000000 --- a/databases/mysql40-server/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -mySQL is a multithreaded (using MIT pthreads) SQL database with a command -syntax very similar to mSQL. For more information see http://www.tcx.se - -Note: This port does *not* build the perl5 module. To do so, refer to the -file ${WRKSRC}/INSTALL-SOURCE, in particular, the notes on FreeBSD systems. - -josh -josh@ican.net - -WWW: http://www.tcx.se diff --git a/databases/mysql40-server/pkg-plist b/databases/mysql40-server/pkg-plist deleted file mode 100644 index 24767c21a766..000000000000 --- a/databases/mysql40-server/pkg-plist +++ /dev/null @@ -1,117 +0,0 @@ -bin/comp_err -bin/isamchk -bin/isamlog -bin/msql2mysql -bin/mysql -bin/mysql_fix_privilege_tables -bin/mysql_install_db -bin/mysql_setpermission -bin/mysql_zap -bin/mysqlaccess -bin/mysqladmin -bin/mysqlbug -bin/mysqldump -bin/mysqlimport -bin/mysqlshow -bin/perror -bin/replace -bin/resolveip -bin/safe_mysqld -etc/rc.d/mysql.sh -include/mysql/dbug.h -include/mysql/errmsg.h -include/mysql/m_ctype.h.in -include/mysql/m_string.h -include/mysql/my_list.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 -@unexec install-info --delete %D/info/mysql.info %D/info/dir -info/mysql.info -@exec [ -f %D/info/dir -o ! -f /usr/share/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir -@exec install-info %D/info/mysql.info %D/info/dir -lib/mysql/libdbug.a -lib/mysql/libheap.a -lib/mysql/libmerge.a -lib/mysql/libmysqlclient.a -lib/mysql/libmysqlclient.la -lib/mysql/libmysqlclient.so -lib/mysql/libmysqlclient.so.6 -lib/mysql/libmystrings.a -lib/mysql/libmysys.a -lib/mysql/libnisam.a -libexec/mysqld -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/dutch/errmsg.sys -share/mysql/dutch/errmsg.txt -share/mysql/english/errmsg.sys -share/mysql/english/errmsg.txt -share/mysql/french/errmsg.sys -share/mysql/french/errmsg.txt -share/mysql/german/errmsg.sys -share/mysql/german/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-3.22.22.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 include/mysql -@dirrm lib/mysql -@dirrm share/doc/mysql -@dirrm share/mysql/czech -@dirrm share/mysql/dutch -@dirrm share/mysql/english -@dirrm share/mysql/french -@dirrm share/mysql/german -@dirrm share/mysql/hungarian -@dirrm share/mysql/italian -@dirrm share/mysql/japanese -@dirrm share/mysql/korean -@dirrm share/mysql/mysql -@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 -@exec /usr/bin/killall mysqld -@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib/mysql -@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R |