[dspam] suid on dspamc

Nathanael Noblet gnat at fedoraproject.org
Thu Jan 22 17:48:13 UTC 2015


commit c812025373760c26e5f7de87963bba6c8fda5046
Author: Nathanael d. Noblet <nathanael at noblet.ca>
Date:   Thu Jan 22 10:48:32 2015 -0700

    suid on dspamc

 dspam.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dspam.spec b/dspam.spec
index 559b13b..71a1a3e 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -12,7 +12,7 @@
 Summary:                A library and Mail Delivery Agent for Bayesian SPAM filtering
 Name:                   dspam
 Version:                3.10.2
-Release:                14%{?dist}
+Release:                15%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -320,7 +320,7 @@ exit 0
 
 %files client
 %defattr(-, root,root,-)
-%{_bindir}/dspamc
+%attr(%{dspam_mode},%{dspam_user},%{mail_group}) %{_bindir}/dspamc
 
 %files libs
 %defattr(-,root,root,-)
@@ -371,6 +371,9 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Thu Jan 22 2015 Nathanael Noblet <nathanael at gnat.ca> - 3.10.2-15
+- Set dspamc suid bits
+
 * Mon Jan 19 2015 Nathanael Noblet <nathanael at gnat.ca> - 3.10.2-14
 - Update cron script to not require mysql_config which is not provided by mariadb
 - Fixes bug #1183256


More information about the scm-commits mailing list