aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql51-server
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-06-19 03:35:30 +0800
committerjfitz <jfitz@FreeBSD.org>1997-06-19 03:35:30 +0800
commit491b070f4fc1b0c207e48ac0edfa4cd78f10660f (patch)
tree3383e081b6124478d14bba3518e63a448b1f48ca /databases/mysql51-server
parent3fc6fb16e5c4bd9808b77cb4864b8d621d0e6b1f (diff)
downloadfreebsd-ports-gnome-491b070f4fc1b0c207e48ac0edfa4cd78f10660f.tar.gz
freebsd-ports-gnome-491b070f4fc1b0c207e48ac0edfa4cd78f10660f.tar.zst
freebsd-ports-gnome-491b070f4fc1b0c207e48ac0edfa4cd78f10660f.zip
Import of MySQL, a mutlithreaded SQL database server
Submitted by: Josh Tiefenbach <josh@ican.net>
Diffstat (limited to 'databases/mysql51-server')
-rw-r--r--databases/mysql51-server/Makefile49
-rw-r--r--databases/mysql51-server/distinfo1
-rw-r--r--databases/mysql51-server/pkg-comment1
-rw-r--r--databases/mysql51-server/pkg-descr8
-rw-r--r--databases/mysql51-server/pkg-plist53
5 files changed, 112 insertions, 0 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
new file mode 100644
index 000000000000..5d337f532394
--- /dev/null
+++ b/databases/mysql51-server/Makefile
@@ -0,0 +1,49 @@
+# ports collection makefile for: mySQL
+# Version required: v3.20.22
+# Date created: 16 Jun 1997
+# Whom: Josh Tiefenbach <josh@ican.net>
+#
+# $Id:$
+#
+
+DISTNAME= mysql-3.20.22
+CATEGORIES= databases
+MASTER_SITES= http://www.tcx.se/ \
+ http://www.buoy.com/mysql/ \
+ http://web.tryc.on.ca/mysql/ \
+ http://mysql.staufen.de/ \
+ http://mysql.acer.net/
+
+MAINTAINER= josh@ican.net
+
+RUN_DEPENDS= perl5.004:${PORTSDIR}/lang/perl5
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
+ --with-MAKE=gmake \
+ --without-perl \
+ --without-debug \
+ --without-readline
+CONFIGURE_ENV+= PERL=${PREFIX}/bin/perl
+
+pre-install:
+ @ ${SETENV} ${MAKE_ENV} /usr/bin/perl ${SCRIPTDIR}/check_old_version
+
+post-install:
+ cd ${WRKSRC} && ${WRKSRC}/scripts/mysql_install_db
+ @ /usr/bin/killall mysqld
+ @ echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "#" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "if [ -x /usr/local/bin/safe_mysqld ]" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo "then" >> ${PREFIX}/etc/rc.d/mysql.sh
+ @ echo " /usr/local/bin/safe_mysqld & && 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
+ ${MKDIR} ${PREFIX}/share/doc/mysql
+.for doc in mysql-faq.html mysql-faq.ps mysql-faq_toc.html mysql-faq.txt mysql-faq.texi
+ ${INSTALL_DATA} ${WRKSRC}/FAQs/${doc} ${PREFIX}/share/doc/mysql
+.endfor
+
+.include <bsd.port.mk>
diff --git a/databases/mysql51-server/distinfo b/databases/mysql51-server/distinfo
new file mode 100644
index 000000000000..56ef0405a1b3
--- /dev/null
+++ b/databases/mysql51-server/distinfo
@@ -0,0 +1 @@
+MD5 (mysql-3.20.22.tar.gz) = ba4ea86089203a5599105cf2ecf392ff
diff --git a/databases/mysql51-server/pkg-comment b/databases/mysql51-server/pkg-comment
new file mode 100644
index 000000000000..4fe439ba185a
--- /dev/null
+++ b/databases/mysql51-server/pkg-comment
@@ -0,0 +1 @@
+a multithreaded SQL database.
diff --git a/databases/mysql51-server/pkg-descr b/databases/mysql51-server/pkg-descr
new file mode 100644
index 000000000000..e852b93a1063
--- /dev/null
+++ b/databases/mysql51-server/pkg-descr
@@ -0,0 +1,8 @@
+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
diff --git a/databases/mysql51-server/pkg-plist b/databases/mysql51-server/pkg-plist
new file mode 100644
index 000000000000..bbf378e1f137
--- /dev/null
+++ b/databases/mysql51-server/pkg-plist
@@ -0,0 +1,53 @@
+bin/comp_err
+bin/isamchk
+bin/isamlog
+bin/msql2mysql
+bin/mysql
+bin/mysql.server
+bin/mysql_install_db
+bin/mysqlaccess
+bin/mysqladmin
+bin/mysqlbug
+bin/mysqldump
+bin/mysqlshow
+bin/perror
+bin/replace
+bin/safe_mysqld
+bin/which1
+bin/zap
+etc/rc.d/mysql.sh
+include/mysql/m_ctype.h.in
+include/mysql/m_string.h
+include/mysql/my_sys.h
+include/mysql/mysql.h
+include/mysql/mysql_com.h
+include/mysql/dbug.h
+lib/mysql/libheap.a
+lib/mysql/libmerge.a
+lib/mysql/libmysqlclient.a
+lib/mysql/libmystrings.a
+lib/mysql/libmysys.a
+lib/mysql/libnisam.a
+lib/mysql/libdbug.a
+libexec/mysqld
+share/doc/mysql/mysql-faq.html
+share/doc/mysql/mysql-faq.ps
+share/doc/mysql/mysql-faq.texi
+share/doc/mysql/mysql-faq.txt
+share/doc/mysql/mysql-faq_toc.html
+share/mysql/english/errmsg.sys
+share/mysql/english/errmsg.txt
+share/mysql/french/errmsg.sys
+share/mysql/french/errmsg.txt
+share/mysql/germany/errmsg.sys
+share/mysql/germany/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/english
+@dirrm share/mysql/french
+@dirrm share/mysql/germany
+@dirrm share/mysql/swedish
+@dirrm share/mysql