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
|
@ -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'
|
||||
pkgname=gnome-keyring
|
||||
version=40.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-pam-dir=/usr/lib/security --disable-schemas-compile"
|
||||
hostmakedepends="autoconf docbook-xsl glib-devel intltool libtasn1-tools libxslt
|
||||
openssh pkg-config"
|
||||
makedepends="gcr-devel libcap-devel libcap-ng-devel libtasn1-devel pam-devel"
|
||||
# For setcap(8).
|
||||
depends="dconf gcr libcap-progs"
|
||||
depends="dconf gcr"
|
||||
checkdepends="dbus xvfb-run"
|
||||
short_desc="GNOME password and secret manager"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
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"
|
||||
changelog="https://raw.githubusercontent.com/GNOME/gnome-keyring/gnome-40/NEWS"
|
||||
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
||||
checksum=a3d24db08ee2fdf240fbbf0971a98c8ee295aa0e1a774537f4ea938038a3b931
|
||||
make_check=ci-skip
|
||||
lib32disabled=yes
|
||||
|
||||
do_check() {
|
||||
# Requires X11 server
|
||||
:
|
||||
xvfb-run make check
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue