Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 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 = "GPLv2+ & LGPLv2+ & LGPLv2.1+" |
| 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 | gcr \ |
| 16 | libgcrypt \ |
| 17 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} \ |
| 18 | " |
| 19 | |
| 20 | inherit gnomebase gsettings features_check remove-libtool gettext upstream-version-is-even |
| 21 | |
| 22 | REQUIRED_DISTRO_FEATURES = "x11" |
| 23 | |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 24 | SRC_URI[archive.md5sum] = "38f0732845a510a8dff4f154c3406f65" |
| 25 | SRC_URI[archive.sha256sum] = "a264b57a8d1a71fdf0d66e8cd6033d013fb828be279c35766545eb9bb3734f87" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 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 \ |
Andrew Geissler | 89770b0 | 2020-06-13 10:40:47 -0500 | [diff] [blame] | 42 | ${datadir}/xdg-desktop-portal \ |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 43 | ${base_libdir}/security/*${SOLIBSDEV} \ |
| 44 | ${libdir}/pkcs11/gnome-keyring-pkcs11.so \ |
| 45 | " |
| 46 | |
| 47 | # fix | gnome-keyring-daemon: insufficient process capabilities, unsecure memory might get used |
| 48 | # This does not make it through pseudo so perform on-target - sigh |
| 49 | pkg_postinst_ontarget_${PN} () { |
| 50 | setcap cap_ipc_lock+ep `which gnome-keyring-daemon` |
| 51 | } |
| 52 | RDEPENDS_${PN} += "libcap-bin" |