From nobody@FreeBSD.org  Wed Sep  7 22:33:39 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2F4DB16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Sep 2005 22:33:39 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D025F43D6D
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Sep 2005 22:33:34 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j87MXYih010954
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Sep 2005 22:33:34 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j87MXYw6010953;
	Wed, 7 Sep 2005 22:33:34 GMT
	(envelope-from nobody)
Message-Id: <200509072233.j87MXYw6010953@www.freebsd.org>
Date: Wed, 7 Sep 2005 22:33:34 GMT
From: Roy Badami <roy@gnomon.org.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: portsnap extract silently deletes Makefile.local
X-Send-Pr-Version: www-2.3

>Number:         85850
>Category:       ports
>Synopsis:       portsnap extract silently deletes Makefile.local
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    cperciva
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 07 22:40:08 GMT 2005
>Closed-Date:    Mon Sep 10 01:36:00 GMT 2007
>Last-Modified:  Mon Sep 10 01:36:00 GMT 2007
>Originator:     Roy Badami
>Release:        5.4-RELEASE-p6
>Organization:
>Environment:
FreeBSD darla.gnomon.org.uk 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #3: Wed Sep  7 16:52:56 BST 2005     roy@darla.gnomon.org.uk:/usr/obj/usr/src/sys/DARLA  i386

>Description:
portsnap extract silently deletes any Makefile.local configuration files that have been used to configure ports.

Since Makefile.local is/was at least a semi-supported mechanism, IMHO portsnap should at a minimum complain if Makefile.local exists anywhere in the ports tree (though preserving them would obviously be nicer).

Otherwise it's a smoking gun for people upgrading to portsnap...b
>How-To-Repeat:

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->cperciva 
Responsible-Changed-By: krion 
Responsible-Changed-When: Thu Sep 8 08:24:47 GMT 2005 
Responsible-Changed-Why:  
Over to portsnap maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85850 
State-Changed-From-To: open->suspended 
State-Changed-By: cperciva 
State-Changed-When: Thu Sep 8 09:01:05 GMT 2005 
State-Changed-Why:  
The portsnap man page states that 
... note that in the parts of the ports tree 
which are being updated, any local changes or additions will 
be removed. 
so I don't feel all that guilty about removing such Makefile.local files. 

Since I don't plan on changing how portsnap operates in the immediate 
future, I'm marking this as suspended; but when I have time I'll think 
about this problem and I might come up with a wonderful way of solving 
it. :-) 

For now, I suggest using /etc/make.conf instead. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85850 
State-Changed-From-To: suspended->closed 
State-Changed-By: edwin 
State-Changed-When: Mon Sep 10 01:35:31 UTC 2007 
State-Changed-Why:  
This is the intended behaviour. 
Use /etc/make.conf to track such changes. 

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