Accepting request 253784 from home:michal-m:branches:security

OBS-URL: https://build.opensuse.org/request/show/253784
OBS-URL: https://build.opensuse.org/package/show/security/libyubikey?expand=0&rev=6
This commit is contained in:
Cristian Rodríguez
2014-10-03 19:27:15 +00:00
committed by Git OBS Bridge
parent 84e205219c
commit 79386da90c
6 changed files with 20 additions and 52 deletions

View File

@@ -1,13 +1,13 @@
<?xml version="1.0" ?>
<services>
<service name="download_url">
<param name="protocol">http</param>
<param name="host">yubico-c.googlecode.com</param>
<param name="path">/files/libyubikey-1.7.tar.gz</param>
<param name="protocol">https</param>
<param name="host">developers.yubico.com</param>
<param name="path">/yubico-c/releases/libyubikey-1.12.tar.gz</param>
</service>
<service name="verify_file">
<param name="file">_service:download_url:libyubikey-1.7.tar.gz</param>
<param name="file">_service:download_url:libyubikey-1.12.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">9e92fd8f9ce3ec3bca1cdd445dadec347a996dcb6f16ebf59ae356b3e78b4ad6</param>
<param name="checksum">b95387f791dad4d2544282299800f016736c363838e1e732f199bf90eba717b8</param>
</service>
</services>

View File

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

View File

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

View File

@@ -1,38 +0,0 @@
--- Makefile.am.orig
+++ Makefile.am
@@ -49,18 +49,18 @@ endif
bin_PROGRAMS = modhex ykparse ykgenerate
modhex_SOURCES = modhex.c
-modhex_LDADD = ./libyubikey.la
+modhex_LDADD = libyubikey.la
ykparse_SOURCES = ykparse.c
-ykparse_LDADD = ./libyubikey.la
+ykparse_LDADD = libyubikey.la
ykgenerate_SOURCES = ykgenerate.c
-ykgenerate_LDADD = ./libyubikey.la
+ykgenerate_LDADD = libyubikey.la
# Self tests.
AM_LDFLAGS = -no-install
-LDADD = libyubikey.la
+#LDADD = libyubikey.la
check_PROGRAMS = selftest
TESTS = $(check_PROGRAMS)
--- configure.ac.orig
+++ configure.ac
@@ -38,7 +38,9 @@ AC_SUBST(LT_REVISION, 2)
AC_SUBST(LT_AGE, 1)
AM_INIT_AUTOMAKE([-Wall -Werror])
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Oct 3 12:19:17 UTC 2014 - mmarek@suse.cz
- Updated to version 1.12
- minor bug and warning fixes, added manpages
- Dropped patch: libyubikey-1.7-rpath-and-auto.patch
- Fix package licence
-------------------------------------------------------------------
Fri Jan 28 19:12:44 UTC 2011 - cristian.rodriguez@opensuse.org

View File

@@ -3,15 +3,14 @@
#
Name: libyubikey
Version: 1.7
Version: 1.12
Release: 1
License: GPL
License: BSD-2-Clause
Summary: Yubico's USB key low-level C library
Url: http://code.google.com/p/yubico-c/
Group: Productivity/Networking/Security
Source0: http://yubico-c.googlecode.com/files/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: libyubikey-1.7-rpath-and-auto.patch
%description
@@ -28,7 +27,7 @@ Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in
%package devel
Summary: Yubico's USB key low-level C library
Group: Productivity/Networking/Security
Group: Development/Libraries/C and C++
Requires: libyubikey0 = %{version} glibc-devel
%description devel
@@ -37,10 +36,8 @@ Low-level library for decrypting and parsing Yubikey One-Time Passwords (OTP) in
%prep
%setup -q
%patch
%build
autoreconf -fiv
%configure --disable-static --with-pic
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
@@ -64,6 +61,7 @@ rm -rf %{buildroot}
%{_bindir}/modhex
%{_bindir}/ykgenerate
%{_bindir}/ykparse
%{_mandir}/man1/*
%files -n libyubikey0
%defattr(-,root,root,-)