Skip to content

Commit

Permalink
xdg-dbus-proxy: add package
Browse files Browse the repository at this point in the history
xdg-dbus-proxy is a filtering proxy for D-Bus connections. It is used to
allow partial access to D-Bus form sandboxed processes, eg. when using
bubblewrap.

Signed-off-by: Daniel Golle <[email protected]>
  • Loading branch information
dangowrt committed Nov 14, 2024
1 parent de9f4eb commit 4126edd
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions utils/xdg-dbus-proxy/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=xdg-dbus-proxy
PKG_VERSION:=0.1.6
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/flatpak/$(PKG_NAME)/releases/download/$(PKG_VERSION)
PKG_HASH:=131bf59fce7c7ee7ecbc5d9106d6750f4f597bfe609966573240f7e4952973a1

PKG_MAINTAINER:=Daniel Golle <[email protected]>
PKG_LICENSE:=LGPLv2-or-later

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/meson.mk

MESON_ARGS += \
-Dinstalled_tests=false \
-Dman=disabled \
-Dtests=false

define Package/xdg-dbus-proxy
SECTION:=utils
CATEGORY:=Utilities
TITLE:=xdg-dbus-proxy
URL:=https://github.com/containers/xdg-dbus-proxy
DEPENDS:=+glib2
endef

define Package/xdg-dbus-proxy/description
xdg-dbus-proxy is a filtering proxy for D-Bus connections.
endef

define Package/xdg-dbus-proxy/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/xdg-dbus-proxy $(1)/usr/bin
endef

$(eval $(call BuildPackage,xdg-dbus-proxy))

0 comments on commit 4126edd

Please sign in to comment.