Skip to contentSkip to conversation

package/bubblewrap: bump to version 0.6.0

PATCH New Adrian Perez de Castro 2 participants 5 messages Feb 24, 2022 – Mar 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/bubblewrap: bump to version 0.6.0

This version includes a new feature which allows specifying multiple seccomp filters. There is now a Meson-based build system as well, but for the moment the build recipe keeps using the autotools based one. Release notes can be found at:

https://github.com/containers/bubblewrap/releases/tag/v0.6.0

---
 package/bubblewrap/bubblewrap.hash | 4 ++--
 package/bubblewrap/bubblewrap.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/bubblewrap/bubblewrap.hash +2 -2
index 88aba150cd..b756271ecf 100644
@@ -1,5 +1,5 @@
-# From https://github.com/containers/bubblewrap/releases/tag/v0.5.0
-sha256  16fdaf33799d63104e347e0133f909196fe90d0c50515d010bcb422eb5a00818  bubblewrap-0.5.0.tar.xz
+# From https://github.com/containers/bubblewrap/releases/tag/v0.6.0
+sha256  11393cf2058f22e6a6c6e9cca3c85ff4c4239806cb28fee657c62a544df35693  bubblewrap-0.6.0.tar.xz
 
 # Hash for license files:
 sha256  b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c  COPYING
package/bubblewrap/bubblewrap.mk +1 -1
index 5f3d95e826..4d6593576e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BUBBLEWRAP_VERSION = 0.5.0
+BUBBLEWRAP_VERSION = 0.6.0
 BUBBLEWRAP_SITE = https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION)
 BUBBLEWRAP_SOURCE = bubblewrap-$(BUBBLEWRAP_VERSION).tar.xz
 BUBBLEWRAP_DEPENDENCIES = host-pkgconf libcap
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/bubblewrap: switch to the meson build system

Version 0.6.0 introduced a Meson build system, and upstream seems to have the intention to abandon the previous autotools based one. Switch to Meson for future proofing.

---
 package/bubblewrap/bubblewrap.mk | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
package/bubblewrap/bubblewrap.mk +11 -9
index 4d6593576e..6b00dfe7f9 100644
@@ -14,22 +14,24 @@ BUBBLEWRAP_LICENSE_FILES = COPYING
 BUBBLEWRAP_CPE_ID_VENDOR = projectatomic
 
 BUBBLEWRAP_CONF_OPTS = \
-	--enable-require-userns=no \
-	--disable-man \
-	--disable-sudo \
-	--with-priv-mode=none
+	-Dzsh_completion=disabled \
+	-Dman=disabled \
+	-Dpython=$(HOST_DIR)/bin/python \
+	-Drequire_userns=false
 
 ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
-BUBBLEWRAP_CONF_OPTS += --with-bash-completion-dir=/usr/share/bash-completion/completions
+BUBBLEWRAP_CONF_OPTS += \
+	-Dbash_completion=enabled \
+	-Dbash_completion_dir=/usr/share/bash-completion/completions
 else
-BUBBLEWRAP_CONF_OPTS += --without-bash-completion-dir
+BUBBLEWRAP_CONF_OPTS += -Dbash_completion=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
-BUBBLEWRAP_CONF_OPTS += --enable-selinux
+BUBBLEWRAP_CONF_OPTS += -Dselinux=enabled
 BUBBLEWRAP_DEPENDENCIES += libselinux
 else
-BUBBLEWRAP_CONF_OPTS += --disable-selinux
+BUBBLEWRAP_CONF_OPTS += -Dselinux=disabled
 endif
 
 # We need to mark bwrap as setuid, in case the kernel
@@ -38,4 +40,4 @@ define BUBBLEWRAP_PERMISSIONS
 	/usr/bin/bwrap f 1755 0 0 - - - - -
 endef
 
-$(eval $(autotools-package))
+$(eval $(meson-package))
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

PATCH v2 1/2 package/bubblewrap: bump to version 0.6.1

In reply to Adrian Perez de Castro

This version includes a new feature which allows specifying multiple seccomp filters. There is now a Meson-based build system as well, but for the moment the build recipe keeps using the autotools based one. Release notes can be found at:

https://github.com/containers/bubblewrap/releases/tag/v0.6.0
https://github.com/containers/bubblewrap/releases/tag/v0.6.1

---
 package/bubblewrap/bubblewrap.hash | 4 ++--
 package/bubblewrap/bubblewrap.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/bubblewrap/bubblewrap.hash +2 -2
index 88aba150cd..c3bf4d8212 100644
@@ -1,5 +1,5 @@
-# From https://github.com/containers/bubblewrap/releases/tag/v0.5.0
-sha256  16fdaf33799d63104e347e0133f909196fe90d0c50515d010bcb422eb5a00818  bubblewrap-0.5.0.tar.xz
+# From https://github.com/containers/bubblewrap/releases/tag/v0.6.1
+sha256  9609c7dc162bc68abc29abfab566934fdca37520a15ed01b675adcf3a4303282  bubblewrap-0.6.1.tar.xz
 
 # Hash for license files:
 sha256  b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c  COPYING
package/bubblewrap/bubblewrap.mk +1 -1
index 5f3d95e826..1ca2029700 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BUBBLEWRAP_VERSION = 0.5.0
+BUBBLEWRAP_VERSION = 0.6.1
 BUBBLEWRAP_SITE = https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION)
 BUBBLEWRAP_SOURCE = bubblewrap-$(BUBBLEWRAP_VERSION).tar.xz
 BUBBLEWRAP_DEPENDENCIES = host-pkgconf libcap
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH/next v2 1/2] package/bubblewrap: bump to version 0.6.1

Quoted 9 lines · Adrian Perez de Castro

This version includes a new feature which allows specifying multiple seccomp filters. There is now a Meson-based build system as well, but for the moment the build recipe keeps using the autotools based one. Release notes can be found at:

https://github.com/containers/bubblewrap/releases/tag/v0.6.0
https://github.com/containers/bubblewrap/releases/tag/v0.6.1

Applied both to master, thanks.

Regards,
Arnout

Quoted 22 lines
---
  package/bubblewrap/bubblewrap.hash | 4 ++--
  package/bubblewrap/bubblewrap.mk   | 2 +-
  2 files changed, 3 insertions(+), 3 deletions(-)
package/bubblewrap/bubblewrap.hash +2 -2
index 88aba150cd..c3bf4d8212 100644
@@ -1,5 +1,5 @@
-# From https://github.com/containers/bubblewrap/releases/tag/v0.5.0
-sha256  16fdaf33799d63104e347e0133f909196fe90d0c50515d010bcb422eb5a00818  bubblewrap-0.5.0.tar.xz
+# From https://github.com/containers/bubblewrap/releases/tag/v0.6.1
+sha256  9609c7dc162bc68abc29abfab566934fdca37520a15ed01b675adcf3a4303282  bubblewrap-0.6.1.tar.xz
 
  # Hash for license files:
  sha256  b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c  COPYING
package/bubblewrap/bubblewrap.mk +0 -0
index 5f3d95e826..1ca2029700 100644

package/bubblewrap/bubblewrap.mk line 10

Quoted 8 lines
package/bubblewrap/bubblewrap.mk +1 -1
@@ -4,7 +4,7 @@
  #
  ################################################################################
 
-BUBBLEWRAP_VERSION = 0.5.0
+BUBBLEWRAP_VERSION = 0.6.1
  BUBBLEWRAP_SITE = https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION)
  BUBBLEWRAP_SOURCE = bubblewrap-$(BUBBLEWRAP_VERSION).tar.xz
  BUBBLEWRAP_DEPENDENCIES = host-pkgconf libcap

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

PATCH v2 2/2 package/bubblewrap: switch to the meson build system

In reply to Adrian Perez de Castro

Version 0.6.0 introduced a Meson build system, and upstream seems to have the intention to abandon the previous autotools based one. Switch to Meson for future proofing.

---
 package/bubblewrap/bubblewrap.mk | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
package/bubblewrap/bubblewrap.mk +11 -9
index 1ca2029700..5875b0d6e2 100644
@@ -14,22 +14,24 @@ BUBBLEWRAP_LICENSE_FILES = COPYING
 BUBBLEWRAP_CPE_ID_VENDOR = projectatomic
 
 BUBBLEWRAP_CONF_OPTS = \
-	--enable-require-userns=no \
-	--disable-man \
-	--disable-sudo \
-	--with-priv-mode=none
+	-Dzsh_completion=disabled \
+	-Dman=disabled \
+	-Dpython=$(HOST_DIR)/bin/python \
+	-Drequire_userns=false
 
 ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y)
-BUBBLEWRAP_CONF_OPTS += --with-bash-completion-dir=/usr/share/bash-completion/completions
+BUBBLEWRAP_CONF_OPTS += \
+	-Dbash_completion=enabled \
+	-Dbash_completion_dir=/usr/share/bash-completion/completions
 else
-BUBBLEWRAP_CONF_OPTS += --without-bash-completion-dir
+BUBBLEWRAP_CONF_OPTS += -Dbash_completion=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
-BUBBLEWRAP_CONF_OPTS += --enable-selinux
+BUBBLEWRAP_CONF_OPTS += -Dselinux=enabled
 BUBBLEWRAP_DEPENDENCIES += libselinux
 else
-BUBBLEWRAP_CONF_OPTS += --disable-selinux
+BUBBLEWRAP_CONF_OPTS += -Dselinux=disabled
 endif
 
 # We need to mark bwrap as setuid, in case the kernel
@@ -38,4 +40,4 @@ define BUBBLEWRAP_PERMISSIONS
 	/usr/bin/bwrap f 1755 0 0 - - - - -
 endef
 
-$(eval $(autotools-package))
+$(eval $(meson-package))
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot