Re: Add vendor configuration directory installation

2023-02-20 Thread Alfred M. Szmidt
Why can't you just use --datarootdir / --datadir and have the program install whatever files it considers "global" configuration there? These are just data files anyway -- just like sysconfdir which is per machine, while these are for multiple machines i fyou have DATAROOT shared (NFS or whatever)

Re: Add vendor configuration directory installation

2023-02-19 Thread Jason Sikes
Hi All. Here's another idea: instead of adding another parameter "adminconfdir", what do you think of enabling "sysconfdir" to take multiple, colon-separated paths? So if a user typed this: $ ./configure --sysconfdir=A:B Then the software package, if it supports this, could then: 1. install

Re: Add vendor configuration directory installation

2023-02-16 Thread Jason Sikes
I added CC to two more people who might be interested in what we are discussing. I have also incorporated the suggestions you made and made a second candidate patch, attached. On 2/10/23 04:00, Bruno Haible wrote: Jason Sikes wrote: You are correct that the configuration files should only go

Re: Add vendor configuration directory installation

2023-02-12 Thread Patrice Dumas
On Sat, Feb 11, 2023 at 09:00:26PM -0800, Jason Sikes wrote: > > I believe that the RPM package manager can check to see if a configuration > file has changed, and, if so, save it with an ".rpmsave" extension before > clobbering it with the new configuration file. It is possible, indeed, but if a

Re: Add vendor configuration directory installation

2023-02-11 Thread Jason Sikes
On 2/10/23 04:00, Bruno Haible wrote: Jason Sikes wrote: You are correct that the configuration files should only go in one directory when done on behalf of a distribution. OK, this removes my biggest worry. * worse, invites packages to (perhaps inadvertently) restrict user freedom. Res

Re: Add vendor configuration directory installation

2023-02-11 Thread Jason Sikes
On 2/10/23 06:15, Bruno Haible wrote: Alfred M. Szmidt wrote: The configure --help output and/or the documentation should state that - "make install" will install into SYSCONFDIR, It should absolutley not state that. It is on purpose that `make install' does not trash sysconfdir W

Re: Add vendor configuration directory installation

2023-02-10 Thread Bruno Haible
Alfred M. Szmidt wrote: >>The configure --help output and/or the documentation should state that >> - "make install" will install into SYSCONFDIR, > > It should absolutley not state that. It is on purpose that `make > install' does not trash sysconfdir Well, at least 178 packages do ins

Re: Add vendor configuration directory installation

2023-02-10 Thread Jason Sikes
On 2/7/23 15:44, Bruno Haible wrote: On 2023-02-06 08:30, Valentin Lefebvre wrote: This patch add a new autoconf argument that allows installation into the vendor configuration directory (/usr/etc/). Some linux distribution now move system configuration files from /etc to /usr/etc. See t

Re: Add vendor configuration directory installation

2023-02-10 Thread Alfred M. Szmidt
We should also be very careful when adding new --foodir options, this breaks things quickly (old ./configure will error for example -- so if you want a single line for all invocations, you'll now have to remeber what is what version of autoconf!).

Re: Add vendor configuration directory installation

2023-02-10 Thread Alfred M. Szmidt
> >- Packages define a configure option for the /etc directory, e.g. > >--enable-etcdir=/etc > > through Autoconf [3]. > Yes, and what we are proposing is that this option (by a different name) > will be included in Autoconf so that developers don't have to add it

Re: Add vendor configuration directory installation

2023-02-10 Thread Bruno Haible
Jason Sikes wrote: > You are correct that the > configuration files should only go in one directory when done on behalf > of a distribution. OK, this removes my biggest worry. > >* worse, invites packages to (perhaps inadvertently) restrict user > > freedom. > > Restricting user freedom i

Re: Add vendor configuration directory installation

2023-02-07 Thread Bruno Haible
> On 2023-02-06 08:30, Valentin Lefebvre wrote: > > This patch add a new autoconf argument that allows installation > > into the vendor configuration directory (/usr/etc/). Some linux > > distribution now move system configuration files from /etc to /usr/etc. > > See this ref: [0] > > > [

Re: Add vendor configuration directory installation

2023-02-07 Thread Alfred M. Szmidt
On 2023-02-06 08:30, Valentin Lefebvre wrote: > This patch add a new autoconf argument that allows installation > into the vendor configuration directory (/usr/etc/). Some linux > distribution now move system configuration files from /etc to /usr/etc. > See this ref: [0]

Re: Add vendor configuration directory installation

2023-02-07 Thread Paul Eggert
On 2023-02-06 08:30, Valentin Lefebvre wrote: This patch add a new autoconf argument that allows installation into the vendor configuration directory (/usr/etc/). Some linux distribution now move system configuration files from /etc to /usr/etc. See this ref: [0] [0]https://0pointer.n

Add vendor configuration directory installation

2023-02-06 Thread Valentin Lefebvre
Hello, This patch add a new autoconf argument that allows installation into the vendor configuration directory (/usr/etc/). Some linux distribution now move system configuration files from /etc to /usr/etc. See this ref: [0]. So, it could be a good idea to give the opportunity for a proj