[dspam: 1/2] fixed bugs #657357 and #954345

Nathanael Noblet gnat at fedoraproject.org
Wed May 15 15:36:53 UTC 2013


commit b6f84d3fed56ce66a500e87149f37728aea5559e
Author: Nathanael D. Noblet <nathanael at gnat.ca>
Date:   Wed May 15 09:35:36 2013 -0600

    fixed bugs #657357 and #954345

 dspam-cron |    2 +-
 dspam.spec |    8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/dspam-cron b/dspam-cron
index a513b26..ad92777 100644
--- a/dspam-cron
+++ b/dspam-cron
@@ -239,7 +239,7 @@ clean_pgsql_drv() {
 		[ -n "${PgSQLServer}" -a -n "${PgSQLUser}" -a -n "${PgSQLDb}" ]
 	then
 		DSPAM_PgSQL_PURGE_SQL=
-		DSPAM_PgSQL_PURGE_SQL_FILES="pgsql/pe-purge pgsql/purge"
+		DSPAM_PgSQL_PURGE_SQL_FILES="pgsql/purge-pe pgsql/purge"
 
 		#
 		# We first search for the purge scripts in the directory the user has
diff --git a/dspam.spec b/dspam.spec
index 1df1324..09262f2 100644
--- a/dspam.spec
+++ b/dspam.spec
@@ -7,11 +7,12 @@
 %global dspam_mode      2511
 %global dspam_web_docroot %{_localstatedir}/www/dspam
 %global __perl_requires %{SOURCE99}
+%global _hardened_build 1
 
 Summary:                A library and Mail Delivery Agent for Bayesian SPAM filtering
 Name:                   dspam
 Version:                3.10.2
-Release:                6%{?dist}
+Release:                7%{?dist}
 License:                GPLv2
 Group:                  System Environment/Daemons
 Source0:                http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -367,6 +368,11 @@ exit 0
 %config(noreplace) %{_sysconfdir}/httpd/conf.d/dspam-web.conf
 
 %changelog
+* Wed May 15 2013 Nathanael Noblet <nathanael at gnat.ca> - 3.10.2-7
+- set hardened build to add PIE option since dspam can be long running
+- bug #954345
+- properly fixes #657357 - PostgreSQL purge script works
+
 * Thu Jan 17 2013 Nathanael Noblet <nathanael at gnat.ca> - 3.10.2-6
 - Attempting to fix purge bug #657357
 


More information about the scm-commits mailing list