mirror of
https://git.yoctoproject.org/poky
synced 2026-02-15 21:23:04 +01:00
* replace do_pam_sanity function with distro_features_check inherit * fixes: WARNING: libpam-1.3.0-r5 do_pam_sanity: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly in world builds and prevents user to build libpam at all without pam in DISTRO_FEATURES, I don't see any users of this which wouldn't respect pam in DISTRO_FEATURES * only libuser is depending on libpam without respecting DISTRO_FEATURES * there are few recipes in meta-oe layers depending on libpam without respecting DISTRO_FEATURES, I've sent patch for them: samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs and omxplayer in meta-raspberrypi, I've sent PR for that one: https://github.com/agherzan/meta-raspberrypi/pull/192 * poky-lsb will need to add pam to DISTRO_FEATURES in order to build packagegroup-core-lsb (From OE-Core rev: c9e7a276859d38aaa03845ee09428f62760ad147) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
36 lines
1.3 KiB
BlitzBasic
36 lines
1.3 KiB
BlitzBasic
SUMMARY = "user and group account administration library"
|
|
DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \
|
|
and group accounts"
|
|
HOMEPAGE = "https://pagure.io/libuser"
|
|
BUGTRACKER = "https://pagure.io/libuser/issues"
|
|
|
|
LICENSE = "LGPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
|
|
file://lib/user.h;endline=19;md5=76b301f63c39fa992062395efbdc9558 \
|
|
file://samples/testuser.c;endline=19;md5=3b87fa660fa3f4a6bb31d624afe30ba1"
|
|
|
|
SECTION = "base"
|
|
|
|
SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.xz \
|
|
file://0001-Check-for-issetugid.patch \
|
|
file://0002-remove-unused-execinfo.h.patch \
|
|
file://0001-modules-files.c-parse_field-fix-string-formating-in-.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "63e5e5c551e99dc5302b40b80bd6d4f2"
|
|
SRC_URI[sha256sum] = "a58ff4fabb01a25043b142185a33eeea961109dd60d4b40b6a9df4fa3cace20b"
|
|
|
|
DEPENDS = "popt libpam glib-2.0 python3"
|
|
|
|
inherit distro_features_check
|
|
REQUIRED_DISTRO_FEATURES = "pam"
|
|
|
|
inherit autotools gettext python3native python3-dir pkgconfig gtk-doc
|
|
|
|
EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"
|
|
|
|
PACKAGES += "${PN}-python "
|
|
|
|
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
|
|
|