ports/132867: [PATCH] ossec-hids
valerio.daelli at ifom-ieo-campus.it
valerio.daelli at ifom-ieo-campus.it
Fri Mar 20 14:50:02 UTC 2009
>Number: 132867
>Category: ports
>Synopsis: [PATCH] ossec-hids
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 20 14:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: valerio.daelli at ifom-ieo-campus.it
>Release: FreeBSD 6.2-RELEASE-p3 amd64
>Organization:
IFOM
>Environment:
System: FreeBSD litio.ifom-ieo-campus.it 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #1: Thu Mar 15 14:52:08 CET 2007 root at litio.ifom-ieo-campus.it:/usr/obj/usr/src/sys/LITIO amd64
>Description:
This three patches update ossec-hids
>How-To-Repeat:
Apply these patches
>Fix:
--- server-patch begins here ---
diff -ruN /usr/ports/security/ossec-hids-server.OLD/Makefile ossec-hids-server/Makefile
--- /usr/ports/security/ossec-hids-server.OLD/Makefile 2008-09-29 16:00:04.000000000 +0200
+++ ossec-hids-server/Makefile 2009-03-12 15:00:15.000000000 +0100
@@ -6,7 +6,7 @@
#
PORTNAME= ossec-hids
-PORTVERSION= 1.6
+PORTVERSION= 2.0
PORTREVISION?= 0
CATEGORIES= security
MASTER_SITES= http://www.ossec.net/files/ \
diff -ruN /usr/ports/security/ossec-hids-server.OLD/distinfo ossec-hids-server/distinfo
--- /usr/ports/security/ossec-hids-server.OLD/distinfo 2008-09-29 16:00:04.000000000 +0200
+++ ossec-hids-server/distinfo 2009-03-12 15:00:23.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (ossec-hids-1.6.tar.gz) = 2ed9ef649d44ad416047a4c28eaad13c
-SHA256 (ossec-hids-1.6.tar.gz) = 07dc21b1d1b581c29c16ba0bdca525fabac775aa7f2be139708c5427261e0687
-SIZE (ossec-hids-1.6.tar.gz) = 666622
+MD5 (ossec-hids-2.0.tar.gz) = 113d3df5f556f7f0e3df2d203d2ef73d
+SHA256 (ossec-hids-2.0.tar.gz) = 4640384c20d2b7a80c266180fd6b1a73703f8fda1794ced4c82d4ab4abbcb250
+SIZE (ossec-hids-2.0.tar.gz) = 687694
diff -ruN /usr/ports/security/ossec-hids-server.OLD/pkg-plist ossec-hids-server/pkg-plist
--- /usr/ports/security/ossec-hids-server.OLD/pkg-plist 2008-09-29 16:00:04.000000000 +0200
+++ ossec-hids-server/pkg-plist 2009-03-12 15:16:08.000000000 +0100
@@ -23,7 +23,10 @@
%%PORTNAME%%/bin/agent_control
%%PORTNAME%%/bin/syscheck_control
%%PORTNAME%%/bin/rootcheck_control
+%%PORTNAME%%/bin/ossec-reportd
+%%PORTNAME%%/bin/ossec-agentlessd
%%PORTNAME%%/etc/decoder.xml
+%%PORTNAME%%/etc/localtime
%%PORTNAME%%/etc/internal_options.conf
@unexec if cmp -s %D/%%PORTNAME%%/etc/ossec.conf %D/%%PORTNAME%%/etc/ossec.conf.sample; then rm -f %D/%%PORTNAME%%/etc/ossec.conf; fi
%%PORTNAME%%/etc/ossec.conf.sample
@@ -85,6 +88,18 @@
%%PORTNAME%%/rules/solaris_bsm_rules.xml
%%PORTNAME%%/rules/mcafee_av_rules.xml
%%PORTNAME%%/rules/asterisk_rules.xml
+%%PORTNAME%%/agentless/main.exp
+%%PORTNAME%%/agentless/sshlogin.exp
+%%PORTNAME%%/agentless/ssh_pixconfig_diff
+%%PORTNAME%%/agentless/ssh_nopass.exp
+%%PORTNAME%%/agentless/ssh_integrity_check_linux
+%%PORTNAME%%/agentless/ssh_integrity_check_bsd
+%%PORTNAME%%/agentless/ssh_generic_diff
+%%PORTNAME%%/agentless/ssh.exp
+%%PORTNAME%%/agentless/register_host.sh
+%%PORTNAME%%/agentless/su.exp
+ at dirrmtry %%PORTNAME%%/agentless
+ at dirrmtry %%PORTNAME%%/.ssh
@dirrmtry %%PORTNAME%%/var/run
@dirrmtry %%PORTNAME%%/var
@dirrmtry %%PORTNAME%%/tmp
@@ -97,6 +112,8 @@
@dirrmtry %%PORTNAME%%/queue/fts
@dirrmtry %%PORTNAME%%/queue/alerts
@dirrmtry %%PORTNAME%%/queue/agent-info
+ at dirrmtry %%PORTNAME%%/queue/diff
+ at dirrmtry %%PORTNAME%%/queue/agentless
@dirrmtry %%PORTNAME%%/queue
@dirrmtry %%PORTNAME%%/logs/firewall
@dirrmtry %%PORTNAME%%/logs/archives
--- server-patch ends here ---
begin 644 local-patch
`
end
end
--- client-patch begins here ---
diff -ruN /usr/ports/security/ossec-hids-client.OLD/pkg-plist.client ossec-hids-client/pkg-plist.client
--- /usr/ports/security/ossec-hids-client.OLD/pkg-plist.client 2008-12-18 14:02:36.000000000 +0100
+++ ossec-hids-client/pkg-plist.client 2009-03-12 15:23:22.000000000 +0100
@@ -21,9 +21,21 @@
%%PORTNAME%%/etc/shared/win_malware_rcl.txt
%%PORTNAME%%/etc/shared/win_audit_rcl.txt
%%PORTNAME%%/etc/shared/win_applications_rcl.txt
+%%PORTNAME%%/etc/localtime
@unexec if cmp -s %D/%%PORTNAME%%/etc/ossec.conf %D/%%PORTNAME%%/etc/ossec.conf.sample; then rm -f %D/%%PORTNAME%%/etc/ossec.conf; fi
%%PORTNAME%%/etc/ossec.conf.sample
%%PORTNAME%%/logs/ossec.log
+%%PORTNAME%%/agentless/main.exp
+%%PORTNAME%%/agentless/sshlogin.exp
+%%PORTNAME%%/agentless/ssh_pixconfig_diff
+%%PORTNAME%%/agentless/ssh_nopass.exp
+%%PORTNAME%%/agentless/ssh_integrity_check_linux
+%%PORTNAME%%/agentless/ssh_integrity_check_bsd
+%%PORTNAME%%/agentless/ssh_generic_diff
+%%PORTNAME%%/agentless/ssh.exp
+%%PORTNAME%%/agentless/register_host.sh
+%%PORTNAME%%/agentless/su.exp
+ at dirrmtry %%PORTNAME%%/agentless
@dirrmtry %%PORTNAME%%/active-response/bin/firewalls
@dirrmtry %%PORTNAME%%/active-response/bin
@dirrmtry %%PORTNAME%%/active-response
@@ -38,4 +50,5 @@
@dirrmtry %%PORTNAME%%/queue
@dirrmtry %%PORTNAME%%/logs
@dirrmtry %%PORTNAME%%/bin
+ at dirrmtry %%PORTNAME%%/.ssh
@dirrmtry %%PORTNAME%%
--- client-patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list