Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
1b034c7c
Commit
1b034c7c
authored
Aug 06, 2003
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/space/my/mysql-4.0
into mysql.com:/space/my/mysql-4.0-build
parents
3396c1a8
3d5d56ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
+26
-5
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+7
-1
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+19
-4
No files found.
scripts/mysql_install_db.sh
View file @
1b034c7c
...
@@ -107,7 +107,13 @@ then
...
@@ -107,7 +107,13 @@ then
fi
fi
fi
fi
hostname
=
`
@HOSTNAME@
`
# Install this too in the user table
# Try to determine the fully qualified domain name (FQDN)
HOSTNAME
=
"@HOSTNAME@"
if
$HOSTNAME
-f
>
/dev/null 2>&1
;
then
hostname
=
`
$HOSTNAME
-f
`
else
hostname
=
`
$HOSTNAME
`
fi
# Check if hostname is valid
# Check if hostname is valid
if
test
"
$IN_RPM
"
-eq
0
-a
$force
-eq
0
if
test
"
$IN_RPM
"
-eq
0
-a
$force
-eq
0
...
...
support-files/mysql.spec.sh
View file @
1b034c7c
...
@@ -216,7 +216,6 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -216,7 +216,6 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--infodir=%{_infodir}
\
--infodir=%{_infodir}
\
--includedir=%{_includedir}
\
--includedir=%{_includedir}
\
--mandir=%{_mandir}
\
--mandir=%{_mandir}
\
--with-embedded-server
\
--enable-thread-safe-client
\
--enable-thread-safe-client
\
--with-comment=
\"
Official MySQL RPM
\"
;
--with-comment=
\"
Official MySQL RPM
\"
;
# Add this for more debugging support
# Add this for more debugging support
...
@@ -245,7 +244,7 @@ MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}
...
@@ -245,7 +244,7 @@ MBD=$RPM_BUILD_DIR/mysql-%{mysql_version}
# Clean up the BuildRoot first
# Clean up the BuildRoot first
[
"
$RBR
"
!=
"/"
]
&&
[
-d
$RBR
]
&&
rm
-rf
$RBR
;
[
"
$RBR
"
!=
"/"
]
&&
[
-d
$RBR
]
&&
rm
-rf
$RBR
;
mkdir
-p
$RBR
mkdir
-p
$RBR
%
{
_libdir
}
/mysql
#
#
# Use MYSQL_BUILD_PATH so that we can use a dedicated version of gcc
# Use MYSQL_BUILD_PATH so that we can use a dedicated version of gcc
...
@@ -267,6 +266,7 @@ BuildMySQL "--enable-shared \
...
@@ -267,6 +266,7 @@ BuildMySQL "--enable-shared \
--with-berkeley-db
\
--with-berkeley-db
\
--with-innodb
\
--with-innodb
\
--with-raid
\
--with-raid
\
--with-embedded-server
\
--with-server-suffix='-Max'"
--with-server-suffix='-Max'"
# Save everything for debug
# Save everything for debug
...
@@ -276,6 +276,9 @@ BuildMySQL "--enable-shared \
...
@@ -276,6 +276,9 @@ BuildMySQL "--enable-shared \
mv
sql/mysqld sql/mysqld-max
mv
sql/mysqld sql/mysqld-max
nm
--numeric-sort
sql/mysqld-max
>
sql/mysqld-max.sym
nm
--numeric-sort
sql/mysqld-max
>
sql/mysqld-max.sym
# Install embedded server library in the build root
install
-m
644 libmysqld/libmysqld.a
$RBR
%
{
_libdir
}
/mysql
# Save libraries
# Save libraries
(
cd
libmysql/.libs
;
tar
cf
$RBR
/shared-libs.tar
*
.so
*
)
(
cd
libmysql/.libs
;
tar
cf
$RBR
/shared-libs.tar
*
.so
*
)
(
cd
libmysql_r/.libs
;
tar
rf
$RBR
/shared-libs.tar
*
.so
*
)
(
cd
libmysql_r/.libs
;
tar
rf
$RBR
/shared-libs.tar
*
.so
*
)
...
@@ -295,13 +298,14 @@ BuildMySQL "--disable-shared \
...
@@ -295,13 +298,14 @@ BuildMySQL "--disable-shared \
--with-client-ldflags='-all-static'
\
--with-client-ldflags='-all-static'
\
$USE_OTHER_LIBC_DIR
\
$USE_OTHER_LIBC_DIR
\
--with-server-suffix='%{server_suffix}'
\
--with-server-suffix='%{server_suffix}'
\
--without-embedded-server
\
--without-berkeley-db
\
--without-berkeley-db
\
--with-innodb
\
--with-innodb
\
--without-vio
\
--without-vio
\
--without-openssl"
--without-openssl"
nm
--numeric-sort
sql/mysqld
>
sql/mysqld.sym
nm
--numeric-sort
sql/mysqld
>
sql/mysqld.sym
%install
-n
mysql-%
{
mysql_version
}
%install
RBR
=
$RPM_BUILD_ROOT
RBR
=
$RPM_BUILD_ROOT
MBD
=
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
MBD
=
$RPM_BUILD_DIR
/mysql-%
{
mysql_version
}
...
@@ -319,7 +323,7 @@ install -d $RBR%{_sbindir}
...
@@ -319,7 +323,7 @@ install -d $RBR%{_sbindir}
make install-strip
DESTDIR
=
$RBR
benchdir_root
=
%
{
_datadir
}
make install-strip
DESTDIR
=
$RBR
benchdir_root
=
%
{
_datadir
}
# Install shared libraries (Disable for architectures that don't support it)
# Install shared libraries (Disable for architectures that don't support it)
(
cd
$RBR
%
{
_libdir
}
;
tar
xf
$RBR
/shared-libs.tar
)
(
cd
$RBR
%
{
_libdir
}
;
tar
xf
$RBR
/shared-libs.tar
;
rm
-f
$RBR
/shared-libs.tar
)
# install saved mysqld-max
# install saved mysqld-max
install
-s
-m755
$MBD
/sql/mysqld-max
$RBR
%
{
_sbindir
}
/mysqld-max
install
-s
-m755
$MBD
/sql/mysqld-max
$RBR
%
{
_sbindir
}
/mysqld-max
...
@@ -447,6 +451,7 @@ fi
...
@@ -447,6 +451,7 @@ fi
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/isamlog.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/isamlog.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_zap.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_zap.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysql_fix_privilege_tables.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_multi.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_multi.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_safe.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/mysqld_safe.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/perror.1
*
%doc %attr
(
644, root, man
)
%
{
_mandir
}
/man1/perror.1
*
...
@@ -462,6 +467,7 @@ fi
...
@@ -462,6 +467,7 @@ fi
%attr
(
755, root, root
)
%
{
_bindir
}
/myisampack
%attr
(
755, root, root
)
%
{
_bindir
}
/myisampack
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_convert_table_format
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_convert_table_format
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_explain_log
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_explain_log
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_fix_extensions
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_fix_privilege_tables
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_fix_privilege_tables
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_install_db
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_install_db
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_secure_installation
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_secure_installation
...
@@ -492,12 +498,14 @@ fi
...
@@ -492,12 +498,14 @@ fi
%attr
(
755, root, root
)
%
{
_bindir
}
/msql2mysql
%attr
(
755, root, root
)
%
{
_bindir
}
/msql2mysql
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_find_rows
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_find_rows
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_tableinfo
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_waitpid
%attr
(
755, root, root
)
%
{
_bindir
}
/mysql_waitpid
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlaccess
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlaccess
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqladmin
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqladmin
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlbinlog
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlbinlog
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlcheck
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlcheck
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqldump
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqldump
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqldumpslow
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlimport
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlimport
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlshow
%attr
(
755, root, root
)
%
{
_bindir
}
/mysqlshow
...
@@ -554,6 +562,13 @@ fi
...
@@ -554,6 +562,13 @@ fi
%attr
(
644, root, root
)
%
{
_libdir
}
/mysql/libmysqld.a
%attr
(
644, root, root
)
%
{
_libdir
}
/mysql/libmysqld.a
%changelog
%changelog
*
Tue Aug 05 2003 Lenz Grimmer <lenz@mysql.com>
- Fixed BUG#959
(
libmysqld not being compiled properly
)
- Fixed BUG#998
(
RPM build errors
)
: added missing files to the
distribution
(
mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
mysql_fix_privilege_tables.1
)
, removed
"-n"
from %install section.
*
Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com>
*
Wed Jul 09 2003 Lenz Grimmer <lenz@mysql.com>
- removed the GIF Icon
(
file was not included
in
the sources anyway
)
- removed the GIF Icon
(
file was not included
in
the sources anyway
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment