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 which fixes all open bugs (bz#1592388, bz#1606292)
Date: Thu, 26 Nov 2026 14:05:55 GMT [thread overview]
Message-ID: <179570195553.1.4630727547967312679.rpms-sagator-17a4150f4eb6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/sagator
Branch : epel10
Commit : 17a4150f4eb610e2d35a269cbb15413691d66ef3
Author : Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date : 2018-07-26T09:39:38+02:00
Stats : +26/-22 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/sagator/c/17a4150f4eb610e2d35a269cbb15413691d66ef3?branch=epel10
Log:
update to upstream which fixes all open bugs (bz#1592388, bz#1606292)
---
diff --git a/.gitignore b/.gitignore
index f20efd6..3120a29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ sagator-1.2.1.tar.bz2
/sagator-1.2.3.tar.bz2
/sagator-1.3.0.tar.bz2
/sagator-1.3.1.tar.bz2
+/sagator-2.0.0-0.beta1exp2.tar.bz2
diff --git a/sagator.spec b/sagator.spec
index 177e2e6..5bc0fa9 100644
--- a/sagator.spec
+++ b/sagator.spec
@@ -14,9 +14,9 @@
Summary: Antivirus/anti-spam gateway for smtp server
Name: sagator
-Version: 1.3.1
-Release: 7%{?dist}
-Source: http://www.salstar.sk/pub/antivir/snapshots/sagator-%{version}.tar.bz2
+Version: 2.0.0
+Release: 0.beta1exp1%{?dist}
+Source: http://www.salstar.sk/pub/antivir/snapshots/sagator-%{version}-0.beta1exp1.tar.bz2
URL: http://www.salstar.sk/sagator/
License: GPLv2+
Group: System Environment/Daemons
@@ -66,27 +66,20 @@ Requires: python2 >= 2.2.2, sed
%if %_vendor == "suse"
BuildRequires: aaa_base, python-xml, clamav >= %{CLAMAV_VERSION}
Requires: aaa_base, smtp_daemon
-%if 0%suse_version < 01030
-Requires: python-ctypes
+%else
+Requires: server(smtp), shadow-utils
+BuildRequires: clamav-devel >= %{CLAMAV_VERSION}
+Requires: clamav-lib >= %{CLAMAV_VERSION}
%endif
+%if 0%{?fedora} || 0%{?rhel} >= 7
+BuildRequires: systemd
%else
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(preun): initscripts
-Requires: initscripts, shadow-utils
-%if 0%{?fedora} || 0%{?rhel} > 5
-Requires: server(smtp)
-%else
-Requires: smtpdaemon
-%endif
-%if 0%{?fedora} || 0%{?rhel} > 7
-BuildRequires: systemd
-%else
+Requires: initscripts
BuildRequires: initscripts
%endif
-BuildRequires: clamav-devel >= %{CLAMAV_VERSION}
-Requires: clamav-lib >= %{CLAMAV_VERSION}
-%endif
Requires: spamassassin
BuildRequires: logwatch
Obsoletes: sagator-libclamav <= 1.2.3
@@ -99,7 +92,12 @@ not to depend on other software, required by sagator.
%package webq
Summary: SAGATOR's web quarantine access
Group: System Environment/Daemons
-Requires: sagator-core = %{version}-%{release}, python2-jinja2
+Requires: sagator-core = %{version}-%{release}
+%if 0%{?fedora} || 0%{?rhel} > 7
+Requires: python2-jinja2
+%else
+Requires: python-jinja2
+%endif
%description webq
SAGATOR's web quarantine access can be used to allow users (or admin)
@@ -157,7 +155,7 @@ fi
%preun core
if [ $1 = 0 ]; then # uninstall
# stop service and remove init script symlinks
- if [ -f /lib/systemd/system/sagator.service ]; then
+ if [ -f %{_unitdir}/%{name}.service ]; then
/bin/systemctl disable sagator.service > /dev/null 2>&1 || :
/bin/systemctl stop sagator.service > /dev/null 2>&1 || :
elif [ -x /sbin/chkconfig ]; then
@@ -188,6 +186,9 @@ touch %{_var}/lib/sagator-mkchroot
%triggerpostun core -- sagator-webq,%{BASE_LIBS},%{ARCHIVERS},%{ANTIVIRS},%{ANTISPAMS}
touch %{_var}/lib/sagator-mkchroot
+%clean
+rm -rf %{buildroot}
+
%files
# no files, this package just requires others
@@ -197,7 +198,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
+%if 0%{?fedora} || 0%{?rhel} >= 7 || 0%{?suse_version} >= 01310
%{_unitdir}/%{name}.service
%exclude %{_initrddir}/%{name}
%else
@@ -246,6 +247,9 @@ touch %{_var}/lib/sagator-mkchroot
%endif
%changelog
+* Thu Jul 26 2018 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta1exp1
+- update to upstream which fixes all open bugs (bz#1592388, bz#1606292)
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 3f288ba..7c39e70 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-9c638e2e020e86136185fb900c1a0cc7 sagator-1.3.0.tar.bz2
-bcd13abeb5e743bf26a75bbdb3261761 sagator-1.3.1.tar.bz2
+SHA512 (sagator-2.0.0-0.beta1exp2.tar.bz2) = 29eb92c87ec5f3486516b25380972e9ec34686dd98fa89e4a86f74dfff233a182e2d70266932d3952768d21b1957b012d511c32f3b35321abcdd5428e9ac731a
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=179570195553.1.4630727547967312679.rpms-sagator-17a4150f4eb6@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