1
0
Dominique Leuenberger 2018-10-01 07:07:57 +00:00 committed by Git OBS Bridge
commit 48b24bfa0b
6 changed files with 43 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:91c3f575b59e52fa90e50342e5accbe7f71e9196cbe2ad6b9f5fef1e0a6baf83
size 582734

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea61bcd5c75471ed21903967d0121fb090aa4d325ec279a24633e3235fdf231b
size 584063

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Sep 28 09:10:38 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Rename %soname to %sover to better reflect its use.
- Fix RPM groups.
-------------------------------------------------------------------
Thu Sep 27 11:58:29 UTC 2018 - Karol Babioch <kbabioch@suse.com>
- Version 1.6.2 (released 2018-09-14)
- Compare reader names case insensitive
- Fix certificate and certificate request signatures with OpenSSL 1.1
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 28 09:37:34 UTC 2018 - kbabioch@suse.com Tue Aug 28 09:37:34 UTC 2018 - kbabioch@suse.com

View File

@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define soname 1 %define sover 1
Name: yubico-piv-tool Name: yubico-piv-tool
Version: 1.6.1 Version: 1.6.2
Release: 0 Release: 0
Summary: Yubico YubiKey NEO CCID Manager Summary: Yubico YubiKey NEO CCID Manager
License: BSD-2-Clause License: BSD-2-Clause
@ -32,43 +32,43 @@ BuildRequires: pcsc-lite-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: valgrind BuildRequires: valgrind
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
Requires: libykcs11-%{soname} = %{version} Requires: libykcs11-%{sover} = %{version}
Requires: libykpiv%{soname} = %{version} Requires: libykpiv%{sover} = %{version}
%description %description
This is a command line tool to interact with the PIV applet on a YubiKey NEO. This is a command line tool to interact with the PIV applet on a YubiKey NEO.
Among other functions it supports, generating keys on device, importing keys Among other functions it supports, generating keys on device, importing keys
and certificates and creating certificate requests. and certificates and creating certificate requests.
%package -n libykpiv%{soname} %package -n libykpiv%{sover}
Summary: Yubikey NEO PIV applet library Summary: Yubikey NEO PIV applet library
Group: Productivity/Networking/Security Group: System/Libraries
Requires: pcsc-ccid Requires: pcsc-ccid
%description -n libykpiv%{soname} %description -n libykpiv%{sover}
This is a low-level library to interact the PIV applet on a YubiKey NEO This is a low-level library to interact the PIV applet on a YubiKey NEO
%package -n libykcs11-%{soname} %package -n libykcs11-%{sover}
Summary: Yubikey NEO PKCS#11 applet library Summary: Yubikey NEO PKCS#11 applet library
Group: Productivity/Networking/Security Group: System/Libraries
Requires: pcsc-ccid Requires: pcsc-ccid
%description -n libykcs11-%{soname} %description -n libykcs11-%{sover}
This is a PKCS#11 module that allows to communicate with the PIV application running on a YubiKey This is a PKCS#11 module that allows to communicate with the PIV application running on a YubiKey
%package -n libykpiv-devel %package -n libykpiv-devel
Summary: Development files for Yubikey NEO PIV applet library Summary: Development files for the Yubikey NEO PIV applet library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libykpiv%{soname} = %{version} Requires: libykpiv%{sover} = %{version}
%description -n libykpiv-devel %description -n libykpiv-devel
This package contains the header file needed to develop applications that use This package contains the header file needed to develop applications that use
Yubikey NEO PIV applet library. Yubikey NEO PIV applet library.
%package -n libykcs11-devel %package -n libykcs11-devel
Summary: Development files for Yubikey NEO PKCS#11 applet library Summary: Development files for the Yubikey NEO PKCS#11 applet library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libykcs11-%{soname} = %{version} Requires: libykcs11-%{sover} = %{version}
%description -n libykcs11-devel %description -n libykcs11-devel
This package contains the header file needed to develop applications that use This package contains the header file needed to develop applications that use
@ -78,17 +78,17 @@ Yubikey NEO PKCS#11 applet library.
%setup -q %setup -q
%build %build
%configure --enable-static=no --with-backend=pcsc %configure --disable-static --with-backend=pcsc
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} INSTALL="install -p" %make_install INSTALL="install -p"
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%post -n libykpiv%{soname} -p /sbin/ldconfig %post -n libykpiv%{sover} -p /sbin/ldconfig
%postun -n libykpiv%{soname} -p /sbin/ldconfig %postun -n libykpiv%{sover} -p /sbin/ldconfig
%post -n libykcs11-%{soname} -p /sbin/ldconfig %post -n libykcs11-%{sover} -p /sbin/ldconfig
%postun -n libykcs11-%{soname} -p /sbin/ldconfig %postun -n libykcs11-%{sover} -p /sbin/ldconfig
%files %files
%license COPYING %license COPYING
@ -96,13 +96,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man1/* %{_mandir}/man1/*
%files -n libykpiv%{soname} %files -n libykpiv%{sover}
%{_libdir}/libykpiv.so.%{soname} %{_libdir}/libykpiv.so.%{sover}
%{_libdir}/libykpiv.so.%{soname}.4.3 %{_libdir}/libykpiv.so.%{sover}.4.4
%files -n libykcs11-%{soname} %files -n libykcs11-%{sover}
%{_libdir}/libykcs11.so.%{soname} %{_libdir}/libykcs11.so.%{sover}
%{_libdir}/libykcs11.so.%{soname}.4.3 %{_libdir}/libykcs11.so.%{sover}.4.4
%files -n libykpiv-devel %files -n libykpiv-devel
%dir %{_includedir}/ykpiv/ %dir %{_includedir}/ykpiv/