public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion
@ 2009-09-15 14:17 Amit Dor-Shifer
  2009-09-15 14:41 ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: Amit Dor-Shifer @ 2009-09-15 14:17 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion
  2009-09-15 14:17 [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion Amit Dor-Shifer
@ 2009-09-15 14:41 ` Neil Bothwick
  2009-09-15 15:05   ` Amit Dor-Shifer
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Bothwick @ 2009-09-15 14:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion
  2009-09-15 14:41 ` Neil Bothwick
@ 2009-09-15 15:05   ` Amit Dor-Shifer
  2009-09-15 15:30     ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: Amit Dor-Shifer @ 2009-09-15 15:05 UTC (permalink / raw
  To: gentoo-user

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.
>
>
>   



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion
  2009-09-15 15:05   ` Amit Dor-Shifer
@ 2009-09-15 15:30     ` Neil Bothwick
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2009-09-15 15:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-15 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 14:17 [gentoo-user] configuring SVN repo w/apache w/o breaking dev-util/subversion Amit Dor-Shifer
2009-09-15 14:41 ` Neil Bothwick
2009-09-15 15:05   ` Amit Dor-Shifer
2009-09-15 15:30     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox