From cdacde9811fe73b95dff1cf5e602ba70f88fb3d5 Mon Sep 17 00:00:00 2001 From: Luoyaoming Date: Wed, 1 May 2024 09:56:11 +0800 Subject: [PATCH] Import Debian changes 0.1.5-ok1 xdg-dbus-proxy (0.1.5-ok1) nile; urgency=medium * Build for openKylin. --- debian/changelog | 5 +++ debian/control | 57 ++++++++++++++++++++++++++ debian/copyright | 63 +++++++++++++++++++++++++++++ debian/gbp.conf | 7 ++++ debian/patches/series | 1 + debian/rules | 15 +++++++ debian/salsa-ci.yml | 3 ++ debian/source/format | 1 + debian/tests/control | 4 ++ debian/tests/gnome-desktop-testing | 6 +++ debian/upstream/metadata | 5 +++ debian/watch | 9 +++++ debian/xdg-dbus-proxy-tests.install | 2 + debian/xdg-dbus-proxy.install | 2 + 14 files changed, 180 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100644 debian/patches/series create mode 100755 debian/rules create mode 100644 debian/salsa-ci.yml create mode 100644 debian/source/format create mode 100644 debian/tests/control create mode 100755 debian/tests/gnome-desktop-testing create mode 100644 debian/upstream/metadata create mode 100644 debian/watch create mode 100644 debian/xdg-dbus-proxy-tests.install create mode 100644 debian/xdg-dbus-proxy.install diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..e593b06 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +xdg-dbus-proxy (0.1.5-ok1) nile; urgency=medium + + * Build for openKylin. + + -- Luoyaoming Wed, 01 May 2024 09:56:11 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..464a4ca --- /dev/null +++ b/debian/control @@ -0,0 +1,57 @@ +Source: xdg-dbus-proxy +Section: admin +Priority: optional +Maintainer: openKylin Developers +XSBC-Original-Maintainer: Utopia Maintenance Team +Uploaders: + Simon McVittie , +Build-Depends: + dbus-daemon , + debhelper-compat (= 13), + docbook-xml, + docbook-xsl, + libglib2.0-dev, + meson, + xsltproc, +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: https://github.com/flatpak/xdg-dbus-proxy +Vcs-Git: https://salsa.debian.org/debian/xdg-dbus-proxy.git +Vcs-Browser: https://salsa.debian.org/debian/xdg-dbus-proxy + +Package: xdg-dbus-proxy +Architecture: any +Multi-Arch: foreign +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: filtering D-Bus proxy + xdg-dbus-proxy is a filtering proxy for D-Bus connections. It was + originally part of the Flatpak project, but it has been broken out as + a standalone module to facilitate using it in other contexts, for + example in WebKit-GTK's optional bubblewrap-based sandbox. + . + For this proxy to be useful, restricted D-Bus clients must be denied + access to the normal D-Bus socket (for example by using containers or + AppArmor rules), and instead given access to the listening Unix socket + created by the proxy (typically by bind-mounting it into a Linux + container). + +Package: xdg-dbus-proxy-tests +Architecture: any +Multi-Arch: foreign +Depends: + ${misc:Depends}, + ${shlibs:Depends}, + dbus-daemon, + xdg-dbus-proxy, +Recommends: + gnome-desktop-testing, +Description: filtering D-Bus proxy - as-installed tests + xdg-dbus-proxy is a filtering proxy for D-Bus connections. It was + originally part of the Flatpak project, but it has been broken out as + a standalone module to facilitate using it in other contexts, for + example in WebKit-GTK's optional bubblewrap-based sandbox. + . + This package contains as-installed tests, which can be run using + autopkgtest or gnome-desktop-testing-runner, or directly. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a23235b --- /dev/null +++ b/debian/copyright @@ -0,0 +1,63 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: xdg-dbus-proxy +Source: https://github.com/flatpak/xdg-dbus-proxy/releases +License: LGPL-2.1+ + +Files: + * +Copyright: + © 2015-2019 Red Hat, Inc + © 2018 Collabora Ltd. +License: LGPL-2.1+ + +Files: + backport-autoptr.h +Copyright: + © 1995-1997 Peter Mattis + © 1995-1997 Spencer Kimball + © 1995-1997 Josh MacDonald + © 2015 Colin Walters +License: LGPL-2+ + +Files: + debian/* +Copyright: + © 2016-2018 Simon McVittie + © 2016-2019 Collabora Ltd. +License: LGPL-2+ + +License: LGPL-2+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +Comment: + On Debian systems, the full text of the GNU Lesser General Public License + version 2.1 can be found in the file '/usr/share/common-licenses/LGPL-2.1'. + +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +Comment: + On Debian systems, the full text of the GNU Lesser General Public License + version 2.1 can be found in the file '/usr/share/common-licenses/LGPL-2.1'. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..1c8402c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,7 @@ +[DEFAULT] +pristine-tar = True +compression = xz +debian-branch = debian/latest +upstream-branch = upstream/latest +patch-numbers = False +upstream-vcs-tag = %(version)s diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d10a6c2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export LC_ALL=C.UTF-8 + +include /usr/share/dpkg/default.mk + +%: + dh $@ --buildsystem=meson + +override_dh_auto_configure: + dh_auto_configure -- \ + -Dauto_features=enabled \ + -Dinstalled_tests=true \ + $(NULL) diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..0c22dc4 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,3 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..7f61385 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,4 @@ +Tests: gnome-desktop-testing +Depends: + gnome-desktop-testing, + xdg-dbus-proxy-tests, diff --git a/debian/tests/gnome-desktop-testing b/debian/tests/gnome-desktop-testing new file mode 100755 index 0000000..6514f37 --- /dev/null +++ b/debian/tests/gnome-desktop-testing @@ -0,0 +1,6 @@ +#!/bin/sh + +set -e +exec 2>&1 + +exec gnome-desktop-testing-runner xdg-dbus-proxy diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..c150884 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,5 @@ +--- +Repository: https://github.com/flatpak/xdg-dbus-proxy.git +Repository-Browse: https://github.com/flatpak/xdg-dbus-proxy +Bug-Database: https://github.com/flatpak/xdg-dbus-proxy/issues +Bug-Submit: https://github.com/flatpak/xdg-dbus-proxy/issues/new diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..28c5196 --- /dev/null +++ b/debian/watch @@ -0,0 +1,9 @@ +version=4 +# Upstream releases official Autotools 'make dist' tarballs, so we use +# those in preference to git tags +opts="\ + compression=xz, \ + dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)//, \ + downloadurlmangle=s#/tag/#/download/#;s#(v?@ANY_VERSION@)$#$1/@PACKAGE@-$2.tar.xz#, \ + filenamemangle=s#v?@ANY_VERSION@#@PACKAGE@-$1.tar.xz#" \ +https://github.com/flatpak/@PACKAGE@/tags .*/releases/tag/v?@ANY_VERSION@ diff --git a/debian/xdg-dbus-proxy-tests.install b/debian/xdg-dbus-proxy-tests.install new file mode 100644 index 0000000..e2a2951 --- /dev/null +++ b/debian/xdg-dbus-proxy-tests.install @@ -0,0 +1,2 @@ +usr/libexec/installed-tests +usr/share/installed-tests diff --git a/debian/xdg-dbus-proxy.install b/debian/xdg-dbus-proxy.install new file mode 100644 index 0000000..9949f9a --- /dev/null +++ b/debian/xdg-dbus-proxy.install @@ -0,0 +1,2 @@ +usr/bin/xdg-dbus-proxy +usr/share/man