|
@@ -1,25 +1,26 @@
|
|
-
|
|
|
|
-# Fedora Review: http://bugzilla.redhat.com/171289
|
|
|
|
-
|
|
|
|
Name: dirmngr
|
|
Name: dirmngr
|
|
Summary: Client for Managing/Downloading CRLs
|
|
Summary: Client for Managing/Downloading CRLs
|
|
-Version: 1.1.0
|
|
+Version: 1.1.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
-License: GPLv2+
|
|
+License: GPLv3+
|
|
-Group: System Environment/Libraries
|
|
+Group: Applications/System
|
|
URL: http://www.gnupg.org/
|
|
URL: http://www.gnupg.org/
|
|
Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2
|
|
Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2
|
|
Source1: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2.sig
|
|
Source1: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2.sig
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
Source10: dirmngr.conf
|
|
Source10: dirmngr.conf
|
|
Source11: ldapservers.conf
|
|
Source11: ldapservers.conf
|
|
Source12: dirmngr.logrotate
|
|
Source12: dirmngr.logrotate
|
|
|
|
+Source13: dirmngrtmp.conf
|
|
|
|
+
|
|
|
|
+Patch1: dirmngr-1.1.0-ocsp-crash.patch
|
|
|
|
+Patch2: dirmngr-1.1.1-pth-fix.patch
|
|
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: gawk
|
|
BuildRequires: gawk
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
-BuildRequires: libassuan-devel
|
|
+BuildRequires: libassuan-devel >= 2.0.0
|
|
BuildRequires: libgcrypt-devel >= 1.2.0
|
|
BuildRequires: libgcrypt-devel >= 1.2.0
|
|
BuildRequires: libksba-devel >= 1.0.0
|
|
BuildRequires: libksba-devel >= 1.0.0
|
|
BuildRequires: openldap-devel
|
|
BuildRequires: openldap-devel
|
|
@@ -40,6 +41,8 @@ the dirmngr-client tool.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch1 -p1 -b .crash
|
|
|
|
+%patch2 -p0 -b .pth-fix
|
|
|
|
|
|
pushd doc
|
|
pushd doc
|
|
iconv -f iso-8859-1 -t utf-8 dirmngr.texi -o dirmngr.texi.NEW && mv dirmngr.texi.NEW dirmngr.texi
|
|
iconv -f iso-8859-1 -t utf-8 dirmngr.texi -o dirmngr.texi.NEW && mv dirmngr.texi.NEW dirmngr.texi
|
|
@@ -74,6 +77,10 @@ install -p -m644 -D %{SOURCE12} %{buildroot}%{_sysconfdir}/logrotate.d/dirmngr
|
|
# conf files
|
|
# conf files
|
|
install -p -m644 %{SOURCE10} %{SOURCE11} %{buildroot}%{_sysconfdir}/dirmngr/
|
|
install -p -m644 %{SOURCE10} %{SOURCE11} %{buildroot}%{_sysconfdir}/dirmngr/
|
|
|
|
|
|
|
|
+# autocreate /var/run/dirmngr on boot
|
|
|
|
+install -p -m644 -D %{SOURCE13} %{buildroot}%{_prefix}/lib/tmpfiles.d/dirmngr.conf
|
|
|
|
+
|
|
|
|
+
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
## unpackaged files
|
|
## unpackaged files
|
|
@@ -90,7 +97,7 @@ make check
|
|
|
|
|
|
%postun
|
|
%postun
|
|
if [ $1 -eq 0 ]; then
|
|
if [ $1 -eq 0 ]; then
|
|
- /sbin/install-info --delete %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||:
|
|
+ /sbin/install-info --delete %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
@@ -112,6 +119,7 @@ rm -rf %{buildroot}
|
|
%dir %{_sysconfdir}/dirmngr
|
|
%dir %{_sysconfdir}/dirmngr
|
|
%config(noreplace) %{_sysconfdir}/dirmngr/*.conf
|
|
%config(noreplace) %{_sysconfdir}/dirmngr/*.conf
|
|
%config %{_sysconfdir}/logrotate.d/*
|
|
%config %{_sysconfdir}/logrotate.d/*
|
|
|
|
+%{_prefix}/lib/tmpfiles.d/*.conf
|
|
%{_var}/cache/dirmngr/
|
|
%{_var}/cache/dirmngr/
|
|
%{_var}/lib/dirmngr/
|
|
%{_var}/lib/dirmngr/
|
|
%{_var}/log/dirmngr/
|
|
%{_var}/log/dirmngr/
|
|
@@ -119,6 +127,15 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Jan 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1.1-1
|
|
|
|
+- updated to 1.1.1
|
|
|
|
+- added Patch0 and Patch1 from Fedora
|
|
|
|
+ * Mon Dec 15 2014 Tomáš Mráz <tmraz@redhat.com> - 1.1.1-6
|
|
|
|
+ - fix missing pth initialization with libgcrypt-1.6.x (#1172997)
|
|
|
|
+ * Wed Dec 1 2010 Tomas Mraz <tmraz@redhat.com> - 1.1.0-4
|
|
|
|
+ - fix crash on some OCSP responses (patch by Tomas Trnka) (#658230)
|
|
|
|
+- built with libgrypt 1.6.0
|
|
|
|
+
|
|
* Sun Jun 24 2012 Yoji TOYODA <bsymaato@sea.plala.or.jp> - 1.1.0-1
|
|
* Sun Jun 24 2012 Yoji TOYODA <bsymaato@sea.plala.or.jp> - 1.1.0-1
|
|
- update to 1.1.0
|
|
- update to 1.1.0
|
|
- remove Patch100
|
|
- remove Patch100
|