|
|
b03724 |
Name: nss-pem
|
|
|
b03724 |
Version: 1.0.3
|
|
|
b03724 |
Release: 7%{?dist}
|
|
|
b03724 |
Summary: PEM file reader for Network Security Services (NSS)
|
|
|
b03724 |
|
|
|
b03724 |
License: MPLv1.1
|
|
|
b03724 |
URL: https://github.com/kdudka/nss-pem
|
|
|
b03724 |
Source0: https://github.com/kdudka/nss-pem/releases/download/%{name}-%{version}/%{name}-%{version}.tar.xz
|
|
|
b03724 |
|
|
|
b03724 |
# update object ID while reusing a certificate (#1610998)
|
|
|
b03724 |
Patch2: 0002-nss-pem-1.0.3-key-reload.patch
|
|
|
b03724 |
|
|
|
b03724 |
# fix performance regression in libcurl (#1659108)
|
|
|
b03724 |
Patch3: 0003-nss-pem-1.0.3-make-pem_objs-a-list-instead-of-array.patch
|
|
|
b03724 |
|
|
|
b03724 |
BuildRequires: cmake
|
|
|
b03724 |
BuildRequires: nss-pkcs11-devel
|
|
|
b03724 |
|
|
|
b03724 |
# require at least the version of nss that nss-pem was built against (#1428965)
|
|
|
b03724 |
Requires: nss%{?_isa} >= %(nss-config --version 2>/dev/null || echo 0)
|
|
|
b03724 |
|
|
|
b03724 |
# make the nss-pem pkg conflict with all nss builds with bundled nss-pem
|
|
|
b03724 |
Conflicts: nss%{?_isa} < 3.28.2-2.el7
|
|
|
b03724 |
|
|
|
b03724 |
%description
|
|
|
b03724 |
PEM file reader for Network Security Services (NSS), implemented as a PKCS#11
|
|
|
b03724 |
module.
|
|
|
b03724 |
|
|
|
b03724 |
%prep
|
|
|
b03724 |
%setup -q
|
|
|
b03724 |
%patch2 -p1
|
|
|
b03724 |
%patch3 -p1
|
|
|
b03724 |
|
|
|
b03724 |
%build
|
|
|
b03724 |
mkdir build
|
|
|
b03724 |
cd build
|
|
|
b03724 |
%cmake ../src
|
|
|
b03724 |
make %{?_smp_mflags} VERBOSE=yes
|
|
|
b03724 |
|
|
|
b03724 |
%install
|
|
|
b03724 |
cd build
|
|
|
b03724 |
make install DESTDIR=%{buildroot}
|
|
|
b03724 |
|
|
|
b03724 |
%check
|
|
|
b03724 |
cd build
|
|
|
b03724 |
ctest %{?_smp_mflags} --output-on-failure
|
|
|
b03724 |
|
|
|
b03724 |
%files
|
|
|
b03724 |
%{_libdir}/libnsspem.so
|
|
|
b03724 |
%license COPYING
|
|
|
b03724 |
|
|
|
b03724 |
%changelog
|
|
|
b03724 |
* Wed Feb 27 2019 Kamil Dudka <kdudka@redhat.com> 1.0.3-7
|
|
|
b03724 |
- reintroduce implementation of the WaitForSlotEvent callback (#1615980)
|
|
|
b03724 |
|
|
|
b03724 |
* Mon Jan 14 2019 Kamil Dudka <kdudka@redhat.com> 1.0.3-6
|
|
|
b03724 |
- fix performance regression in libcurl (#1659108)
|
|
|
b03724 |
|
|
|
b03724 |
* Wed Aug 08 2018 Kamil Dudka <kdudka@redhat.com> 1.0.3-5
|
|
|
b03724 |
- update object ID while reusing a certificate (#1610998)
|
|
|
b03724 |
|
|
|
b03724 |
* Wed Apr 26 2017 Kamil Dudka <kdudka@redhat.com> 1.0.3-4
|
|
|
b03724 |
- fix missing prototypes detected by Covscan
|
|
|
b03724 |
|
|
|
b03724 |
* Tue Apr 25 2017 Kamil Dudka <kdudka@redhat.com> 1.0.3-3
|
|
|
b03724 |
- remove implementation of the WaitForSlotEvent callback (#1445384)
|
|
|
b03724 |
|
|
|
b03724 |
* Mon Mar 06 2017 Kamil Dudka <kdudka@redhat.com> 1.0.3-2
|
|
|
b03724 |
- require at least the version of nss that nss-pem was built against (#1428965)
|
|
|
b03724 |
|
|
|
b03724 |
* Wed Mar 01 2017 Kamil Dudka <kdudka@redhat.com> 1.0.3-1
|
|
|
b03724 |
- update to latest upstream bugfix release (#1427917)
|
|
|
b03724 |
|
|
|
b03724 |
* Tue Feb 14 2017 Kamil Dudka <kdudka@redhat.com> 1.0.2-2
|
|
|
b03724 |
- explicitly conflict with all nss builds with bundled nss-pem
|
|
|
b03724 |
|
|
|
b03724 |
* Tue Jan 24 2017 Kamil Dudka <kdudka@redhat.com> 1.0.2-1
|
|
|
b03724 |
- imported into RHEL-7
|