- Update to 2.6

PR:		ports/159786
Submitted by:	Jake Smith <jake@avenue22.net>
Approved by:	maintainer(timeout, > 40 days)
This commit is contained in:
Wen Heping 2011-09-27 06:56:19 +00:00
parent 3634d5e9da
commit ff9f11b489
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282477
4 changed files with 30 additions and 8 deletions

View File

@ -7,6 +7,7 @@
%%PORTNAME%%/active-response/bin/pf.sh
%%PORTNAME%%/active-response/bin/restart-ossec.sh
%%PORTNAME%%/active-response/bin/route-null.sh
%%PORTNAME%%/bin/agent-auth
%%PORTNAME%%/bin/manage_agents
%%PORTNAME%%/bin/ossec-agentd
%%PORTNAME%%/bin/ossec-control

View File

@ -6,8 +6,7 @@
#
PORTNAME= ossec-hids
PORTVERSION= 2.5.1
PORTREVISION= 1
PORTVERSION= 2.6
CATEGORIES= security
MASTER_SITES= http://www.ossec.net/files/ \
http://www.ossec.net/files/old/
@ -18,10 +17,10 @@ COMMENT?= A security tool to monitor and check logs and intrusions
USE_RC_SUBR= ossec-hids
.if defined(WITH_DB)
USE_MYSQL= yes
USE_PGSQL= yes
USE_BDB= yes
.if !defined(CLIENT_ONLY)
OPTIONS= MYSQL "Enable MySQL support" off \
PGSQL "Enable PostgreSQL support" off \
BDB "Enable with Berkeley DB" off
.endif
SUB_LIST= PORTNAME=${PORTNAME}
@ -31,6 +30,23 @@ PORTDOCS= BUGS CONFIG CONTRIBUTORS INSTALL LICENSE README
.include <bsd.port.pre.mk>
.if !defined(CLIENT_ONLY)
.if defined(WITH_MYSQL)
WITH_DB= yes
USE_MYSQL= yes
.endif
.if defined(WITH_PGSQL)
WITH_DB= yes
USE_PGSQL= yes
.endif
.if defined(WITH_BDB)
WITH_DB= yes
USE_BDB= yes
.endif
.endif
.if defined(CLIENT_ONLY)
PKGNAMESUFFIX= -client
CONFLICTS= ossec-hids-server-[0-9]* ossec-hids-local-[0-9]*

View File

@ -1,2 +1,2 @@
SHA256 (ossec-hids-2.5.1.tar.gz) = e7bb4701a6b9a40f76d4e2c3c39106ded3c37f13ccc3ce476029da1f0e9c9f9e
SIZE (ossec-hids-2.5.1.tar.gz) = 740470
SHA256 (ossec-hids-2.6.tar.gz) = 37a6b14a0c41252852b51fd06cc186a8b66bd9e01821efd70305a6dd782a2b4c
SIZE (ossec-hids-2.6.tar.gz) = 758125

View File

@ -14,6 +14,7 @@
%%PORTNAME%%/bin/ossec-agentd
%%PORTNAME%%/bin/ossec-agentlessd
%%PORTNAME%%/bin/ossec-analysisd
%%PORTNAME%%/bin/ossec-authd
%%PORTNAME%%/bin/ossec-control
%%PORTNAME%%/bin/ossec-csyslogd
%%PORTNAME%%/bin/ossec-dbd
@ -49,10 +50,13 @@
%%PORTNAME%%/rules/arpwatch_rules.xml
%%PORTNAME%%/rules/asterisk_rules.xml
%%PORTNAME%%/rules/attack_rules.xml
%%PORTNAME%%/rules/bro-ids_rules.xml
%%PORTNAME%%/rules/cimserver_rules.xml
%%PORTNAME%%/rules/cisco-ios_rules.xml
%%PORTNAME%%/rules/clam_av_rules.xml
%%PORTNAME%%/rules/courier_rules.xml
%%PORTNAME%%/rules/dovecot_rules.xml
%%PORTNAME%%/rules/dropbear_rules.xml
%%PORTNAME%%/rules/firewall_rules.xml
%%PORTNAME%%/rules/ftpd_rules.xml
%%PORTNAME%%/rules/hordeimp_rules.xml
@ -70,6 +74,7 @@
%%PORTNAME%%/rules/named_rules.xml
%%PORTNAME%%/rules/netscreenfw_rules.xml
%%PORTNAME%%/rules/nginx_rules.xml
%%PORTNAME%%/rules/openbsd_rules.xml
%%PORTNAME%%/rules/ossec_rules.xml
%%PORTNAME%%/rules/pam_rules.xml
%%PORTNAME%%/rules/php_rules.xml