summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2002-08-09 11:39:34 +0200
committerunknown <lenz@mysql.com>2002-08-09 11:39:34 +0200
commit1c92372dadcacbe8eda9826fa26c731b80e40f97 (patch)
tree25c389a39dee07cb6c9e9951592cebb503fd4126 /support-files
parent47733b486a23441563ff5090fa12130a4a03eb47 (diff)
downloadmariadb-git-1c92372dadcacbe8eda9826fa26c731b80e40f97.tar.gz
- RPM spec file adjustments for the features of the Max binary (disabled
OpenSSL, enabled RAID) - added compatibility link safe_mysqld -> mysqld_safe support-files/mysql.spec.sh: - Turn off OpenSSL in MySQL-Max for now until it works properly again - enable RAID for the Max binary instead - added compatibility link: safe_mysqld -> mysqld_safe to ease the transition from 3.23
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.spec.sh21
1 files changed, 16 insertions, 5 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index 77c1b467c0f..e49bc3f37f0 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -118,14 +118,14 @@ languages and applications need to dynamically load and use MySQL.
%package Max
Release: %{release}
-Summary: MySQL - server with Berkeley DB, OpenSSL and UDF support
+Summary: MySQL - server with Berkeley DB, RAID and UDF support
Group: Applications/Databases
Provides: mysql-Max
Obsoletes: mysql-Max
%description Max
Optional MySQL server binary that supports additional features like
-Berkeley DB, OpenSSL support and User Defined Functions (UDF).
+Berkeley DB, RAID and User Defined Functions (UDF).
To activate this binary, just install this package in addition to
the standard MySQL package.
@@ -224,14 +224,13 @@ mkdir -p $RBR
PATH=${MYSQL_BUILD_PATH:-/bin:/usr/bin}
export PATH
-# Build the 4.0 Max binary (includes BDB and OpenSSL and therefore
+# Build the 4.0 Max binary (includes BDB and UDFs and therefore
# cannot be linked statically against the patched glibc)
BuildMySQL "--enable-shared \
--with-berkeley-db \
--with-innodb \
- --with-openssl \
- --with-vio \
+ --with-raid \
--with-server-suffix='-Max'"
# Save everything for debug
@@ -292,6 +291,10 @@ install -m644 $MBD/sql/mysqld.sym $RBR/usr/lib/mysql/mysqld.sym
install -m644 $MBD/support-files/mysql-log-rotate $RBR/etc/logrotate.d/mysql
install -m755 $MBD/support-files/mysql.server $RBR/etc/rc.d/init.d/mysql
+# Create symbolic compatibility link safe_mysqld -> mysqld_safe
+# (safe_mysqld will be gone in MySQL 4.1)
+ln -sf ./mysqld_safe $RBR/usr/bin/safe_mysqld
+
%pre
if test -x /etc/rc.d/init.d/mysql
then
@@ -402,6 +405,7 @@ fi
%attr(755, root, root) /usr/bin/replace
%attr(755, root, root) /usr/bin/resolve_stack_dump
%attr(755, root, root) /usr/bin/resolveip
+%attr(755, root, root) /usr/bin/safe_mysqld
%attr(755, root, root) /usr/sbin/mysqld
%attr(644, root, root) /usr/lib/mysql/mysqld.sym
@@ -477,6 +481,13 @@ fi
%changelog
+* Fri Aug 09 2002 Lenz Grimmer <lenz@mysql.com>
+
+- Turn off OpenSSL in MySQL-Max for now until it works properly again
+- enable RAID for the Max binary instead
+- added compatibility link: safe_mysqld -> mysqld_safe to ease the
+ transition from 3.23
+
* Thu Jul 18 2002 Lenz Grimmer <lenz@mysql.com>
- Reworked the build steps a little bit: the Max binary is supposed