> Here is a patch to make all working:
The original patch was not found.
Can we directly modify the upgrade patch we sent earlier according to your 
method and resubmit it?
Or, wait for you to modify this issue?

  --
Best Regards
---------------------------------------------------
Wang Mingyu
FUJITSU NANJING SOFTWARE TECHNOLOGY CO., LTD. (FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566--8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]

> -----Original Message-----
> From: Jörg Sommer <[email protected]>
> Sent: Thursday, January 16, 2025 5:51 PM
> To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> Cc: [email protected]
> Subject: Re: [oe] [meta-oe] [PATCH] smarty: update 4.5.5 -> 5.4.2
> 
> Mingyu Wang (Fujitsu) schrieb am Do 16. Jan, 00:39 (+0000):
> > Adding php-native to DEPENDS also doesn't work, it will report the same 
> > error.
> 
> Yes. The problem is a (somewhat) broken make clean that removes files they
> can't be rebuild without composer. But composer in meta-parallel-php and not
> in meta-oe. So, I think the best is to mark clean as broken to prevent that
> do_configure runs it.
> 
> Here is a patch to make all working:
> 
> diff --git meta-oe/recipes-support/smarty/smarty_5.4.2.bb
> meta-oe/recipes-support/smarty/smarty_5.4.2.bb
> index 906b9e4ee2..25eda52690 100644
> --- meta-oe/recipes-support/smarty/smarty_5.4.2.bb
> +++ meta-oe/recipes-support/smarty/smarty_5.4.2.bb
> @@ -1,21 +1,29 @@
> -DESCRIPTION = "the compiling PHP template engine"
> -SECTION = "console/network"
> +SUMMARY = "Template engine for PHP"
> +DESCRIPTION = "\
> +    Smarty facilitates the separation of presentation (HTML/CSS) from \
> +    application logic. This implies that PHP code is application logic, and 
> is \
> +    separated from the presentation. \
> +"
>  HOMEPAGE = "https://www.smarty.net/";
> +BUGTRACKER = "https://github.com/smarty-php/smarty/issues";
> 
>  LICENSE = "GPL-3.0-only"
>  LIC_FILES_CHKSUM =
> "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
> 
> -DEPENDS += "php"
> -
>  SRC_URI =
> "git://github.com/smarty-php/smarty.git;protocol=https;branch=master"
> -
> -S = "${WORKDIR}/git"
> -
>  SRCREV = "642a97adcc2bf6c1b2458d6afeeb36ae001c1c2f"
> 
> -do_compile() {
> -     :
> -}
> +S = "${UNPACKDIR}/git"
> +
> +INHIBIT_DEFAULT_DEPS = "1"
> +
> +inherit allarch
> +
> +# `make clean` removes files, they can't be rebuild with `make all`
> +CLEANBROKEN = "1"
> +
> +do_configure[noexec] = "1"
> +do_compile[noexec] = "1"
> 
>  do_install() {
>          install -d ${D}${datadir}/php/smarty3/libs/ @@ -24,6 +32,8 @@
> do_install() {
>          install -d ${D}${datadir}/php/smarty3/src/
>          cp -rf ${S}/src/* ${D}${datadir}/php/smarty3/src/  } -FILES:${PN} =
> "${datadir}/php/smarty3/"
> +FILES:${PN} += "${datadir}/php/smarty3/"
> +
> +RDEPENDS:${PN} = "php"
> 
>  CVE_STATUS[CVE-2020-10375] = "cpe-incorrect: The recipe used in the
> meta-openembedded is a different smarty package compared to the one which
> has the CVE issue."
> 
> I'm unsure about the archall, but it's PHP.
> 
> Regards, Jörg
> 
> --
> Als deutscher Tourist im Ausland steht man vor der Frage, ob man sich 
> anständig
> benehmen muss oder ob schon deutsche Touristen dagewesen sind.
>                                                 (Kurt Tucholsky)
> 
> Navimatix GmbH           T: 03641 - 327 99 0
> Tatzendpromenade 2       F: 03641 - 526 306
> 07745 Jena               www.navimatix.de
> 
> Geschäftsführer: Steffen Späthe, Jan Rommeley
> Registergericht: Amtsgericht Jena, HRB 501480
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115011): 
https://lists.openembedded.org/g/openembedded-devel/message/115011
Mute This Topic: https://lists.openembedded.org/mt/110621806/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to