diff options
author | bad <bad> | 2001-03-26 13:46:19 +0000 |
---|---|---|
committer | bad <bad> | 2001-03-26 13:46:19 +0000 |
commit | 2aada108cf62f901aa4405d776400004a06cfbe1 (patch) | |
tree | c6b9b2f9bcc10bfe642c10d6ed6788ff3a7e43e9 /databases/mysql-server | |
parent | 41fd862616b36da393f0e30c843fdd7dba5aa893 (diff) | |
download | pkgsrc-2aada108cf62f901aa4405d776400004a06cfbe1.tar.gz |
Update to mysql-3.23.35.
Enable use of tcp_wrappers in the server.
BDB and Innobase table types are not configured in, so no transaction
support yet.
The 3.23 release has several major features that are not present
in previous versions. We have added new table types: MyISAM, a new
ISAM library which is tuned for SQL and supports large files; BDB,
which uses the Berkeley DB library from Sleepycat Software to
implement transaction-safe tables; INNOBASE, which uses the Innobase
database backend to implement transaction-safe tables. The 3.23
release also includes support for database replication between a
master and many slaves, full-text indexing, and much more.
For a detailed list of changes see appendix E of the online
documentation at http://www.mysql.com/.
The replication code and BerkeleyDB code is still not as tested
and as the rest of the code, so we will probably need to do a couple
of future releases of 3.23 with small fixes for this part of the
code. As long as you don't use these features, you should be quite
safe with MySQL 3.23!
Note that the above doesn't mean that replication or Berkeley DB
doesn't work; We have done a lot of testing of all code, including
replication and BDB without finding any problems. It only means
that not as many users uses this code as the rest of the code and
because of this we are not yet 100 % confident in this code.
Diffstat (limited to 'databases/mysql-server')
-rw-r--r-- | databases/mysql-server/Makefile | 18 | ||||
-rw-r--r-- | databases/mysql-server/files/md5 | 4 | ||||
-rw-r--r-- | databases/mysql-server/files/patch-sum | 19 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-aa | 14 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-ad | 22 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-ag | 19 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-ah | 234 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-ai | 116 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-aj | 192 | ||||
-rw-r--r-- | databases/mysql-server/patches/patch-ak | 52 | ||||
-rw-r--r-- | databases/mysql-server/pkg/PLIST | 60 |
11 files changed, 79 insertions, 671 deletions
diff --git a/databases/mysql-server/Makefile b/databases/mysql-server/Makefile index bd3f5052310..d43339669c1 100644 --- a/databases/mysql-server/Makefile +++ b/databases/mysql-server/Makefile @@ -1,11 +1,12 @@ -# $NetBSD: Makefile,v 1.17 2001/02/16 14:17:29 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2001/03/26 13:46:19 bad Exp $ # -DISTNAME= mysql-3.22.32 +DISTNAME= mysql-3.23.35 PKGNAME= ${DISTNAME:S/-/-server-/} CATEGORIES= databases -MASTER_SITES= ftp://ftp.mysql.com/MySQL-3.22/ \ - ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.22/ +MASTER_SITES= ftp://ftp.mysql.com/MySQL-3.23/ \ + http://www.mysql.com/Downloads/MySQL-3.23/ \ + ftp://ftp.sunet.se/pub/unix/databases/relational/mysql/Downloads/MySQL-3.23/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.mysql.com/ @@ -14,10 +15,6 @@ COMMENT= MySQL, a free SQL database (server) BUILD_DEPENDS= ${LOCALBASE}/bin/autoconf:../../devel/autoconf DEPENDS= ${DISTNAME:S/-/-client-/}:../../databases/mysql-client -RESTRICTED= "Restrictive license." -NO_SRC_ON_CDROM= ${RESTRICTED} -NO_BIN_ON_CDROM= ${RESTRICTED} - EXTRACT_USING_PAX= yes .include "../../mk/bsd.prefs.mk" @@ -27,6 +24,7 @@ MYSQL_DATADIR?= /var/mysql GNU_CONFIGURE= yes CONFIGURE_ARGS+= --localstatedir=${MYSQL_DATADIR} \ --with-named-z-libs=z \ + --with-libwrap \ --with-named-curses-libs="-lcurses -ltermcap" \ --without-perl --without-debug --without-bench \ --without-docs --with-low-memory @@ -38,7 +36,9 @@ ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 \ NetBSD-*-sparc NetBSD-*-m68k SunOS-*-sparc \ NetBSD-*-powerpc -USE_PERL5= +USE_PERL5= yes +USE_LIBTOOL= yes +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig post-extract: @cd ${WRKSRC} && for dir in dbug heap isam merge mysys strings; do \ diff --git a/databases/mysql-server/files/md5 b/databases/mysql-server/files/md5 index 9918a212664..1c3bba60bc2 100644 --- a/databases/mysql-server/files/md5 +++ b/databases/mysql-server/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.3 2000/02/15 04:46:24 bad Exp $ +$NetBSD: md5,v 1.4 2001/03/26 13:46:20 bad Exp $ -MD5 (mysql-3.22.32.tar.gz) = 244e08d9a1f4b2ad799aa40ad3cc897a +SHA1 (mysql-3.23.35.tar.gz) = c1532aa954d613d0a4ebdae046ae23427e4ee327 diff --git a/databases/mysql-server/files/patch-sum b/databases/mysql-server/files/patch-sum index ced4a477bf8..ab6565b35dc 100644 --- a/databases/mysql-server/files/patch-sum +++ b/databases/mysql-server/files/patch-sum @@ -1,13 +1,8 @@ -$NetBSD: patch-sum,v 1.13 2001/01/10 06:03:14 briggs Exp $ +$NetBSD: patch-sum,v 1.14 2001/03/26 13:46:20 bad Exp $ -MD5 (patch-aa) = f9dc5acd38bc7bcfb5f853140cd02cf9 -MD5 (patch-ab) = d6cde586e7f7eb2daaee47e201cc4fbf -MD5 (patch-ac) = 90ea5395eaac74614946b001661f6e81 -MD5 (patch-ad) = a4b2108e220ffe06ed3bcd75ec5e57c8 -MD5 (patch-ae) = 19181f32ca7f83b72b65180e3bc4b6a6 -MD5 (patch-af) = eebcb40a8871e4ca6df32d6844987215 -MD5 (patch-ag) = f701becb5090574077ec6573b6f3d969 -MD5 (patch-ah) = 952b9d2d64ded14b9b11336e1310f82f -MD5 (patch-ai) = aaff83e3e87b88e6756eb1cca372c770 -MD5 (patch-aj) = e5bf4e0f4e6c896f655686e4d148cce3 -MD5 (patch-ak) = 1d623f0c081871b9b81a988f33ac9548 +SHA1 (patch-aa) = 05c56d81e17893dd267fcd5f68d8c378f024a06f +SHA1 (patch-ab) = 4f10917780d73cb4a58127b27a5d8c1c9f63e0d3 +SHA1 (patch-ac) = 9ac4beb4f53cc4d4fc4ec52cf30716c8269face8 +SHA1 (patch-ad) = 1aecfee152d303b3d65f3866032d2a6d49538f46 +SHA1 (patch-ae) = c84c8b31971b6f8bcc27c7d771643a1f01d29008 +SHA1 (patch-af) = 3e637f62f681726c408f2fb6b30a1afa6aacfdc6 diff --git a/databases/mysql-server/patches/patch-aa b/databases/mysql-server/patches/patch-aa index 28adfe959d7..4e2764b2745 100644 --- a/databases/mysql-server/patches/patch-aa +++ b/databases/mysql-server/patches/patch-aa @@ -1,13 +1,13 @@ -$NetBSD: patch-aa,v 1.3 2000/02/15 04:46:24 bad Exp $ +$NetBSD: patch-aa,v 1.4 2001/03/26 13:46:20 bad Exp $ ---- Makefile.in.orig Sun Feb 13 04:06:45 2000 -+++ Makefile.in Tue Feb 15 04:09:49 2000 -@@ -144,7 +144,7 @@ +--- Makefile.in.orig Mon Jan 22 14:43:54 2001 ++++ Makefile.in Fri Feb 2 00:17:56 2001 +@@ -175,7 +175,7 @@ # These are built from source in the Docs directory - EXTRA_DIST = INSTALL-SOURCE-GENERIC README PUBLIC INSTALL-SOURCE MIRRORS + EXTRA_DIST = INSTALL-SOURCE README COPYING COPYING.LIB MIRRORS --SUBDIRS = include @docs_dirs@ @readline_dir@ client @sql_server_dirs@ scripts tests man @bench_dirs@ support-files -+SUBDIRS = @sql_server_dirs@ tests @bench_dirs@ +-SUBDIRS = include @docs_dirs@ @readline_dir@ @thread_dirs@ @sql_client_dirs@ @sql_server_dirs@ scripts tests man @bench_dirs@ support-files ++SUBDIRS = @thread_dirs@ @sql_server_dirs@ tests @bench_dirs@ # Relink after clean diff --git a/databases/mysql-server/patches/patch-ad b/databases/mysql-server/patches/patch-ad index 29ea69e036d..004ab5feb24 100644 --- a/databases/mysql-server/patches/patch-ad +++ b/databases/mysql-server/patches/patch-ad @@ -1,22 +1,10 @@ -$NetBSD: patch-ad,v 1.1 2000/12/24 12:27:16 skrll Exp $ +$NetBSD: patch-ad,v 1.2 2001/03/26 13:46:20 bad Exp $ ---- mit-pthreads/gen/ctime.c.orig Sun Dec 24 12:05:34 2000 -+++ mit-pthreads/gen/ctime.c -@@ -129,7 +129,7 @@ - ** Prototypes for static functions. - */ +--- mit-pthreads/gen/ctime.c.orig Mon Jan 22 14:37:02 2001 ++++ mit-pthreads/gen/ctime.c Fri Feb 2 00:25:39 2001 +@@ -177,7 +177,7 @@ --static long detzcode __P_((const char *)); -+static int detzcode __P_((const char *)); - static const char * getnum __P_((const char *, int *, int, int)); - static const char * getsecs __P_((const char *, long *)); - static const char * getoffset __P_((const char *, long *)); -@@ -175,9 +175,9 @@ - time_t altzone = 0; - #endif /* defined ALTZONE */ - --static long detzcode(const char * codep) -+static int detzcode(const char * codep) + static int detzcode(const char * codep) { - long result; + int result; diff --git a/databases/mysql-server/patches/patch-ag b/databases/mysql-server/patches/patch-ag deleted file mode 100644 index 744b79c7bd6..00000000000 --- a/databases/mysql-server/patches/patch-ag +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ag,v 1.1 2001/01/10 06:03:14 briggs Exp $ - -*** mit-pthreads/config/configure.in.orig Tue Jan 9 21:34:16 2001 ---- mit-pthreads/config/configure.in Tue Jan 9 22:41:49 2001 -*************** -*** 174,179 **** ---- 174,185 ---- - # hpux-9.03.mk seems to be missing; what should this be? - except="fork" - ;; -+ powerpc-*-netbsd1.*) -+ name=powerpc-netbsd -+ sysincludes=netbsd-1.1 -+ except="fork lseek ftruncate pipe fstat" -+ available_syscalls="sigprocmask sigaction sigsuspend" -+ ;; - sparc-*-sunos4.1.3* | sparc-*-sunos4.1.4*) - name=sparc-sunos-4.1.3 - sysincludes=sunos-4.1.3 diff --git a/databases/mysql-server/patches/patch-ah b/databases/mysql-server/patches/patch-ah deleted file mode 100644 index 6f8f876d5e1..00000000000 --- a/databases/mysql-server/patches/patch-ah +++ /dev/null @@ -1,234 +0,0 @@ -$NetBSD: patch-ah,v 1.5 2001/01/10 06:03:15 briggs Exp $ - -*** /dev/null Wed Dec 31 19:00:00 1969 ---- mit-pthreads/machdep/engine-powerpc-netbsd.c Tue Jan 9 22:35:36 2001 -*************** -*** 0 **** ---- 1,227 ---- -+ /* ==== machdep.c ============================================================ -+ * Copyright (c) 1993, 1994 Chris Provenzano, proven@athena.mit.edu -+ * -+ * Description : Machine dependent functions for NetBSD/PowerPC (1.5+) -+ * -+ * 1.00 93/08/04 proven -+ * -Started coding this file. -+ * -+ * 2001/01/10 briggs -+ * -Modified to make it go with NetBSD/PowerPC -+ */ -+ -+ #ifndef lint -+ static const char rcsid[] = "engine-alpha-osf1.c,v 1.4.4.1 1995/12/13 05:41:37 proven Exp"; -+ #endif -+ -+ #include <pthread.h> -+ #include <sys/types.h> -+ #include <sys/socket.h> -+ #include <sys/syscall.h> -+ #include <stdlib.h> -+ #include <fcntl.h> -+ #include <stdio.h> -+ -+ /* ========================================================================== -+ * machdep_pthread_start() -+ */ -+ void machdep_pthread_start(void) -+ { -+ context_switch_done(); -+ pthread_sched_resume (); -+ -+ /* XXXMLG -+ * This is EXTREMELY bogus, but it seems that this function is called -+ * with the pthread kernel locked. If this happens, __errno() will -+ * return the wrong address until after the first context switch. -+ * -+ * Clearly there is a leak of pthread_kernel somewhere, but until -+ * it is found, we force a context switch here, just before calling -+ * the thread start routine. When we return from pthread_yield -+ * the kernel will be unlocked. -+ */ -+ pthread_yield(); -+ -+ /* Run current threads start routine with argument */ -+ pthread_exit(pthread_run->machdep_data.start_routine -+ (pthread_run->machdep_data.start_argument)); -+ -+ /* should never reach here */ -+ PANIC(); -+ } -+ -+ /* ========================================================================== -+ * __machdep_pthread_create() -+ */ -+ void __machdep_pthread_create(struct machdep_pthread *machdep_pthread, -+ void *(* start_routine)(void *), void *start_argument, -+ long stack_size, long nsec, long flags) -+ { -+ machdep_pthread->start_routine = start_routine; -+ machdep_pthread->start_argument = start_argument; -+ -+ machdep_pthread->machdep_timer.it_value.tv_sec = 0; -+ machdep_pthread->machdep_timer.it_interval.tv_sec = 0; -+ machdep_pthread->machdep_timer.it_interval.tv_usec = 0; -+ machdep_pthread->machdep_timer.it_value.tv_usec = nsec / 1000; -+ -+ /* Set up new stack frame so that it looks like it returned from a -+ longjmp() to the beginning of machdep_pthread_start(). */ -+ /* state is sigmask, then r8-r31 where r11 is the LR -+ * So, istate[3] is r10, which is the SP -+ * So, istate[4] is r11, which is the LR -+ * So, istate[5] is r12, which is the CR -+ */ -+ machdep_pthread->machdep_istate[4] = (long)machdep_pthread_start; -+ machdep_pthread->machdep_istate[5] = 0; -+ -+ /* PowerPC stack starts high and builds down, and needs to be 16-byte -+ aligned. */ -+ machdep_pthread->machdep_istate[3] = -+ ((long) machdep_pthread->machdep_stack + stack_size) & ~0xf; -+ } -+ -+ /* ========================================================================== -+ * machdep_save_state() -+ */ -+ int machdep_save_state(void) -+ { -+ return( _setjmp(pthread_run->machdep_data.machdep_istate) ); -+ } -+ -+ void machdep_restore_state(void) -+ { -+ _longjmp(pthread_run->machdep_data.machdep_istate, 1); -+ } -+ -+ void machdep_save_float_state (struct pthread *pthread) -+ { -+ __machdep_save_fp_state(pthread->machdep_data.machdep_fstate); -+ } -+ -+ void machdep_restore_float_state (void) -+ { -+ __machdep_restore_fp_state(pthread_run->machdep_data.machdep_fstate); -+ } -+ -+ /* ========================================================================== -+ * machdep_set_thread_timer() -+ */ -+ void machdep_set_thread_timer(struct machdep_pthread *machdep_pthread) -+ { -+ if (setitimer(ITIMER_VIRTUAL, &(machdep_pthread->machdep_timer), NULL)) { -+ PANIC(); -+ } -+ } -+ -+ /* ========================================================================== -+ * machdep_unset_thread_timer() -+ */ -+ void machdep_unset_thread_timer(struct machdep_pthread *machdep_pthread) -+ { -+ struct itimerval zeroval = { { 0, 0 }, { 0, 0} }; -+ -+ if (setitimer(ITIMER_VIRTUAL, &zeroval, NULL)) { -+ PANIC(); -+ } -+ } -+ -+ /* ========================================================================== -+ * machdep_pthread_cleanup() -+ */ -+ void *machdep_pthread_cleanup(struct machdep_pthread *machdep_pthread) -+ { -+ return(machdep_pthread->machdep_stack); -+ } -+ -+ void *machdep_pthread_cleanup(struct machdep_pthread *machdep_pthread); -+ void machdep_pthread_start(void); -+ -+ /* ========================================================================== -+ * __machdep_stack_free() -+ */ -+ void -+ __machdep_stack_free(void * stack) -+ { -+ free(stack); -+ } -+ -+ /* ========================================================================== -+ * __machdep_stack_alloc() -+ */ -+ void * -+ __machdep_stack_alloc(size_t size) -+ { -+ return(malloc(size)); -+ } -+ -+ /* ========================================================================== -+ * machdep_sys_creat() -+ */ -+ int -+ machdep_sys_creat(char * path, int mode) -+ { -+ return(machdep_sys_open(path, O_WRONLY | O_CREAT | O_TRUNC, mode)); -+ } -+ -+ /* ========================================================================== -+ * machdep_sys_wait3() -+ */ -+ int -+ machdep_sys_wait3(int * b, int c, int *d) -+ { -+ return(machdep_sys_wait4(0, b, c, d)); -+ } -+ -+ /* ========================================================================== -+ * machdep_sys_waitpid() -+ */ -+ int -+ machdep_sys_waitpid(int a, int * b, int c) -+ { -+ return(machdep_sys_wait4(a, b, c, NULL)); -+ } -+ -+ /* ========================================================================== -+ * machdep_sys_getdtablesize() -+ */ -+ int -+ machdep_sys_getdtablesize(void) -+ { -+ return(sysconf(_SC_OPEN_MAX)); -+ } -+ -+ /* ========================================================================== -+ * machdep_sys_lseek() -+ */ -+ off_t -+ machdep_sys_lseek(int fd, off_t offset, int whence) -+ { -+ return(__syscall((quad_t)SYS_lseek, fd, 0, offset, whence)); -+ } -+ -+ int -+ machdep_sys_ftruncate( int fd, off_t length) -+ { -+ quad_t q; -+ int rv; -+ -+ q = __syscall((quad_t)SYS_ftruncate, fd,0, length); -+ if( /* LINTED constant */ sizeof( quad_t ) == sizeof( register_t ) || -+ /* LINTED constant */ BYTE_ORDER == LITTLE_ENDIAN ) -+ rv = (int)q; -+ else -+ rv = (int)((u_quad_t)q >> 32); -+ -+ return rv; -+ } -+ -+ -+ /* ========================================================================== -+ * machdep_sys_getdirentries() -+ */ -+ int -+ machdep_sys_getdirentries(int fd, char * buf, int len, int * seek) -+ { -+ return(machdep_sys_getdents(fd, buf, len)); -+ } diff --git a/databases/mysql-server/patches/patch-ai b/databases/mysql-server/patches/patch-ai deleted file mode 100644 index 258fd1d3781..00000000000 --- a/databases/mysql-server/patches/patch-ai +++ /dev/null @@ -1,116 +0,0 @@ -$NetBSD: patch-ai,v 1.3 2001/01/10 06:03:15 briggs Exp $ - -*** /dev/null Wed Dec 31 19:00:00 1969 ---- mit-pthreads/machdep/engine-powerpc-netbsd.h Tue Jan 9 22:35:36 2001 -*************** -*** 0 **** ---- 1,109 ---- -+ /* ==== machdep.h ============================================================ -+ * Copyright (c) 1994 Chris Provenzano (proven@athena.mit.edu) and -+ * Ken Raeburn (raeburn@mit.edu). -+ * -+ * engine-alpha-osf1.h,v 1.4.4.1 1995/12/13 05:41:42 proven Exp -+ * -+ */ -+ -+ #include <unistd.h> -+ #include <setjmp.h> -+ #include <sys/time.h> -+ #include <sys/cdefs.h> -+ #include <sys/signal.h> /* for _NSIG */ -+ -+ /* -+ * The first machine dependent functions are the SEMAPHORES -+ * needing the test and set instruction. -+ */ -+ #define SEMAPHORE_CLEAR 0 -+ #define SEMAPHORE_SET 0xffff -+ -+ #define SEMAPHORE_TEST_AND_SET(lock) \ -+ ({ \ -+ volatile long t1, temp = SEMAPHORE_SET; \ -+ __asm__ volatile( \ -+ "1: lwarx %0,0,%1; \ -+ cmpwi %0, 0; \ -+ bne 2f; \ -+ stwcx. %2,0,%1; \ -+ bne- 1b; \ -+ 2: " \ -+ :"=r" (t1) \ -+ :"m" (lock), "r" (temp)); \ -+ t1; \ -+ }) -+ -+ #define SEMAPHORE_RESET(lock) *lock = SEMAPHORE_CLEAR -+ -+ /* -+ * New types -+ */ -+ typedef int semaphore; -+ -+ /* -+ * sigset_t macros -+ */ -+ #define SIG_ANY(sig) (sig) -+ #define SIGMAX (_NSIG-1) -+ -+ /* -+ * New Strutures -+ */ -+ struct machdep_pthread { -+ void *(*start_routine)(void *); -+ void *start_argument; -+ void *machdep_stack; -+ struct itimerval machdep_timer; -+ jmp_buf machdep_istate; -+ unsigned long machdep_fstate[66]; -+ /* 64-bit fp regs 0-31 + fpscr */ -+ /* We pretend the fpscr is 64 bits */ -+ }; -+ -+ /* -+ * Static machdep_pthread initialization values. -+ * For initial thread only. -+ */ -+ #define MACHDEP_PTHREAD_INIT \ -+ { NULL, NULL, NULL, { { 0, 0 }, { 0, 100000 } }, { 0 }, { 0 } } -+ -+ /* -+ * Minimum stack size -+ */ -+ #define PTHREAD_STACK_MIN 2048 -+ -+ /* -+ * Some fd flag defines that are necessary to distinguish between posix -+ * behavior and bsd4.3 behavior. -+ */ -+ #define __FD_NONBLOCK O_NONBLOCK -+ -+ /* -+ * New functions -+ */ -+ -+ __BEGIN_DECLS -+ -+ #if defined(PTHREAD_KERNEL) -+ -+ #define __machdep_stack_get(x) (x)->machdep_stack -+ #define __machdep_stack_set(x, y) (x)->machdep_stack = y -+ #define __machdep_stack_repl(x, y) \ -+ { \ -+ if ((stack = __machdep_stack_get(x))) { \ -+ __machdep_stack_free(stack); \ -+ } \ -+ __machdep_stack_set(x, y); \ -+ } -+ -+ int machdep_save_state(void); -+ -+ void __machdep_save_fp_state(unsigned long *); -+ void __machdep_restore_fp_state(unsigned long *); -+ void *__machdep_stack_alloc(size_t); -+ void __machdep_stack_free(void *); -+ -+ #endif -+ -+ __END_DECLS diff --git a/databases/mysql-server/patches/patch-aj b/databases/mysql-server/patches/patch-aj deleted file mode 100644 index be9a788397e..00000000000 --- a/databases/mysql-server/patches/patch-aj +++ /dev/null @@ -1,192 +0,0 @@ -$NetBSD: patch-aj,v 1.3 2001/01/10 06:03:15 briggs Exp $ - -*** /dev/null Wed Dec 31 19:00:00 1969 ---- mit-pthreads/machdep/syscall-powerpc-netbsd.S Tue Jan 9 22:35:59 2001 -*************** -*** 0 **** ---- 1,185 ---- -+ #include <machine/asm.h> -+ #define COMPAT_43 -+ #include <sys/syscall.h> -+ #ifndef __CONCAT -+ #include <sys/cdefs.h> -+ #endif -+ #define CONCAT __CONCAT -+ -+ #undef SYSCALL -+ -+ /* Kernel syscall interface: -+ Input: -+ 0 - system call number -+ 3-8 - arguments, as in C -+ Output: -+ so - (summary overflow) clear iff successful -+ -+ This macro is similar to SYSCALL in asm.h, but not completely. -+ There's room for optimization, if we assume this will continue to -+ be assembled as one file. -+ -+ This macro expansions does not include the return instruction. -+ If there's no other work to be done, use something like: -+ SYSCALL(foo) ; ret -+ If there is other work to do (in fork, maybe?), do it after the -+ SYSCALL invocation. */ -+ -+ ENTRY(machdep_cerror) -+ mflr 0 # Save LR in 0 -+ stwu 1,-16(1) # allocate new stack frame -+ stw 0,20(1) # Stash 0 in stack -+ stw 31,8(1) # Stash 31 in stack (since it's callee-saved -+ mr 31,3 # and we stash return there) -+ bl PIC_PLT(_C_LABEL(__errno)) -+ stw 31,0(3) # *errno() = err -+ lwz 0,20(1) # Restore LR from stack to 0 -+ neg 3,31 # return -errno to 3 -+ lwz 31,8(1) # Restore 31 from stack -+ mtlr 0 -+ la 1,16(1) # Restore stack frame -+ li 4,-1 # Put -1 in r4 for those syscalls that return -+ blr # two values -+ -+ /* The fork system call is special... */ -+ ENTRY(machdep_sys_fork) -+ li 0, SYS_fork -+ sc -+ bso PIC_PLT(_C_LABEL(machdep_cerror)) -+ addi 4,4,-1 -+ blr -+ -+ /* The pipe system call is special... */ -+ ENTRY(machdep_sys_pipe) -+ mr 5,3 -+ li 0,SYS_pipe -+ sc -+ bso PIC_PLT(_C_LABEL(machdep_cerror)) -+ stw 3,0(5) # Success, store fds -+ stw 4,4(5) -+ li 3,0 -+ blr # And return 0 -+ -+ #ifndef SYS___sigsuspend14 -+ /* The sigsuspend system call is special... */ -+ ENTRY(machdep_sys_sigsuspend) -+ lwz 3,0(3) -+ li 0,SYS_compat_13_sigsuspend13 -+ sc -+ b PIC_PLT(_C_LABEL(machdep_cerror)) -+ #endif /* SYS_sigsuspend14 */ -+ -+ #ifndef SYS___sigprocmask14 -+ /* The sigprocmask system call is special... */ -+ ENTRY(machdep_sys_sigprocmask) -+ or. 4,4,4 # Set == NULL ? -+ li 6,1 # how = SIG_BLOCK -+ beq Ldoit -+ lwz 4,0(4) # if not, replace it in r4 with #set -+ mr 6,3 -+ Ldoit: mr 3,6 # ... using sigprocmask(SIG_BLOCK) -+ li 0,SYS_compat_13_sigprocmask13 -+ sc -+ bso PIC_PLT(_C_LABEL(machdep_cerror)) -+ or. 5,5,5 # Check to see if oset requested -+ beq Ldone # if oset != NULL -+ stw 3,0(5) # *oset = oldmask -+ Ldone: -+ li 3,0 # return 0 -+ blr -+ #endif /* SYS_sigprocmask14 */ -+ -+ /* More stuff ... */ -+ -+ /* For fstat() we actually syscall fstat13. */ -+ ENTRY(machdep_sys_fstat) -+ li 0, SYS___fstat13 -+ sc -+ bnslr -+ b PIC_PLT(_C_LABEL(machdep_cerror)) -+ -+ /* Do we need to save the entire floating point state? I think so... */ -+ ENTRY(__machdep_save_fp_state) -+ stwu 1,-8(1) -+ stw 3,4(1) -+ stfd 0,0(3) -+ stfdu 1,8(3) -+ stfdu 2,8(3) -+ stfdu 3,8(3) -+ stfdu 4,8(3) -+ stfdu 5,8(3) -+ stfdu 6,8(3) -+ stfdu 7,8(3) -+ stfdu 8,8(3) -+ stfdu 9,8(3) -+ stfdu 10,8(3) -+ stfdu 11,8(3) -+ stfdu 12,8(3) -+ stfdu 13,8(3) -+ stfdu 14,8(3) -+ stfdu 15,8(3) -+ stfdu 16,8(3) -+ stfdu 17,8(3) -+ stfdu 18,8(3) -+ stfdu 19,8(3) -+ stfdu 20,8(3) -+ stfdu 21,8(3) -+ stfdu 22,8(3) -+ stfdu 23,8(3) -+ stfdu 24,8(3) -+ stfdu 25,8(3) -+ stfdu 26,8(3) -+ stfdu 27,8(3) -+ stfdu 28,8(3) -+ stfdu 29,8(3) -+ stfdu 30,8(3) -+ stfdu 31,8(3) -+ mffs 0 -+ stfdu 0,8(3) -+ lwz 3,4(1) -+ lwz 1,0(1) -+ blr -+ -+ ENTRY(__machdep_restore_fp_state) -+ stwu 1,-12(1) -+ stw 3,4(1) -+ stw 4,8(1) -+ mr 4,3 -+ lfdu 1,8(3) -+ lfdu 2,8(3) -+ lfdu 3,8(3) -+ lfdu 4,8(3) -+ lfdu 5,8(3) -+ lfdu 6,8(3) -+ lfdu 7,8(3) -+ lfdu 8,8(3) -+ lfdu 9,8(3) -+ lfdu 10,8(3) -+ lfdu 11,8(3) -+ lfdu 12,8(3) -+ lfdu 13,8(3) -+ lfdu 14,8(3) -+ lfdu 15,8(3) -+ lfdu 16,8(3) -+ lfdu 17,8(3) -+ lfdu 18,8(3) -+ lfdu 19,8(3) -+ lfdu 20,8(3) -+ lfdu 21,8(3) -+ lfdu 22,8(3) -+ lfdu 23,8(3) -+ lfdu 24,8(3) -+ lfdu 25,8(3) -+ lfdu 26,8(3) -+ lfdu 27,8(3) -+ lfdu 28,8(3) -+ lfdu 29,8(3) -+ lfdu 30,8(3) -+ lfdu 31,8(3) -+ lfdu 0,8(3) -+ mtfsf 127,0 -+ lfd 0,0(4) -+ lwz 3,4(1) -+ lwz 4,8(1) -+ lwz 1,0(1) -+ blr diff --git a/databases/mysql-server/patches/patch-ak b/databases/mysql-server/patches/patch-ak deleted file mode 100644 index 698f22c2285..00000000000 --- a/databases/mysql-server/patches/patch-ak +++ /dev/null @@ -1,52 +0,0 @@ -$NetBSD: patch-ak,v 1.3 2001/01/10 06:03:15 briggs Exp $ - -*** /dev/null Wed Dec 31 19:00:00 1969 ---- mit-pthreads/machdep/syscall-template-powerpc-netbsd.S Tue Jan 9 22:35:59 2001 -*************** -*** 0 **** ---- 1,45 ---- -+ #include <machine/asm.h> -+ #define COMPAT_43 -+ #include <sys/syscall.h> -+ -+ #ifdef SYS___sigsuspend14 -+ #define SYS_sigsuspend SYS___sigsuspend14 -+ #endif -+ -+ #ifdef SYS___sigaction14 -+ #define SYS_sigaction SYS___sigaction14 -+ #endif -+ -+ #ifdef SYS___sigprocmask14 -+ #define SYS_sigprocmask SYS___sigprocmask14 -+ #endif -+ -+ #undef SYSCALL -+ -+ /* Kernel syscall interface: -+ Input: -+ 0 - system call number -+ 3-8 - arguments, as in C -+ Output: -+ so - (summary overflow) clear iff successful -+ -+ This macro is similar to SYSCALL in asm.h, but not completely. -+ There's room for optimization, if we assume this will continue to -+ be assembled as one file. -+ -+ This macro expansions does not include the return instruction. -+ If there's no other work to be done, use something like: -+ SYSCALL(foo) ; ret -+ If there is other work to do (in fork, maybe?), do it after the -+ SYSCALL invocation. */ -+ -+ #define SYSCALL(x) \ -+ ENTRY(machdep_sys_ ## x) \ -+ li 0, SYS_ ## x ; \ -+ sc ; \ -+ bnslr ; \ -+ b PIC_PLT(_C_LABEL(machdep_cerror)) -+ -+ #define XSYSCALL(x) SYSCALL(x) ; blr -+ -+ XSYSCALL(SYSCALL_NAME) diff --git a/databases/mysql-server/pkg/PLIST b/databases/mysql-server/pkg/PLIST index c9174a5aa0e..60470e9e587 100644 --- a/databases/mysql-server/pkg/PLIST +++ b/databases/mysql-server/pkg/PLIST @@ -1,20 +1,54 @@ -@comment $NetBSD: PLIST,v 1.3 2000/02/15 04:46:31 bad Exp $ +@comment $NetBSD: PLIST,v 1.4 2001/03/26 13:46:22 bad Exp $ bin/comp_err bin/isamchk bin/isamlog +bin/my_print_defaults +bin/myisamchk +bin/myisamlog +bin/myisampack bin/mysql_install_db +bin/mysqlbinlog +bin/pack_isam bin/perror -bin/print_defaults bin/replace +bin/resolve_stack_dump bin/resolveip bin/safe_mysqld -lib/mysql/libmystrings.a lib/mysql/libdbug.a -lib/mysql/libmysys.a -lib/mysql/libnisam.a lib/mysql/libheap.a lib/mysql/libmerge.a +lib/mysql/libmyisam.a +lib/mysql/libmystrings.a +lib/mysql/libmysys.a +lib/mysql/libnisam.a +lib/mysql/libmyisammrg.a libexec/mysqld +share/mysql/charsets/Index +share/mysql/charsets/README +share/mysql/charsets/cp1251.conf +share/mysql/charsets/cp1257.conf +share/mysql/charsets/croat.conf +share/mysql/charsets/danish.conf +share/mysql/charsets/dec8.conf +share/mysql/charsets/dos.conf +share/mysql/charsets/estonia.conf +share/mysql/charsets/german1.conf +share/mysql/charsets/greek.conf +share/mysql/charsets/hebrew.conf +share/mysql/charsets/hp8.conf +share/mysql/charsets/hungarian.conf +share/mysql/charsets/koi8_ru.conf +share/mysql/charsets/koi8_ukr.conf +share/mysql/charsets/latin1.conf +share/mysql/charsets/latin2.conf +share/mysql/charsets/latin5.conf +share/mysql/charsets/swe7.conf +share/mysql/charsets/usa7.conf +share/mysql/charsets/win1250.conf +share/mysql/charsets/win1251.conf +share/mysql/charsets/win1251ukr.conf +share/mysql/mi_test_all +share/mysql/mi_test_all.res share/mysql/czech/errmsg.sys share/mysql/czech/errmsg.txt share/mysql/danish/errmsg.sys @@ -23,8 +57,8 @@ 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/estonian/errmsg.sys +share/mysql/estonian/errmsg.txt share/mysql/french/errmsg.sys share/mysql/french/errmsg.txt share/mysql/german/errmsg.sys @@ -47,20 +81,23 @@ share/mysql/polish/errmsg.sys share/mysql/polish/errmsg.txt share/mysql/portuguese/errmsg.sys share/mysql/portuguese/errmsg.txt +share/mysql/romanian/errmsg.sys +share/mysql/romanian/errmsg.txt share/mysql/russian/errmsg.sys share/mysql/russian/errmsg.txt -share/mysql/spanish/errmsg.sys -share/mysql/spanish/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 @exec %D/bin/mysql_install_db --force +@dirrm share/mysql/charsets @dirrm share/mysql/czech @dirrm share/mysql/danish @dirrm share/mysql/dutch @dirrm share/mysql/english -@dirrm share/mysql/estonia +@dirrm share/mysql/estonian @dirrm share/mysql/french @dirrm share/mysql/german @dirrm share/mysql/greek @@ -72,7 +109,8 @@ share/mysql/swedish/errmsg.txt @dirrm share/mysql/norwegian-ny @dirrm share/mysql/polish @dirrm share/mysql/portuguese +@dirrm share/mysql/romanian @dirrm share/mysql/russian -@dirrm share/mysql/spanish @dirrm share/mysql/slovak +@dirrm share/mysql/spanish @dirrm share/mysql/swedish |