From root@perun.si21.com  Mon Aug  7 10:04:56 2006
Return-Path: <root@perun.si21.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2C8BF16A4DA
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Aug 2006 10:04:56 +0000 (UTC)
	(envelope-from root@perun.si21.com)
Received: from perun.si21.com (perun.si21.com [212.103.146.248])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CC59C43D6B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  7 Aug 2006 10:04:55 +0000 (GMT)
	(envelope-from root@perun.si21.com)
Received: by perun.si21.com (Postfix, from userid 0)
	id DB0F5116A7; Mon,  7 Aug 2006 12:03:49 +0200 (CEST)
Message-Id: <20060807100349.DB0F5116A7@perun.si21.com>
Date: Mon,  7 Aug 2006 12:03:49 +0200 (CEST)
From: goran@dodig.org
Reply-To: goran@dodig.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: All .svn subdirectories in $(htdocsdir) get deleted when upgradeing www/apache20.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101566
>Category:       ports
>Synopsis:       www/apache20 All .svn subdirectories in $(htdocsdir) get deleted when upgradeing
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 07 10:10:17 GMT 2006
>Closed-Date:    Fri May 07 22:03:00 UTC 2010
>Last-Modified:  Fri May 07 22:03:00 UTC 2010
>Originator:     Goran Dodig (goran@dodig.org)
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
Kabi
>Environment:
System: FreeBSD perun.si21.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
All .svn subdirectories in $(htdocsdir) get deleted when upgradeing www/apache20.
The code from /usr/ports/www/apache20/files/patch-Makefile.in deletes all .svn directories from $(htdocsdir) which effectively deletes all Subversion working repositories.
This should not happen.
>How-To-Repeat:
- Checkout the Subversion project working copy to www/data-dist
- cd /usr/ports/www/apache20
- portupgrade -f
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->clement 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Aug 7 10:10:34 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101566 
State-Changed-From-To: open->analyzed 
State-Changed-By: clement 
State-Changed-When: Sun Sep 24 17:45:34 UTC 2006 
State-Changed-Why:  
It's actually the default behavior of the Makefile. 
files/patch-Makefile.in ony rework this to support WITHOUT_WWW. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=101566 
Responsible-Changed-From-To: clement->apache 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Sat Dec 27 20:27:44 UTC 2008 
Responsible-Changed-Why:  
apache team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101566 
State-Changed-From-To: analyzed->closed 
State-Changed-By: pgollucci 
State-Changed-When: Fri May 7 22:02:59 UTC 2010 
State-Changed-Why:  
won't fix, of course it does, as clement@ says its the default.  Also, 
if we didn't delete .svn dirs the pkg-plist cleanups would always fail 
b/c the dirs wouldn't be deleted with @rmdir since they have children. 
The correct fix is to not re-use the port dirs for your OWN things.  Use 
your own dirs for this and modify httpd.conf to point at them. 

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