Bug 101566

Summary: www/apache20 All .svn subdirectories in $(htdocsdir) get deleted when upgradeing
Product: Ports & Packages Reporter: goran <goran>
Component: Individual Port(s)Assignee: freebsd-apache (Nobody) <apache>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description goran 2006-08-07 11:10:17 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-08-07 11:10:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clement

Over to maintainer
Comment 2 Clement Laforet freebsd_committer freebsd_triage 2006-09-24 18:45:34 UTC
State Changed
From-To: open->analyzed

It's actually the default behavior of the Makefile. 
files/patch-Makefile.in ony rework this to support WITHOUT_WWW.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2008-12-27 20:27:44 UTC
Responsible Changed
From-To: clement->apache

apache team
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2010-05-07 23:02:59 UTC
State Changed
From-To: analyzed->closed

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.