summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstevejenkins <steve@stevejenkins.com>2015-04-06 11:28:28 -0700
committerstevejenkins <steve@stevejenkins.com>2015-04-06 11:28:28 -0700
commitd3cd573b4481b9a0ce94fa0a4f18ed5c63b6c6d8 (patch)
tree268c9e5e2e00aad2358eeca7ae581dbf8d78dfd4
parent040db970cb635dfdce7950294b4e1d33a22db4c5 (diff)
downloadopendkim_EL6-d3cd573b4481b9a0ce94fa0a4f18ed5c63b6c6d8.tar.gz
Update to 2.10.1-11
-rw-r--r--opendkim.spec48
1 files changed, 32 insertions, 16 deletions
diff --git a/opendkim.spec b/opendkim.spec
index 23c884d..e14de92 100644
--- a/opendkim.spec
+++ b/opendkim.spec
@@ -5,7 +5,7 @@
Summary: A DomainKeys Identified Mail (DKIM) milter to sign and/or verify mail
Name: opendkim
Version: 2.10.1
-Release: 10%{?dist}
+Release: 11%{?dist}
Group: System Environment/Daemons
License: BSD and Sendmail
URL: http://%{name}.org/
@@ -14,7 +14,7 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
# Required for all versions
Requires: lib%{name}%{?_isa} = %{version}-%{release}
BuildRequires: sendmail-devel, openssl-devel, libtool, pkgconfig, libbsd, libbsd-devel
-Requires (pre): shadow-utils
+Requires(pre): shadow-utils
# Required for Fedora
%if 0%{?fedora}
@@ -22,22 +22,22 @@ BuildRequires: opendbx
%endif
%if 0%{?rhel} && 0%{?rhel} == 5
-Requires (post): policycoreutils
+Requires(post): policycoreutils
%endif
%if %systemd
# Required for systemd
-Requires (post): systemd-units
-Requires (preun): systemd-units
-Requires (postun): systemd-units
-Requires (post): systemd-sysv
+Requires(post): systemd-units
+Requires(preun): systemd-units
+Requires(postun): systemd-units
+Requires(post): systemd-sysv
BuildRequires: libdb-devel
BuildRequires: libmemcached-devel
%else
# Required for SysV
-Requires (post): chkconfig
-Requires (preun): chkconfig, initscripts
-Requires (postun): initscripts
+Requires(post): chkconfig
+Requires(preun): chkconfig, initscripts
+Requires(postun): initscripts
BuildRequires: db4-devel
%endif
@@ -83,14 +83,10 @@ required for developing applications against libopendkim.
# properly handle 32 versus 64 bit detection and settings
%define LIBTOOL LIBTOOL=`which libtool`
-%if %systemd
%if 0%{?fedora}
%configure --with-obdx --with-libmemcached --with-db
%else
-%configure --with-libmemcached --with-db
-%endif
-%else
-%configure --with-db
+%configure --with-odbx --with-db
%endif
# Remove rpath
@@ -324,6 +320,21 @@ If you manually generate your own keys, you must update the key location and nam
before attempting to start the %{name} service.
+Using %upname with SQL Datasets
+================================
+If you have %upname configured to use SQL datasets on a systemd-based server, it might be necessary to start the
+%name service after the database servers by referencing your database unit file(s) in the "After" section of the
+%upname unit file.
+
+For example, if using both MariaDB and PostgreSQL, in /usr/lib/systemd/system/opendkim.service change:
+
+After=network.target nss-lookup.target syslog.target
+
+to:
+
+After=network.target nss-lookup.target syslog.target mariadb.service postgresql.service
+
+
Additional Configuration Help
=============================
For help configuring your MTA (Postfix, Sendmail, etc.) with %{upname}, setting up DNS records with your
@@ -477,6 +488,11 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/*.pc
%changelog
+* Mon Apr 06 2015 Steve Jenkins <steve@stevejenkins.com> - 2.10.1-11
+- Cleaned up some spacing
+- Added --with-obdx support for all branches
+- Added comments to README.Fedora to address Bug #1209009
+
* Fri Apr 03 2015 Steve Jenkins <steve@stevejenkins.com> - 2.10.1-10
- policycoreutils now only required for EL5
@@ -498,7 +514,7 @@ rm -rf %{buildroot}
- added sendmail-milter to Requires
- added libtool to BuildRequires
- moved libbsd from BuildRequires to Requires
-- added policycoreutils and policycoreutils-python to Requires (post)
+- added policycoreutils and policycoreutils-python to Requires(post)
* Sat Mar 28 2015 Steve Jenkins <steve@stevejenkins.com> - 2.10.1-6
- Remove global _pkgdocdir variable