Subject: [PATCH] Split Apache/APR, Update Subversion (big changes)
To: None <tech-pkg@netbsd.org>
From: Eric Gillespie <epg@pretzelnet.org>
List: tech-pkg
Date: 01/27/2003 23:29:19
I have been working on a set of changes for the last couple days,
and i'm ready to have it reviewed and hopefully committed
(eventually).  I have made the following changes:

* Change devel/apr-devel so that it builds apr{,-util} from the
  apache2 distfile.  Eventually apr will have its own release,
  but until then NetBSD and FreeBSD have been packaging snapshots
  from the apr project.  Unfortunately, those snapshots are few
  and far between, and sometimes incompatible with the latest
  apache2.  Using the apr distributed with the lastest apache2 is
  a much safer bet, both for apache itself and for others using
  apr, such as Subversion.

* Change www/apache2 to use devel/apr-devel.

* Turn devel/subversion into a meta-package which depends on two
  packages: devel/subversion-base and www/ap2-subversion.

* New package subversion-base contains all the Subversion
  programs and libraries except the Apache module mod_dav_svn.
  Installing subversion-base alone will satisfy most people's
  needs, providing all three repository access layers (local,
  svn, and dav) and the server for the svn access layer.

* New package www/ap2-subversion contains the mod_dav_svn Apache2
  module, which implements a sub-set of WebDAV DeltaV; it is the
  server back-end for Subversion's 'ra_dav' repository access
  mechanism.  The server for the 'ra_svn' access mechanism is
  included in the subversion-base package.

  One of the long-term goals of mod_dav_svn is to provide a
  complete implementation of WebDAV and DeltaV, so that other
  WebDAV clients (such as Microsoft Office) can use a Subversion
  repository.

After i fix the inevitable criticisms and this is committed, i
will turn my attention to making the last Subversion package,
subversion-tools.  This package will contain the tools and helper
programs, including cvs2svn.  Most of these are written in Python
using Subversion's swig bindings, so i will first make a
swig-devel package.

The changes are at http://pretzelnet.org/~epg/svnpkg.tar.bz2 (and
extracted at http://pretzelnet.org/~epg/svnpkg/).  Apply the
diffs and move all the files into place.  Note that you must
first apply the patch to upgrade apache2 to 2.0.44 (i submitted
this patch as pkg/20086).

I have tested these changes extensively.  One of my repositories
is using these packages without any problems.

I have also set myself as the MAINTAINER for the Subversion
packages.  The previous maintainer doesn't seem to be maintaining
it any more, I can certainly understand that; tracking and
building Subversion can be a little daunting at first (using it
is of course a breeze).

-- 
Eric Gillespie, Jr. <*> epg@pretzelnet.org

Build a fire for a man, and he'll be warm for a day.  Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett