From nobody@FreeBSD.org  Fri Oct  1 18:18:37 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1BB9B106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Oct 2010 18:18:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0B70A8FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Oct 2010 18:18:37 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o91IIaHv099963
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 1 Oct 2010 18:18:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o91IIaLd099962;
	Fri, 1 Oct 2010 18:18:36 GMT
	(envelope-from nobody)
Message-Id: <201010011818.o91IIaLd099962@www.freebsd.org>
Date: Fri, 1 Oct 2010 18:18:36 GMT
From: Paul <onemda@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: include daily script in !MK_PKGTOOLS check for obsolete files
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         151141
>Category:       misc
>Synopsis:       [tools] [patch] include daily script in !MK_PKGTOOLS check for obsolete files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 01 18:20:06 UTC 2010
>Closed-Date:    Thu Feb 13 15:39:10 CET 2014
>Last-Modified:  Thu Feb 13 15:39:10 CET 2014
>Originator:     Paul
>Release:        CURRENT
>Organization:
>Environment:
CURRENT
>Description:
# cd /usr/src
# make delete-old

if WITHOUT_PKGTOOLS is true
daily script for package check will not be removed.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index d3aa4b2..be6bb37 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -1772,6 +1772,7 @@ OLD_FILES+=usr/share/man/man8/tftp-proxy.8.gz
 .endif
 
 .if ${MK_PKGTOOLS} == no
+OLD_FILES+=etc/periodic/daily/490.status-pkg-changes
 OLD_FILES+=etc/periodic/weekly/400.status-pkg
 OLD_FILES+=usr/sbin/pkg_add
 OLD_FILES+=usr/sbin/pkg_create


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Thu Feb 13 15:38:12 CET 2014 
State-Changed-Why:  
This was committed as part of a bigger patch in r213472 (more than 3 years ago). 
Thanks for the report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=151141 
>Unformatted:
