From f8ff12632d4dd0120c9f4366eb59c4d09995f78c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 5 Oct 2011 10:30:43 +0200 Subject: [PATCH] gnome-keyring: add capabilities support. --- srcpkgs/gnome-keyring/INSTALL | 6 ++++++ srcpkgs/gnome-keyring/template | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 srcpkgs/gnome-keyring/INSTALL diff --git a/srcpkgs/gnome-keyring/INSTALL b/srcpkgs/gnome-keyring/INSTALL new file mode 100644 index 00000000000..b2da58fe4f7 --- /dev/null +++ b/srcpkgs/gnome-keyring/INSTALL @@ -0,0 +1,6 @@ +case "${ACTION}" in +post) + # Set IPC capability. + setcap cap_ipc_lock=ep usr/bin/gnome-keyring-daemon + ;; +esac diff --git a/srcpkgs/gnome-keyring/template b/srcpkgs/gnome-keyring/template index 259e37060b1..e0824a7e5d2 100644 --- a/srcpkgs/gnome-keyring/template +++ b/srcpkgs/gnome-keyring/template @@ -1,6 +1,7 @@ # Template file for 'gnome-keyring' pkgname=gnome-keyring version=3.2.0 +revision=1 distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz" build_style=gnu_configure 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 libcap Add_dependency run p11-kit +Add_dependency run libcap-ng +# For setcap(8). +Add_dependency run libcap-progs Add_dependency run dconf Add_dependency build pkg-config @@ -50,3 +54,4 @@ Add_dependency build pam-devel Add_dependency build gtk+3-devel Add_dependency build libcap-devel Add_dependency build p11-kit-devel +Add_dependency build libcap-ng-devel