View | Details | Raw Unified | Return to bug 260262 | Differences between
and this patch

Collapse All | Expand All

(-)b/security/crowdsec/Makefile (-5 / +10 lines)
Lines 1-6 Link Here
1
PORTNAME=	crowdsec
1
PORTNAME=	crowdsec
2
PORTVERSION=	1.2.2	# NOTE: change BUILD_VERSION and BUILD_TAG as well
2
PORTVERSION=	1.2.3	# NOTE: change BUILD_VERSION and BUILD_TAG as well
3
PORTREVISION=	3
3
#PORTREVISION=	
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
CATEGORIES=	security
5
CATEGORIES=	security
6
6
Lines 19-25 USES= gmake Link Here
19
USE_GITHUB=	yes
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	crowdsecurity
20
GH_ACCOUNT=	crowdsecurity
21
GH_PROJECT=	crowdsec
21
GH_PROJECT=	crowdsec
22
GH_TAGNAME=	v1.2.2-freebsd
22
GH_TAGNAME=	v1.2.3-freebsd
23
#GH_TAGNAME is automatically set from DISTVERSION
23
#GH_TAGNAME is automatically set from DISTVERSION
24
24
25
USE_RC_SUBR=	crowdsec
25
USE_RC_SUBR=	crowdsec
Lines 29-36 SUB_FILES= pkg-message \ Link Here
29
29
30
# BUILD_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))
30
# BUILD_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))
31
# BUILD_TAG=$(git rev-parse HEAD)
31
# BUILD_TAG=$(git rev-parse HEAD)
32
MAKE_ENV=	BUILD_VERSION="v1.2.2" \
32
MAKE_ENV=	BUILD_VERSION="v1.2.3" \
33
		BUILD_TAG="7865ec368e54e28b23b54a187b9f96999f361f12"
33
		BUILD_TAG="fc4be1e0ffc5888f2824358464cb2426cd4472e1"
34
34
35
PLUGIN_DIR=	${PREFIX}/lib/crowdsec/plugins
35
PLUGIN_DIR=	${PREFIX}/lib/crowdsec/plugins
36
STAGE_PLUGINS=	${STAGEDIR}${PLUGIN_DIR}
36
STAGE_PLUGINS=	${STAGEDIR}${PLUGIN_DIR}
Lines 62-67 do-install: Link Here
62
	${LN} -s cscli ${STAGE_BIN}/crowdsec-cli
62
	${LN} -s cscli ${STAGE_BIN}/crowdsec-cli
63
63
64
	@${MKDIR} ${STAGE_PLUGINS}
64
	@${MKDIR} ${STAGE_PLUGINS}
65
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/notifications/email/notification-email ${STAGE_PLUGINS}/
65
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/notifications/http/notification-http ${STAGE_PLUGINS}/
66
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/notifications/http/notification-http ${STAGE_PLUGINS}/
66
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/notifications/slack/notification-slack ${STAGE_PLUGINS}/
67
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/notifications/slack/notification-slack ${STAGE_PLUGINS}/
67
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/notifications/splunk/notification-splunk ${STAGE_PLUGINS}/
68
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/notifications/splunk/notification-splunk ${STAGE_PLUGINS}/
Lines 92-97 do-install: Link Here
92
93
93
	@${MKDIR} ${STAGEDIR}${ETCDIR}/notifications
94
	@${MKDIR} ${STAGEDIR}${ETCDIR}/notifications
94
95
96
	@${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/email
97
	@${MV} ${WRKSRC}/plugins/notifications/email/email.yaml \
98
		${STAGEDIR}${ETCDIR}/notifications/email/email.yaml.sample
99
95
	@${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/http
100
	@${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/http
96
	@${MV} ${WRKSRC}/plugins/notifications/http/http.yaml \
101
	@${MV} ${WRKSRC}/plugins/notifications/http/http.yaml \
97
		${STAGEDIR}${ETCDIR}/notifications/http/http.yaml.sample
102
		${STAGEDIR}${ETCDIR}/notifications/http/http.yaml.sample
(-)b/security/crowdsec/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1640118841
1
TIMESTAMP = 1642022158
2
SHA256 (crowdsecurity-crowdsec-v1.2.2-v1.2.2-freebsd_GH0.tar.gz) = 25f8503122b38e10f837c4eb8cf7e43ceb15de9a05ea7e89384715a7567ad8cd
2
SHA256 (crowdsecurity-crowdsec-v1.2.3-v1.2.3-freebsd_GH0.tar.gz) = 9b3dd5fcc7b67cf89a1a661009a215b9a7f7a0efeb598456480e57fbd6e9bb4b
3
SIZE (crowdsecurity-crowdsec-v1.2.2-v1.2.2-freebsd_GH0.tar.gz) = 16571481
3
SIZE (crowdsecurity-crowdsec-v1.2.3-v1.2.3-freebsd_GH0.tar.gz) = 19122216
(-)b/security/crowdsec/pkg-plist (-1 / +2 lines)
Lines 10-15 bin/crowdsec-cli Link Here
10
@sample %%ETCDIR%%/config.yaml.sample
10
@sample %%ETCDIR%%/config.yaml.sample
11
@sample %%ETCDIR%%/profiles.yaml.sample
11
@sample %%ETCDIR%%/profiles.yaml.sample
12
@sample %%ETCDIR%%/simulation.yaml.sample
12
@sample %%ETCDIR%%/simulation.yaml.sample
13
@sample %%ETCDIR%%/notifications/email/email.yaml.sample
13
@sample %%ETCDIR%%/notifications/http/http.yaml.sample
14
@sample %%ETCDIR%%/notifications/http/http.yaml.sample
14
@sample %%ETCDIR%%/notifications/slack/slack.yaml.sample
15
@sample %%ETCDIR%%/notifications/slack/slack.yaml.sample
15
@sample %%ETCDIR%%/notifications/splunk/splunk.yaml.sample
16
@sample %%ETCDIR%%/notifications/splunk/splunk.yaml.sample
Lines 39-44 bin/crowdsec-cli Link Here
39
%%ETCDIR%%/patterns/tcpdump
40
%%ETCDIR%%/patterns/tcpdump
40
@sample etc/newsyslog.conf.d/crowdsec.conf.sample
41
@sample etc/newsyslog.conf.d/crowdsec.conf.sample
41
@mode 0755
42
@mode 0755
43
lib/crowdsec/plugins/notification-email
42
lib/crowdsec/plugins/notification-http
44
lib/crowdsec/plugins/notification-http
43
lib/crowdsec/plugins/notification-slack
45
lib/crowdsec/plugins/notification-slack
44
lib/crowdsec/plugins/notification-splunk
46
lib/crowdsec/plugins/notification-splunk
45
- 

Return to bug 260262