Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 13:38:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 224084] security/rkhunter: Various pkg checksum mismatch issues in rkhunter-1.4.4
Message-ID:  <bug-224084-7788-jUaZhE8SuR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-224084-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-224084-7788@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #7 from martin@lispworks.com ---
(In reply to w.schwarzenfeld from comment #6)

I'm not convinced that 1.4.6 will fix this permanently, because the problems
are in the port.

There are two different problems:

1) The files in /usr/local/var/lib/rkhunter/db/i18n/ can updated by the
--update option.  If you want to include them in the pkg, then I think they
should be handled using @sample in the pkg-plist like mirrors.dat (and rena=
med
to *.sample in the do-install part of the Makefile).

2) The files in /usr/local/var/lib/rkhunter/tmp/passwd and
/usr/local/var/lib/rkhunter/tmp/group are updated when rkhunter is run, so
should not be copied into the pkg.  I think pkg-plist should be changed to
replace

var/lib/rkhunter/tmp/passwd

by something like

@postexec cp /etc/passed %D/var/lib/rkhunter/tmp/passwd 2> /dev/null || true
@postunexec rm -f %D/var/lib/rkhunter/tmp/passwd 2> /dev/null || true

and ditto for var/lib/rkhunter/tmp/group.

--=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-224084-7788-jUaZhE8SuR>