RE: [yocto-patches] [meta-security][PATCH] crowdsec: Fix recipe to match upstream source layout

"Song, Jiaying (CN)" <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <IA4PR11MB94205D035B1B00B9B862B221B82D2@IA4PR11MB9420.namprd11.prod.outlook.com>
Kindly ping
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Song, Jiaying (CN) via lists.yoctoproject.org
Sent: Wednesday, April 15, 2026 2:53 PM
To: [email protected]
Cc: Song, Jiaying (CN) <[email protected]>
Subject: [yocto-patches] [meta-security][PATCH] crowdsec: Fix recipe to match upstream source layout

The LICENSE file is in the repository root, not src/import/.
The Makefile is also in the root, so do_compile should cd to ${S}.
Fix do_install_ typo to do_install so the task actually runs.

Signed-off-by: Jiaying Song <[email protected]>
---
 recipes-ids/crowdsec/crowdsec_1.1.1.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes-ids/crowdsec/crowdsec_1.1.1.bb b/recipes-ids/crowdsec/crowdsec_1.1.1.bb
index fa13e9d..c7fe3dd 100644
--- a/recipes-ids/crowdsec/crowdsec_1.1.1.bb
+++ b/recipes-ids/crowdsec/crowdsec_1.1.1.bb
@@ -1,7 +1,7 @@
 SUMMARY = "CrowdSec is a free, modern & collaborative behavior detection engine, coupled with a global IP reputation network."
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=105e75b680b2ab82fa5718661b41f3bf"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=105e75b680b2ab82fa5718661b41f3bf"
 
 SRC_URI = "git://github.com/crowdsecurity/crowdsec.git;branch=master;protocol=https"
 SRCREV = "73e0bbaf93070f4a640eb5a22212b5dcf26699de"
@@ -24,11 +24,11 @@ do_compile() {
     export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}"
     export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}"
 
-    cd ${S}/src/import
+    cd ${S}
     oe_runmake release
 }
 
-do_install_ () {
+do_install () {
    chmod +x -R --silent ${B}/pkg
 }
 
-- 
2.49.0



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#3705): https://lists.yoctoproject.org/g/yocto-patches/message/3705
Mute This Topic: https://lists.yoctoproject.org/mt/118836664/8575670
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13352517/8575670/2112398787/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.