svn commit: r426684 - in head/security: ossec-hids-local ossec-hids-server
John Marino
marino at FreeBSD.org
Mon Nov 21 01:12:33 UTC 2016
Author: marino
Date: Mon Nov 21 01:12:32 2016
New Revision: 426684
URL: https://svnweb.freebsd.org/changeset/ports/426684
Log:
security/security/ossec-hids-(server|local|client): SSL fix / stage QA
Fix 1: Set LDFLAGS for SSL support
Fix 2: Fix stage-QA failures in both -local and -server:
Two log files were present in these stage directories that were
not listed in the plist. One of them were registered by the
-client port so rather than remove them from the stage, add them
to the package list
Fix 3: revbump after fix 2
Approved by: SSL and general blankets
Modified:
head/security/ossec-hids-local/Makefile
head/security/ossec-hids-server/Makefile
head/security/ossec-hids-server/pkg-plist
Modified: head/security/ossec-hids-local/Makefile
==============================================================================
--- head/security/ossec-hids-local/Makefile Sun Nov 20 23:56:41 2016 (r426683)
+++ head/security/ossec-hids-local/Makefile Mon Nov 21 01:12:32 2016 (r426684)
@@ -1,7 +1,7 @@
# Created by: Valerio Daelli <valerio.daelli at gmail.com>
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
COMMENT= Client and server (local) port of ossec-hids
LOCAL_ONLY= yes
Modified: head/security/ossec-hids-server/Makefile
==============================================================================
--- head/security/ossec-hids-server/Makefile Sun Nov 20 23:56:41 2016 (r426683)
+++ head/security/ossec-hids-server/Makefile Mon Nov 21 01:12:32 2016 (r426684)
@@ -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)
Modified: head/security/ossec-hids-server/pkg-plist
==============================================================================
--- head/security/ossec-hids-server/pkg-plist Sun Nov 20 23:56:41 2016 (r426683)
+++ head/security/ossec-hids-server/pkg-plist Mon Nov 21 01:12:32 2016 (r426684)
@@ -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
More information about the svn-ports-all
mailing list