Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 249347

Summary: net-proxy/privoxy: Templates should not be in /etc/
Product: Gentoo Linux Reporter: Christian Weiske <cweiske>
Component: New packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Weiske 2008-11-30 08:15:52 UTC
When upgrading privoxy, you get 35! questions in etc-update if you want to upgrade every single template file. No! I don't care if the underlying templates changed. If, they should be upgraded, of course. But 35 etc changes just for privoxy make me tired and overlook the important config changes.

I wish that the templates would be moved to /usr/share or so, and that if you really want to customize them, they can be copied to /etc/privoxy/templates/ and modified. Privoxy would look for them in /etc/ first, then in /usr/share/.

This would make upgrades much more painless.

Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2008-12-01 06:06:29 UTC
Did you know dispatch-conf tool has a config setting 'replace-unmodified=yes' that allows unmodified /etc files to be updated automatically? That can make a lot of upgrades less painless; I think you will never want to use etc-update again!

Aside from that, assigning this bug to net-proxy team who can consider your suggestion about installing templates under /usr/share. If privoxy checks /etc before /usr/share, installing defaults to /usr/share and letting users put customized versions in /etc does sound nice.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-12-13 14:19:21 UTC
Templates are user-configurable, therefore these files should be installed in  /etc directory. Upstream don't support default templates *and* user defined templates (only one templdir at a time). To make things more complicated, there is no guarantee that the format of template files will be backward compatible.

Closed as INVALID.

P.S. : stop yelling and try to keep up with portage development, dispatch-conf has been available for quite some time (2005?). Or just add /etc/privoxy/templates to your CONFIG_PROTECT_MASK if you love etc-update so much.