summaryrefslogtreecommitdiff
path: root/security/ossec-hids/Makefile
blob: b6ca584aea102faffd75641ca555e227e585eddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

.include "${.CURDIR}/version.mk"

RUN_DEPENDS=	ossec-hids-${OSSEC_TYPE}>=${PORTVERSION}:security/ossec-hids-${OSSEC_TYPE}

USES=		metaport

OPTIONS_DEFINE=		CONFIG

OPTIONS_SINGLE=		G_TYPE
OPTIONS_SINGLE_G_TYPE=	LOCAL AGENT SERVER

OPTIONS_DEFAULT=	CONFIG LOCAL

CONFIG_DESC=		Install configuration manager and samples
G_TYPE_DESC=		Installation type
LOCAL_DESC=		Analizes local data only (standalone)
AGENT_DESC=		Sends local data to the server for analysis
SERVER_DESC=		Analizes local data and data received from multiple agents

CONFIG_VARS=		RUN_DEPENDS+=ossec-hids-${OSSEC_TYPE}-config>=${PORTVERSION}:security/ossec-hids-${OSSEC_TYPE}-config
LOCAL_VARS=		OSSEC_TYPE=local
AGENT_VARS=		OSSEC_TYPE=agent
SERVER_VARS=		OSSEC_TYPE=server

.include <bsd.port.mk>