From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 20 14:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C7871065673 for ; Fri, 20 Mar 2009 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2DE078FC1D for ; Fri, 20 Mar 2009 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KEo2hs091067 for ; Fri, 20 Mar 2009 14:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KEo2mV091066; Fri, 20 Mar 2009 14:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 20 Mar 2009 14:50:02 GMT Resent-Message-Id: <200903201450.n2KEo2mV091066@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, valerio.daelli@ifom-ieo-campus.it Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33A57106566B for ; Fri, 20 Mar 2009 14:48:05 +0000 (UTC) (envelope-from eldon@litio.ifom-ieo-campus.it) Received: from lupin.ifom-ieo-campus.it (lupin.ifom-ieo-campus.it [85.239.175.139]) by mx1.freebsd.org (Postfix) with ESMTP id A68558FC0C for ; Fri, 20 Mar 2009 14:48:04 +0000 (UTC) (envelope-from eldon@litio.ifom-ieo-campus.it) Received: (qmail 3997 invoked by uid 106); 20 Mar 2009 14:21:24 -0000 Received: from lupin.ifom-ieo-campus.it by lupin.ifom-ieo-campus.it (envelope-from , uid 803) with qmail-scanner-2.02 (clamdscan: 0.94.2/8716. f-prot: 4.6.8/3.16.16. spamassassin: 3.2.5 Clear:RC:1(85.239.175.139):. Processed in 0.346796 secs); 20 Mar 2009 14:21:24 -0000 Received: from lupin.ifom-ieo-campus.it (HELO litio.ifom-ieo-campus.it) ([85.239.175.139]) (envelope-sender ) by lupin.ifom-ieo-campus.it (qmail-ldap-1.03) with SMTP for ; 20 Mar 2009 14:21:24 -0000 Received: (from eldon@litio.ifom-ieo-campus.it) by litio.ifom-ieo-campus.it (mini_sendmail/1.3.6 29jun2005); Fri, 20 Mar 2009 15:21:24 CET (sender eldon@litio.ifom-ieo-campus.it) Message-Id: <12375588847813988@lupin.ifom-ieo-campus.it> Date: Fri, 20 Mar 2009 14:48:04 +0000 (UTC) From: valerio.daelli@ifom-ieo-campus.it To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/132867: [PATCH] ossec-hids X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: valerio.daelli@ifom-ieo-campus.it List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 14:50:02 -0000 >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@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@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 +@dirrmtry %%PORTNAME%%/agentless +@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 +@dirrmtry %%PORTNAME%%/queue/diff +@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 +@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 +@dirrmtry %%PORTNAME%%/.ssh @dirrmtry %%PORTNAME%% --- client-patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: