aboutsummaryrefslogtreecommitdiff
path: root/security/ossec-hids-server
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-11-21 01:12:32 +0000
committerJohn Marino <marino@FreeBSD.org>2016-11-21 01:12:32 +0000
commit6a739f4a9758e8904843ceaa687f91748cfc7f5c (patch)
tree1af846a530c360076d71dfb797fd8595b864bfbc /security/ossec-hids-server
parentf6cf46f7fca0c4d2853da9ba0d63d3f877342d26 (diff)
downloadports-6a739f4a9758e8904843ceaa687f91748cfc7f5c.tar.gz
ports-6a739f4a9758e8904843ceaa687f91748cfc7f5c.zip
Notes
Diffstat (limited to 'security/ossec-hids-server')
-rw-r--r--security/ossec-hids-server/Makefile7
-rw-r--r--security/ossec-hids-server/pkg-plist2
2 files changed, 6 insertions, 3 deletions
diff --git a/security/ossec-hids-server/Makefile b/security/ossec-hids-server/Makefile
index 44eb7b059886..053da9503d57 100644
--- a/security/ossec-hids-server/Makefile
+++ b/security/ossec-hids-server/Makefile
@@ -4,7 +4,7 @@
PORTNAME= ossec-hids
PORTVERSION= 2.8.3
DISTVERSIONPREFIX= v
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= security
PKGNAMESUFFIX= -server
@@ -17,8 +17,7 @@ USE_RC_SUBR= ossec-hids
CFLAGS+= -ferror-limit=0
-USES= readline
-USE_OPENSSL= yes
+USES= readline ssl
.if defined(MAINTAINER_MODE)
UID_FILES+= ../../UIDs
@@ -89,6 +88,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|-DLUA_USE_LINUX|& ${CPPFLAGS}|' \
-e 's|-lreadline|& ${LDFLAGS}|' \
${WRKSRC}/src/external/lua-5.2.3/src/Makefile
+ @${REINPLACE_CMD} -e 's|OPENSSLCMD=|OPENSSLCMD=-L${OPENSSLLIB} |' \
+ ${WRKSRC}/src/Makeall
do-build:
.if defined(WITH_DB)
diff --git a/security/ossec-hids-server/pkg-plist b/security/ossec-hids-server/pkg-plist
index 28555aeb1450..6eb398634d3d 100644
--- a/security/ossec-hids-server/pkg-plist
+++ b/security/ossec-hids-server/pkg-plist
@@ -126,6 +126,8 @@
%%PORTNAME%%/agentless/ssh_pixconfig_diff
%%PORTNAME%%/agentless/sshlogin.exp
%%PORTNAME%%/agentless/su.exp
+@(ossec,,) %%PORTNAME%%/logs/active-responses.log
+@(ossec,,) %%PORTNAME%%/logs/ossec.log
@mode 550
@dir %%PORTNAME%%/.ssh
@dir %%PORTNAME%%/active-response/bin