diff options
Diffstat (limited to 'recipes-ids/crowdsec/crowdsec_1.1.1.bb')
| -rw-r--r-- | recipes-ids/crowdsec/crowdsec_1.1.1.bb | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/recipes-ids/crowdsec/crowdsec_1.1.1.bb b/recipes-ids/crowdsec/crowdsec_1.1.1.bb deleted file mode 100644 index fa13e9d..0000000 --- a/recipes-ids/crowdsec/crowdsec_1.1.1.bb +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | SUMMARY = "CrowdSec is a free, modern & collaborative behavior detection engine, coupled with a global IP reputation network." | ||
| 2 | |||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=105e75b680b2ab82fa5718661b41f3bf" | ||
| 5 | |||
| 6 | SRC_URI = "git://github.com/crowdsecurity/crowdsec.git;branch=master;protocol=https" | ||
| 7 | SRCREV = "73e0bbaf93070f4a640eb5a22212b5dcf26699de" | ||
| 8 | |||
| 9 | DEPENDS = "jq-native" | ||
| 10 | |||
| 11 | GO_IMPORT = "import" | ||
| 12 | |||
| 13 | inherit go | ||
| 14 | |||
| 15 | do_compile() { | ||
| 16 | export GOARCH="${TARGET_GOARCH}" | ||
| 17 | export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" | ||
| 18 | |||
| 19 | # Pass the needed cflags/ldflags so that cgo | ||
| 20 | # can find the needed headers files and libraries | ||
| 21 | export CGO_ENABLED="1" | ||
| 22 | export CFLAGS="" | ||
| 23 | export LDFLAGS="" | ||
| 24 | export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" | ||
| 25 | export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" | ||
| 26 | |||
| 27 | cd ${S}/src/import | ||
| 28 | oe_runmake release | ||
| 29 | } | ||
| 30 | |||
| 31 | do_install_ () { | ||
| 32 | chmod +x -R --silent ${B}/pkg | ||
| 33 | } | ||
| 34 | |||
| 35 | |||
| 36 | INSANE_SKIP:${PN} = "already-stripped" | ||
| 37 | INSANE_SKIP:${PN}-dev = "ldflags" | ||
| 38 | |||
| 39 | RDEPENDS:${PN} = "go" | ||
| 40 | RDEPENDS:${PN}-dev = "bash" | ||
