debian/0000755000000000000000000000000012230331072007157 5ustar debian/compat0000644000000000000000000000000212227715040010364 0ustar 9 debian/copyright0000644000000000000000000000635512227715040011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: yubico-c-client Upstream-Contact: Simon Josefsson Source: http://yubico.github.io/yubico-c-client/ Files: * Copyright: Copyright (c) 2006-2013 Yubico AB License: BSD-2-clause Quoting ykclient.c: . * Written by Simon Josefsson . * Copyright (c) 2006-2013 Yubico AB * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . Some files were generated by autoconf, automake, libtool, texinfo etc. Files: hmac.c sha.h sha1.c sha224-256.c sha-private.h sha384-512.c usha.c Copyright: Copyright (C) The Internet Society (2006). License: BSD-3-clause Quoting rfc4634.txt: . Permission is granted for all uses, commercial and non-commercial, of the sample code found in Section 8. Royalty free license to use, copy, modify and distribute the software found in Section 8 is granted, provided that this document is identified in all material mentioning or referencing this software, and provided that redistributed derivative works do not contain misleading author or version information. . The authors make no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. . See also http://trustee.ietf.org/licenses.html Files: cdecode.h cdecode.c cencode.h cencode.c Copyright: placed in the public domain License: public-domain Quoting cencode.h: . This is part of the libb64 project, and has been placed in the public domain. For details, see http://sourceforge.net/projects/libb64 Files: debian/* Copyright: 2009-2013 Tollef Fog Heen , Simon Josefsson License: permissive Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/rules0000755000000000000000000000060612227715040010250 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ --parallel --with autoreconf --builddirectory=build override_dh_install: chrpath -d $(CURDIR)/debian/tmp/usr/bin/ykclient find debian/tmp -name \*.la -delete dh_install --fail-missing override_dh_auto_test: dh_auto_test -- CPPFLAGS="-DTEST_WITHOUT_INTERNET" override_dh_auto_configure: dh_auto_configure -- --disable-silent-rules debian/libykclient3.symbols0000644000000000000000000000207712230330713013174 0ustar libykclient.so.3 libykclient3 #MINVER# Base@Base 2.12 YKCLIENT_2.12@YKCLIENT_2.12 2.12 ykclient_done@Base 2.9 ykclient_get_last_url@Base 2.9 ykclient_init@Base 2.9 ykclient_request@Base 2.9 ykclient_server_response_free@Base 2.9 ykclient_server_response_get@Base 2.9 ykclient_server_response_init@Base 2.9 ykclient_server_response_parse@Base 2.9 ykclient_server_response_verify_signature@Base 2.9 ykclient_set_ca_info@YKCLIENT_2.12 2.12 ykclient_set_ca_path@Base 2.9 ykclient_set_client@Base 2.9 ykclient_set_client_b64@Base 2.9 ykclient_set_client_hex@Base 2.9 ykclient_set_nonce@Base 2.9 ykclient_set_url_bases@YKCLIENT_2.12 2.12 ykclient_set_url_template@Base 2.9 ykclient_set_url_templates@Base 2.9 ykclient_set_verify_signature@Base 2.9 ykclient_strerror@Base 2.9 ykclient_verify_otp@Base 2.9 ykclient_verify_otp_v2@Base 2.9 ykclient_check_version@Base 2.11 ykclient_global_done@Base 2.11 ykclient_global_init@Base 2.11 ykclient_handle_cleanup@Base 2.11 ykclient_handle_done@Base 2.11 ykclient_handle_init@Base 2.11 ykclient_request_process@Base 2.11 debian/libykclient3.dirs0000644000000000000000000000001012227715040012434 0ustar usr/lib debian/watch0000644000000000000000000000014012227715040010212 0ustar version=3 http://yubico.github.io/yubico-c-client/releases.html .*/ykclient-(\d[\d.]*)\.tar\.gz debian/libykclient-dev.dirs0000644000000000000000000000002412227715040013132 0ustar usr/lib usr/include debian/README.source0000644000000000000000000000157412227715040011354 0ustar We describe here one way to work with the package sources. Initialize cowbuilder: sudo cowbuilder --create --distribution sid --mirror http://http.debian.net/debian --debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg" --basepath /var/cache/pbuilder/base-debian-sid.cow Optionally update cowbuilder: sudo cowbuilder --update --basepath /var/cache/pbuilder/base-debian-sid.cow Clone the repository: git clone git@github.com:Yubico/yubico-c-client-dpkg.git Build the package: git-buildpackage --git-pristine-tar --git-builder="pdebuild --auto-debsign --pbuilder cowbuilder -- --twice --basepath /var/cache/pbuilder/base-debian-sid.cow" If all goes well, you should have newly built packages in /var/cache/pbuilder/result/. Update the package to a new upstream release (don't forget debian/changelog): git-import-orig --pristine-tar /path/to/new-release.tar.gz debian/control0000644000000000000000000000313312227715040010571 0ustar Source: ykclient Priority: optional Maintainer: Tollef Fog Heen Uploaders: Simon Josefsson , Klas Lindfors , Dain Nilsson Build-Depends: debhelper (>= 9), autotools-dev, libcurl4-gnutls-dev | libcurl4-openssl-dev, chrpath, help2man, dh-autoreconf Standards-Version: 3.9.4 Section: libs Homepage: http://yubico.github.io/yubico-c-client/ Vcs-Browser: https://github.com/Yubico/yubico-c-client-dpkg Vcs-Git: git://github.com/Yubico/yubico-c-client-dpkg.git Package: libykclient3 Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Yubikey client library runtime Yubikeys are USB tokens that act like keyboards and generate one-time passwords (OTPs). The tokens are produced and sold by Yubico. . This library is used for talking to an online validation server such as yubikey-server-c, yubikey-server-php or yubikey-server-j. . This package contains the runtime library. Package: libykclient-dev Section: libdevel Architecture: any Depends: libykclient3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Yubikey client library development files YubiKeys are USB tokens that act like keyboards and generate one-time passwords (OTPs). The tokens are produced and sold by Yubico. . This library is used for talking to an online validation server such as yubikey-server-c, yubikey-server-php or yubikey-server-j. . This package contains the necessary files for developers, and a command line tool "ykclient" to perform OTP queries from the shell. debian/docs0000644000000000000000000000001412227715040010034 0ustar NEWS README debian/libykclient3.install0000644000000000000000000000003312227715040013146 0ustar usr/lib/*/libykclient.so.* debian/changelog0000644000000000000000000000552612230330753011046 0ustar ykclient (2.12-1) unstable; urgency=low * New upstream version. * Updated libykclient3.symbols with new symbols. -- Simon Josefsson Fri, 18 Oct 2013 23:37:14 +0200 ykclient (2.11-1) unstable; urgency=low * New upstream version. - Fixes automake issue. Closes: #713334. - Updated symbols file. * Fix Homepage URL. * Update watch file. * Add Vcs-* headers. * Add README.source. * Build-depend on help2man to re-generate man page. * Install man page for ykclient. * Improve package descriptions somewhat. * Add test options to CPPFLAGS to avoid build log warning. * Use machine-readable copyright file. -- Simon Josefsson Wed, 24 Jul 2013 01:46:22 +0200 ykclient (2.9-1) unstable; urgency=low * New upstream release. * Use 3.0 quilt source format. * Update standards version to 3.9.4. * Remove obsolete 'DM-Upload-Allowed'. * Drop Fredrik as uploader, add Klas and Dain. * Use compat level 9. * Add symbols file. * Add watch file. * Run autoreconf. Closes: #558643. * Fix lintian warnings: binary-control-field-duplicates-source, ancient-standards-version, debian-watch-file-is-missing, no-symbols-control-file -- Simon Josefsson Thu, 04 Apr 2013 22:38:57 +0200 ykclient (2.8-2) unstable; urgency=low * Fix FTBFS on signed-char architectures. Thanks to Jakub Wilk for the patch. Closes: #694804. * Apply patch from Ubuntu to disable network for tests. Thanks to Michael Terry for the patch. Closes: #682873 -- Tollef Fog Heen Fri, 21 Dec 2012 19:48:28 +0100 ykclient (2.8-1) unstable; urgency=low * New upstream release * Enable tests again * Add Fredrik and Simon to uploaders as well as DM-Upload-Allowed: yes -- Tollef Fog Heen Fri, 29 Jun 2012 07:56:18 +0200 ykclient (2.6-1) unstable; urgency=low * New upstream release -- Tollef Fog Heen Thu, 23 Jun 2011 22:40:08 +0200 ykclient (2.4-1) unstable; urgency=low * New upstream release -- Tollef Fog Heen Fri, 11 Mar 2011 13:54:07 +0100 ykclient (2.3-3) unstable; urgency=high * Remove debugging code that syslogged the OTP. High urgency since people might consider them sensitive. * Add chrpath to build-depends and make sure to strip the rpath from the command line client. -- Tollef Fog Heen Tue, 19 Jan 2010 10:24:06 +0100 ykclient (2.3-2) unstable; urgency=low * Add misc:Depends and shlib:Depends to libyubikey-dev's dependencies, as it ships the /usr/bin/ykclient tool. * Disable all tests that uses the network. Closes: #551240 -- Tollef Fog Heen Thu, 29 Oct 2009 08:23:49 +0100 ykclient (2.3-1) unstable; urgency=low * Initial release -- Tollef Fog Heen Mon, 12 Oct 2009 13:56:35 +0200 debian/source/0000755000000000000000000000000012227715040010466 5ustar debian/source/format0000644000000000000000000000001412227715040011674 0ustar 3.0 (quilt) debian/libykclient-dev.install0000644000000000000000000000015612227715040013645 0ustar usr/include/* usr/lib/*/libykclient.so usr/lib/*/libykclient.a usr/bin/ykclient usr/share/man/man1/ykclient.1