Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2022 11:14:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267708] security/ossec-hids: 'local_rules.xml' still being replaced with sample file
Message-ID:  <bug-267708-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267708

            Bug ID: 267708
           Summary: security/ossec-hids: 'local_rules.xml' still being
                    replaced with sample file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: no-reply-expected@phinetworksystems.co.uk
                CC: dominik.lisiak@bemsoft.pl
             Flags: maintainer-feedback?(dominik.lisiak@bemsoft.pl)
                CC: dominik.lisiak@bemsoft.pl

Dominik originated commit
https://github.com/freebsd/freebsd-ports/commit/68d6aa009c87714f94855e5dc9a=
5d60992209b84

see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267455

I waited until it got released on freshports then updated to
ossec-hids-server-3.7.0_1

The problem is the /usr/local/ossec-hids/rules/local_rules.xml still got
toasted.

ossec-hids-server-3.7.0 (before upgrade)
# md5sum /usr/local/ossec-hids/rules/local*
d391abaa792cfdd67db7600b3a36e1ac  /usr/local/ossec-hids/rules/local_rules.x=
ml

ossec-hids-server-3.7.0_1 (after upgrade)
# md5sum /usr/local/ossec-hids/rules/local*
9dc11ffe2acd62c2e2aefdc7aa6e413e /usr/local/ossec-hids/rules/local_rules.xml
9dc11ffe2acd62c2e2aefdc7aa6e413e=20
/usr/local/ossec-hids/rules/local_rules.xml.sample

I have looked at Dominik's change and I'm lost as to why it hasn't fixed th=
is.
I see why the new .sample file has appeared by why it wiped the local_rules=
.xml
again has me stumped.

I admit I'm not familiar with the scripting for installing staged files to
target. While I'm coming up to speed on it maybe someone more familiar with=
 it
could help?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267708-7788>