mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
libpam: Add userdb packageconfig
Add userdb packageconfig to control the building of the pam_userdb.so module.
This depends on dbm support being compiled in for the berkley db package.
Also, remove "--with-db-uniquename=_pam" from EXTRA_OECONF. It makes the checks
for libdb fail because it searches for the wrong symbols in libdb (and libdb
was not configured with --with-uniquename=_pam option).
db.do_configure:
checking if --with-uniquename=NAME option specified... no
libpam.do_configure:
checking for db_create_pam... no
checking for db_create... no
checking for dbm_store_pam... no
checking for dbm_store... no
checking for dbm_store in -lndbm... no
(From OE-Core rev: 3130f43c51fb9b2aed9bb7805a820ea90e68276a)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c7e6a01374
commit
46d0202e51
@@ -35,8 +35,7 @@ SRC_URI_append_libc-musl = " file://0001-Add-support-for-defining-missing-funcit
|
|||||||
|
|
||||||
DEPENDS = "bison-native flex flex-native cracklib libxml2-native virtual/crypt"
|
DEPENDS = "bison-native flex flex-native cracklib libxml2-native virtual/crypt"
|
||||||
|
|
||||||
EXTRA_OECONF = "--with-db-uniquename=_pam \
|
EXTRA_OECONF = "--includedir=${includedir}/security \
|
||||||
--includedir=${includedir}/security \
|
|
||||||
--libdir=${base_libdir} \
|
--libdir=${base_libdir} \
|
||||||
--disable-nis \
|
--disable-nis \
|
||||||
--disable-regenerate-docu \
|
--disable-regenerate-docu \
|
||||||
@@ -48,7 +47,9 @@ S = "${WORKDIR}/Linux-PAM-${PV}"
|
|||||||
|
|
||||||
inherit autotools gettext pkgconfig
|
inherit autotools gettext pkgconfig
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= ""
|
||||||
PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit,"
|
PACKAGECONFIG[audit] = "--enable-audit,--disable-audit,audit,"
|
||||||
|
PACKAGECONFIG[userdb] = "--enable-db=db,--enable-db=no,db,"
|
||||||
|
|
||||||
PACKAGES += "${PN}-runtime ${PN}-xtests"
|
PACKAGES += "${PN}-runtime ${PN}-xtests"
|
||||||
FILES_${PN} = "${base_libdir}/lib*${SOLIBS}"
|
FILES_${PN} = "${base_libdir}/lib*${SOLIBS}"
|
||||||
|
|||||||
Reference in New Issue
Block a user