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
e32c2562
Commit
e32c2562
authored
May 04, 2010
by
Jonathan Perkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put back SELinux files
parent
17206900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+5
-0
No files found.
support-files/mysql.spec.sh
View file @
e32c2562
...
@@ -442,6 +442,7 @@ MBD=$RPM_BUILD_DIR/%{src_dir}
...
@@ -442,6 +442,7 @@ MBD=$RPM_BUILD_DIR/%{src_dir}
install
-d
$RBR
%
{
_sysconfdir
}
/
{
logrotate.d,init.d
}
install
-d
$RBR
%
{
_sysconfdir
}
/
{
logrotate.d,init.d
}
install
-d
$RBR
%
{
mysqldatadir
}
/mysql
install
-d
$RBR
%
{
mysqldatadir
}
/mysql
install
-d
$RBR
%
{
_datadir
}
/mysql-test
install
-d
$RBR
%
{
_datadir
}
/mysql-test
install
-d
$RBR
%
{
_datadir
}
/mysql/SELinux/RHEL4
install
-d
$RBR
%
{
_includedir
}
install
-d
$RBR
%
{
_includedir
}
install
-d
$RBR
%
{
_libdir
}
install
-d
$RBR
%
{
_libdir
}
install
-d
$RBR
%
{
_mandir
}
install
-d
$RBR
%
{
_mandir
}
...
@@ -470,6 +471,10 @@ ln -s %{_sysconfdir}/init.d/mysql $RBR%{_sbindir}/rcmysql
...
@@ -470,6 +471,10 @@ ln -s %{_sysconfdir}/init.d/mysql $RBR%{_sbindir}/rcmysql
# Just to make sure it's in the file list and marked as a config file
# Just to make sure it's in the file list and marked as a config file
touch
$RBR
%
{
_sysconfdir
}
/my.cnf
touch
$RBR
%
{
_sysconfdir
}
/my.cnf
# Install SELinux files in datadir
install
-m
600
$MBD
/support-files/RHEL4-SElinux/mysql.
{
fc
,te
}
\
$RBR
%
{
_datadir
}
/mysql/SELinux/RHEL4
%if %
{
WITH_TCMALLOC
}
%if %
{
WITH_TCMALLOC
}
# Even though this is a shared library, put it under /usr/lib*/mysql, so it
# Even though this is a shared library, put it under /usr/lib*/mysql, so it
# doesn't conflict with possible shared lib by the same name in /usr/lib*. See
# doesn't conflict with possible shared lib by the same name in /usr/lib*. See
...
...
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