Lines 1-7
Link Here
|
1 |
PORTNAME= crowdsec |
1 |
PORTNAME= crowdsec |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 1.4.6 |
3 |
DISTVERSION= 1.5.1 |
4 |
PORTREVISION= 2 |
4 |
DISTVERSIONSUFFIX= -freebsd |
5 |
CATEGORIES= security |
5 |
CATEGORIES= security |
6 |
|
6 |
|
7 |
MAINTAINER= marco@crowdsec.net |
7 |
MAINTAINER= marco@crowdsec.net |
Lines 11-25
WWW= https://github.com/crowdsecurity/crowdsec
Link Here
|
11 |
LICENSE= MIT |
11 |
LICENSE= MIT |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
BUILD_DEPENDS= git:devel/git@lite |
14 |
USES= gmake go:no_targets |
15 |
|
|
|
16 |
USES= gmake go:1.19,no_targets |
17 |
|
15 |
|
18 |
USE_GITHUB= yes |
16 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= crowdsecurity |
17 |
GH_ACCOUNT= crowdsecurity |
20 |
GH_PROJECT= crowdsec |
18 |
GH_PROJECT= crowdsec |
21 |
GH_TAGNAME= ${DISTVERSIONFULL}-freebsd |
19 |
_BUILD_TAG= b76e95e3 |
22 |
_BUILD_TAG= c8cb9ac9 |
|
|
23 |
USE_RC_SUBR= crowdsec |
20 |
USE_RC_SUBR= crowdsec |
24 |
|
21 |
|
25 |
MAKE_ARGS= BUILD_VERSION="${DISTVERSIONFULL}" \ |
22 |
MAKE_ARGS= BUILD_VERSION="${DISTVERSIONFULL}" \ |
Lines 36-42
OPTIONS_DEFINE= FIREWALL_BOUNCER
Link Here
|
36 |
OPTIONS_DEFAULT= |
33 |
OPTIONS_DEFAULT= |
37 |
|
34 |
|
38 |
FIREWALL_BOUNCER_DESC= Depend on security/crowdsec-firewall-bouncer |
35 |
FIREWALL_BOUNCER_DESC= Depend on security/crowdsec-firewall-bouncer |
39 |
FIREWALL_BOUNCER_RUN_DEPENDS= crowdsec-firewall-bouncer>=0.0.23.r2:security/crowdsec-firewall-bouncer |
36 |
FIREWALL_BOUNCER_RUN_DEPENDS= crowdsec-firewall-bouncer>=0.0.27:security/crowdsec-firewall-bouncer |
40 |
|
37 |
|
41 |
PLUGIN_DIR= ${PREFIX}/lib/crowdsec/plugins |
38 |
PLUGIN_DIR= ${PREFIX}/lib/crowdsec/plugins |
42 |
STAGE_PLUGINS= ${STAGEDIR}${PLUGIN_DIR} |
39 |
STAGE_PLUGINS= ${STAGEDIR}${PLUGIN_DIR} |
Lines 143-148
do-install:
Link Here
|
143 |
@${RM} ${STAGEDIR}${ETCDIR}/crowdsec.service |
140 |
@${RM} ${STAGEDIR}${ETCDIR}/crowdsec.service |
144 |
@${RM} ${STAGEDIR}${ETCDIR}/dev.yaml |
141 |
@${RM} ${STAGEDIR}${ETCDIR}/dev.yaml |
145 |
@${RM} ${STAGEDIR}${ETCDIR}/user.yaml |
142 |
@${RM} ${STAGEDIR}${ETCDIR}/user.yaml |
|
|
143 |
@${RM} ${STAGEDIR}${ETCDIR}/detect.yaml |
144 |
@${RM} ${STAGEDIR}${ETCDIR}/context.yaml |
146 |
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/email |
145 |
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/email |
147 |
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/http |
146 |
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/http |
148 |
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/slack |
147 |
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/slack |