gnu: linux-pam: Add cracklib to inputs.

* gnu/packages/linux.scm (linux-pam)[inputs]: Add cracklib.
This commit is contained in:
David Craven 2016-08-28 15:00:49 +02:00
parent 7483230f17
commit 25d1b3107f
No known key found for this signature in database
GPG key ID: C5E051C79C0BECDB

View file

@ -55,6 +55,7 @@ (define-module (gnu packages linux)
#:use-module (gnu packages libusb)
#:use-module (gnu packages maths)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages password-utils)
#:use-module (gnu packages perl)
#:use-module (gnu packages pciutils)
#:use-module (gnu packages pkg-config)
@ -392,12 +393,9 @@ (define-public linux-pam
"1fyi04d5nsh8ivd0rn2y0z83ylgc0licz7kifbb6xxi2ylgfs6i4"))))
(build-system gnu-build-system)
(native-inputs
`(("flex" ,flex)
;; TODO: optional dependencies
;; ("libxcrypt" ,libxcrypt)
;; ("cracklib" ,cracklib)
))
`(("flex" ,flex)))
(inputs
`(("cracklib" ,cracklib)))
(arguments
'(;; Most users, such as `shadow', expect the headers to be under
;; `security'.
@ -405,7 +403,7 @@ (define-public linux-pam
(assoc-ref %outputs "out")
"/include/security"))
;; XXX: Tests won't run in chroot, presumably because /etc/pam.d
;; FIXME: Tests won't run in chroot, presumably because /etc/pam.d
;; isn't available.
#:tests? #f))
(home-page "http://www.linux-pam.org/")