aboutsummaryrefslogtreecommitdiff
path: root/security/ossec-hids-server
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2015-06-12 14:13:29 +0000
committerBrad Davis <brd@FreeBSD.org>2015-06-12 14:13:29 +0000
commit7f16b2fac1d9ba345cbea871d916ec0b60861728 (patch)
treeb6bb7bc7de7a336d95dfb748e4c3d647649cc286 /security/ossec-hids-server
parent7b047d168afa68a76f6c83cd87768a7ca9971018 (diff)
downloadports-7f16b2fac1d9ba345cbea871d916ec0b60861728.tar.gz
ports-7f16b2fac1d9ba345cbea871d916ec0b60861728.zip
Notes
Diffstat (limited to 'security/ossec-hids-server')
-rw-r--r--security/ossec-hids-server/Makefile13
-rw-r--r--security/ossec-hids-server/distinfo4
-rw-r--r--security/ossec-hids-server/pkg-plist54
3 files changed, 38 insertions, 33 deletions
diff --git a/security/ossec-hids-server/Makefile b/security/ossec-hids-server/Makefile
index cee58b6fe4e3..e9aa5dfe4e71 100644
--- a/security/ossec-hids-server/Makefile
+++ b/security/ossec-hids-server/Makefile
@@ -2,11 +2,11 @@
# $FreeBSD$
PORTNAME= ossec-hids
-PORTVERSION= 2.8.1
-PORTREVISION?= 1
+PORTVERSION= 2.8.2
+PORTREVISION?= 0
CATEGORIES= security
-MASTER_SITES= http://www.ossec.net/files/ \
- http://www.ossec.net/files/old/
+USE_GITHUB= yes
+GH_ACCOUNT= ossec
PKGNAMESUFFIX= -server
MAINTAINER= brd@FreeBSD.org
@@ -50,10 +50,12 @@ USES+= pgsql
.endif
.endif
+STRIP_FILES= ossec-luac agent_control ossec-lua ossec-dbd ossec-regex ossec-monitord ossec-makelists verify-agent-conf ossec-analysisd ossec-agentlessd syscheck_control ossec-execd manage_agents ossec-csyslogd ossec-syscheckd ossec-logtest ossec-authd ossec-logcollector list_agents ossec-maild clear_stats ossec-remoted ossec-reportd rootcheck_control syscheck_update
.if defined(CLIENT_ONLY)
SUB_LIST+= PRECMD=:
PKGNAMESUFFIX= -client
CONFLICTS= ossec-hids-server-[0-9]* ossec-hids-local-[0-9]*
+STRIP_FILES= agent-auth manage_agents ossec-agentd ossec-execd ossec-logcollector ossec-lua ossec-luac ossec-syscheckd
.elif defined(LOCAL_ONLY)
SUB_LIST+= PRECMD=ossechids_start_precmd
PKGNAMESUFFIX= -local
@@ -102,6 +104,9 @@ do-install:
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PORTNAME}/etc
+.for file in ${STRIP_FILES}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/ossec-hids/bin/${file}
+.endfor
.if defined(CLIENT_ONLY)
@${CP} ${WRKSRC}/etc/ossec-agent.conf ${STAGEDIR}${PREFIX}/${PORTNAME}/etc/ossec.conf.sample
diff --git a/security/ossec-hids-server/distinfo b/security/ossec-hids-server/distinfo
index bee4ac27b1e8..cd9547432fc7 100644
--- a/security/ossec-hids-server/distinfo
+++ b/security/ossec-hids-server/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ossec-hids-2.8.1.tar.gz) = 03c073761aa484fe21a9fcc0ea318ba132ff2466c64360408046a4b8e527b529
-SIZE (ossec-hids-2.8.1.tar.gz) = 1634812
+SHA256 (ossec-ossec-hids-2.8.2_GH0.tar.gz) = 61e0892175a79fe119c8bab886cd41fcc3be9b84526600b06c18fa178a59cb34
+SIZE (ossec-ossec-hids-2.8.2_GH0.tar.gz) = 1635142
diff --git a/security/ossec-hids-server/pkg-plist b/security/ossec-hids-server/pkg-plist
index 86617ea462ff..33f306448599 100644
--- a/security/ossec-hids-server/pkg-plist
+++ b/security/ossec-hids-server/pkg-plist
@@ -131,40 +131,40 @@
@owner root
@group ossec
@mode 550
-@dirrmtry %%PORTNAME%%/.ssh
-@dirrmtry %%PORTNAME%%/active-response/bin
-@dirrmtry %%PORTNAME%%/active-response
-@dirrmtry %%PORTNAME%%/agentless
-@dirrmtry %%PORTNAME%%/bin
-@dirrmtry %%PORTNAME%%/etc/shared
-@dirrmtry %%PORTNAME%%/etc
-@dirrmtry %%PORTNAME%%/queue/rootcheck
-@dirrmtry %%PORTNAME%%/rules
-@dirrmtry %%PORTNAME%%/tmp
+@dir %%PORTNAME%%/.ssh
+@dir %%PORTNAME%%/active-response/bin
+@dir %%PORTNAME%%/active-response
+@dir %%PORTNAME%%/agentless
+@dir %%PORTNAME%%/bin
+@dir %%PORTNAME%%/etc/shared
+@dir %%PORTNAME%%/etc
+@dir %%PORTNAME%%/queue/rootcheck
+@dir %%PORTNAME%%/rules
+@dir %%PORTNAME%%/tmp
@mode 770
-@dirrmtry %%PORTNAME%%/var/run
+@dir %%PORTNAME%%/var/run
@mode 550
-@dirrmtry %%PORTNAME%%/var
+@dir %%PORTNAME%%/var
@owner ossec
@mode 770
-@dirrmtry %%PORTNAME%%/queue/alerts
-@dirrmtry %%PORTNAME%%/queue/ossec
+@dir %%PORTNAME%%/queue/alerts
+@dir %%PORTNAME%%/queue/ossec
@mode 750
-@dirrmtry %%PORTNAME%%/queue/fts
-@dirrmtry %%PORTNAME%%/queue/syscheck
-@dirrmtry %%PORTNAME%%/queue/diff
-@dirrmtry %%PORTNAME%%/queue/agentless
-@dirrmtry %%PORTNAME%%/stats
-@dirrmtry %%PORTNAME%%/logs/alerts
-@dirrmtry %%PORTNAME%%/logs/archives
-@dirrmtry %%PORTNAME%%/logs/firewall
-@dirrmtry %%PORTNAME%%/logs
+@dir %%PORTNAME%%/queue/fts
+@dir %%PORTNAME%%/queue/syscheck
+@dir %%PORTNAME%%/queue/diff
+@dir %%PORTNAME%%/queue/agentless
+@dir %%PORTNAME%%/stats
+@dir %%PORTNAME%%/logs/alerts
+@dir %%PORTNAME%%/logs/archives
+@dir %%PORTNAME%%/logs/firewall
+@dir %%PORTNAME%%/logs
@owner ossecr
-@dirrmtry %%PORTNAME%%/queue/agent-info
-@dirrmtry %%PORTNAME%%/queue/rids
+@dir %%PORTNAME%%/queue/agent-info
+@dir %%PORTNAME%%/queue/rids
@owner ossec
@mode 550
-@dirrmtry %%PORTNAME%%/queue
+@dir %%PORTNAME%%/queue
@owner root
@mode 550
-@dirrmtry %%PORTNAME%%
+@dir %%PORTNAME%%