mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
41 lines
1.4 KiB
BlitzBasic
41 lines
1.4 KiB
BlitzBasic
DESCRIPTION = "Library for password quality checking and generating random passwords"
|
|
HOMEPAGE = "https://github.com/libpwquality/libpwquality"
|
|
SECTION = "devel/lib"
|
|
|
|
LICENSE = "GPL-2.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bd2f1386df813a459a0c34fde676fc2"
|
|
|
|
DEPENDS = "cracklib python3-setuptools-native"
|
|
|
|
SRC_URI = "git://github.com/libpwquality/libpwquality;branch=master;protocol=https \
|
|
file://0001-Use-setuptools-instead-of-distutils.patch \
|
|
file://0002-Makefile.am-respect-PYTHONSITEDIR.patch \
|
|
"
|
|
SRCREV = "5490e96a3dd6ed7371435ca5b3ccef98bdb48b5a"
|
|
|
|
|
|
inherit autotools-brokensep gettext setuptools3-base
|
|
|
|
do_configure:prepend() {
|
|
cp ${STAGING_DATADIR_NATIVE}/gettext/ABOUT-NLS ${AUTOTOOLS_AUXDIR}/
|
|
}
|
|
|
|
export PYTHON_DIR
|
|
export BUILD_SYS
|
|
export HOST_SYS
|
|
|
|
EXTRA_OECONF += "--with-python-rev=${PYTHON_BASEVERSION} \
|
|
--with-python-binary=${STAGING_BINDIR_NATIVE}/python3-native/python3 \
|
|
--with-pythonsitedir=${PYTHON_SITEPACKAGES_DIR} \
|
|
--libdir=${libdir} \
|
|
--with-securedir=${base_libdir}/security \
|
|
"
|
|
|
|
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
|
|
PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
|
|
|
|
FILES:${PN} += "${base_libdir}/security/pam_pwquality.so"
|
|
FILES:${PN}-dbg += "${base_libdir}/security/.debug"
|
|
FILES:${PN}-staticdev += "${base_libdir}/security/pam_pwquality.a"
|
|
FILES:${PN}-dev += "${base_libdir}/security/pam_pwquality.la"
|