2011-10-28 18:52:17 +00:00
|
|
|
Summary: Software version of a PKCS#11 Hardware Security Module
|
|
|
|
Name: softhsm
|
2012-06-04 21:55:28 +00:00
|
|
|
Version: 1.3.3
|
2013-02-15 00:13:21 +00:00
|
|
|
Release: 3%{?dist}
|
2011-10-28 18:52:17 +00:00
|
|
|
License: BSD
|
|
|
|
Url: http://www.opendnssec.org/
|
|
|
|
Source: http://www.opendnssec.org/files/source/%{name}-%{version}.tar.gz
|
|
|
|
Group: Applications/System
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: botan-devel >= 1.8.5 sqlite-devel >= 3.4.2
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
|
|
|
%description
|
|
|
|
OpenDNSSEC is providing a software implementation of a generic
|
|
|
|
cryptographic device with a PKCS#11 interface, the SoftHSM. SoftHSM is
|
|
|
|
designed to meet the requirements of OpenDNSSEC, but can also work together
|
|
|
|
with other cryptographic products because of the PKCS#11 interface.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package of softhsm that includes the header files
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}, botan-devel, sqlite-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The devel package contains the libsofthsm include files
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2012-04-03 19:37:40 +00:00
|
|
|
%configure --libdir=%{_libdir}/
|
2011-10-28 18:52:17 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
rm %{buildroot}/etc/softhsm.conf.sample
|
2012-04-03 19:37:40 +00:00
|
|
|
rm -f %{buildroot}/%{_libdir}/softhsm/*a
|
2011-10-28 18:52:17 +00:00
|
|
|
mkdir -p %{buildroot}%{_includedir}/softhsm
|
|
|
|
cp src/lib/*.h %{buildroot}%{_includedir}/softhsm
|
|
|
|
mkdir -p %{buildroot}/var/softhsm
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/softhsm.conf
|
|
|
|
%{_bindir}/*
|
|
|
|
%dir %{_libdir}/softhsm/
|
|
|
|
%{_libdir}/softhsm/libsofthsm.so
|
2012-04-03 19:37:40 +00:00
|
|
|
%attr(0770,ods,ods) %dir /var/softhsm
|
2011-10-28 18:52:17 +00:00
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%attr(0755,root,root) %dir %{_includedir}/softhsm
|
|
|
|
%{_includedir}/softhsm/*.h
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%pre
|
2012-04-03 19:37:40 +00:00
|
|
|
getent group ods >/dev/null || groupadd -r ods
|
|
|
|
getent passwd ods >/dev/null || \
|
|
|
|
useradd -r -g ods -d /var/softhsm -s /sbin/nologin \
|
|
|
|
-c "DNSSEC private keys owner" ods
|
2011-10-28 18:52:17 +00:00
|
|
|
exit 0
|
|
|
|
|
|
|
|
%changelog
|
2013-02-15 00:13:21 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-21 20:10:22 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-04 21:55:28 +00:00
|
|
|
* Mon Jun 04 2012 Paul Wouters <pwouters@redhat.com> - 1.3.3-1
|
|
|
|
- Updated to 1.3.3
|
|
|
|
|
2012-04-03 19:37:40 +00:00
|
|
|
* Tue Apr 03 2012 Paul Wouters <pwouters@redhat.com> - 1.3.2-1
|
|
|
|
- Updated to 1.3.2.
|
|
|
|
- Changed user from opendnssec to ods, as used in the opendnssec package
|
|
|
|
|
2012-01-14 04:06:37 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-10-28 18:52:17 +00:00
|
|
|
* Thu Oct 27 2011 Paul Wouters <paul@xelerance.com> - 1.3.0-3
|
|
|
|
- Initial Fedora package
|
|
|
|
- Do not install the .a file
|
|
|
|
- Use a separate "opendnssec" user to own /var/sofhsm
|
|
|
|
|
|
|
|
* Tue Oct 25 2011 Paul Wouters <paul@xelerance.com> - 1.3.0-2
|
|
|
|
- Fix description texts w.r.t. include files
|
|
|
|
|
|
|
|
* Wed Oct 05 2011 Paul Wouters <paul@xelerance.com> - 1.3.0-1
|
|
|
|
- Upgraded to 1.3.0
|
|
|
|
|
|
|
|
* Thu Mar 3 2011 Paul Wouters <paul@xelerance.com> - 1.2.0-1
|
|
|
|
- Initial package for Fedora
|