Bug 171180

Summary: [patch] make 460.chkportsum also report missing files
Product: Base System Reporter: freebsd
Component: confAssignee: Alex Kozlov <ak>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: kensmith
Priority: Normal    
Version: 10.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
460.chkportsum.patch none

Description freebsd 2012-08-30 10:50:00 UTC
	The security daily script /etc/periodic/security/460.chkportsum
	fails to notify if a file from a port is missing.

Fix: Apply attached patch.
How-To-Repeat: 	1) add 'daily_status_security_chkportsum_enable="YES"' to 
	   your /etc/periodic.conf
	2) delete/rename a file that was installed via a port
	3) run "/etc/periodic/security/460.chkportsum" or wait 
	   for the daily security run output e-mail
Comment 1 Alex Kozlov freebsd_committer freebsd_triage 2012-08-30 11:10:19 UTC
Responsible Changed
From-To: freebsd-bugs->ak

I'll take it.
Comment 2 Alex Kozlov 2013-05-08 07:59:07 UTC
Hi

I apologize for the delay.
Can you please update ports-mgmt/pkg to 1.0.12 and try new
periodic script (460.pkg-checksum), included in the release?
It should resolve reported issues.


-- 
Alex
Comment 3 Alex Kozlov freebsd_committer freebsd_triage 2013-05-08 08:04:23 UTC
State Changed
From-To: open->feedback

Ask for submitter approval.
Comment 4 Alex Kozlov freebsd_committer freebsd_triage 2013-05-11 09:28:25 UTC
State Changed
From-To: feedback->patched

Fixed in pkgng, still an issue in pkgtools.
Comment 5 Alex Kozlov freebsd_committer freebsd_triage 2014-09-02 11:38:10 UTC
The pkgtools support were removed in r366839.