diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2019-09-17 16:17:20 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-17 16:27:15 +0200 |
| commit | 9ff87bb99614923fa3336ab4bbf22e3444709b48 (patch) | |
| tree | fa169a6cc0fdc8d92bb4c4a4f265afc2ba29a890 /gnu/packages/authentication.scm | |
| parent | ae71bef532d6b1c9d1481a3ac65827f148b1e45b (diff) | |
| parent | 9e8e252026f558933bdd9cfc26a75d13954b3e8e (diff) | |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/authentication.scm')
| -rw-r--r-- | gnu/packages/authentication.scm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm index 70f2a8c103e..d995ef7e85a 100644 --- a/gnu/packages/authentication.scm +++ b/gnu/packages/authentication.scm | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | 1 | ;;; GNU Guix --- Functional package management for GNU |
| 2 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> | 2 | ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> |
| 3 | ;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> | ||
| 3 | ;;; | 4 | ;;; |
| 4 | ;;; This file is part of GNU Guix. | 5 | ;;; This file is part of GNU Guix. |
| 5 | ;;; | 6 | ;;; |
| @@ -18,10 +19,14 @@ | |||
| 18 | 19 | ||
| 19 | (define-module (gnu packages authentication) | 20 | (define-module (gnu packages authentication) |
| 20 | #:use-module (gnu packages) | 21 | #:use-module (gnu packages) |
| 22 | #:use-module (gnu packages autotools) | ||
| 23 | #:use-module (gnu packages documentation) | ||
| 21 | #:use-module (gnu packages linux) | 24 | #:use-module (gnu packages linux) |
| 22 | #:use-module (gnu packages pkg-config) | 25 | #:use-module (gnu packages pkg-config) |
| 26 | #:use-module (gnu packages security-token) | ||
| 23 | #:use-module (guix build-system gnu) | 27 | #:use-module (guix build-system gnu) |
| 24 | #:use-module (guix download) | 28 | #:use-module (guix download) |
| 29 | #:use-module (guix git-download) | ||
| 25 | #:use-module ((guix licenses) #:prefix license:) | 30 | #:use-module ((guix licenses) #:prefix license:) |
| 26 | #:use-module (guix packages)) | 31 | #:use-module (guix packages)) |
| 27 | 32 | ||
| @@ -86,3 +91,39 @@ Supported technologies include the event-based @dfn{HOTP} algorithm (RFC4226) | |||
| 86 | and the time-based @dfn{TOTP} algorithm (RFC6238).") | 91 | and the time-based @dfn{TOTP} algorithm (RFC6238).") |
| 87 | (license (list license:lgpl2.1+ ; the libraries (liboath/ & libpskc/) | 92 | (license (list license:lgpl2.1+ ; the libraries (liboath/ & libpskc/) |
| 88 | license:gpl3+)))) ; the tools (everything else) | 93 | license:gpl3+)))) ; the tools (everything else) |
| 94 | |||
| 95 | (define-public yubico-pam | ||
| 96 | (let ((commit "b5bd00db81e0e0e0ecced65c684080bb56ddc35b") | ||
| 97 | (revision "0")) | ||
| 98 | (package | ||
| 99 | (name "yubico-pam") | ||
| 100 | (version (git-version "2.26" revision commit)) | ||
| 101 | (source (origin | ||
| 102 | (method git-fetch) | ||
| 103 | (uri (git-reference | ||
| 104 | (url "https://github.com/Yubico/yubico-pam.git") | ||
| 105 | (commit commit))) | ||
| 106 | (file-name (git-file-name name version)) | ||
| 107 | (sha256 | ||
| 108 | (base32 | ||
| 109 | "10dq8dqi3jldllj6p8r9hldx9sank9n82c44w8akxrs1vli6nj3m")))) | ||
| 110 | (build-system gnu-build-system) | ||
| 111 | (arguments | ||
| 112 | ;; The pam_test fails because ykclient fails to build a Curl handle. | ||
| 113 | '(#:make-flags '("TESTS=util_test"))) | ||
| 114 | (inputs | ||
| 115 | `(("linux-pam" ,linux-pam) | ||
| 116 | ("libyubikey" ,libyubikey) | ||
| 117 | ("ykclient" ,ykclient) | ||
| 118 | ("yubikey-personalization" ,yubikey-personalization))) | ||
| 119 | (native-inputs | ||
| 120 | `(("autoconf" ,autoconf) | ||
| 121 | ("automake" ,automake) | ||
| 122 | ("libtool" ,libtool) | ||
| 123 | ("asciidoc" ,asciidoc) | ||
| 124 | ("pkg-config" ,pkg-config))) | ||
| 125 | (home-page "https://developers.yubico.com/yubico-pam") | ||
| 126 | (synopsis "Yubico pluggable authentication module") | ||
| 127 | (description "The Yubico PAM module provides an easy way to integrate the | ||
| 128 | YubiKey into your existing user authentication infrastructure.") | ||
| 129 | (license license:bsd-2)))) | ||
