aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql51-server/files
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>1999-01-06 07:43:28 +0800
committerdirk <dirk@FreeBSD.org>1999-01-06 07:43:28 +0800
commit56c92c0552d63a9a984e81ea99e1bdcd56613c9c (patch)
tree0939ed2989a7832e6e1a4fd9e28221f4bc599a7e /databases/mysql51-server/files
parent82f8b382bfb0ba1a297854cceee950152720e6a5 (diff)
downloadfreebsd-ports-gnome-56c92c0552d63a9a984e81ea99e1bdcd56613c9c.tar.gz
freebsd-ports-gnome-56c92c0552d63a9a984e81ea99e1bdcd56613c9c.tar.zst
freebsd-ports-gnome-56c92c0552d63a9a984e81ea99e1bdcd56613c9c.zip
Upgrade to 3.22.14b-gamma.
According to T.c.X DataKonsultAB this is the recommended version now. So remove NO_LATEST_LINK (and set it for mysql321).
Diffstat (limited to 'databases/mysql51-server/files')
-rw-r--r--databases/mysql51-server/files/patch-ab26
1 files changed, 15 insertions, 11 deletions
diff --git a/databases/mysql51-server/files/patch-ab b/databases/mysql51-server/files/patch-ab
index 506d72b13a3c..738c18a8a796 100644
--- a/databases/mysql51-server/files/patch-ab
+++ b/databases/mysql51-server/files/patch-ab
@@ -1,17 +1,17 @@
---- scripts/mysql_install_db.sh.orig Wed Dec 9 12:48:04 1998
-+++ scripts/mysql_install_db.sh Wed Dec 23 23:39:46 1998
-@@ -11,8 +11,8 @@
- ldata=@localstatedir@
- mdata=$ldata/mysql
+--- scripts/mysql_install_db.sh.orig Fri Jan 1 15:33:33 1999
++++ scripts/mysql_install_db.sh Wed Jan 6 00:10:55 1999
+@@ -13,8 +13,8 @@
+ execdir=@libexecdir@
+ bindir=@bindir@
-# Are we doing an rpm install?
-if test "$1" = "-IN-RPM"; then IN_RPM=1; shift; fi
+# pretend we're doing an RPM install
+IN_RPM=1
- if test ! -x @libexecdir@/mysqld
- then
-@@ -27,8 +27,6 @@
+ # Get mysqld/safe_mysqld options from /etc/my.cnf or ~/.my.cnf
+ if test -w /
+@@ -57,8 +57,6 @@
fi
fi
@@ -20,7 +20,7 @@
hostname=`hostname` # Install this too in the user table
# Check if hostname is valid
-@@ -44,12 +42,9 @@
+@@ -74,14 +72,11 @@
fi
# Create database directories mysql & test
@@ -29,10 +29,14 @@
- if test ! -d $ldata; then mkdir $ldata; fi
- if test ! -d $ldata/mysql; then mkdir $ldata/mysql; fi
- if test ! -d $ldata/test; then mkdir $ldata/test; fi
--fi
+- if test -w / -a ! -z "$user"; then
+- chown $user $ldata $ldata/mysql $ldata/test;
+- fi
+if test ! -d $ldata; then mkdir $ldata; fi
+if test ! -d $ldata/mysql; then mkdir $ldata/mysql; fi
+if test ! -d $ldata/test; then mkdir $ldata/test; fi
++if test -w / -a ! -z "$user"; then
++ chown $user $ldata $ldata/mysql $ldata/test;
+ fi
# Initialize variables
- c_d="" i_d=""