[gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion

2009-09-15 Thread Amit Dor-Shifer

Hi. Would appreciate someone's view on the following:

I want to configure SVN access via apache. This requires some 
modifications to /etc/apache2/modules.d/47_mod_dav_svn.conf 
(http://svnbook.red-bean.com/en/1.0/svn-book.html#svn-ch-6-sect-4.2)


Since the file is owned by dev-util/subversion, I prefer not to modify it.

Is there an alternative mechanism to modifying a package-owned file?

10x,
Amit



Re: [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion

2009-09-15 Thread Neil Bothwick
On Tue, 15 Sep 2009 17:17:16 +0300, Amit Dor-Shifer wrote:

 Is there an alternative mechanism to modifying a package-owned file?

It's in a CONFIG_PROTECTed directory (/etc) so it won't be overwritten by
a package update. It's safe to modify it.


-- 
Neil Bothwick

Sometimes too much to drink is not enough.


signature.asc
Description: PGP signature


Re: [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion

2009-09-15 Thread Amit Dor-Shifer
Still it would incur an etc-update event, wouldn't it? Then, an 
absent-minded user (e.g. myself) could overwrite configuration when 
subversion gets upgraded.


I was thinking of maybe creating an 
/etc/apache2/modules.d/471_mod_dav_svn.conf, which I could then freely 
modify.


Amit

Neil Bothwick wrote:

On Tue, 15 Sep 2009 17:17:16 +0300, Amit Dor-Shifer wrote:

  

Is there an alternative mechanism to modifying a package-owned file?



It's in a CONFIG_PROTECTed directory (/etc) so it won't be overwritten by
a package update. It's safe to modify it.


  




Re: [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion

2009-09-15 Thread Neil Bothwick
On Tue, 15 Sep 2009 18:05:30 +0300, Amit Dor-Shifer wrote:

 Still it would incur an etc-update event, wouldn't it? Then, an 
 absent-minded user (e.g. myself) could overwrite configuration when 
 subversion gets upgraded.

Yes, Gentoo gives you the gun, it's up to you to make sure it's not
pointing at your foot.

 I was thinking of maybe creating an 
 /etc/apache2/modules.d/471_mod_dav_svn.conf, which I could then freely 
 modify.

You could, but what if a change to the format in future introduces a
change in the other file incompatible with yours?

Learn to trust yourself with etc-update, you'll only screw up massively
once.


-- 
Neil Bothwick

Strike any user to continue


signature.asc
Description: PGP signature