diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-11-27 21:56:37 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-11-27 21:56:37 +0100 |
commit | fd76c904c7b613372edb071a89a19fe117ded2e9 (patch) | |
tree | 401ba6852fba431eeccd74b55647b2271f0f9516 /distro/packages | |
parent | b40b259f12b895646ab44ced8cdd2e4493eef293 (diff) | |
download | guix-fd76c904c7b613372edb071a89a19fe117ded2e9.tar guix-fd76c904c7b613372edb071a89a19fe117ded2e9.tar.gz |
distro: Add Linux-PAM.
* distro/packages/linux.scm: New file.
* Makefile.am (MODULES): Add it.
Diffstat (limited to 'distro/packages')
-rw-r--r-- | distro/packages/linux.scm | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/distro/packages/linux.scm b/distro/packages/linux.scm new file mode 100644 index 0000000000..8d337ba4c9 --- /dev/null +++ b/distro/packages/linux.scm @@ -0,0 +1,58 @@ +;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*- +;;; Copyright (C) 2012 Ludovic Courtès <ludo@gnu.org> +;;; +;;; This file is part of Guix. +;;; +;;; Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with Guix. If not, see <http://www.gnu.org/licenses/>. + +(define-module (distro packages linux) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (distro packages flex) + #:use-module (guix build-system gnu)) + +(define-public linux-pam + (package + (name "linux-pam") + (version "1.1.6") + (source + (origin + (method url-fetch) + (uri (list (string-append "http://www.linux-pam.org/library/Linux-PAM-" + version ".tar.bz2") + (string-append "mirror://kernel.org/linux/libs/pam/library/Linux-PAM-" + version ".tar.bz2"))) + (sha256 + (base32 + "1hlz2kqvbjisvwyicdincq7nz897b9rrafyzccwzqiqg53b8gf5s")))) + (build-system gnu-build-system) + (inputs + `(("flex" ,flex) + + ;; TODO: optional dependencies + ;; ("libxcrypt" ,libxcrypt) + ;; ("cracklib" ,cracklib) + )) + (arguments + ;; XXX: Tests won't run in chroot, presumably because /etc/pam.d + ;; isn't available. + '(#:tests? #f)) + (home-page "http://www.linux-pam.org/") + (synopsis "Pluggable authentication modules for Linux") + (description + "A *Free* project to implement OSF's RFC 86.0. +Pluggable authentication modules are small shared object files that can +be used through the PAM API to perform tasks, like authenticating a user +at login. Local and dynamic reconfiguration are its key features") + (license "BSD"))) |