Accepting request 336967 from home:Simmphonie:yubico

OBS-URL: https://build.opensuse.org/request/show/336967
OBS-URL: https://build.opensuse.org/package/show/security/pam_u2f?expand=0&rev=2
This commit is contained in:
Torsten Gruner 2015-10-07 11:13:59 +00:00 committed by Git OBS Bridge
parent 40f002c0f6
commit b51c498871
6 changed files with 26 additions and 16 deletions

2
baselib.conf Normal file
View File

@ -0,0 +1,2 @@
pam_yubico
supplements "packageand(pam_yubico:pam-<targettype>)"

View File

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

3
pam_u2f-1.0.2.tar.gz Normal file
View File

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

BIN
pam_u2f-1.0.2.tar.gz.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Oct 6 14:11:20 UTC 2015 - t.gruner@katodev.de
- Version 1.0.2 (released 2015-10-06)
- Changes to automake flags.
- Improve build on OS X.
- Cleanup .spec file
- Add baselib.conf
-------------------------------------------------------------------
Wed Jul 8 21:23:52 UTC 2015 - t.gruner@katodev.de

View File

@ -1,5 +1,5 @@
#
# spec file for package
# spec file for package pam_u2f
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
@ -15,21 +15,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pam_u2f
Version: 1.0.1
Version: 1.0.2
Release: 0
Summary: Allows you to use U2F to authenticate against PAM
Group: Productivity/Networking/Security
License: BSD-2-Clause
URL: https://developers.yubico.com
Group: Productivity/Networking/Security
Url: https://developers.yubico.com
Source0: https://developers.yubico.com/pam-u2f/Releases/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
Source1: https://developers.yubico.com/pam-u2f/Releases/%{name}-%{version}.tar.gz.sig
Source2: baselib.conf
BuildRequires: pam-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(u2f-host)
BuildRequires: pkgconfig(u2f-server)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The PAM U2F module provides an easy way to integrate the Yubikey
@ -38,16 +39,14 @@ authentication infrastructure. PAM is used by GNU/Linux, Solaris
and Mac OS X for user authentication.
%prep
%setup -q
%setup -q
%build
%configure --enable-static=no --with-pic --with-pam-dir=/%{_lib}/security --bindir=%{_bindir}
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}
%configure --bindir=%{_bindir} --with-pam-dir=/%{_lib}/security --disable-static --disable-silent-rules
make %{?_smp_mflags}
%install
%makeinstall
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%files