[csw-maintainers] /etc/subversion, /etc/opt/csw/subversion, /opt/csw/etc/subversion/

Sebastian Kayser skayser at opencsw.org
Sun Dec 20 18:06:21 CET 2009


rupert THURNER wrote on 20.12.2009 05:40:
> dagobert filed a subversion bug saying the config file should go in a
> different place:
> 
> The configuration for the svn commandline-client is at
>   /etc/subversion/servers
> instead of
>   /etc/opt/csw/subversion/servers
> 
> isn't this a standard configuration option and gar should do this?

In theory you are right and GAR should pre-set --sysconfdir to
/etc/opt/csw (currently it is /opt/csw/etc). Nevertheless, AFAIR this
was considered a major change, possibly breaking existing build
descriptions. Thus, it was decided to leave it to the maintainer to
change his build descriptions.

> an
> excerpt from the subversion configure is below:
> 
> rupert at build8s: ... build-isa-sparcv8/subversion-1.6.6
> $ ./configure --help
> `configure' configures subversion 1.6.6 to adapt to many kinds of systems.
> ...
> an installation prefix other than `/usr/local' using `--prefix',
> for instance `--prefix=$HOME'.
> 
> For better control, use the options below.
> 
> Fine tuning of the installation directories:
> ....
>   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
> ...

While sysconfdir defaults to $prefix/etc it is perfectly fine to adjust
it when required. Simply add

sysconfdir = /etc/opt/csw

to your Makefile. Have a look at the orca Makefile [1] for an example.

Sebastian

[1] https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/orca/trunk/Makefile



More information about the maintainers mailing list