Compare commits
No commits in common. "c8" and "587df32c247855f62dbbe9a070075cf1b5c5891a" have entirely different histories.
c8
...
587df32c24
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
SOURCES/mysql-selinux-1.0.10.tar.gz
|
/*.tar.gz
|
||||||
|
/mysql-selinux-*/
|
||||||
|
/*.rpm
|
||||||
|
1
.mysql-selinux.metadata
Normal file
1
.mysql-selinux.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
076c8d312bfbdbf794f5a1a38795f15743a1d7f3 mysql-selinux-1.0.5.tar.gz
|
8
ci.fmf
Normal file
8
ci.fmf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
summary: Sanity tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
repository: https://src.fedoraproject.org/tests/mariadb.git
|
||||||
|
ref: master
|
||||||
|
filter: tier:1
|
||||||
|
execute:
|
||||||
|
how: tmt
|
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_context: bodhi_update_push_testing
|
||||||
|
subject_type: koji_build
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0-tf.functional}
|
@ -1,31 +1,23 @@
|
|||||||
# General maintainer notes:
|
|
||||||
# Fedora guideliens for packaging of SELinux rules:
|
|
||||||
# https://fedoraproject.org/wiki/SELinux/IndependentPolicy
|
|
||||||
# RHEL instructions regarding Troubleshooting problems related to SELinux:
|
|
||||||
# https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/troubleshooting-problems-related-to-selinux_using-selinux
|
|
||||||
|
|
||||||
# defining macros needed by SELinux
|
# defining macros needed by SELinux
|
||||||
%global selinuxtype targeted
|
%global selinuxtype targeted
|
||||||
|
%global moduletype contrib
|
||||||
%global modulename mysql
|
%global modulename mysql
|
||||||
|
|
||||||
Name: mysql-selinux
|
Name: mysql-selinux
|
||||||
Version: 1.0.10
|
Version: 1.0.5
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: GPL-3.0-only
|
License: GPLv3
|
||||||
URL: https://github.com/devexp-db/mysql-selinux
|
URL: https://github.com/devexp-db/mysql-selinux
|
||||||
Summary: SELinux policy modules for MySQL and MariaDB packages
|
Summary: SELinux policy modules for MySQL and MariaDB packages
|
||||||
|
|
||||||
Source0: https://github.com/devexp-db/mysql-selinux/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/devexp-db/mysql-selinux/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
|
Requires(post): policycoreutils
|
||||||
%{?selinux_requires}
|
%{?selinux_requires}
|
||||||
Requires: selinux-policy-%{selinuxtype}
|
|
||||||
Requires(post): selinux-policy-%{selinuxtype}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SELinux policy modules for MySQL and MariaDB packages.
|
SELinux policy modules for MySQL and MariaDB packages.
|
||||||
@ -39,74 +31,48 @@ make
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
# install policy modules
|
# install policy modules
|
||||||
install -d %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}
|
install -d %{buildroot}%{_datadir}/selinux/packages
|
||||||
install -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}
|
install -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages
|
||||||
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%selinux_relabel_pre -s %{selinuxtype}
|
%selinux_relabel_pre -s %{selinuxtype}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
%selinux_modules_install -s %{selinuxtype} %{_datadir}/selinux/packages/%{modulename}.pp.bz2 || :
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
|
%selinux_modules_uninstall -s %{selinuxtype} %{modulename} || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
%selinux_relabel_post -s %{selinuxtype}
|
%selinux_relabel_post -s %{selinuxtype} || :
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%attr(0644,root,root) %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
%attr(0644,root,root) %{_datadir}/selinux/packages/%{modulename}.pp.bz2
|
||||||
%ghost %verify(not mode md5 size mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
%ghost %verify(not mode md5 size mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
|
||||||
# Note:
|
|
||||||
# we do not pack the *.if file as seen in the example:
|
|
||||||
# https://fedoraproject.org/wiki/SELinux/IndependentPolicy#The_%prep_and_%install_Section
|
|
||||||
# since we do not have any interface to be shared (and even then it is optional)
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Nov 18 2023 Packit <hello@packit.dev> - 1.0.10-1
|
|
||||||
- 2nd attempt to fix rhbz#2186996 rhbz#2221433 rhbz#2245705 (Michal Schorm)
|
|
||||||
- Resolves rhbz#2250424
|
|
||||||
|
|
||||||
* Fri Nov 17 2023 Packit <hello@packit.dev> - 1.0.9-1
|
|
||||||
- Revert "Attempt to fix rhbz#2186996 rhbz#2221433 rhbz#2245705" This reverts commit de84778e555b891fd9ea5f3111c87a4990650d6c. (Michal Schorm)
|
|
||||||
- Resolves rhbz#2250360
|
|
||||||
|
|
||||||
* Tue Sep 26 2023 Michal Schorm <mschorm@redhat.com> - 1.0.7-2
|
|
||||||
- Bump release for rebuild
|
|
||||||
|
|
||||||
* Thu Sep 14 2023 Packit <hello@packit.dev> - 1.0.7-1
|
|
||||||
- Empty commit to test Fedora PACKIT configuration for packaging automation (Michal Schorm)
|
|
||||||
|
|
||||||
* Wed Jul 12 2023 Adam Dobes <adobes@redhat.com> - 1.0.6-1
|
|
||||||
- Rebase to 1.0.6
|
|
||||||
|
|
||||||
* Thu Jun 09 2022 Michal Schorm <mschorm@redhat.com> - 1.0.5-1
|
* Thu Jun 09 2022 Michal Schorm <mschorm@redhat.com> - 1.0.5-1
|
||||||
- Rebase to 1.0.5
|
- Rebase to 1.0.5
|
||||||
|
|
||||||
* Fri Mar 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.4-1
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.4-2
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Tue May 04 2021 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.4-1
|
||||||
- Rebase to 1.0.4
|
- Rebase to 1.0.4
|
||||||
- Unintentional removal of semicolon
|
|
||||||
|
|
||||||
* Fri Mar 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.3-1
|
|
||||||
- Rebase to 1.0.3
|
|
||||||
- Remove setuid/setgid capabilities from mysqld_t type.
|
|
||||||
|
|
||||||
* Thu Jan 10 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.2-6
|
|
||||||
- Fix the gating.yaml file so it checks the correct tests
|
|
||||||
|
|
||||||
* Thu Apr 22 2021 Lukas Javorsky <ljavorsk@redhat.com> - 1.0.2-5
|
|
||||||
- Fix rpm verification it's a ghost file so it should ignore the error
|
- Fix rpm verification it's a ghost file so it should ignore the error
|
||||||
|
|
||||||
* Mon Dec 07 2020 Honza Horak <hhorak@redhat.com> - 1.0.2-4
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.2-3
|
||||||
- Rebuild for added tmt gating
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
Related: #1895021
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
* Wed Dec 02 2020 Michal Schorm <mschorm@redhat.com> - 1.0.2-1
|
* Wed Dec 02 2020 Michal Schorm <mschorm@redhat.com> - 1.0.2-1
|
||||||
- Rebase to 1.0.2 release
|
- Rebase to 1.0.2 release
|
Loading…
Reference in New Issue
Block a user