source: projects/specs/trunk/d/dirmngr/dirmngr-vl.spec @ 9282

Revision 9282, 6.5 KB checked in by inagaki, 9 years ago (diff)

2015-01-19 Ryoichi INAGAKI <ryo1@…>

  • dirmngr: updated
  • pth: rebuilt


Line 
1Name:    dirmngr
2Summary: Client for Managing/Downloading CRLs
3Version: 1.1.1
4Release: 1%{?_dist_release}
5
6License: GPLv3+
7Group:   Applications/System
8URL:     http://www.gnupg.org/
9Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2
10Source1: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2.sig
11
12Source10: dirmngr.conf
13Source11: ldapservers.conf
14Source12: dirmngr.logrotate
15Source13: dirmngrtmp.conf
16
17Patch1:  dirmngr-1.1.0-ocsp-crash.patch
18Patch2:  dirmngr-1.1.1-pth-fix.patch
19
20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
21BuildRequires: gawk
22BuildRequires: gettext
23BuildRequires: libassuan-devel >= 2.0.0
24BuildRequires: libgcrypt-devel >= 1.2.0
25BuildRequires: libksba-devel >= 1.0.0
26BuildRequires: openldap-devel
27BuildRequires: pth-devel
28
29Requires(post): /sbin/install-info
30Requires(postun): /sbin/install-info
31Requires: logrotate
32
33%description
34Dirmngr is a server for managing and downloading certificate
35revocation lists (CRLs) for X.509 certificates and for downloading
36the certificates themselves. Dirmngr also handles OCSP requests as
37an alternative to CRLs. Dirmngr is either invoked internally by
38gpgsm (from gnupg2) or when running as a system daemon through
39the dirmngr-client tool.
40
41
42%prep
43%setup -q
44%patch1 -p1 -b .crash
45%patch2 -p0 -b .pth-fix
46
47pushd doc
48iconv -f iso-8859-1 -t utf-8 dirmngr.texi -o dirmngr.texi.NEW && mv dirmngr.texi.NEW dirmngr.texi
49iconv -f iso-8859-1 -t utf-8 dirmngr.info -o dirmngr.info.NEW && mv dirmngr.info.NEW dirmngr.info
50popd
51
52
53%build
54sed -i "s|\"-lldap\"||" configure.ac
55autoreconf -if
56%configure \
57  --disable-dependancy-tracking
58
59make %{?_smp_mflags}
60
61
62%install
63rm -rf %{buildroot}
64
65# dirs
66mkdir -p %{buildroot}%{_sysconfdir}/dirmngr/trusted-certs
67mkdir -p %{buildroot}%{_var}/cache/dirmngr/crls.d
68mkdir -p %{buildroot}%{_var}/lib/dirmngr/extra-certs
69mkdir -p %{buildroot}%{_var}/log/dirmngr
70mkdir -p %{buildroot}%{_var}/run/dirmngr
71
72make install DESTDIR=%{buildroot}
73
74# dirmngr.log, logrotate
75install -p -m644 -D %{SOURCE12} %{buildroot}%{_sysconfdir}/logrotate.d/dirmngr
76
77# conf files
78install -p -m644 %{SOURCE10} %{SOURCE11} %{buildroot}%{_sysconfdir}/dirmngr/
79
80# autocreate /var/run/dirmngr on boot
81install -p -m644 -D %{SOURCE13} %{buildroot}%{_prefix}/lib/tmpfiles.d/dirmngr.conf
82
83
84%find_lang %{name}
85
86## unpackaged files
87rm -f %{buildroot}%{_infodir}/dir
88rm -rf %{buildroot}%{_docdir}/dirmngr/examples
89
90
91%check
92make check
93
94
95%post
96/sbin/install-info %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||:
97
98%postun
99if [ $1 -eq 0 ]; then
100    /sbin/install-info --delete %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||:
101fi
102
103
104%clean
105rm -rf %{buildroot}
106
107
108%files -f %{name}.lang
109%defattr(-,root,root,-)
110%doc COPYING README ChangeLog NEWS
111%doc doc/examples
112%{_bindir}/dirmngr*
113%{_libexecdir}/dirmngr_ldap
114%{_infodir}/dirmngr.info*
115%{_mandir}/man1/*
116# TODO/FIXME
117#{_initrddir}/*
118## files/dirs for --daemon mode
119%dir %{_sysconfdir}/dirmngr
120%config(noreplace) %{_sysconfdir}/dirmngr/*.conf
121%config %{_sysconfdir}/logrotate.d/*
122%{_prefix}/lib/tmpfiles.d/*.conf
123%{_var}/cache/dirmngr/
124%{_var}/lib/dirmngr/
125%{_var}/log/dirmngr/
126%{_var}/run/dirmngr/
127
128
129%changelog
130* Mon Jan 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.1.1-1
131- updated to 1.1.1
132- added Patch0 and Patch1 from Fedora
133  * Mon Dec 15 2014 Tomáš Mráz <tmraz@redhat.com> - 1.1.1-6
134  - fix missing pth initialization with libgcrypt-1.6.x (#1172997)
135  * Wed Dec  1 2010 Tomas Mraz <tmraz@redhat.com> - 1.1.0-4
136  - fix crash on some OCSP responses (patch by Tomas Trnka) (#658230)
137- built with libgrypt 1.6.0
138     
139* Sun Jun 24 2012 Yoji TOYODA <bsymaato@sea.plala.or.jp> - 1.1.0-1
140- update to 1.1.0
141- remove Patch100
142
143* Sat Apr  4 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.2-2
144- rebuilt with openldap-2.4.11
145
146* Thu Aug 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.2-1
147- initial build for VineSeed
148
149* Fri Aug 01 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.2-1
150- dirmngr-1.0.2
151
152* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
153- respin (gcc43)
154
155* Thu Jan 03 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
156- dirmngr-1.0.1
157
158* Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-7
159- respin for openldap
160
161* Wed Oct 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-6
162- /var/log/dirmngr.log -> /var/log/dirmngr/dirmngr.log
163- remove use of %%ghost (e.g. dirmngr.log shouldn't be owned)
164- BR: gettext
165
166* Sun Aug 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-5
167- BR: gawk
168
169* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-4
170- respin (BuildID)
171
172* Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
173- License: GPLv2+
174
175* Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-2
176- dirmngr-1.0.0
177
178* Mon Nov 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.6-2
179- BR: libassuan-static
180
181* Tue Sep 05 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.6-1
182- dirmngr-0.9.6
183
184* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-5
185- fc6 respin
186
187* Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-4
188- %%config(noreplace) %%_sysconfdir/logrotate.d/dirmngr
189
190* Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-3
191- use 'iconv -f iso-8859-1 -t utf-8' to avoid dropping characters
192
193* Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-2
194- remove non-ASCII chars from dirmngr.info
195- %%config %%_sysconfdir/logrotate.d/dirmngr
196
197* Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-1
198- 0.9.4
199- %%doc COPYING
200- drop upstreamed info patch
201- use logrotate on dirmngr.log
202- add comment to (previously) empty ldapservers.conf
203
204* Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.3-1
205- 0.9.3
206
207* Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-3
208- create/own more files/dirs for --daemon mode
209- TODO: proper init script
210
211* Thu Oct 20 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-2
212- drop BR: libgpg-error-devel, texinfo
213- drop goofy conditional 'make install-strip '
214- BR: libksba-devel >= 0.9.11
215- BR: libassuan-devel >= 0.6.8
216- fix spelling error(s) in %%description
217- --disable-dependancy-tracking
218
219* Thu Oct 20 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-1
220- 0.9.2
221
222* Mon Mar 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-0.fdr.1
223- 0.9.1
224
225* Fri Jan 07 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.0-0.fdr.2
226- fix info entry (so deletion/uninstallation works)
227
228* Fri Jan 07 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.0-0.fdr.1
229- 0.9.0
230
231* Thu Dec 16 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.5-0.fdr.2
232- 64bit fix (look for openldap in %%_libdir, not just /usr/lib)
233
234* Wed Oct 20 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.5-0.fdr.1
235- first try
236
Note: See TracBrowser for help on using the repository browser.