Bug 154223 - [patch] devel/subversion builds mod_dav when told not to
Summary: [patch] devel/subversion builds mod_dav when told not to
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: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-22 19:30 UTC by Oliver Heesakkers
Modified: 2011-03-05 12:22 UTC (History)
0 users

See Also:


Attachments
file.diff (382 bytes, patch)
2011-01-22 19:30 UTC, Oliver Heesakkers
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Heesakkers 2011-01-22 19:30:10 UTC
When you have apache installed, but you don't want mod_dav, subversion will build the dav modules anyway as it auto-detects the presence of apxs

Specifying --with-apxs=no during configure ensures no modules are build and more importantly stops the build from editing httpd.conf

How-To-Repeat: - Have apache installed (note I always build apache outside the ports-system)
- make config to disable MOD_DAV_SVN
- make install
= mod_dav modules appear in apache's modules directory and httpd.con is altered to load them
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-01-23 23:57:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lev

Fix synopsis and assign.
Comment 2 adam 2011-02-11 22:12:21 UTC
We are also seeing this behavior when Apache is installed from source, 
but *not* when it's been installed from ports, if that helps find the 
root cause.

The fix submitted on this bug report will indeed do the trick, but if 
I'm not mistaken it may be more generalized than would be ideal -- ie. 
not actually targeting the specific place where this source/ports 
difference with Apache comes into play, if that matters.  Sorry to say, 
it's beyond me to actually track down the gremlin.

HTH.
       adam
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-03-05 12:10:44 UTC
lev         2011-03-05 12:10:31 UTC

  FreeBSD ports repository

  Modified files:
    devel/subversion     Makefile.common distinfo 
  Log:
    IT IS SECURITY UPDATE!
  
    (1) Update to 1.5.16.
    (2) Disable mod_dav_svn building when it is disabled, but apache2 is installed
  
  PR:             [2] ports/154223
  
  Revision  Changes    Path
  1.42      +3 -2      ports/devel/subversion/Makefile.common
  1.77      +2 -2      ports/devel/subversion/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Lev A. Serebryakov freebsd_committer freebsd_triage 2011-03-05 12:22:28 UTC
State Changed
From-To: open->closed


Committed, thanks!