diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_46.2.bb')
| -rw-r--r-- | meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_46.2.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_46.2.bb b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_46.2.bb new file mode 100644 index 0000000000..e173199088 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_46.2.bb | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | SUMMARY = "Password and keyring managing daemon" | ||
| 2 | HOMEPAGE = "http://www.gnome.org/" | ||
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
| 4 | SECTION = "x11/gnome" | ||
| 5 | |||
| 6 | LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later & LGPL-2.1-or-later" | ||
| 7 | LIC_FILES_CHKSUM = " \ | ||
| 8 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
| 9 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ | ||
| 10 | " | ||
| 11 | |||
| 12 | DEPENDS = " \ | ||
| 13 | glib-2.0-native \ | ||
| 14 | gtk+3 \ | ||
| 15 | gcr3 \ | ||
| 16 | libgcrypt \ | ||
| 17 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \ | ||
| 18 | " | ||
| 19 | |||
| 20 | GNOMEBASEBUILDCLASS = "autotools" | ||
| 21 | inherit gnomebase gsettings features_check gettext | ||
| 22 | |||
| 23 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
| 24 | |||
| 25 | SRC_URI[archive.sha256sum] = "bf26c966b8a8b7f3285ecc8bb3e467b9c20f9535b94dc451c9c559ddcff61925" | ||
| 26 | SRC_URI += " \ | ||
| 27 | file://0001-Set-paths-to-ssh-agent-and-ssh-add-by-configure-opti.patch \ | ||
| 28 | file://musl.patch \ | ||
| 29 | " | ||
| 30 | |||
| 31 | PACKAGECONFIG ??= "ssh-agent" | ||
| 32 | PACKAGECONFIG[ssh-agent] = "--enable-ssh-agent --with-ssh-agent-path=${bindir}/ssh-agent --with-ssh-add-path=${bindir}/ssh-add,--disable-ssh-agent,,openssh-misc" | ||
| 33 | |||
| 34 | EXTRA_OECONF = " \ | ||
| 35 | --disable-doc \ | ||
| 36 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam --with-pam-dir=${base_libdir}/security', '--disable-pam', d)} \ | ||
| 37 | " | ||
| 38 | |||
| 39 | FILES:${PN} += " \ | ||
| 40 | ${datadir}/dbus-1/services \ | ||
| 41 | ${datadir}/p11-kit \ | ||
| 42 | ${datadir}/xdg-desktop-portal \ | ||
| 43 | ${base_libdir}/security/*${SOLIBSDEV} \ | ||
| 44 | ${libdir}/pkcs11/gnome-keyring-pkcs11.so \ | ||
| 45 | ${systemd_user_unitdir} \ | ||
| 46 | " | ||
| 47 | # fix | gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used | ||
| 48 | pkg_postinst:${PN} () { | ||
| 49 | setcap cap_ipc_lock+ep $D/${bindir}/gnome-keyring-daemon | ||
| 50 | } | ||
| 51 | PACKAGE_WRITE_DEPS += "libcap-native" | ||
