public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sagator] epel10: SElinux subpackage disabled (not functional logn time).
@ 2026-11-26 14:05 Jan ONDREJ
0 siblings, 0 replies; only message in thread
From: Jan ONDREJ @ 2026-11-26 14:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/sagator
Branch : epel10
Commit : 4d5d23ca3908838ba4a08c82e7884003e94b4e15
Author : Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date : 2013-02-18T13:30:07+01:00
Stats : +14/-11 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/sagator/c/4d5d23ca3908838ba4a08c82e7884003e94b4e15?branch=epel10
Log:
SElinux subpackage disabled (not functional logn time).
---
diff --git a/sagator.spec b/sagator.spec
index 009e0e7..b275126 100644
--- a/sagator.spec
+++ b/sagator.spec
@@ -5,12 +5,18 @@
%define ANTISPAMS bogofilter,qsf
%define CLAMAV_VERSION 0.92
+# SElinux policy for Fedoras and RHEL>=5
+%if 0%{?fedora} || 0%{?rhel} >= 5
+# SElinux temporarily disabled for all systems
+%define install_sepolicy 0
+%define sepolicy %{_datadir}/%{name}/selinux/%{name}.pp
+%endif
+
Summary: Antivir/antispam gateway for smtp server
Name: sagator
Version: 1.2.3
-Release: 5%{?dist}
+Release: 6%{?dist}
Source: http://www.salstar.sk/pub/antivir/snapshots/sagator-%{version}.tar.bz2
-Patch1: sagator-selinux-devpts.patch
URL: http://www.salstar.sk/sagator/
License: GPLv2+
Group: System Environment/Daemons
@@ -95,27 +101,21 @@ SAGATOR's web quarantine access can be used to allow users (or admin)
to access their emails in sagator's quarantine.
# SElinux policy for Fedoras and RHEL>=5
-%if 0%{?fedora} || 0%{?rhel} >= 5
+%if 0%{?install_sepolicy}>0
%package selinux
Summary: SELinux support for SAGATOR
Group: System Environment/Daemons
Requires: %{name}-core = %{version}-%{release}
Requires(postun): policycoreutils, selinux-policy
BuildRequires: selinux-policy-devel
-# SElinux directory and policy package
-%define install_sepolicy 1
-%define sepolicy %{_datadir}/%{name}/selinux/%{name}.pp
%description selinux
This package helps moving to the upstream SELinux module.
-%else
-%define install_sepolicy 0
%endif
%prep
%setup -q
-%patch1 -p0
%build
sh configure --prefix=%{_prefix} --filelist
@@ -169,7 +169,7 @@ if [ $1 = 0 ]; then # uninstall
fi
fi
-%if %{install_sepolicy}
+%if 0%{?install_sepolicy}>0
%post selinux
if selinuxenabled; then
# Replace the module by the upstream one
@@ -237,7 +237,7 @@ rm -rf %{buildroot}
%{_datadir}/%{name}/srv/web/*.py*
%{_datadir}/%{name}/srv/web/*.html
-%if %{install_sepolicy}
+%if 0%{?install_sepolicy}>0
%files selinux
%defattr(-,root,root)
%dir %{_datadir}/%{name}/selinux
@@ -245,6 +245,9 @@ rm -rf %{buildroot}
%endif
%changelog
+* Mon Feb 18 2013 Ján ONDREJ (SAL) <ondrejj(at)salstar.sk> - 1.2.3-6
+- Selinux subpackage temporarily disabled.
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-26 14:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 14:05 [rpms/sagator] epel10: SElinux subpackage disabled (not functional logn time) Jan ONDREJ
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox