GNU bug report logs -
#59336
[PATCH 0/6] gnu: Add apparmor.
Previous Next
Reported by: Hilton Chain <hako <at> ultrarare.space>
Date: Thu, 17 Nov 2022 16:29:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sun, 04 Dec 2022 22:16:28 +0100
with message-id <87y1rmlvir.fsf_-_ <at> gnu.org>
and subject line Re: bug#59336: [PATCH 0/6] gnu: Add apparmor.
has caused the debbugs.gnu.org bug report #59336,
regarding [PATCH 0/6] gnu: Add apparmor.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
59336: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59336
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hi Guix,
This patchset adds the AppArmor project, excluding the Apache and Tomcat parts.
Further tests are surely needed as I'm not an AppArmor user (yet)...
Tests for two packages are disabled, one is apparmor-profiles, which needs an
AppArmor-enforced system, the other is apparmor-utils, which wants Python
libraries to be installed, this later one might be easier to solve (I tried to
set GUIX_PYTHONPATH, but it fails either).
Thanks!
Hilton Chain (6):
gnu: Add libapparmor.
gnu: Add apparmor.
gnu: Add apparmor-parser.
gnu: Add apparmor-utils.
gnu: Add apparmor-profiles.
gnu: Add pam-apparmor.
gnu/local.mk | 1 +
gnu/packages/apparmor.scm | 219 ++++++++++++++++++++++++++++++++++++++
2 files changed, 220 insertions(+)
create mode 100644 gnu/packages/apparmor.scm
base-commit: 8e42bfaffa3ecee4c3f0ee6ff257f4fcd90d4677
--
2.38.1
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Hi,
Hilton Chain <hako <at> ultrarare.space> skribis:
> * gnu/packages/apparmor.scm (pam-apparmor): New variable.
I had to make the following change to get ‘pam-apparmor’ to build.
Applied all of v2 with these changes. I followed up with a patch to
restrict libapparmor to *-linux systems.
Thanks!
Ludo’.
[Message part 5 (text/x-patch, inline)]
diff --git a/gnu/packages/apparmor.scm b/gnu/packages/apparmor.scm
index 3136091747..ddbd9eb7a9 100644
@@ -188,9 +191,12 @@ (define-public pam-apparmor
(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 which))
+ (native-inputs (list pkg-config perl which))
(inputs (list libapparmor linux-pam))
(license license:bsd-3))))
This bug report was last modified 2 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.