summaryrefslogtreecommitdiffstats
path: root/recipes-ids/crowdsec/crowdsec_1.7.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-ids/crowdsec/crowdsec_1.7.7.bb')
-rw-r--r--recipes-ids/crowdsec/crowdsec_1.7.7.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-ids/crowdsec/crowdsec_1.7.7.bb b/recipes-ids/crowdsec/crowdsec_1.7.7.bb
new file mode 100644
index 0000000..0697022
--- /dev/null
+++ b/recipes-ids/crowdsec/crowdsec_1.7.7.bb
@@ -0,0 +1,29 @@
1SUMMARY = "CrowdSec is a free, modern & collaborative behavior detection engine, coupled with a global IP reputation network."
2DESCRIPTION = "Open-source and participative security solution offering crowdsourced protection against malicious IPs and access to the most advanced real-world CTI."
3HOMEPAGE = "https://www.crowdsec.net"
4LICENSE = "MIT & CC0-1.0"
5LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1e58fe4126ce0b50677f3aa6ba8e13c2 \
6 file://src/${GO_IMPORT}/build/windows/Chocolatey/crowdsec/tools/LICENSE.txt;md5=4d249f04094c9fb4d2b6fd2b1127e219 \
7 file://src/${GO_IMPORT}/test/lib/bats-assert/LICENSE;md5=7bae63a234e80ee7c6427dce9fdba6cc \
8 file://src/${GO_IMPORT}/test/lib/bats-core/LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b \
9 file://src/${GO_IMPORT}/test/lib/bats-file/LICENSE;md5=7bae63a234e80ee7c6427dce9fdba6cc \
10 file://src/${GO_IMPORT}/test/lib/bats-support/LICENSE;md5=7bae63a234e80ee7c6427dce9fdba6cc \
11"
12
13CROWDSEC_BRANCH_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
14SRC_URI = "gitsm://${GO_IMPORT};protocol=https;branch=releases/${CROWDSEC_BRANCH_VERSION}.x;tag=v${PV};destsuffix=${GO_SRCURI_DESTSUFFIX}"
15
16SRCREV = "027974f20cf422bbe1406cf4297fbff37417bd03"
17
18require ${BPN}-licenses.inc
19require ${BPN}-go-mods.inc
20GO_IMPORT = "github.com/crowdsecurity/crowdsec"
21
22inherit go-mod go-mod-update-modules
23
24do_install:append() {
25 # Avoid QA failure in !usrmerge case
26 sed -i -e "1s,#!/usr/bin/bash,#!${base_bindir}/bash," ${D}${libdir}/go/src/${GO_IMPORT}/test/lib/bats-core/.github/workflows/check_pr_label.sh
27}
28
29RDEPENDS:${PN}-dev += "bash make"