From 3b41472d1b885f1a48512466b87bdaba5880958d8aea5a311eb0303ff59e654c Mon Sep 17 00:00:00 2001 From: Torsten Gruner Date: Tue, 10 Nov 2015 11:54:48 +0000 Subject: [PATCH] Accepting request 343393 from home:Simmphonie:yubico OBS-URL: https://build.opensuse.org/request/show/343393 OBS-URL: https://build.opensuse.org/package/show/security/yubico-piv-tool?expand=0&rev=8 --- yubico-piv-tool-1.0.3.tar.gz | 3 -- yubico-piv-tool-1.0.3.tar.gz.sig | Bin 287 -> 0 bytes yubico-piv-tool-1.1.0.tar.gz | 3 ++ yubico-piv-tool-1.1.0.tar.gz.sig | Bin 0 -> 287 bytes yubico-piv-tool.changes | 12 +++++++ yubico-piv-tool.spec | 60 +++++++++++++++++++++++-------- 6 files changed, 61 insertions(+), 17 deletions(-) delete mode 100644 yubico-piv-tool-1.0.3.tar.gz delete mode 100644 yubico-piv-tool-1.0.3.tar.gz.sig create mode 100644 yubico-piv-tool-1.1.0.tar.gz create mode 100644 yubico-piv-tool-1.1.0.tar.gz.sig diff --git a/yubico-piv-tool-1.0.3.tar.gz b/yubico-piv-tool-1.0.3.tar.gz deleted file mode 100644 index ac2a596..0000000 --- a/yubico-piv-tool-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4cec162dda45851741a3b58c492797cc051ef59192ca35a3bdd125fc2ebd6210 -size 410065 diff --git a/yubico-piv-tool-1.0.3.tar.gz.sig b/yubico-piv-tool-1.0.3.tar.gz.sig deleted file mode 100644 index 68e60de48bad6166b12f3b1a39cebc1514856a1d7a278d5235fa39d6701655d8..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|L0UQJX0SEvF1p-zLED8V$2@t%X57e?2j0!Gv2mB6LNnqgKjd`55n$<%+ z+)x@TAmF`NzIDA>*UL9R-Z}H`0eSO8Ex5TCZHy;Kiwx7p&2CZLxG{3gO;^M~f#1~* zV6tL!SJn@^B4RSHz@}d`klMZ6)tQ0CKf0(0iZ`gk^+p*JUd8B*F#YrPg)G@T7^rOx z`{`HhvM{Wb=#W$TNdy2BUky{2xI>%{HP<8K(zL5SsxTF`)j@U3BE2wW7+*usQjOVR zKw(|On*Zj%Z|3v^>QV=T|6&_i=c5*NRVOs$ERWRcjI2lroI$8_xwf4^Z6ToscpsqW lg22y$15|uk$%(nD%h0{``DH&U3^dTqR)McB>Oh)NwdN;)i1`2j diff --git a/yubico-piv-tool-1.1.0.tar.gz b/yubico-piv-tool-1.1.0.tar.gz new file mode 100644 index 0000000..42b8fdf --- /dev/null +++ b/yubico-piv-tool-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:457407e462d8d11c80788641516d65b92cc327b120b4e5bbf43f0d0679db1c39 +size 488212 diff --git a/yubico-piv-tool-1.1.0.tar.gz.sig b/yubico-piv-tool-1.1.0.tar.gz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..8a929fce30fd5d8e000d66df71bf3820c474bb8a2a58de4335144b643ea5b730 GIT binary patch literal 287 zcmV+)0pR|L0UQJX0SEvF1p-z)%Vz)z2@sIW1Y6UYM*(=Q2mfO+1bhNV?|WldTSW2&AL>kw@8z=E5d@YmGc`@<&whtPhIPfkH$whNUL0M(5K;3#g4`0^VwsLeETr0=g!H2tcAwH la${5dw~lFCo0vf(4GYV!N-ZDnKq`h%n{z2|YqoTS>8je{h{pf` literal 0 HcmV?d00001 diff --git a/yubico-piv-tool.changes b/yubico-piv-tool.changes index 124eb84..62e2628 100644 --- a/yubico-piv-tool.changes +++ b/yubico-piv-tool.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Nov 6 21:05:07 UTC 2015 - t.gruner@katodev.de + +- Version 1.1.0 (released 2015-11-06) + - Add support for new YubiKey 4. + - Add ykcs11. + +------------------------------------------------------------------- +Tue Oct 13 07:47:50 UTC 2015 - t.gruner@katodev.de + +- Add dependencive in .spec file + ------------------------------------------------------------------- Thu Oct 1 21:18:34 UTC 2015 - t.gruner@katodev.de diff --git a/yubico-piv-tool.spec b/yubico-piv-tool.spec index efa3be5..41a46cb 100644 --- a/yubico-piv-tool.spec +++ b/yubico-piv-tool.spec @@ -17,9 +17,8 @@ %define soname 1 - Name: yubico-piv-tool -Version: 1.0.3 +Version: 1.1.0 Release: 0 Summary: Yubico YubiKey NEO CCID Manager License: BSD-2-Clause @@ -27,24 +26,34 @@ Group: Productivity/Networking/Security Url: https://developers.yubico.com/ Source0: https://developers.yubico.com/yubico-piv-tool/Releases/%{name}-%{version}.tar.gz Source1: https://developers.yubico.com/yubico-piv-tool/Releases/%{name}-%{version}.tar.gz.sig -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool BuildRequires: pcsc-lite-devel BuildRequires: pkg-config BuildRequires: pkgconfig(openssl) +Requires: libykcs11-%{soname} = %{version} Requires: libykpiv%{soname} = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -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 +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 and certificates and creating certificate requests. %package -n libykpiv%{soname} Summary: Yubikey NEO PIV applet library Group: Productivity/Networking/Security +Requires: pcsc-ccid %description -n libykpiv%{soname} -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} +Summary: Yubikey NEO PKCS#11 applet library +Group: Productivity/Networking/Security +Requires: pcsc-ccid + +%description -n libykcs11-%{soname} +This is a PKCS#11 module that allows to communicate with the PIV application running on a YubiKey %package -n libykpiv-devel Summary: Development files for Yubikey NEO PIV applet library @@ -55,24 +64,35 @@ Requires: libykpiv%{soname} = %{version} This package contains the header file needed to develop applications that use Yubikey NEO PIV applet library. +%package -n libykcs11-devel +Summary: Development files for Yubikey NEO PKCS#11 applet library +Group: Development/Libraries/C and C++ +Requires: libykcs11-%{soname} = %{version} + +%description -n libykcs11-devel +This package contains the header file needed to develop applications that use +Yubikey NEO PKCS#11 applet library. + %prep -%setup -q +%setup -q %build %configure --enable-static=no --with-backend=pcsc -sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool -sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" -%{__rm} -rf %{buildroot}/%{_libdir}/*.la +make install DESTDIR=%{buildroot} INSTALL="install -p" +find %{buildroot} -type f -name "*.la" -delete -print %post -n libykpiv%{soname} -p /sbin/ldconfig %postun -n libykpiv%{soname} -p /sbin/ldconfig -%files +%post -n libykcs11-%{soname} -p /sbin/ldconfig + +%postun -n libykcs11-%{soname} -p /sbin/ldconfig + +%files %defattr(-,root,root) %doc COPYING NEWS ChangeLog README %{_bindir}/%{name} @@ -81,7 +101,12 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %files -n libykpiv%{soname} %defattr(-,root,root) %{_libdir}/libykpiv.so.%{soname} -%{_libdir}/libykpiv.so.%{soname}.0.8 +%{_libdir}/libykpiv.so.%{soname}.1.0 + +%files -n libykcs11-%{soname} +%defattr(-,root,root) +%{_libdir}/libykcs11.so.%{soname} +%{_libdir}/libykcs11.so.%{soname}.1.0 %files -n libykpiv-devel %defattr(-,root,root) @@ -90,4 +115,11 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %{_libdir}/libykpiv.so %{_libdir}/pkgconfig/ykpiv.pc +%files -n libykcs11-devel +%defattr(-,root,root) +%dir %{_includedir}/ykcs11/ +%{_includedir}/ykcs11/* +%{_libdir}/libykcs11.so +%{_libdir}/pkgconfig/ykcs11.pc + %changelog