Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion security/crowdsec/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PLUGIN_NAME= crowdsec
PLUGIN_VERSION= 1.0.12
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you either want to make a new version or at least add a PLUGIN_REVISION=1 here

PLUGIN_DEPENDS= crowdsec
PLUGIN_COMMENT= Lightweight and collaborative security engine
PLUGIN_MAINTAINER= marco@crowdsec.net
PLUGIN_MAINTAINER= manuel@crowdsec.net
PLUGIN_WWW= https://crowdsec.net/

.include "../../Mk/plugins.mk"
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ test -x /usr/local/bin/cscli || exit 0

/usr/local/bin/cscli --error -o human hub update >/dev/null

_setup=$(mktemp /tmp/crowdsec-setup.XXXXXX.yaml)
/usr/local/bin/cscli setup detect --detect-config /usr/local/etc/crowdsec/detect.yaml --outfile "${_setup}"
/usr/local/bin/cscli setup install-hub --file "${_setup}"
rm -f "${_setup}"

upgraded=$(/usr/local/bin/cscli --error -o human hub upgrade)

if [ ! -e "/usr/local/etc/crowdsec/collections/opnsense.yaml" ]; then
Expand Down