diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2013-05-10 19:50:49 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2013-05-10 19:50:49 +0000 |
commit | 63d6db1af99d2b8bb5e8dbc45d60ecc0cc1f043a (patch) | |
tree | 589fdcff6725c55ff289574f734252e4dd747055 /gnome-base | |
parent | Make check for libsoup non-mandatory, as provided by Ted Tanberry on bug 469014 (diff) | |
download | gentoo-2-63d6db1af99d2b8bb5e8dbc45d60ecc0cc1f043a.tar.gz gentoo-2-63d6db1af99d2b8bb5e8dbc45d60ecc0cc1f043a.tar.bz2 gentoo-2-63d6db1af99d2b8bb5e8dbc45d60ecc0cc1f043a.zip |
Add
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key C6085806)
Diffstat (limited to 'gnome-base')
-rw-r--r-- | gnome-base/gnome-keyring/ChangeLog | 7 | ||||
-rw-r--r-- | gnome-base/gnome-keyring/gnome-keyring-3.6.3.ebuild | 48 | ||||
-rw-r--r-- | gnome-base/gnome-keyring/metadata.xml | 11 |
3 files changed, 19 insertions, 47 deletions
diff --git a/gnome-base/gnome-keyring/ChangeLog b/gnome-base/gnome-keyring/ChangeLog index ffb944eaee7e..334aae4f55fe 100644 --- a/gnome-base/gnome-keyring/ChangeLog +++ b/gnome-base/gnome-keyring/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnome-base/gnome-keyring # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/ChangeLog,v 1.232 2013/05/05 08:09:17 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/ChangeLog,v 1.233 2013/05/10 19:50:49 eva Exp $ + + 10 May 2013; Gilles Dartiguelongue <eva@gentoo.org> + gnome-keyring-3.6.3.ebuild, metadata.xml: + Add longdescription, bug #463542. Use fcaps eclass instead of custom code, + bug #468258. *gnome-keyring-3.8.2 (05 May 2013) diff --git a/gnome-base/gnome-keyring/gnome-keyring-3.6.3.ebuild b/gnome-base/gnome-keyring/gnome-keyring-3.6.3.ebuild index b13dbc709979..a2bfcc7608c4 100644 --- a/gnome-base/gnome-keyring/gnome-keyring-3.6.3.ebuild +++ b/gnome-base/gnome-keyring/gnome-keyring-3.6.3.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.6.3.ebuild,v 1.1 2013/03/30 23:01:13 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-keyring/gnome-keyring-3.6.3.ebuild,v 1.2 2013/05/10 19:50:49 eva Exp $ EAPI="5" GCONF_DEBUG="yes" # Not gnome macro but similar GNOME2_LA_PUNT="yes" -inherit gnome2 pam versionator virtualx +inherit fcaps gnome2 pam versionator virtualx DESCRIPTION="Password and keyring managing daemon" HOMEPAGE="http://live.gnome.org/GnomeKeyring" @@ -76,48 +76,6 @@ src_test() { } pkg_postinst() { - use caps && fcaps 0:0 755 cap_ipc_lock "${EROOT}"/usr/bin/gnome-keyring-daemon + fcaps cap_ipc_lock usr/bin/gnome-keyring-daemon gnome2_pkg_postinst } - -# borrowed from GSoC2010_Gentoo_Capabilities by constanze and Flameeyes -# @FUNCTION: fcaps -# @USAGE: fcaps {uid:gid} {file-mode} {cap1[,cap2,...]} {file} -# @RETURN: 0 if all okay; non-zero if failure and fallback -# @DESCRIPTION: -# fcaps sets the specified capabilities in the effective and permitted set of -# the given file. In case of failure fcaps sets the given file-mode. -# Requires versionator.eclass -fcaps() { - local uid_gid=$1 - local perms=$2 - local capset=$3 - local path=$4 - local res - - chmod $perms $path && \ - chown $uid_gid $path - res=$? - - use caps || return $res - - #set the capability - setcap "$capset=ep" "$path" &> /dev/null - #check if the capability got set correctly - setcap -v "$capset=ep" "$path" &> /dev/null - res=$? - - if [ $res -ne 0 ]; then - ewarn "Failed to set capabilities. Probable reason is missing kernel support." - ewarn "Your kernel must have <FS>_FS_SECURITY enabled (e.g. EXT4_FS_SECURITY)" - ewarn "where <FS> is the filesystem to store ${path}" - if ! version_is_at_least 2.6.33 "$(uname -r)"; then - ewarn "For kernel 2.6.32 or older, you will also need to enable" - ewarn "SECURITY_FILE_CAPABILITIES." - fi - ewarn - ewarn "Falling back to suid now..." - chmod u+s ${path} - fi - return $res -} diff --git a/gnome-base/gnome-keyring/metadata.xml b/gnome-base/gnome-keyring/metadata.xml index da6fd63d0085..20be5f6c6da1 100644 --- a/gnome-base/gnome-keyring/metadata.xml +++ b/gnome-base/gnome-keyring/metadata.xml @@ -1,5 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>gnome</herd> + <herd>gnome</herd> + <longdescription lang="en"> + GNOME Keyring is a collection of components in GNOME that store + secrets, passwords, keys, certificates and make them available to + applications. It is integrated with the user's login, so that + their secret storage can be unlocked when the user logins into their + session. It is based around a standard called PKCS#11, which is a + standard way for applications to manage certificates and keys on + smart cards or secure storage. + </longdescription> </pkgmetadata> |