mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 11:13:04 +01:00
* fixes do_configure failure:
checking whether all ucontext.h functions are available... yes
when is deprecated at libxcrypt/4.4.30-r0/git/build-aux/scripts/BuildCommon.pm line 522.
Compilation failed in require at ../git/build-aux/scripts/expand-selected-hashes line 28.
BEGIN failed--compilation aborted at ../git/build-aux/scripts/expand-selected-hashes line 28.
configure: error: bad value 'all' for --enable-hashes
NOTE: The following config.log files may provide further information.
* with this patch backported it works OK:
libxcrypt/4.4.30-r0/git $ perl build-aux/scripts/expand-selected-hashes
usage: expand-selected-hashes hashes.conf names,of,selected,hashes
* similarly do_compile failure:
../git/build-aux/scripts/move-if-change crypt-hashes.h.T crypt-hashes.h
../git/build-aux/scripts/move-if-change crypt-symbol-vers.h.T crypt-symbol-vers.h
given is deprecated at ../git/build-aux/scripts/gen-crypt-h line 41.
Makefile:3818: Makefile.deps: No such file or directory
make: *** [Makefile:3715: crypt.h.stamp] Error 255
* also use master branch instead of develop, the SRCREV exists in both
but stable metadata branches should track stable component branches
libxcrypt/4.4.30-r0/git $ git branch -a --contains d7fe1ac04c326dba7e0440868889d1dccb41a175 | tee
* develop
remotes/origin/HEAD -> origin/develop
remotes/origin/develop
remotes/origin/master
and oe-core master also uses master SRCBRANCH since:
https://git.openembedded.org/openembedded-core/commit/?id=d18e89bd2b46c6e266cc39dbe9fdb6c032f5f1fe
(From OE-Core rev: 54996f24243a10252d3aa70effc9c13db1d507f8)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
33 lines
1.1 KiB
PHP
33 lines
1.1 KiB
PHP
SUMMARY = "Extended cryptographic library (from glibc)"
|
|
DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
|
|
HOMEPAGE = "https://github.com/besser82/libxcrypt"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
|
|
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
|
"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https"
|
|
SRCREV = "d7fe1ac04c326dba7e0440868889d1dccb41a175"
|
|
SRCBRANCH ?= "master"
|
|
|
|
SRC_URI += "file://fix_cflags_handling.patch \
|
|
file://0001-Make-BuildCommon.pm-compatible-with-latest-perl.patch \
|
|
file://0002-Remove-smartmatch-usage-from-gen-crypt-h.patch \
|
|
"
|
|
|
|
PROVIDES = "virtual/crypt"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
|
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
|
|
CPPFLAGS:append:class-nativesdk = " -Wno-error"
|
|
|
|
API = "--disable-obsolete-api"
|
|
EXTRA_OECONF += "${API}"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|