mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
gnome-keyring: remove CAP_IPC_LOCK
due to hardening in glib 2.70, gnome-keyring is broken with CAP_IPC_LOCK https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/77
This commit is contained in:
parent
efd60372ec
commit
e60a4fde33
2 changed files with 6 additions and 18 deletions
|
@ -1,12 +0,0 @@
|
||||||
case "${ACTION}" in
|
|
||||||
post)
|
|
||||||
# Set IPC capability, exit gracefully if we cannot set the capability
|
|
||||||
# due to invalid permissions (fakeroot install).
|
|
||||||
set +e
|
|
||||||
setcap cap_ipc_lock=ep usr/bin/gnome-keyring-daemon
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
echo "ERROR: failed to set ipc_lock capability on gnome-keyring-daemon."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
|
@ -1,24 +1,24 @@
|
||||||
# Template file for 'gnome-keyring'
|
# Template file for 'gnome-keyring'
|
||||||
pkgname=gnome-keyring
|
pkgname=gnome-keyring
|
||||||
version=40.0
|
version=40.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-pam-dir=/usr/lib/security --disable-schemas-compile"
|
configure_args="--with-pam-dir=/usr/lib/security --disable-schemas-compile"
|
||||||
hostmakedepends="autoconf docbook-xsl glib-devel intltool libtasn1-tools libxslt
|
hostmakedepends="autoconf docbook-xsl glib-devel intltool libtasn1-tools libxslt
|
||||||
openssh pkg-config"
|
openssh pkg-config"
|
||||||
makedepends="gcr-devel libcap-devel libcap-ng-devel libtasn1-devel pam-devel"
|
makedepends="gcr-devel libcap-devel libcap-ng-devel libtasn1-devel pam-devel"
|
||||||
# For setcap(8).
|
depends="dconf gcr"
|
||||||
depends="dconf gcr libcap-progs"
|
checkdepends="dbus xvfb-run"
|
||||||
short_desc="GNOME password and secret manager"
|
short_desc="GNOME password and secret manager"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
#changelog="https://raw.githubusercontent.com/GNOME/gnome-keyring/gnome-3-28/NEWS"
|
|
||||||
homepage="https://www.gnome.org"
|
homepage="https://www.gnome.org"
|
||||||
|
changelog="https://raw.githubusercontent.com/GNOME/gnome-keyring/gnome-40/NEWS"
|
||||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||||
checksum=a3d24db08ee2fdf240fbbf0971a98c8ee295aa0e1a774537f4ea938038a3b931
|
checksum=a3d24db08ee2fdf240fbbf0971a98c8ee295aa0e1a774537f4ea938038a3b931
|
||||||
|
make_check=ci-skip
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# Requires X11 server
|
xvfb-run make check
|
||||||
:
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue