me
/
guix
Archived
1
0
Fork 0

gnu: Add pam-apparmor.

* gnu/packages/apparmor.scm (pam-apparmor): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
master
Hilton Chain 2022-11-18 12:30:50 +08:00 committed by Ludovic Courtès
parent cb01e0a272
commit cbab7c1b3c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 21 additions and 0 deletions

View File

@ -176,3 +176,24 @@ supported by Canonical since 2009.")
(native-inputs
(list bison flex gettext-minimal perl python which))
(license license:gpl2))))
(define-public pam-apparmor
(let ((base apparmor))
(package
(inherit base)
(name "pam-apparmor")
(arguments
(append
(list #:tests? #f) ;no tests
(substitute-keyword-arguments (package-arguments base)
((#:phases phases)
#~(modify-phases #$phases
(delete 'chdir-parser)
(delete 'chdir-utils)
(delete 'chdir-profiles)
(replace 'change-directory
(lambda _
(chdir "changehat/pam_apparmor"))))))))
(native-inputs (list pkg-config perl which))
(inputs (list libapparmor linux-pam))
(license license:bsd-3))))