public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sagator] epel10: Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/sagator
@ 2026-11-26 14:06 Jan ONDREJ
  0 siblings, 0 replies; only message in thread
From: Jan ONDREJ @ 2026-11-26 14:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/sagator
Branch : epel10
Commit : 0bdaf6ea34576e69533f725319000115ebe06b3a
Author : Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date   : 2021-01-06T10:18:26+01:00
Stats  : +14/-35 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/sagator/c/0bdaf6ea34576e69533f725319000115ebe06b3a?branch=epel10

Log:
Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/sagator

---
diff --git a/sagator.spec b/sagator.spec
index 99ab2c7..3f0a92f 100644
--- a/sagator.spec
+++ b/sagator.spec
@@ -216,6 +216,12 @@ touch %{_var}/lib/sagator-mkchroot
 * Wed Jan  6 2021 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta42
 - update to upstream
 
+* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.beta38.1
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Sun Apr 19 2020 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta38
+- update to upstream
+
 * Thu Apr 02 2020 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta37
 - Fix string quoting for rpm >= 4.16, suse_version used
 

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 ab13456..3f0a92f 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}.1
-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,6 +213,9 @@ touch %{_var}/lib/sagator-mkchroot
 %endif
 
 %changelog
+* Wed Jan  6 2021 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta42
+- update to upstream
+
 * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.beta38.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
 

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-26 14:06 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:06 [rpms/sagator] epel10: Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/sagator Jan ONDREJ

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox