Merge branch '3.5' into 3.6

Conflicts:
	imagemagick/.signature
This commit is contained in:
Juergen Daubert 2020-11-09 14:22:36 +00:00
commit a2cac0f37a
22 changed files with 89 additions and 386 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/d9v9czK2S/b0i7DUL7hYSCNFkpUKeTZT2PakbcRaoTVl/lAjhrgrxzLyv54LX18tPXoEM4RWAYBHRmSuILaIww=
SHA256 (Pkgfile) = cf7be007767c4add512d2d7adb5314a56cc9a2d132d7e58b919cbfbd47f80c4f
RWSE3ohX2g5d/dXe/4YW2NXoeU/k+u2wAXol8IBMGFFpXAEpWC8dcN9pZYAOC4BCbAEDVBdxDqR28fS2HY3Lsu1U9y0NHAz2Bw8=
SHA256 (Pkgfile) = 4e66b998dff3eb9d02089c4d28f7183f380fa89d9c374a36240a68dca2a4d4f2
SHA256 (.footprint) = aa85bfc686cf873efffd292c55eae8016e161bd8074d4f3490539f6089eead23
SHA256 (ccache-4.0.tar.xz) = ac1b82fe0a5e39905945c4d68fcb24bd0f32344869faf647a1b8d31e544dcb88
SHA256 (ccache.1) = 3103469f87eb78a058483b7a0eb93be48125872abfb7e15eaeead5e5e537c0c6

View File

@ -12,13 +12,17 @@ source=(https://github.com/$name/$name/releases/download/v$version/$name-$versio
ccache-man.patch)
build() {
[[ -e '/usr/bin/ninja' ]] && PKGMK_CCACHE+=' -G Ninja'
# https://github.com/ccache/ccache/issues/684
patch -d $name-$version -p1 -i $SRC/ccache-man.patch
cmake -S$name-$version -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DZSTD_FROM_INTERNET="$(prt-get isinst zstd &> /dev/null && echo OFF || echo ON)"
cmake -S $name-$version -B build $PKGMK_CCACHE \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D ZSTD_FROM_INTERNET="$(prt-get isinst zstd &> /dev/null && echo OFF || echo ON)"
cmake --build build
DESTDIR=$PKG cmake --install build

View File

@ -93,9 +93,9 @@ drwxr-xr-x root/root usr/include/dar/
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libdar64.a
-rwxr-xr-x root/root usr/lib/libdar64.la
lrwxrwxrwx root/root usr/lib/libdar64.so -> libdar64.so.6000.2.6
lrwxrwxrwx root/root usr/lib/libdar64.so.6000 -> libdar64.so.6000.2.6
-rwxr-xr-x root/root usr/lib/libdar64.so.6000.2.6
lrwxrwxrwx root/root usr/lib/libdar64.so -> libdar64.so.6000.2.7
lrwxrwxrwx root/root usr/lib/libdar64.so.6000 -> libdar64.so.6000.2.7
-rwxr-xr-x root/root usr/lib/libdar64.so.6000.2.7
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/libdar64.pc
drwxr-xr-x root/root usr/share/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/VOgZKqhuHBSuWhAh6CGVfS+JcQEzJLwqLTGYuncjo7j63eusiol/Zn9faE3LYesbkVCoDU5dXoyE2oylF3kRgQ=
SHA256 (Pkgfile) = fb1727fcde3b1fb290a61c3c2a3ca35392c776206c95bb263e68e9c330dd029f
SHA256 (.footprint) = 0eff4525545dccea4b3bfda826e5c4c0ca8cbb228c67c0ee9f30e148c4a87dbf
SHA256 (dar-2.6.12.tar.gz) = d3ef3ad2fc9b5199333fc462e68b49498eb6e2c3e5472e6f9b7aa42b6a548f4b
RWSE3ohX2g5d/c4iegt+PArzKAZzUgul/OMt+4zjdpUoz+EyJr/Hu2/t53BXDUsKR4tN/DgnHvOmJEhhur4ntya2Nu9MqoLrhgM=
SHA256 (Pkgfile) = e474818e00dd6936c142e8b585638b588bca94881b6fadc684003ba84c6baaf0
SHA256 (.footprint) = 243ade0f8f32f654a0edc4e56081eee8b3bef9aeefddc70d13becfecc93f079a
SHA256 (dar-2.6.13.tar.gz) = 3fea9ff9e55fb9827e17a080de7d1a2605b82c2320c0dec969071efefdbfd097

View File

@ -4,7 +4,7 @@
# Depends on: attr lzo zlib bzip2 xz libgcrypt
name=dar
version=2.6.12
version=2.6.13
release=1
source=(http://downloads.sourceforge.net/project/dar/dar/$version/$name-$version.tar.gz)

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/dHkhTZsCklcQPa4Tw7vZwS70mJ7CnX4hCU8kpI+etiqH7Yuqd7UTR/aqvB8vbUfDxh71hrI1cO9mYsQTkNCJwk=
SHA256 (Pkgfile) = d6e5e62f7d333af0c837b8053f0e56005862589e389f23d22e240b557e479872
RWSE3ohX2g5d/basfKhEyteiK+yG/lzL1CvLwZNnJr2/ZavJMQrQTajy8uaLqmmt0M2zc2KG+xf3AOM5VQZx0dD1w56LeC4FMgw=
SHA256 (Pkgfile) = ad36a77a510bd189d7c17713f72ea7254169d971477509872a612bdf75b0fb72
SHA256 (.footprint) = d983f9b189f4b084a498b8903bf12df8ae581b0846c71b2f31ce6a7f5d532708
SHA256 (fuse-3.10.0.tar.xz) = 26517954567f237a7dbcb532755ba0d2c77575c5d90db7566b6e40ec05b0a039

View File

@ -9,11 +9,13 @@ release=1
source=(https://github.com/libfuse/libfuse/releases/download/fuse-$version/fuse-$version.tar.xz)
build() {
meson build fuse-$version \
--prefix /usr \
--sysconfdir /etc
meson setup build fuse-$version \
--prefix=/usr \
--sysconfdir=/etc \
--buildtype=release
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
rm -r $PKG/{dev,etc,lib}
}

View File

@ -429,14 +429,14 @@ lrwxrwxrwx root/root usr/lib/libMagick++-7.Q16HDRI.so.4 -> libMagick++-7.Q16HDRI
-rwxr-xr-x root/root usr/lib/libMagick++-7.Q16HDRI.so.4.0.0
-rw-r--r-- root/root usr/lib/libMagickCore-7.Q16HDRI.a
-rwxr-xr-x root/root usr/lib/libMagickCore-7.Q16HDRI.la
lrwxrwxrwx root/root usr/lib/libMagickCore-7.Q16HDRI.so -> libMagickCore-7.Q16HDRI.so.7.0.0
lrwxrwxrwx root/root usr/lib/libMagickCore-7.Q16HDRI.so.7 -> libMagickCore-7.Q16HDRI.so.7.0.0
-rwxr-xr-x root/root usr/lib/libMagickCore-7.Q16HDRI.so.7.0.0
lrwxrwxrwx root/root usr/lib/libMagickCore-7.Q16HDRI.so -> libMagickCore-7.Q16HDRI.so.8.0.0
lrwxrwxrwx root/root usr/lib/libMagickCore-7.Q16HDRI.so.8 -> libMagickCore-7.Q16HDRI.so.8.0.0
-rwxr-xr-x root/root usr/lib/libMagickCore-7.Q16HDRI.so.8.0.0
-rw-r--r-- root/root usr/lib/libMagickWand-7.Q16HDRI.a
-rwxr-xr-x root/root usr/lib/libMagickWand-7.Q16HDRI.la
lrwxrwxrwx root/root usr/lib/libMagickWand-7.Q16HDRI.so -> libMagickWand-7.Q16HDRI.so.7.0.0
lrwxrwxrwx root/root usr/lib/libMagickWand-7.Q16HDRI.so.7 -> libMagickWand-7.Q16HDRI.so.7.0.0
-rwxr-xr-x root/root usr/lib/libMagickWand-7.Q16HDRI.so.7.0.0
lrwxrwxrwx root/root usr/lib/libMagickWand-7.Q16HDRI.so -> libMagickWand-7.Q16HDRI.so.8.0.0
lrwxrwxrwx root/root usr/lib/libMagickWand-7.Q16HDRI.so.8 -> libMagickWand-7.Q16HDRI.so.8.0.0
-rwxr-xr-x root/root usr/lib/libMagickWand-7.Q16HDRI.so.8.0.0
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.32/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/f1oZXDo4uvQymuVhhdImWAd1DmmgGV/FW8hBKqQ1aaeXluFeZ35Ga4vYi19EiqQ6DlGPMO0x2EylGt9faikGgg=
SHA256 (Pkgfile) = 9717ba1d3926740b142dac1137799b9114f936a6daec64ebf8788b1561f9025a
SHA256 (.footprint) = 0417655229b7e5aad3d034eb61e5ccbe864f3494367c90572b136912851b60ad
SHA256 (ImageMagick-7.0.10-35.tar.xz) = 34bd368ebf1f59cdc3537d7a54804c0c87987b34259ff291257650a2d3cd61ae
RWSE3ohX2g5d/Xe3C8Awkap4l0fu0ZYuidN80XZd8LbkiMr7Mf+W298SQ8cLwMgGC/g+gZiJYgUP51LmhNDCp63XOG0M9c/siAk=
SHA256 (Pkgfile) = 934c56edae0af561c5fdafbd2d33a3934957ed3dec659b0024ffc9e31cd8f773
SHA256 (.footprint) = e5f42a372d9de7a751e6da20bfbfc84ae31a521cc14afffb96551fb08ff8fc73
SHA256 (ImageMagick-7.0.10-37.tar.xz) = 9c2d5fd11fc4752986f70996a0975c3c39124500ab53330b09f5921441286d2b

View File

@ -4,7 +4,7 @@
# Depends on: libtool lcms2 pango xorg-libxt chrpath
name=imagemagick
version=7.0.10-35
version=7.0.10-37
release=1
source=(https://www.imagemagick.org/download/releases/ImageMagick-$version.tar.xz)

View File

@ -1,8 +1,8 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/R9e02RneYigt99JhvmElmu/D125I3zg8pADhVFdDSe/fc9P2o/6udIV0FqX5ivm+Xn1nhZ+zNcgrGJbYerSpgg=
SHA256 (Pkgfile) = 40529414ac86e7e1b7f7057ecc4c2a26625090cea7dca68780d854d14cb21410
RWSE3ohX2g5d/aPWbbm0WZ/agUIXapuQcoJFokaRuvRZivNLJWzIO4oUv7/AAY7bP4/WeHSKWy+QJSmEzW17EXbhrekJb62rxgg=
SHA256 (Pkgfile) = 44da8a7e0a5f540bb32a8ee81351d2d72bfe6916c8fa538a869ac33535f39333
SHA256 (.footprint) = 186632ae744c3ab515eebecf07214e684889dd70e84c3aa168cf0ee277aeb5d2
SHA256 (mariadb-10.5.7.tar.gz) = c06748da7f707b62990b1a7086ed80e68eed396dd3682253130bddbbfacc9039
SHA256 (mariadb-10.5.8.tar.gz) = 2b46770b109a8f1bdb60fa8dda303b22183ce4a180690b3886490ca9d388b353
SHA256 (mariadb.rc) = 737fe0eaad407e2b078ba21c1e4082dc4361da10354939ed4f6da651a76a8c1f
SHA256 (mariadb.pam) = 962b53d37719ed4798643a8fe3557454d23f74c2b14f1dfc1c1c67d361cab891
SHA256 (pre-install) = 62040c17eeb3da88172d49240633c871a93c3c642ad7f61911ce2e83d8414d1c

View File

@ -4,7 +4,7 @@
# Depends on: ncurses zlib openssl cmake libaio linux-pam
name=mariadb
version=10.5.7
version=10.5.8
release=1
source=(https://downloads.mariadb.com/MariaDB//$name-$version/source/$name-$version.tar.gz
mariadb.rc mariadb.pam
@ -12,21 +12,23 @@ source=(https://downloads.mariadb.com/MariaDB//$name-$version/source/$name-$vers
build() {
cmake -S $name-$version -B build \
-DCMAKE_BUILD_TYPE=Release \
-DINSTALL_LAYOUT=RPM \
-DINSTALL_LIBDIR=lib \
-DINSTALL_PLUGINDIR=lib/mysql/plugin \
-DINSTALL_PCDIR=/usr/lib/pkgconfig \
-DINSTALL_PAMDIR=/lib/security \
-DMYSQL_DATADIR=/var/lib/mysql \
-DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
-DWITH_READLINE=ON \
-DWITH_ZLIB=system \
-DWITH_SSL=system \
-DWITH_EXTRA_CHARSETS=complex \
-DWITH_EMBEDDED_SERVER=ON \
-DWITH_UNIT_TESTS=OFF \
-DSKIP_TESTS=ON
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D INSTALL_LAYOUT=RPM \
-D INSTALL_LIBDIR=lib \
-D INSTALL_PLUGINDIR=lib/mysql/plugin \
-D INSTALL_PCDIR=/usr/lib/pkgconfig \
-D INSTALL_PAMDIR=/lib/security \
-D MYSQL_DATADIR=/var/lib/mysql \
-D MYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
-D WITH_READLINE=ON \
-D WITH_ZLIB=system \
-D WITH_SSL=system \
-D WITH_EXTRA_CHARSETS=complex \
-D WITH_EMBEDDED_SERVER=ON \
-D WITH_UNIT_TESTS=OFF \
-D SKIP_TESTS=ON
cmake --build build
DESTDIR=$PKG cmake --install build

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/U5y/okVCMUrpkTp9BIWhD4bh0uJbe/ofGB3yhMmC55Qe3M0gUgCVLd6JyMRMLraRRSdDxY4RfUgrlDYjQSkOQ4=
SHA256 (Pkgfile) = acc0bd30def76b7291d6183eff8b96452f89afc76dfc953654de0cad1968f613
RWSE3ohX2g5d/RsTRbSO2A5B0dtwU51dCc0E28xVoaTN6k0bRL087DMZ/pK9nQ0jsPBRwpD9wg7DN1DSc7aP0uq4dWni4zAh6As=
SHA256 (Pkgfile) = 0ed0577b0f0ab9db50f22edd31613777b90c646f1f34d1ff100ee76838594022
SHA256 (.footprint) = 16a4cbc53d0d6b7d01be8b598ad20486e3081237707bd214a678fb9a59ab629b
SHA256 (mutt-1.14.7.tar.gz) = e4f507b133253cb5eef27996b8668956cdf9caac622cf8adad13f0f9a4eda864
SHA256 (mutt-2.0.0.tar.gz) = 93a4138ca795d2668e25c8e95c9ef2082447431423163decda83e66a4e42aeaf

View File

@ -4,7 +4,7 @@
# Depends on: gdbm openssl zlib
name=mutt
version=1.14.7
version=2.0.0
release=1
source=(https://bitbucket.org/mutt/mutt/downloads/$name-$version.tar.gz)

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/XO56nKCaNwQTjAD8fxAge9JEiJyN9LqDqfP0PBl0Aj9ord1XKhaYCSkxhqznrowoxK1dSZv9N7XkpFz+qEopwA=
SHA256 (Pkgfile) = 44e68ec05a0888d4a8a2620126fb78f35233eae3a14e99a1b5d49196494b56c4
RWSE3ohX2g5d/VFAhjhOo7gPcWtdelDIK/wgkicdM+0lMLhxKbk27if/vtoQb9/HCOnGR438W8JOtXq7uTJX4CmCVqASLvOlCg0=
SHA256 (Pkgfile) = bccfeba20f3a4365c8b7bda27eb7245fcc104718ff451c1f457f3115fadeb558
SHA256 (.footprint) = 55809a24ab7e2ee0ae7278618a24a3532806af781f07c1f9c651d089933d2527
SHA256 (sshfs-3.7.0.tar.xz) = 6e7e86831f3066b356e7f16e22f1b8a8f177fda05146f6a5eb821c2fd0541c34
SHA256 (sshfs-3.7.1.tar.xz) = fe5d3436d61b46974889e0c4515899c21a9d67851e3793c209989f72353d7750
SHA256 (sshfs.1) = 9b8b4bf6f9d4c1e9685ed583ec919e5ef34da51ad4c9da7c55f1ae6d720f450f

View File

@ -4,16 +4,18 @@
# Depends on: fuse3 glib
name=sshfs-fuse
version=3.7.0
version=3.7.1
release=1
source=(https://github.com/libfuse/sshfs/releases/download/sshfs-$version/sshfs-$version.tar.xz
sshfs.1)
build() {
cd sshfs-$version
meson setup build sshfs-$version \
--prefix=/usr \
--buildtype=release
meson build --prefix /usr
DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
install -D -m 0644 $SRC/sshfs.1 $PKG/usr/share/man/man1/sshfs.1
}

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/dqQfeeqNMU8FsXMeY7tR84VV2uY5+rmUFPUPMei2NDADAz3VNWoXIsWOU5Z/DTc0jBGuiYOGYb2IqMEEH3vrQk=
SHA256 (Pkgfile) = 920121cb86bce7180ce2782b5b4ff7a595978a7fc311f6cf8072853ecbc18b00
RWSE3ohX2g5d/ZwkOlc/5KcsxlBA4Nb2Ukpvcg6B5gQugXXSwbyvZ1BqlYJOcK1RgWAR0iFNXVdrrzcBIG3TybF7yAeore10Ugc=
SHA256 (Pkgfile) = 709ae3935e8714017bd937fb2de6204faacc16ede4a3cd1f6193bc0d86b05565
SHA256 (.footprint) = e8689fde7df02e6c84c61abaa82f57f6b94fb30ae4901c7cf74087f81170d77a
SHA256 (webkitgtk-2.30.2.tar.xz) = c467e0bc2bc610c2570928e3fd63cedaadc4719cbf9b04aa99f79dd71ad5682a

View File

@ -1,8 +1,8 @@
# Description: Small, efficient and fast rendering engine for Web Browsers.
# URL: https://www.webkitgtk.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: bubblewrap gst-plugins-base gtk gtk3 harfbuzz-icu hyphen libseccomp libsecret libsoup libwebp libxslt ruby woff2 xdg-dbus-proxy xorg-libxt
# Optional: enchant libnotify geoclue openjpeg2
# Depends on: gst-plugins-base gtk gtk3 harfbuzz-icu hyphen libseccomp libsecret libsoup libwebp libxslt ruby woff2 xorg-libxt
# Optional: enchant libnotify geoclue openjpeg2 xdg-dbus-proxy bubblewrap
name=webkitgtk
version=2.30.2
@ -17,17 +17,21 @@ build() {
prt-get isinst enchant || PKGMK_WEBKITGTK+=' -DENABLE_SPELLCHECK=OFF'
prt-get isinst libnotify && PKGMK_WEBKITGTK+=' -DUSE_LIBNOTIFY=ON' || PKGMK_WEBKITGTK+=' -DUSE_LIBNOTIFY=OFF'
prt-get isinst geoclue && PKGMK_WEBKITGTK+=' -DENABLE_GEOLOCATION=ON' || PKGMK_WEBKITGTK+=' -DENABLE_GEOLOCATION=OFF'
prt-get isinst bubblewrap && prt-get isinst xdg-dbus-proxy && PKGMK_WEBKITGTK+=' -DENABLE_BUBBLEWRAP_SANDBOX=ON' \
|| PKGMK_WEBKITGTK+=' -DENABLE_BUBBLEWRAP_SANDBOX=OFF'
cmake -S$name-$version -Bbuild -GNinja ${PKGMK_WEBKITGTK} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/lib \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DPORT=GTK \
-DENABLE_MINIBROWSER=ON \
-DUSE_SYSTEM_MALLOC=ON \
-DUSE_SYSTEMD=OFF \
cmake -S $name-$version -B build -G Ninja ${PKGMK_WEBKITGTK} \
-D CMAKE_INSTALL_PREFIX:PATH=/usr \
-D CMAKE_INSTALL_LIBDIR:PATH=/usr/lib \
-D CMAKE_INSTALL_LIBEXECDIR:PATH=/usr/lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D CMAKE_SKIP_RPATH:BOOL=ON \
-D PORT=GTK \
-D ENABLE_MINIBROWSER=ON \
-D USE_SYSTEM_MALLOC=ON \
-D USE_SYSTEMD=OFF \
-Wno-dev
cmake --build build

View File

@ -1,7 +0,0 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/xdg-dbus-proxy
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/xdg-dbus-proxy.1.gz

View File

@ -1,6 +0,0 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/cXyPnR/aVNdRNv6uUpC9Y/HilJHm9LoOf8nqsvmXq2LUCGdiTFxZ2gM+M1t1Ny9nX663i/dqYTAfXqYv2X2mgg=
SHA256 (Pkgfile) = d188f386fd79b0e79fd5e4a3f2f230f76ca3b5b18d9d933bfd2a7f5ce02086c8
SHA256 (.footprint) = cae13179fb579c50dac65b2344315a515ad9ac3a38a736f93644aa4b5d1a0dc6
SHA256 (xdg-dbus-proxy-0.1.2.tar.xz) = 1749d6f9f46dcc9edc87725641cf56cf91dcad1b01707891ea0850c1000c520f
SHA256 (xdg-dbus-proxy.1) = 6e37404d8a4b96bba07e5fd055f06829915fca88e7f16f24774bb890baacb300

View File

@ -1,22 +0,0 @@
# Description: D-Bus proxy
# URL: https://github.com/flatpak/xdg-dbus-proxy
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: glib
# Optional: docbook-xsl
name=xdg-dbus-proxy
version=0.1.2
release=1
source=(https://github.com/flatpak/xdg-dbus-proxy/releases/download/$version/$name-$version.tar.xz
xdg-dbus-proxy.1)
build() {
cd $name-$version
prt-get isinst docbook-xsl || install -Dm644 $SRC/xdg-dbus-proxy.1 $PKG/usr/share/man/man1/xdg-dbus-proxy.1 || \
PKGMK_XDG_DBUS_PROXY+=' --disable-man'
./configure --prefix=/usr ${PKGMK_XDG_DBUS_PROXY}
make
make DESTDIR=$PKG install
}

View File

@ -1,276 +0,0 @@
'\" t
.\" Title: xdg-dbus-proxy
.\" Author: Alexander Larsson
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 06/15/2020
.\" Manual: User Commands
.\" Source: flatpak
.\" Language: English
.\"
.TH "XDG\-DBUS\-PROXY" "1" "" "flatpak" "User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
xdg-dbus-proxy \- D\-Bus proxy
.SH "SYNOPSIS"
.HP \w'\fBxdg\-dbus\-proxy\fR\ 'u
\fBxdg\-dbus\-proxy\fR
[\fIOPTION\fR...]
[\fIADDRESS\fR\ \fIPATH\fR\ [\fIOPTION\fR...]...]
.SH "DESCRIPTION"
.PP
\fBxdg\-dbus\-proxy\fR
is a filtering proxy for D\-Bus connections\&. Its arguments are one or more
\fIADDRESS\fR\-\fIPATH\fR
pairs specifying the buses to proxy, with options that specify what filtering to apply\&.
.SS "Basic Operation"
.PP
The proxy listens to the unix domain socket at
\fIPATH\fR, and for each client that connects to the socket, it opens up a new connection to the specified D\-Bus
\fIADDRESS\fR
(typically the session bus) and forwards data between the two\&. During the authentication phase all data is forwarded as received, and additionally for the first 1 byte zero we also send the proxy credentials to the bus\&.
.PP
Once the connection is authenticated there are two modes, filtered and unfiltered\&. In the unfiltered mode all messages are sent on as they are received\&. In the filtering mode policy is applied to determine which messages to allow, and which to drop\&.
.PP
Filtering is applied only to outgoing signals and method calls and incoming broadcast signals\&. All replies (errors or method returns) are allowed once for an outstanding method call, and never otherwise\&.
.PP
If a client ever receives a message from another peer on the bus, the senders unique name is made visible, so the client can track caller lifetimes via NameOwnerChanged signals\&. If a client calls a method on or receives a broadcast signal from a name (even if filtered to some subset of paths or interfaces), that names basic policy is considered to be (at least) TALK, from then on\&.
.SS "Policy"
.PP
The policy for the filtering consists of a mapping from well\-known names to a policy that is either SEE, TALK or OWN\&. The default initial policy is that the the user is only allowed to TALK to the bus itself (org\&.freedesktop\&.DBus, or no destination specified), and TALK to its own unique ID\&. All other clients are invisible\&.
.PP
Here is a description of the policy levels (each level implies the ones before it):
.PP
SEE
.RS 4
The name/ID is visible in the ListNames reply
.sp
The name/ID is visible in the ListActivatableNames reply
.sp
You can call GetNameOwner on the name
.sp
You can call NameHasOwner on the name
.sp
You see NameOwnerChanged signals on the name
.sp
You see NameOwnerChanged signals on the ID when the client disconnects
.sp
You can call the GetXXX methods on the name/ID to get e\&.g\&. the peer pid
.sp
You get AccessDenied rather than NameHasNoOwner when sending messages to the name/ID
.RE
.PP
TALK
.RS 4
You can send any method calls and signals to the name/ID
.sp
You will receive broadcast signals from the name/ID (if you have a match rule for them)
.sp
You can call StartServiceByName on the name
.RE
.PP
OWN
.RS 4
You are allowed to call RequestName/ReleaseName/ListQueuedOwners on the name
.RE
.PP
Policy is specified with the
\fB\-\-see\fR,
\fB\-\-talk\fR
and
\fB\-\-own\fR
options\&. The well\-known names in these options can have a \*(Aq\&.*\*(Aq suffix\&. A name of "org\&.foo\&.*" matches "org\&.foo", org\&.foo\&.bar", and "org\&.foo\&.bar\&.gazonk", but not "org\&.foobar"\&.
.PP
Polices are specified for well\-known names, but they also affect the owner of that name, so that the policy for a unique ID is the union of the polices for all the names it owns\&. For technical reasons, the policy for a unique name is "sticky", in that the highest policy granted by a once\-owned name is kept, even when the client releases that name\&. This is impossible to avoid in a race\-free way in a proxy\&. But it is rarely a problem in practice, as few clients release names and stay on the bus\&.
.PP
In addition to the basic SEE/TALK/OWN policy, it is possible to specify more complicated rules about what method calls can be made on and what broadcast signals can be received from well\-known names\&. A rule can restrict the allowed calls/signals to a specific object path or a subtree of object paths, and it can restrict the allowed interface down to an individual method or signal name\&.
.PP
Rules are specified with the
\fB\-\-call\fR
and
\fB\-\-broadcast\fR
options\&. The
\fIRULE\fR
in these options determines what interfaces, methods and object paths are allowed\&. It must be of the form [\fIMETHOD\fR][@\fIPATH\fR], where
\fIMETHOD\fR
can be either \*(Aq*\*(Aq or a D\-Bus interface, possible with a \*(Aq\&.*\*(Aq suffix, or a fully\-qualified method name, and
\fIPATH\fR
is a D\-Bus object path, possible with a \*(Aq/*\*(Aq suffix\&.
.SH "OPTIONS"
.PP
When options are used multiple times, the last option wins, unless otherwise specified\&.
.PP
General options:
.PP
\fB\-\-help\fR
.RS 4
Print help and exit
.RE
.PP
\fB\-\-version\fR
.RS 4
Print version
.RE
.PP
\fB\-\-fd=\fR\fBFD\fR
.RS 4
Write to FD when the proxies are ready, and stop when it is closed\&.
.RE
.PP
\fB\-\-args=\fR\fBFD\fR
.RS 4
Parse nul\-separated arguments from the given file descriptor\&. This option can be used multiple times to parse options from multiple sources\&.
.RE
.PP
Proxy Options:
.PP
These options can only be used after an ADDRESS and apply to the proxy for that address\&.
.PP
\fB\-\-filter\fR
.RS 4
Enable filtering
.RE
.PP
\fB\-\-log\fR
.RS 4
Turn on logging
.RE
.PP
\fB\-\-sloppy\-names\fR
.RS 4
Make all unique names visible\&.
.RE
.PP
\fB\-\-see=\fR\fB\fINAME\fR\fR
.RS 4
Set the SEE policy for the given name\&.
.RE
.PP
\fB\-\-talk=\fR\fB\fINAME\fR\fR
.RS 4
Set the TALK policy for the given name\&.
.RE
.PP
\fB\-\-own=\fR\fB\fINAME\fR\fR
.RS 4
Set the OWN policy for the given name\&.
.RE
.PP
\fB\-\-call=\fR\fB\fINAME\fR\fR\fB=\fR\fB\fIRULE\fR\fR
.RS 4
Set a rule for calls on the given name\&.
.RE
.PP
\fB\-\-broadcast=\fR\fB\fINAME\fR\fR\fB=\fR\fB\fIRULE\fR\fR
.RS 4
Set a rule for broadcast signals from the given name\&.
.RE
.SH "EXAMPLES"
.PP
\fB$ xdg\-dbus\-proxy \-\-fd=26 unix:path=/run/usr/1000/bus /run/usr/1000/\&.dbus\-proxy/session\-bus\-proxy \-\-filter \-\-own=org\&.gnome\&.ghex\&.* \-\-talk=ca\&.desrt\&.dconf \-\-call=org\&.freedesktop\&.portal\&.*=* \-\-broadcast=org\&.freedesktop\&.portal\&.*=@/org/freedesktop/portal/*\fR