123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219 |
- # Fedora Review: http://bugzilla.redhat.com/171289
- Name: dirmngr
- Summary: Client for Managing/Downloading CRLs
- Version: 1.1.0
- Release: 1%{?_dist_release}
- License: GPLv2+
- Group: System Environment/Libraries
- URL: http://www.gnupg.org/
- Source0: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2
- Source1: ftp://ftp.gnupg.org/gcrypt/dirmngr/dirmngr-%{version}.tar.bz2.sig
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
- Source10: dirmngr.conf
- Source11: ldapservers.conf
- Source12: dirmngr.logrotate
- BuildRequires: gawk
- BuildRequires: gettext
- BuildRequires: libassuan-devel
- BuildRequires: libgcrypt-devel >= 1.2.0
- BuildRequires: libksba-devel >= 1.0.0
- BuildRequires: openldap-devel
- BuildRequires: pth-devel
- Requires(post): /sbin/install-info
- Requires(postun): /sbin/install-info
- Requires: logrotate
- %description
- Dirmngr is a server for managing and downloading certificate
- revocation lists (CRLs) for X.509 certificates and for downloading
- the certificates themselves. Dirmngr also handles OCSP requests as
- an alternative to CRLs. Dirmngr is either invoked internally by
- gpgsm (from gnupg2) or when running as a system daemon through
- the dirmngr-client tool.
- %prep
- %setup -q
- 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.info -o dirmngr.info.NEW && mv dirmngr.info.NEW dirmngr.info
- popd
- %build
- sed -i "s|\"-lldap\"||" configure.ac
- autoreconf -if
- %configure \
- --disable-dependancy-tracking
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- # dirs
- mkdir -p %{buildroot}%{_sysconfdir}/dirmngr/trusted-certs
- mkdir -p %{buildroot}%{_var}/cache/dirmngr/crls.d
- mkdir -p %{buildroot}%{_var}/lib/dirmngr/extra-certs
- mkdir -p %{buildroot}%{_var}/log/dirmngr
- mkdir -p %{buildroot}%{_var}/run/dirmngr
- make install DESTDIR=%{buildroot}
- # dirmngr.log, logrotate
- install -p -m644 -D %{SOURCE12} %{buildroot}%{_sysconfdir}/logrotate.d/dirmngr
- # conf files
- install -p -m644 %{SOURCE10} %{SOURCE11} %{buildroot}%{_sysconfdir}/dirmngr/
- %find_lang %{name}
- ## unpackaged files
- rm -f %{buildroot}%{_infodir}/dir
- rm -rf %{buildroot}%{_docdir}/dirmngr/examples
- %check
- make check
- %post
- /sbin/install-info %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||:
- %postun
- if [ $1 -eq 0 ]; then
- /sbin/install-info --delete %{_infodir}/dirmngr.info.gz %{_infodir}/dir ||:
- fi
- %clean
- rm -rf %{buildroot}
- %files -f %{name}.lang
- %defattr(-,root,root,-)
- %doc COPYING README ChangeLog NEWS
- %doc doc/examples
- %{_bindir}/dirmngr*
- %{_libexecdir}/dirmngr_ldap
- %{_infodir}/dirmngr.info*
- %{_mandir}/man1/*
- # TODO/FIXME
- #{_initrddir}/*
- ## files/dirs for --daemon mode
- %dir %{_sysconfdir}/dirmngr
- %config(noreplace) %{_sysconfdir}/dirmngr/*.conf
- %config %{_sysconfdir}/logrotate.d/*
- %{_var}/cache/dirmngr/
- %{_var}/lib/dirmngr/
- %{_var}/log/dirmngr/
- %{_var}/run/dirmngr/
- %changelog
- * Sun Jun 24 2012 Yoji TOYODA <bsymaato@sea.plala.or.jp> - 1.1.0-1
- - update to 1.1.0
- - remove Patch100
- * Sat Apr 4 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.2-2
- - rebuilt with openldap-2.4.11
- * Thu Aug 25 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.2-1
- - initial build for VineSeed
- * Fri Aug 01 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.2-1
- - dirmngr-1.0.2
- * Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.1-2
- - respin (gcc43)
- * Thu Jan 03 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.1-1
- - dirmngr-1.0.1
- * Tue Dec 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-7
- - respin for openldap
- * Wed Oct 03 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-6
- - /var/log/dirmngr.log -> /var/log/dirmngr/dirmngr.log
- - remove use of %%ghost (e.g. dirmngr.log shouldn't be owned)
- - BR: gettext
- * Sun Aug 26 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-5
- - BR: gawk
- * Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-4
- - respin (BuildID)
- * Thu Aug 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.0-3
- - License: GPLv2+
- * Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-2
- - dirmngr-1.0.0
- * Mon Nov 13 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.6-2
- - BR: libassuan-static
- * Tue Sep 05 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.6-1
- - dirmngr-0.9.6
- * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-5
- - fc6 respin
- * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-4
- - %%config(noreplace) %%_sysconfdir/logrotate.d/dirmngr
- * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-3
- - use 'iconv -f iso-8859-1 -t utf-8' to avoid dropping characters
- * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-2
- - remove non-ASCII chars from dirmngr.info
- - %%config %%_sysconfdir/logrotate.d/dirmngr
- * Mon Jun 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.4-1
- - 0.9.4
- - %%doc COPYING
- - drop upstreamed info patch
- - use logrotate on dirmngr.log
- - add comment to (previously) empty ldapservers.conf
- * Tue May 16 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.3-1
- - 0.9.3
- * Sat Oct 22 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-3
- - create/own more files/dirs for --daemon mode
- - TODO: proper init script
- * Thu Oct 20 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-2
- - drop BR: libgpg-error-devel, texinfo
- - drop goofy conditional 'make install-strip '
- - BR: libksba-devel >= 0.9.11
- - BR: libassuan-devel >= 0.6.8
- - fix spelling error(s) in %%description
- - --disable-dependancy-tracking
- * Thu Oct 20 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.2-1
- - 0.9.2
- * Mon Mar 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.1-0.fdr.1
- - 0.9.1
- * Fri Jan 07 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.0-0.fdr.2
- - fix info entry (so deletion/uninstallation works)
- * Fri Jan 07 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.0-0.fdr.1
- - 0.9.0
- * Thu Dec 16 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.5-0.fdr.2
- - 64bit fix (look for openldap in %%_libdir, not just /usr/lib)
- * Wed Oct 20 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.5-0.fdr.1
- - first try
|