From patchwork Fri Jul 1 21:51:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 643285 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rh9CN4WGMz9t0V for ; Sat, 2 Jul 2016 07:53:36 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=BVZaFaYy; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 02F72983D8; Fri, 1 Jul 2016 21:53:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i7kTRhCozSJx; Fri, 1 Jul 2016 21:53:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3DBDC983D2; Fri, 1 Jul 2016 21:53:26 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A57F51CEAE4 for ; Fri, 1 Jul 2016 21:52:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A334694DFA for ; Fri, 1 Jul 2016 21:52:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jq+W1i40dBDl for ; Fri, 1 Jul 2016 21:52:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id AAE8894E51 for ; Fri, 1 Jul 2016 21:52:08 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id r201so8001659wme.0 for ; Fri, 01 Jul 2016 14:52:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Op/Ux3agVazX8HLGZkZQFnaTfx/rNlh/dbQXU36tLGc=; b=BVZaFaYyQOp099arZdqNO1wGs4VANjbTKQAeqKfYIwVjrM+I5rhYes2fIvDRnuXYcY hiBEG+joTEpMn8mLc2ONGb9Me0hA6OWcFxZ6YF0S70TD82O9HAK+pCcPFRMELHrnlPaG I7iVC5ERP9E13/+RqRXBUY94qiFOd8hEeO6bgV1ge6st4W1vAy33M2LRCQQbbnJLMU0N 36JjGzpsRNR5FpGtJRnaDMftBQIgr3kxP4lJ9DQNSkkIxin5m/0kYUn8/jBKESYT4dV+ QjeMus2gHd/lwF3vFP8BoalyflZyVPfwazcMK3yMDivsZYYh6X7wHXWwtF1AthRX5dbd rsNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Op/Ux3agVazX8HLGZkZQFnaTfx/rNlh/dbQXU36tLGc=; b=AntCSBsJMxOQmxn4sp6cLgO2z3j6KLKXG8J4+rIeqDG/A7M3AL5cHcSJGgMnTF/yHS WkMMMVXQ/r3jGlDWzmLD73Y4gBWuvyTQWL99X+KzvnmZcIrYhEEDfB1hzlrczqyHieGA j0OyqzsQQO05q9A72P87Xxv0rAjMQwTzMgTw6H9ffGYSkaSBgGkpI71N5ZBLSXILJ71o KVACiJQQzh2GBf4CacqvaygvHBNnLhQsNYndeBDIvQupFXs9iWAjyxqmWm3yhQKXIaf3 +D3pTDa4um4YQQ7kfL4afzmKdLdI4RtzA2hMMN/Y6pkwr61H+KieEM0x2giSrjGeBm35 cigQ== X-Gm-Message-State: ALyK8tIfRjrIhQNF3Eh1euWxXjdKvM1zlICy8Jw4vjF2bxpTqfeizQaJtFWbhycLSlGK/A== X-Received: by 10.194.75.196 with SMTP id e4mr306491wjw.44.1467409927251; Fri, 01 Jul 2016 14:52:07 -0700 (PDT) Received: from cerise.home ([2a01:cb19:84c0:6b00:408e:9653:c255:83a4]) by smtp.gmail.com with ESMTPSA id k3sm3752914wju.29.2016.07.01.14.52.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jul 2016 14:52:06 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Fri, 1 Jul 2016 23:51:20 +0200 Message-Id: <1467409891-9458-20-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1467409891-9458-1-git-send-email-maxime.hadjinlian@gmail.com> References: <1467409891-9458-1-git-send-email-maxime.hadjinlian@gmail.com> Subject: [Buildroot] [PATCH 20/31] package/systemd: add optional support for audit X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Maxime Hadjinlian --- package/systemd/systemd.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index eefd980..e3aacc6 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -64,6 +64,13 @@ else SYSTEMD_CONF_OPTS += --disable-acl endif +ifeq ($(BR2_PACKAGE_AUDIT),y) +SYSTEMD_CONF_OPTS += --enable-audit +SYSTEMD_DEPENDENCIES += audit +else +SYSTEMD_CONF_OPTS += --disable-audit +endif + ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) SYSTEMD_CONF_OPTS += --enable-seccomp SYSTEMD_DEPENDENCIES += libseccomp