Bug 101566 - www/apache20 All .svn subdirectories in $(htdocsdir) get deleted when upgradeing
Summary: www/apache20 All .svn subdirectories in $(htdocsdir) get deleted when upgradeing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-07 11:10 UTC by goran
Modified: 2010-05-07 23:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.