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:06 GMT [thread overview]
Message-ID: <179570196615.1.243186494554926283.rpms-sagator-08a7c49b1928@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/sagator
Branch : epel10
Commit : 08a7c49b192844ee76a3dcab999753080688176b
Author : Jan ONDREJ (SAL) <ondrejj(at)salstar.sk>
Date : 2019-08-23T06:53:29+02:00
Stats : +28/-23 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/sagator/c/08a7c49b192844ee76a3dcab999753080688176b?branch=epel10
Log:
Update to upstream.
---
diff --git a/.gitignore b/.gitignore
index 661a616..727a776 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ sagator-1.2.1.tar.bz2
/sagator-2.0.0-0.beta1exp2.tar.bz2
/sagator-2.0.0-0.beta10.tar.bz2
/sagator-2.0.0-0.beta11.tar.bz2
+/sagator-2.0.0-0.beta33.tar.bz2
diff --git a/sagator.spec b/sagator.spec
index ee02cc2..88fc53d 100644
--- a/sagator.spec
+++ b/sagator.spec
@@ -21,8 +21,8 @@
Summary: Antivirus/anti-spam gateway for smtp server
Name: sagator
Version: 2.0.0
-Release: 0.beta11%{?dist}.1
-Source: http://www.salstar.sk/pub/antivir/snapshots/sagator-%{version}-0.beta11.tar.bz2
+Release: 0.beta33%{?dist}
+Source: http://www.salstar.sk/pub/antivir/snapshots/sagator-%{version}-0.beta33.tar.bz2
URL: http://www.salstar.sk/sagator/
License: GPLv2+
BuildArch: noarch
@@ -75,14 +75,15 @@ 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
+%if 0%{?rhel} == 6
Requires(post): chkconfig
Requires(preun): chkconfig
Requires(preun): initscripts
Requires: initscripts
BuildRequires: initscripts
+%else
+BuildRequires: systemd-rpm-macros
+%{?systemd_requires}
%endif
Requires: spamassassin
BuildRequires: logwatch
@@ -148,26 +149,29 @@ if [ $1 = 2 ]; then # upgrade
[ -f %{_sysconfdir}/sysconfig/sagator ] && . %{_sysconfdir}/sysconfig/sagator || true
# update configuration
%{_datadir}/sagator/updatecfg.py || true
- if [ "$RESTART" = "auto" ]; then
- # restart sagator
- %{_initrddir}/sagator try-restart >/dev/null 2>&1 || true
- fi
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
- 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
- %{_initrddir}/sagator stop >/dev/null 2>&1
- chkconfig --del sagator
- elif [ -x /sbin/insserv ]; then
- %{_initrddir}/sagator stop >/dev/null 2>&1
- insserv -r sagator
- fi
+ %{_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
@@ -240,12 +244,12 @@ touch %{_var}/lib/sagator-mkchroot
%endif
%changelog
+* Fri Aug 23 2019 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta33
+- update to upstream
+
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-0.beta11.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-* Wed Feb 6 2019 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 2.0.0-0.beta11
-- update to upstream
-
* 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 4e5d49b..0622802 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sagator-2.0.0-0.beta11.tar.bz2) = 69c992d05aef08d79bce468981ba4d8e1f88f8aa6fec9660bc18ee2b84ac68685cc1e9f498f28aef5eefc1dda8958ef3fea96150c2fdd98bef932118061f6f4c
+SHA512 (sagator-2.0.0-0.beta33.tar.bz2) = 418570f3a8d43502bfab23011d8c7e9bcba7a1872d1fef367295b59375fcfd098c648d46b5eb136466532d8cf258b2702545fa9b52c78e07868af9f30de62268
next reply other threads:[~2026-11-26 14:06 UTC|newest]
Thread overview: 16+ 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-28 6:12 [rpms/sagator] epel10: Update to upstream Jan ONDREJ
2026-11-28 6:12 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 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 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=179570196615.1.243186494554926283.rpms-sagator-08a7c49b1928@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