From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kOs3AVUOjWOpQQAAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 22:17:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AAk9AFUOjWOODAAAG6o9tA (envelope-from ) for ; Sun, 04 Dec 2022 22:17:09 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 50F5A1F61F for ; Sun, 4 Dec 2022 22:17:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1wMC-00031r-LI; Sun, 04 Dec 2022 16:17:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1wMB-00031V-4g for guix-patches@gnu.org; Sun, 04 Dec 2022 16:17:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1wMA-0003eI-TI for guix-patches@gnu.org; Sun, 04 Dec 2022 16:17:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1wMA-0000Up-Jx for guix-patches@gnu.org; Sun, 04 Dec 2022 16:17:02 -0500 Subject: bug#59336: [PATCH 0/6] gnu: Add apparmor. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 04 Dec 2022 21:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 59336 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain Cc: 59336-done@debbugs.gnu.org Mail-Followup-To: 59336@debbugs.gnu.org, ludo@gnu.org, hako@ultrarare.space Received: via spool by 59336-done@debbugs.gnu.org id=D59336.16701885991892 (code D ref 59336); Sun, 04 Dec 2022 21:17:02 +0000 Received: (at 59336-done) by debbugs.gnu.org; 4 Dec 2022 21:16:39 +0000 Received: from localhost ([127.0.0.1]:59783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1wLn-0000UQ-4h for submit@debbugs.gnu.org; Sun, 04 Dec 2022 16:16:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1wLk-0000UK-Qz for 59336-done@debbugs.gnu.org; Sun, 04 Dec 2022 16:16:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1wLf-0003XJ-C1; Sun, 04 Dec 2022 16:16:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=PTQtgMO5Rin9eTsYNe69kan7mvNM88BeUFY3Vs/Kw9w=; b=es/z0yq0wmbm8ekbKH7I BjURlbSMRZe8DJcOYp6UPCevBnR8VUQRqLYf5N7l+PwnMK4iajzpZ5xysX7tStMzXNBgIvUaH0Jfk +bH1d+mfYKR1D8cqHmJFYMCrGflUiv0WMDql9SltmpuDqOOO8jzSAsIRc8QOpq0S4qbeiUdDmNCIH 6z5J7id6d3ASQqk9xErJP7XyaWu6Cd5QANmWQ3e80XrfFQ72IW+22kZGcY42Z3NeYDAJ7PHpB2LhN U3a03SXxDWBPcfpfl6xHn7mYB2FMBTjq34NoSH3GxODRvrn1ZechPoW5HNd1ygeV+kddndY/WAiRw bZLM+lFdtKv0tw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1wLe-0000vI-UH; Sun, 04 Dec 2022 16:16:31 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Sun, 04 Dec 2022 22:16:28 +0100 In-Reply-To: (Hilton Chain's message of "Fri, 18 Nov 2022 12:30:50 +0800") Message-ID: <87y1rmlvir.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670188628; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=PTQtgMO5Rin9eTsYNe69kan7mvNM88BeUFY3Vs/Kw9w=; b=b0K0uXeFGgcZy+9ZFehFqQUkr6+riQY49sCc7O5dzyDTUMFJxZ/0LTwcO5mJn1BVRUoL2A ucvp/vWSTtvSqKuvTAu+cABSB3sNb0Q+UwqpVoN0rtDqzo1JiR+eD/rHZmjQ/r/UUdDwEu N554R8GaMvVsWembT37Rnx3+exkSd2QQ9LZLGX+fNg2T96fXcQy4ZYV0gKRUpJltMzRQRy 3jBilAlGqDK/0LBwoKW41mNiyNdoTA0nAOORHL5tXl2wIwQD/wWV4WFIJVrV56bzAqxd0E 8eD5Zah/WpE7FFqB6eGb5uYAyxFfmtbT3NsXzos3ajMQH8sA+WTOFMGl/GNZzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670188628; a=rsa-sha256; cv=none; b=rlbRmwy/WdKZ3Ibretf9aNBgVu0GLJOPgqsibu4dh/YSbjIL1/XAHMX1P9l+kYwBUl/MQF AVN3uFfUrbaUdwwLiqw2QneNLtoKoH/yQq1BDVRWSqbWk4BWe4K4BkxPg4R5SohE54OEVP 8gaoLsMNj9991vJ5JOt8ubEqiDddsOnXIa3NWEPLCb/Wz7QEm8fOU/NfS61NTmOhmBQbXp G64W7+ecvefrYEuUUojR3HKQIHX/wKSYCl/0SYnqAh2G7MCpfAmYbshx+Bqew9dsiAln13 mO4+AdNI443svM3fBPpOueYQ3P3qyi+bNSuTTrQDP2wNfIg9xl+kBf1hUWsCAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="es/z0yq0"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="es/z0yq0"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 50F5A1F61F X-Spam-Score: -3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: uDjIjf+u78B1 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Hilton Chain skribis: > * gnu/packages/apparmor.scm (pam-apparmor): New variable. I had to make the following change to get =E2=80=98pam-apparmor=E2=80=99 to= build. Applied all of v2 with these changes. I followed up with a patch to restrict libapparmor to *-linux systems. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: 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)))) --=-=-=--