commit 40f002c0f6f45932235bbe6394bd894ed80743e91d1023b3b53a3f9478d0472f Author: Marcus Meissner Date: Mon Jul 20 08:48:40 2015 +0000 Accepting request 317249 from home:Simmphonie:yubico OBS-URL: https://build.opensuse.org/request/show/317249 OBS-URL: https://build.opensuse.org/package/show/security/pam_u2f?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pam_u2f-1.0.1.tar.gz b/pam_u2f-1.0.1.tar.gz new file mode 100644 index 0000000..4d42b5f --- /dev/null +++ b/pam_u2f-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d77dd150d65836c7b9a12d75d22159484663c11cea5739653bf31c44a3609522 +size 347979 diff --git a/pam_u2f.changes b/pam_u2f.changes new file mode 100644 index 0000000..c8fdaa9 --- /dev/null +++ b/pam_u2f.changes @@ -0,0 +1,132 @@ +------------------------------------------------------------------- +Wed Jul 8 21:23:52 UTC 2015 - t.gruner@katodev.de + +- Version 1.0.1 (released 2015-06-18) + - Minor changes to man pages and install hooks. +- Version 1.0.0 (released 2015-06-17) + - Use XDG_CONFIG_HOME as default for config files. + - Added manual and interactive mode. + - Added verbose mode. + +------------------------------------------------------------------- +Wed Jan 21 15:05:38 UTC 2015 - t.gruner@katodev.de + +- Version 0.0.1 (released 2015-01-16) + - Changed failure mode after authentication error. + - Added call to setcred. + +------------------------------------------------------------------- +Tue Jan 13 07:45:00 UTC 2015 - t.gruner@katodev.de + +- Version 0.0.0 + +2014-12-16 Alessio Di Mauro + + * Makefile.am: More fix to Makefile.am. + +2014-12-16 Alessio Di Mauro + + * NEWS: Updated NEWS. + +2014-12-16 Alessio Di Mauro + + * Makefile.am, pamu2fcfg/Makefile.am: Cleaned release target. + +2014-12-16 Alessio Di Mauro + + * Makefile.am: Changed repo variable name. + +2014-12-16 Alessio Di Mauro + + * pam-u2f.c, util.c: Indent. + +2014-12-16 Alessio Di Mauro + + * README: Fixed link in AsciiDoc. + +2014-12-15 Alessio Di Mauro + + * .travis.yml: Added more asciidoc related packets to Travis build. + +2014-12-15 Alessio Di Mauro + + * build-aux/travis: Added more ldconfig. + +2014-12-15 Alessio Di Mauro + + * .travis.yml: Added check to Travis build. + +2014-12-15 Alessio Di Mauro + + * build-aux/travis: Permissions. + +2014-12-15 Alessio Di Mauro + + * .travis.yml: Removed libhidapi from Travis build. + +2014-12-15 Alessio Di Mauro + + * .travis.yml, build-aux/travis: Added travis build. + +2014-12-15 Alessio Di Mauro + + * Makefile.am, pamu2fcfg/Makefile.am: Fixed Makefile. + +2014-12-12 Alessio Di Mauro + + * configure.ac: Fixed typo in configure.ac. + +2014-12-12 Alessio Di Mauro + + * README: Updated README. + +2014-12-12 Alessio Di Mauro + + * pamu2fcfg/pamu2fcfg.c: Removed linebreak at the end of the final + printout. + +2014-12-12 Alessio Di Mauro + + * .gitignore, pamu2fcfg/cmdline.c, pamu2fcfg/cmdline.ggo, + pamu2fcfg/cmdline.h, pamu2fcfg/pamu2fcfg.1.txt, + pamu2fcfg/pamu2fcfg.c: Added man page. + +2014-12-12 Alessio Di Mauro + + * pamu2fcfg/pamu2fcfg.c: Improved timout presentation. + +2014-12-12 Alessio Di Mauro + + * Makefile.am, pamu2fcfg/cmdline.c, pamu2fcfg/cmdline.h, + pamu2fcfg/pamu2fcfg.c: Indent. + +2014-12-12 Alessio Di Mauro + + * .gitignore, Makefile.am, configure.ac, pamu2fcfg/Makefile.am, + pamu2fcfg/cmdline.c, pamu2fcfg/cmdline.ggo, pamu2fcfg/cmdline.h, + pamu2fcfg/pamu2fcfg.c: Added first version of the registration tool. + +2014-12-12 Alessio Di Mauro + + * pam-u2f.c, util.c: Fixed some warnings. + +2014-12-12 Alessio Di Mauro + + * README, pam-u2f.c, pam_u2f.8.txt, util.h: Changed default origin + and appid to pam://$HOSTNAME. + +2014-12-10 Alessio Di Mauro + + * README: Typo in README. + +2014-12-10 Alessio Di Mauro + + * .gitignore, AUTHORS, BLURB, COPYING, Makefile.am, NEWS, README, + README.adoc, README.md, configure.ac, m4/lib-ld.m4, m4/lib-link.m4, + m4/lib-prefix.m4, m4/manywarnings.m4, m4/warnings.m4, pam-u2f.c, + pam_u2f.8.txt, tests/Makefile.am, tests/basic.c, util.c, util.h: + Added initial content. + +2014-12-10 Alessio Di Mauro + + * Initial commit diff --git a/pam_u2f.spec b/pam_u2f.spec new file mode 100644 index 0000000..8caebcf --- /dev/null +++ b/pam_u2f.spec @@ -0,0 +1,60 @@ +# +# spec file for package +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: pam_u2f +Version: 1.0.1 +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 +Source0: https://developers.yubico.com/pam-u2f/Releases/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkg-config +BuildRequires: pam-devel +BuildRequires: pkgconfig(u2f-host) +BuildRequires: pkgconfig(u2f-server) + +%description +The PAM U2F module provides an easy way to integrate the Yubikey +(or other U2F-compliant authenticators) into your existing user +authentication infrastructure. PAM is used by GNU/Linux, Solaris +and Mac OS X for user authentication. + +%prep +%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} + +%install +%makeinstall +find %{buildroot} -type f -name "*.la" -delete -print + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS ChangeLog README +%{_bindir}/pamu2fcfg +%{_mandir}/man?/* +/%{_lib}/security/pam_u2f.so + +%changelog