From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kM5gNpVidmOWQQAAbAwnHQ (envelope-from ) for ; Thu, 17 Nov 2022 17:34:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QL1yNZVidmPaBwEAG6o9tA (envelope-from ) for ; Thu, 17 Nov 2022 17:34:29 +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 A6CF516BE2 for ; Thu, 17 Nov 2022 17:34:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ovhq2-0003YT-G3; Thu, 17 Nov 2022 11:34:06 -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 1ovhpz-0003Xa-Hk for guix-patches@gnu.org; Thu, 17 Nov 2022 11:34:04 -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 1ovhpx-00034V-Po for guix-patches@gnu.org; Thu, 17 Nov 2022 11:34:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ovhpx-0003li-MJ for guix-patches@gnu.org; Thu, 17 Nov 2022 11:34:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59336] [PATCH 5/6] gnu: Add apparmor-profiles. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Nov 2022 16:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59336 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59336@debbugs.gnu.org Received: via spool by 59336-submit@debbugs.gnu.org id=B59336.166870279614415 (code B ref 59336); Thu, 17 Nov 2022 16:34:01 +0000 Received: (at 59336) by debbugs.gnu.org; 17 Nov 2022 16:33:16 +0000 Received: from localhost ([127.0.0.1]:34133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovhpE-0003kR-1a for submit@debbugs.gnu.org; Thu, 17 Nov 2022 11:33:16 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:60084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovhpC-0003kC-5Y for 59336@debbugs.gnu.org; Thu, 17 Nov 2022 11:33:14 -0500 Date: Fri, 18 Nov 2022 00:32:39 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1668702788; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uUA4fMqwcQxkTaNDuLIstdPOC6kIYKMGKXdPko/1ywI=; b=P1KD9Z7apKay/NZoeBFrUaRvQCyUslHdzV/ecDDH1qI0h+GcF2GgbvUZytd20VGNaaqqqp 9RmXdHIRnsb5DnwG+AbMY1LMXXdfopxZ6CS7oFAL7MGfGX+QkW7TN6mugvcBNfZooQ5uTT cGGKbYNOhTny80klbUYjPowDhXabqj5gGbO5VBdEFHtSkhquH6ytxul56gym+b6CoYikUz BJtSGQsl1QgoEgXs1juM7Pozu4mT3fSmpwUXPN4rPzQmmAmpZSGBBTcBlJvDsfrmSc5L+e gZH3H5huWwhrFdtEI59z6iZ6MYZ774PGd/bOy1C5zcRIcpnxbDdo9vBQ7eso/g== Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Spamd-Bar: / 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via 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=1668702869; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=uUA4fMqwcQxkTaNDuLIstdPOC6kIYKMGKXdPko/1ywI=; b=SoAgRRoGXZL0C3LEIafQYarATjKG6sE+xfFtTW+wQLdkq/uKzICzqhLWFcknOl6SIHiTcx emlIv3ooeCjW9pIS4oO/07j3WhRmota9Mu8m85ZwZhnPUun+SZL9boDmjS3v7Q99J4TzfA zRtf27A1ZsSe1GJbzLIgeW75v7TVNrjRwFdsrtkMObECgb2d4H1VfAI56zrDHdz2vaH60K 0ATKVjYWu06TO5WTTEvFqUZBBH4W7pvk0T2BRgspxpD3eswu4lCjFkHsacdxY7Un/yjLPP w7z+Csh7Ev76fLwC1EMKbrthg0/nI81RPJb7d91AenLYhiQWkve7icPyzU8ocw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668702869; a=rsa-sha256; cv=none; b=NZhobZf0oNrh6D7NFi3AnXEUQv2lw4A3jpXUMk6TaYwW6PkgH26oPO+ertmAhc+ANtJmbW vBnNIG20xIe1OAp0B3VwVIACci3+rSRYOXpnsWP0WLcXVH3Oe/60fKdOzrvSGr46OngK63 ZUsQ6vnud4U85CMp3P2BBj2Qa/mYbRO0SeJwMDxPeL0tnUpdRKPEf/rkkkzHFiuIf9yX5N FT4RX5Y1EKtgIRvS6pgrISG6BQ78sSShvDHjNnYz3ODkYh8sZHEgHyfqEyrj9zgJM04+MT 0+AHMqHhFIzWr1d+BY46bhyQSINqg3Kgq4/3sghP5Ivpx/rPGu3p+9ncmqc8Ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=P1KD9Z7a; 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: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=P1KD9Z7a; 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: A6CF516BE2 X-Spam-Score: -4.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: SHtDV7fuL069 * gnu/packages/apparmor.scm (apparmor-profiles): New variable. --- gnu/packages/apparmor.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/apparmor.scm b/gnu/packages/apparmor.scm index b753ffc88a..573666c27f 100644 --- a/gnu/packages/apparmor.scm +++ b/gnu/packages/apparmor.scm @@ -182,3 +182,20 @@ (define-public apparmor-utils (inputs (modify-inputs (package-inputs base) (append apparmor-parser)))))) + +(define-public apparmor-profiles + (let ((base apparmor)) + (package + (inherit base) + (name "apparmor-profiles") + (arguments + (append + (list #:tests? #f) ;Needs an AppArmor-enabled system. + (substitute-keyword-arguments (package-arguments base) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'change-directory + (lambda _ + (chdir "profiles")))))))) + (native-inputs (list which)) + (inputs '())))) -- 2.38.1