[389-dsgw/f15: 5/6] add support for tmpfiles.d fix crashing in openldap shutdown code
Richard Allen Megginson
rmeggins at fedoraproject.org
Thu Dec 15 19:14:58 UTC 2011
commit e0f50746e1fa5af7f179d3ee8ce44af6c2ab233e
Author: Rich Megginson <rmeggins at redhat.com>
Date: Thu Dec 15 12:06:16 2011 -0700
add support for tmpfiles.d
fix crashing in openldap shutdown code
.gitignore | 1 +
389-dsgw.spec | 11 +++++++++--
sources | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 16e0b92..3491077 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*~
389-dsgw-1.1.6.tar.bz2
/389-dsgw-1.1.7.tar.bz2
+/389-dsgw-1.1.8.tar.bz2
diff --git a/389-dsgw.spec b/389-dsgw.spec
index 203be5d..516a022 100644
--- a/389-dsgw.spec
+++ b/389-dsgw.spec
@@ -2,8 +2,8 @@
Summary: 389 Directory Server Gateway (dsgw)
Name: 389-dsgw
-Version: 1.1.7
-Release: 3%{?dist}
+Version: 1.1.8
+Release: 1%{?dist}
License: GPLv2
URL: http://port389.org/
Group: System Environment/Daemons
@@ -57,6 +57,9 @@ make DESTDIR="$RPM_BUILD_ROOT" install
# make cookie db directory
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/%{pkgname}/dsgw/cookies
+# touch the tmpfiles.d conf file - but will not be included in the package
+mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d
+touch $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/%{pkgname}-dsgw.conf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -82,8 +85,12 @@ fi
%{_datadir}/%{pkgname}/properties/dsgw
%{_sbindir}/*
%{_libdir}/%{pkgname}/dsgw-cgi-bin
+%ghost %{_sysconfdir}/tmpfiles.d/%{pkgname}-dsgw.conf
%changelog
+* Wed Dec 14 2011 Rich Megginson <rmeggins at redhat.com> - 1.1.8-1
+- add support for tmpfiles.d
+
* Wed Nov 2 2011 Rich Megginson <rmeggins at redhat.com> - 1.1.7-3
- rebuild with new 389-adminutil and ICU
diff --git a/sources b/sources
index 138ad95..a6860b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-367537e786006adf8f204974b62c282b 389-dsgw-1.1.7.tar.bz2
+7b7382bdeeff75840c0052d6b159c735 389-dsgw-1.1.8.tar.bz2
More information about the scm-commits
mailing list