[ykpers/f18] Update to 1.8.0
Maxim Burgerhout
wzzrd at fedoraproject.org
Mon Oct 1 13:43:32 UTC 2012
commit a4149af1bec19c690e243de052c10fd939207525
Author: Maxim Burgerhout <maxim at wzzrd.com>
Date: Mon Oct 1 14:00:47 2012 +0200
Update to 1.8.0
Support for yk_challenge_response, Yubikey 2.3, bugfixes and more
Drop bigendian patch, is now in upstream source
.gitignore | 1 +
69-yubikey.rules | 11 +++++++++++
sources | 2 +-
ykpers-1.6.0-bigendian.patch | 11 -----------
ykpers.spec | 23 ++++++++++++++---------
5 files changed, 27 insertions(+), 21 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 300b58b..4e3d9a9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ ykpers-1.3.3.tar.gz
/ykpers-1.6.0.tar.gz
/ykpers-1.6.2.tar.gz
/ykpers-1.6.3.tar.gz
+/ykpers-1.8.0.tar.gz
diff --git a/69-yubikey.rules b/69-yubikey.rules
new file mode 100644
index 0000000..a39ecca
--- /dev/null
+++ b/69-yubikey.rules
@@ -0,0 +1,11 @@
+ACTION!="add|change", GOTO="yubico_end"
+
+# Udev rules for letting the console user access the Yubikey USB
+# device node, needed for challenge/response to work correctly.
+
+# Yubico Yubikey II
+ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0010", \
+ ENV{ID_SECURITY_TOKEN}="1"
+
+LABEL="yubico_end"
+
diff --git a/sources b/sources
index 156c7ec..3cc8e5b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-585b73f18a74d85a920065abcc1d82f7 ykpers-1.6.3.tar.gz
+b283a56cd50876cfcec274f1dffa67dc ykpers-1.8.0.tar.gz
diff --git a/ykpers.spec b/ykpers.spec
index 3cc54b7..991f052 100644
--- a/ykpers.spec
+++ b/ykpers.spec
@@ -1,13 +1,13 @@
Name: ykpers
-Version: 1.6.3
-Release: 2%{?dist}
+Version: 1.8.0
+Release: 1%{?dist}
Summary: Yubikey personalization program
Group: Applications/System
License: BSD
URL: http://code.google.com/p/yubikey-personalization/
Source0: http://yubikey-personalization.googlecode.com/files/%{name}-%{version}.tar.gz
-#Patch0: %{name}-1.6.0-bigendian.patch
+Source1: 69-yubikey.rules
%ifnarch s390 s390x
BuildRequires: libusb1-devel
@@ -31,11 +31,9 @@ use ykpers.
%prep
%setup -q
-#%patch0 -p1 -b .bigendian
%build
%configure --enable-static=no --disable-rpath \
- --with-udevrulesdir=/lib/udev/rules.d \
%ifnarch s390 s390x
--with-backend=libusb-1.0
%else
@@ -47,11 +45,13 @@ use ykpers.
%{__make} %{?_smp_mflags}
%check
-pwd
-%{__make} check LD_LIBRARY_PATH="../.libs"
+export LD_LIBRARY_PATH=$RPM_BUILD_DIR/%{name}-%{version}/.libs
+%{__make} check
%install
%{__make} install DESTDIR=${RPM_BUILD_ROOT} INSTALL="%{__install} -p"
+install -D -p -m 0755 %{SOURCE1} \
+ ${RPM_BUILD_ROOT}/usr/lib/udev/rules.d/69-yubikey.rules
%clean
%{__rm} -rf ${RPM_BUILD_ROOT}
@@ -67,10 +67,10 @@ pwd
%{_bindir}/ykpersonalize
%{_bindir}/ykchalresp
%{_libdir}/libykpers-1.so.1
-%{_libdir}/libykpers-1.so.1.6.2
+%{_libdir}/libykpers-1.so.1.8.0
%{_mandir}/man1/ykpersonalize.1.gz
%{_mandir}/man1/ykchalresp.1.gz
-/lib/udev/rules.d/70-yubikey.rules
+/usr/lib/udev/rules.d/69-yubikey.rules
%files devel
%defattr(-,root,root,-)
@@ -81,6 +81,11 @@ pwd
%exclude %{_libdir}/libykpers-1.la
%changelog
+* Mon Oct 1 2012 - Maxim Burgerhout <wzzrd at fedoraproject.org> - 1.8.0-1
+- Update to 1.8.0:
+- Support for yk_challenge_response, Yubikey 2.3, bugfixes and more
+- Drop bigendian patch, is now in upstream source
+
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list