gnome-keyring: add capabilities support.

This commit is contained in:
Juan RP 2011-10-05 10:30:43 +02:00
parent 843697acd6
commit f8ff12632d
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,6 @@
case "${ACTION}" in
post)
# Set IPC capability.
setcap cap_ipc_lock=ep usr/bin/gnome-keyring-daemon
;;
esac

View File

@ -1,6 +1,7 @@
# Template file for 'gnome-keyring' # Template file for 'gnome-keyring'
pkgname=gnome-keyring pkgname=gnome-keyring
version=3.2.0 version=3.2.0
revision=1
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz" distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
build_style=gnu_configure build_style=gnu_configure
configure_args="--localstatedir=/var --with-pam-dir=/lib/security configure_args="--localstatedir=/var --with-pam-dir=/lib/security
@ -37,6 +38,9 @@ Add_dependency run gtk+3
Add_dependency run pam Add_dependency run pam
Add_dependency run libcap Add_dependency run libcap
Add_dependency run p11-kit Add_dependency run p11-kit
Add_dependency run libcap-ng
# For setcap(8).
Add_dependency run libcap-progs
Add_dependency run dconf Add_dependency run dconf
Add_dependency build pkg-config Add_dependency build pkg-config
@ -50,3 +54,4 @@ Add_dependency build pam-devel
Add_dependency build gtk+3-devel Add_dependency build gtk+3-devel
Add_dependency build libcap-devel Add_dependency build libcap-devel
Add_dependency build p11-kit-devel Add_dependency build p11-kit-devel
Add_dependency build libcap-ng-devel