summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-27 21:56:37 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-27 21:56:37 +0100
commitfd76c904c7b613372edb071a89a19fe117ded2e9 (patch)
tree401ba6852fba431eeccd74b55647b2271f0f9516 /distro
parentb40b259f12b895646ab44ced8cdd2e4493eef293 (diff)
distro: Add Linux-PAM.
* distro/packages/linux.scm: New file. * Makefile.am (MODULES): Add it.
Diffstat (limited to 'distro')
-rw-r--r--distro/packages/linux.scm58
1 files changed, 58 insertions, 0 deletions
diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm
new file mode 100644
index 00000000000..8d337ba4c9b
--- /dev/null
+++ b/distro/packages/linux.scm
@@ -0,0 +1,58 @@
1;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*-
2;;; Copyright (C) 2012 Ludovic Courtès <ludo@gnu.org>
3;;;
4;;; This file is part of Guix.
5;;;
6;;; Guix is free software; you can redistribute it and/or modify it
7;;; under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 3 of the License, or (at
9;;; your option) any later version.
10;;;
11;;; Guix is distributed in the hope that it will be useful, but
12;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14;;; GNU General Public License for more details.
15;;;
16;;; You should have received a copy of the GNU General Public License
17;;; along with Guix. If not, see <http://www.gnu.org/licenses/>.
18
19(define-module (distro packages linux)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (distro packages flex)
23 #:use-module (guix build-system gnu))
24
25(define-public linux-pam
26 (package
27 (name "linux-pam")
28 (version "1.1.6")
29 (source
30 (origin
31 (method url-fetch)
32 (uri (list (string-append "http://www.linux-pam.org/library/Linux-PAM-"
33 version ".tar.bz2")
34 (string-append "mirror://kernel.org/linux/libs/pam/library/Linux-PAM-"
35 version ".tar.bz2")))
36 (sha256
37 (base32
38 "1hlz2kqvbjisvwyicdincq7nz897b9rrafyzccwzqiqg53b8gf5s"))))
39 (build-system gnu-build-system)
40 (inputs
41 `(("flex" ,flex)
42
43 ;; TODO: optional dependencies
44 ;; ("libxcrypt" ,libxcrypt)
45 ;; ("cracklib" ,cracklib)
46 ))
47 (arguments
48 ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
49 ;; isn't available.
50 '(#:tests? #f))
51 (home-page "http://www.linux-pam.org/")
52 (synopsis "Pluggable authentication modules for Linux")
53 (description
54 "A *Free* project to implement OSF's RFC 86.0.
55Pluggable authentication modules are small shared object files that can
56be used through the PAM API to perform tasks, like authenticating a user
57at login. Local and dynamic reconfiguration are its key features")
58 (license "BSD")))