public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
To: git-commits@fedoraproject.org
Subject: [rpms/sagator] epel10: SElinux subpackage disabled (not functional logn time).
Date: Thu, 26 Nov 2026 14:05:40 GMT	[thread overview]
Message-ID: <179570194094.1.11981849615166392307.rpms-sagator-4d5d23ca3908@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-26 14:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179570194094.1.11981849615166392307.rpms-sagator-4d5d23ca3908@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox