Bug 227837

Summary: security/rkhunter: Update to 1.4.6
Product: Ports & Packages Reporter: Peter Putzer <freebsd>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Many People CC: driesm, lukasz, miwi, w.schwarzenfeld
Priority: --- Flags: lukasz: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 224084    
Attachments:
Description Flags
svn-diff-rkhunter-1.4.6
none
svn-diff-rkhunter-1.4.6_v2
none
Update to 1.4.6, install passwd, group and i18n files as samples lukasz: maintainer-approval+

Description Peter Putzer 2018-04-29 08:19:50 UTC
As of 2018/02/20, version 1.4.6 of rkhunter is available upstream: https://sourceforge.net/p/rkhunter/rkh_code/ci/master/tree/files/CHANGELOG
Comment 1 Walter Schwarzenfeld 2018-10-12 18:18:21 UTC
Created attachment 198071 [details]
svn-diff-rkhunter-1.4.6
Comment 2 Walter Schwarzenfeld 2018-10-15 13:59:01 UTC
Created attachment 198176 [details]
svn-diff-rkhunter-1.4.6_v2

Silence pkg check.
Comment 3 Peter Putzer 2018-12-15 08:55:37 UTC
What needs to be done here to have this committed?
Comment 4 Lukasz Wasikowski 2018-12-15 10:49:15 UTC
(In reply to Peter Putzer from comment #3)

Sorry for the delay, I'll look at it this weekend.
Comment 5 Lukasz Wasikowski 2018-12-16 23:49:51 UTC
Created attachment 200169 [details]
Update to 1.4.6, install passwd, group and i18n files as samples

This patch is based on w.schwarzenfeld@utanet.at patch and martin@lispworks.com idea from bug 224084. Thank you for your work!
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2019-01-11 07:53:31 UTC
Hi,

Sorry for the long waiting time, current patch fails with

install  -m 0644 -m 640 /wrkdirs/usr/ports/security/rkhunter/work/rkhunter-1.4.6/files/i18n/ja /wrkdirs/usr/ports/security/rkhunter/work/stage/usr/local/var/lib/rkhunter/db/i18n/ja.sample
====> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
Warning: port uses /usr/local/var instead of /var
Notice: You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions.
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: var/lib/rkhunter/tmp/group
Error: Orphaned: var/lib/rkhunter/tmp/passwd
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/rkhunter
=>> Error: check-plist failures detected
Comment 7 Walter Schwarzenfeld 2019-08-08 01:51:54 UTC
Any news here?
Comment 8 Peter Putzer 2019-10-12 06:30:49 UTC
What's holding this up? Can we help in some way (testing etc.)?
Comment 9 commit-hook freebsd_committer freebsd_triage 2019-10-12 07:37:41 UTC
A commit references this bug:

Author: tobik
Date: Sat Oct 12 07:37:03 UTC 2019
New revision: 514322
URL: https://svnweb.freebsd.org/changeset/ports/514322

Log:
  security/rkhunter: Update to 1.4.6

  Some files can be updated when running rkhunter.  Do not track them
  in the plist.

  Changes:	https://sourceforge.net/p/rkhunter/rkh_code/ci/version-1.4.6/tree/files/CHANGELOG
  PR:		227837
  Submitted by:	lukasz@wasikowski.net (maintainer)

Changes:
  head/security/rkhunter/Makefile
  head/security/rkhunter/distinfo
  head/security/rkhunter/pkg-plist
Comment 10 Tobias Kortkamp freebsd_committer freebsd_triage 2019-10-12 07:38:54 UTC
(In reply to Peter Putzer from comment #8)
Addressing the issue that Martin raised in comment #6 would probably
have sped this up.

Anyway committed, thanks.