stevej pushed to opendkim (el5). "Update to 2.9.0-2"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Mar 25 18:42:48 UTC 2015


>From bed926f164f87430a68b9be11f319865865b5108 Mon Sep 17 00:00:00 2001
From: stevejenkins <steve at stevejenkins.com>
Date: Wed, 18 Dec 2013 19:16:52 -0800
Subject: Update to 2.9.0-2


diff --git a/.gitignore b/.gitignore
index 0ba1966..b8a5c2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,4 @@
 /opendkim-2.8.3.tar.gz
 /opendkim-2.8.4.tar.gz
 /opendkim-2.9.0.tar.gz
+/opendkim.add-user-group.patch
diff --git a/opendkim.spec b/opendkim.spec
index f4c6735..e16844e 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.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD and Sendmail
 URL: http://opendkim.org/
 Group: System Environment/Daemons
@@ -35,7 +35,9 @@ BuildRequires: unbound-devel
 
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 
-#Patch0: %{name}-libdb.patch
+# Add User/Group to systemd service file
+# https://sourceforge.net/p/opendkim/bugs/184/
+Patch0: %{name}.add-user-group.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -79,7 +81,7 @@ It is not required when the init system used is systemd.
 
 %prep
 %setup -q
-#%patch0 -p1
+%patch0 -p1
 
 %build
 %configure --with-unbound --with-libmemcached --with-db
@@ -343,7 +345,7 @@ rm -rf %{buildroot}
 %dir %attr(-,%{name},%{name}) %{_localstatedir}/spool/%{name}
 %dir %attr(-,%{name},%{name}) %{_localstatedir}/run/%{name}
 %dir %attr(-,root,%{name}) %{_sysconfdir}/%{name}
-%dir %attr(750,root,%{name}) %{_sysconfdir}/%{name}/keys
+%dir %attr(750,%name,%{name}) %{_sysconfdir}/%{name}/keys
 %attr(0644,root,root) %{_unitdir}/%{name}.service
 %attr(0755,root,root) %{_sbindir}/%{name}-default-keygen
 
@@ -365,9 +367,13 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Wed Dec 18 2013 Steve Jenkins <steve stevejenkins com> - 2.9.0-2
+- Patch adds user and group to systemd service file (Thx jcosta at redhat.com)
+- Changed default ownership of /etc/opendkim/keys directory to opendkim user
+
 * Wed Dec 18 2013 Steve Jenkins <steve stevejenkins com> - 2.9.0-1
-- Update to use newer upstream 2.9.0 source code
-- Added libbsd-devel to BuildRequires
+- Updated to use newer upstream 2.9.0 source code
+- Added libbsd-devel to Build Requires
 - Removed listrl references from libopendkim files section (handled by libbsd-devel)
 
 * Sun Nov 3 2013 Steve Jenkins <steve stevejenkins com> - 2.8.4-4
diff --git a/sources b/sources
index d204511..a704f8f 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 af682e58877bf9153b6af4400aad6d4d  opendkim-2.9.0.tar.gz
+1f6fa599d5a2d7615b640bffc14482c0  opendkim.add-user-group.patch
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/opendkim.git/commit/?h=el5&id=bed926f164f87430a68b9be11f319865865b5108


More information about the scm-commits mailing list