mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Sven Püschel" <s.pueschel@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] bubblewrap: new package
Date: Thu, 25 Jun 2026 21:23:46 +0200	[thread overview]
Message-ID: <20260625192346.833147-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260623141556.1127001-1-s.pueschel@pengutronix.de>

Thanks, applied as b67b0b96256d69254d0765f4d3c39eeddc203e00.

Michael

[sent from post-receive hook]

On Thu, 25 Jun 2026 21:23:46 +0200, Sven Püschel <s.pueschel@pengutronix.de> wrote:
> Omitted -Drequire_userns, as it's only used when setuid support is
> enabled.
> 
> Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
> Message-Id: <20260623141556.1127001-1-s.pueschel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/bubblewrap.in b/rules/bubblewrap.in
> new file mode 100644
> index 000000000000..f0b959a69f0b
> --- /dev/null
> +++ b/rules/bubblewrap.in
> @@ -0,0 +1,9 @@
> +## SECTION=shell_and_console
> +
> +config BUBBLEWRAP
> +	tristate
> +	select HOST_MESON
> +	select LIBCAP
> +	prompt "bubblewrap"
> +	help
> +	  Low-level unprivileged sandboxing tool
> diff --git a/rules/bubblewrap.make b/rules/bubblewrap.make
> new file mode 100644
> index 000000000000..4443866070e2
> --- /dev/null
> +++ b/rules/bubblewrap.make
> @@ -0,0 +1,65 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2026 by Sven Püschel <s.pueschel@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_BUBBLEWRAP) += bubblewrap
> +
> +#
> +# Paths and names
> +#
> +BUBBLEWRAP_VERSION	:= 0.11.2
> +BUBBLEWRAP_SHA256	:= 69abc30005d2186baf7737feacd8da35633b93cf5af38838ecff17c5f8e924f6
> +BUBBLEWRAP		:= bubblewrap-$(BUBBLEWRAP_VERSION)
> +BUBBLEWRAP_SUFFIX	:= tar.xz
> +BUBBLEWRAP_URL		:= https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION)/$(BUBBLEWRAP).$(BUBBLEWRAP_SUFFIX)
> +BUBBLEWRAP_SOURCE	:= $(SRCDIR)/$(BUBBLEWRAP).$(BUBBLEWRAP_SUFFIX)
> +BUBBLEWRAP_DIR		:= $(BUILDDIR)/$(BUBBLEWRAP)
> +BUBBLEWRAP_LICENSE	:= LGPL-2.0-or-later
> +BUBBLEWRAP_LICENSE_FILES := \
> +	file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
> +	file://bubblewrap.c;startline=3;endline=16;md5=7632ecc0582c89a5ec336efd45feeade
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# meson
> +#
> +BUBBLEWRAP_CONF_TOOL := meson
> +BUBBLEWRAP_CONF_OPT := \
> +	$(CROSS_MESON_USR) \
> +	-Dbash_completion=disabled \
> +	-Dman=disabled \
> +	-Dselinux=disabled \
> +	-Dsupport_setuid=false \
> +	-Dtests=false \
> +	-Dzsh_completion=disabled
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/bubblewrap.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, bubblewrap)
> +	@$(call install_fixup, bubblewrap,PRIORITY,optional)
> +	@$(call install_fixup, bubblewrap,SECTION,base)
> +	@$(call install_fixup, bubblewrap,AUTHOR,"Sven Püschel <s.pueschel@pengutronix.de>")
> +	@$(call install_fixup, bubblewrap,DESCRIPTION,Low-level unprivileged sandboxing tool)
> +
> +	@$(call install_copy, bubblewrap, 0, 0, 0755, -, /usr/bin/bwrap)
> +
> +	@$(call install_finish, bubblewrap)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



      reply	other threads:[~2026-06-25 19:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-23 14:15 [ptxdist] [PATCH] " Sven Püschel
2026-06-25 19:23 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260625192346.833147-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=s.pueschel@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox