package/xdg-dbus-proxy: new package

xdg-dbus-proxy is a filtering proxy for D-Bus connections, which can
be used to limit access to a set of services. Typically it is used in
combination with containers to provide them with access to certain
services running outside the container.

https://github.com/flatpak/xdg-dbus-proxy

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Peter: license is LGPL-2.1+]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Adrian Perez de Castro 2019-09-20 18:31:05 +03:00 committed by Peter Korsgaard
parent 1021823db9
commit 5ec950348c
5 changed files with 38 additions and 0 deletions

View file

@ -91,6 +91,7 @@ F: package/webkitgtk/
F: package/woff2/
F: package/wpebackend-fdo/
F: package/wpewebkit/
F: package/xdg-dbus-proxy/
N: Adrien Gallouët <adrien@gallouet.fr>
F: package/bird/

View file

@ -2314,6 +2314,7 @@ menu "System tools"
source "package/tpm2-totp/Config.in"
source "package/unscd/Config.in"
source "package/util-linux/Config.in"
source "package/xdg-dbus-proxy/Config.in"
source "package/xen/Config.in"
source "package/xvisor/Config.in"
endmenu

View file

@ -0,0 +1,14 @@
config BR2_PACKAGE_XDG_DBUS_PROXY
bool "xdg-dbus-proxy"
depends on BR2_USE_WCHAR # libglib2 -> gettext
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
select BR2_PACKAGE_LIBGLIB2
help
Filtering proxy for D-Bus connections.
https://github.com/flatpak/xdg-dbus-proxy
comment "xdg-dbus-proxy needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

View file

@ -0,0 +1,5 @@
# From https://github.com/flatpak/xdg-dbus-proxy/releases/tag/0.1.2
sha256 1749d6f9f46dcc9edc87725641cf56cf91dcad1b01707891ea0850c1000c520f xdg-dbus-proxy-0.1.2.tar.xz
# Hash for license files:
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING

View file

@ -0,0 +1,17 @@
################################################################################
#
# bubblewrap
#
################################################################################
XDG_DBUS_PROXY_VERSION = 0.1.2
XDG_DBUS_PROXY_SITE = https://github.com/flatpak/xdg-dbus-proxy/releases/download/$(XDG_DBUS_PROXY_VERSION)
XDG_DBUS_PROXY_SOURCE = xdg-dbus-proxy-$(XDG_DBUS_PROXY_VERSION).tar.xz
XDG_DBUS_PROXY_DEPENDENCIES = host-pkgconf libglib2
XDG_DBUS_PROXY_LICENSE = LGPL-2.1+
XDG_DBUS_PROXY_LICENSE_FILES = COPYING
XDG_DBUS_PROXY_CONF_OPTS = --disable-man
$(eval $(autotools-package))