summaryrefslogtreecommitdiff
path: root/gnu/packages/authentication.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-12-22 14:05:42 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-22 14:18:34 +0100
commit9e36859c9b80a00c3ee5138771eba93edc16a11c (patch)
tree2aecf97245e4d44b03591378b1a515271ec1f8d3 /gnu/packages/authentication.scm
parent5f5e3873d735d13824c172d779e6095d6947f340 (diff)
gnu: Add pamtester.
* gnu/packages/authentication.scm (pamtester): New variable.
Diffstat (limited to 'gnu/packages/authentication.scm')
-rw-r--r--gnu/packages/authentication.scm27
1 files changed, 26 insertions, 1 deletions
diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm
index afa20945e7e..e45bbb6b269 100644
--- a/gnu/packages/authentication.scm
+++ b/gnu/packages/authentication.scm
@@ -1,6 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> 2;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
3;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net> 3;;; Copyright © 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
4;;; 4;;;
5;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
6;;; 6;;;
@@ -115,3 +115,28 @@ and the time-based @dfn{TOTP} algorithm (RFC6238).")
115 (description "The Yubico PAM module provides an easy way to integrate the 115 (description "The Yubico PAM module provides an easy way to integrate the
116YubiKey into your existing user authentication infrastructure.") 116YubiKey into your existing user authentication infrastructure.")
117 (license license:bsd-2)))) 117 (license license:bsd-2))))
118
119(define-public pamtester
120 (package
121 (name "pamtester")
122 (version "0.1.2")
123 (source
124 (origin
125 (method url-fetch)
126 (uri (string-append
127 "mirror://sourceforge/pamtester/pamtester/"
128 version "/pamtester-" version ".tar.gz"))
129 (sha256
130 (base32 "1mdj1wj0adcnx354fs17928yn2xfr1hj5mfraq282dagi873sqw3"))))
131 (build-system gnu-build-system)
132 (native-inputs
133 `(("pkg-config" ,pkg-config)))
134 (inputs
135 `(("linux-pam" ,linux-pam)))
136 (home-page "http://pamtester.sourceforge.net/")
137 (synopsis "Utility for testing pluggable authentication modules (PAM) facility")
138 (description
139 "Pamtester is a tiny utility program to test the pluggable authentication
140modules (PAM) facility, specifically designed to help PAM module authors to
141intensively test their own modules.")
142 (license license:bsd-3)))