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: Update to upstream.
Date: Thu, 26 Nov 2026 14:06:13 GMT	[thread overview]
Message-ID: <179570197345.1.6813376517638257160.rpms-sagator-d61e51b0e140@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/sagator
            Branch : epel10
            Commit : d61e51b0e140ec4143eb34f02ac21a6d02a4f27b
            Author : Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
            Date   : 2021-01-06T10:13:11+01:00
            Stats  : +6/-36 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/sagator/c/d61e51b0e140ec4143eb34f02ac21a6d02a4f27b?branch=epel10

            Log:
            Update to upstream.
Remove EPEL6 support.

---
diff --git a/.gitignore b/.gitignore
index 00601a9..9380220 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@ sagator-1.2.1.tar.bz2
 /sagator-2.0.0-0.beta34.tar.bz2
 /sagator-2.0.0-0.beta36.tar.bz2
 /sagator-2.0.0-0.beta38.tar.bz2
+/sagator-2.0.0-0.beta42.tar.bz2

diff --git a/sagator.spec b/sagator.spec
index 21365a5..99ab2c7 100644
--- a/sagator.spec
+++ b/sagator.spec
@@ -3,14 +3,11 @@
 %define ARCHIVERS tar,arc,unace,unrar,rar,zoo,unarj,arj,unzip,zip,gzip,bzip2
 %define ANTIVIRS clamav,clamav-libs,avglinux,nod32ls,nod32lfs,kav4mailservers-linux
 %define ANTISPAMS bogofilter,qsf
-%define CLAMAV_VERSION 0.92
+%define CLAMAV_VERSION 0.100
 
-# 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
 
 %if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
 %define python_version python3
@@ -21,8 +18,8 @@
 Summary:   Antivirus/anti-spam gateway for smtp server
 Name:      sagator
 Version:   2.0.0
-Release:   0.beta38%{?dist}
-Source:    http://www.salstar.sk/pub/antivir/snapshots/sagator-%{version}-0.beta38.tar.bz2
+Release:   0.beta42%{?dist}
+Source:    http://www.salstar.sk/pub/antivir/snapshots/unstable/sagator-%{version}-0.beta42.tar.bz2
 URL:       http://www.salstar.sk/sagator/
 License:   GPLv2+
 BuildArch: noarch
@@ -75,16 +72,8 @@ Requires:       server(smtp), shadow-utils
 BuildRequires:  clamav-devel >= %{CLAMAV_VERSION}
 Requires:       clamav-lib >= %{CLAMAV_VERSION}
 %endif
-%if 0%{?rhel} == 6
-Requires(post): chkconfig
-Requires(preun): chkconfig
-Requires(preun): initscripts
-Requires:       initscripts
-BuildRequires:  initscripts
-%else
 BuildRequires:  systemd
 %{?systemd_requires}
-%endif
 Requires:       spamassassin
 BuildRequires:  logwatch
 Obsoletes:      sagator-libclamav <= 1.2.3
@@ -150,28 +139,13 @@ if [ $1 = 2 ]; then # upgrade
   # update configuration
   %{_datadir}/sagator/updatecfg.py || true
 fi
-%if 0%{?rhel} == 6
-%{_initrddir}/sagator try-restart >/dev/null 2>&1 || true
-%else
 %systemd_post %{name}.service
-%endif
 
 %preun core
-%if 0%{?rhel} == 6
-if [ $1 = 0 ]; then # uninstall
-  # stop service and remove init script symlinks
-  %{_initrddir}/sagator stop >/dev/null 2>&1
-  chkconfig --del sagator
-fi
-%else
 %systemd_preun %{name}.service
-%endif
 
-%if 0%{?rhel} == 6
-%else
 %postun core
 %systemd_postun_with_restart %{name}.service
-%endif
 
 %if 0%{?install_sepolicy}>0
 %post selinux
@@ -205,12 +179,7 @@ touch %{_var}/lib/sagator-mkchroot
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/*/conf.d/%{name}.conf
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/mrtg/%{name}.cfg
-%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 01310
 %{_unitdir}/%{name}.service
-%exclude %{_initrddir}/%{name}
-%else
-%{_initrddir}/%{name}
-%endif
 %config(noreplace) %verify(not md5 size mtime) %attr(644,root,root) %{_sysconfdir}/cron.d/%{name}
 %doc doc/README doc/FAQ doc/*.txt doc/*.html TODO COPYING ChangeLog test
 %doc scripts/graphs scripts/*.sh scripts/log/analyzer.py
@@ -244,7 +213,7 @@ touch %{_var}/lib/sagator-mkchroot
 %endif
 
 %changelog
-* Sun Apr 19 2020 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta38
+* Wed Jan  6 2021 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta42
 - update to upstream
 
 * Thu Apr 02 2020 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta37

diff --git a/sources b/sources
index 2396dba..d67ce12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sagator-2.0.0-0.beta38.tar.bz2) = 52a47cd05acc98202bd511b803c720b1e9f7d7048c18a040917e861416d44d056d12aec82edcd587f263b8acc83c3105d390aa69beab7a743b92b351cde7824a
+SHA512 (sagator-2.0.0-0.beta42.tar.bz2) = 3d7933e17e020c9cc33166f2022c681cc86e683e95fd6df54774df223b68616be5bd2870c41c3de0dec081f6edd2b1312841097d575db26ec749ed41ee1e986d

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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 14:06 Jan ONDREJ [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-11-26 14:06 [rpms/sagator] epel10: Update to upstream Jan ONDREJ
2026-11-26 14:06 Jan ONDREJ
2026-11-26 14:06 Jan ONDREJ
2026-11-26 14:06 Jan ONDREJ
2026-11-26 14:06 [rpms/sagator] epel10: update " Jan ONDREJ
2026-11-26 14:06 Jan ONDREJ
2026-11-26 14:06 [rpms/sagator] epel10: Update " Jan ONDREJ
2026-11-26 14:06 [rpms/sagator] epel10: update " Jan ONDREJ
2026-11-26 14:06 [rpms/sagator] epel10: Update " Jan ONDREJ
2026-11-26 14:05 Jan ONDREJ
2026-11-26 14:05 Jan ONDREJ
2026-11-26 14:05 Jan ONDREJ
2026-11-26 14:05 

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=179570197345.1.6813376517638257160.rpms-sagator-d61e51b0e140@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