rkhunter relies on wget to obtain updates. But it's not calling some esoteric wget invocation - wget is just used for straightforward downloads. Hence we might as well use fetch(1) which is bundled with the base system, relaxing on the wget dependency. The attached rather trivial patch implements this.
Created attachment 183267 [details] diff -rN
Comment on attachment 183267 [details] diff -rN Good idea, thank you for this patch.
@Lucasz, the port has no arch-specific files, do I have approval to also add NO-ARCH=yes to the port?
Created attachment 183461 [details] security/rkhunter.diff * Added NO_ARCH * Fixed portlint items
(In reply to Richard Gallamore from comment #3) Yes, thank you!
A commit references this bug: Author: ultima Date: Wed Jun 14 00:14:22 UTC 2017 New revision: 443547 URL: https://svnweb.freebsd.org/changeset/ports/443547 Log: * Add fetch function to rkhunter * Remove wget as a dependency * Added NO_ARCH * Fixed portlint items PR: 219825 Submitted by: Helge Oldach <freebsd@oldach.net> Reviewed by: matthew (mentor) Approved by: Lukasz Wasikowski <lukasz@wasikowski.net> (maintainer), matthew (mentor) Differential Revision: https://reviews.freebsd.org/D11168 Changes: head/security/rkhunter/Makefile head/security/rkhunter/files/patch-files__rkhunter.conf head/security/rkhunter/files/patch-files_rkhunter head/security/rkhunter/files/patch-files_rkhunter.conf head/security/rkhunter/files/patch-installer.sh head/security/rkhunter/pkg-plist
Committed, thanks!