splitting subversion port?

olli hauer ohauer at gmx.de
Sat Jun 7 21:25:44 UTC 2014


On 2014-06-07 19:10, Lev Serebryakov wrote:
> Hello, Vick.
> You wrote 22 мая 2014 г., 22:18:10:
> 
> VK> I was wondering if you would be open to peeling off the mod_dav_svn
> VK> from being an option in the subversion port to being its own port that
> VK> depends on this one, or making a sub-port that installs subversion
> VK> with it enabled under a different package name.
> 
> VK> The reason I have is that I am trying to switch over to pkgng and
> VK> using pre-built packages for everything.  I can't do this for
> VK> subversion as I need the dav module on one server, but not on any
> VK> other machine I run. Also, I use another apache module,
> VK> www/mod_authnz_crowd, which depends on a subversion built with
> VK> mod_dav_svn. As it stands, I cannot make a package for that easily.
> 
> VK> There is precedent for splitting the apache module out, as PHP5 has
> VK> recently done just that.
> 
> VK> By splitting the module out into its own port, all of this would be
> VK> possible, and it would avoid having to install the module-enabled
> VK> package on all of my servers which would pull down apache, as well,
> VK> which I do not need on my compute nodes.
> 
> VK> Another way of accomplishing the goal would be to make a sub-port
> VK> similar to things like emacs-nox11 and ImageMagick-nox11 that install
> VK> their base ports with specific options. There could be a
> VK> subversion-apache port that builds the subversion port with the apache
> VK> module and dependencies.
> 
> VK> Anyhow, I'm willing to try to do the work, but I wanted to know if
> VK> you're agreeable, and which way you'd prefer to do it. Obviously the
> VK> sub-port would be easier. I have a feeling the split port may not work
> VK> out because the SVNUSER gets changed if the dav module is enabled.
> 
>  Really, I want to split subversion port to many parts (libraries, client,
> server, apache port, tools) for many years, but it hard to achieve as
> subversion build system is rather complex one. I'm waiting for "multiple
> packages from one port" feature in pkg/ng :)
> 
> 

This should be possible if the old pkg tools are no longer supported
(this year Sept.) and code for sub packages is in the tree.

Splitting the package now into several ports is not a preferred way.
Building a full blown subversion triggers without sub packages x times a full
build for every single shaped port (see for example bacula server/client)

-- 
olli


More information about the freebsd-ports mailing list