diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2024-01-24 19:32:10 +0100 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2024-01-27 19:01:19 +0100 | 
| commit | ff62df2e4484b9f89fea4ed736006c21f3a797cc (patch) | |
| tree | 2664eb4ea9f7b2f0bd2fa5b725c66f4a16863d3e /pkgsrc/ospfd.sh.in | |
| parent | 27f6171a251ef24b435582638c95895c907aa31f (diff) | |
build: untangle sysconfdir & localstatedir
`--sysconfdir` should be `/etc` and `--localstatedir` should be `/var`.
The package-specific subdirectory should be added by configure, not
given by the user, to match established behavior by other packages.
Note that `--bindir`, `--sbindir`, `--libdir` and `--libexecdir` have
different established/expected behavior due to distro specific
multi-arch support.  That's why these are left unchanged.
The reason this is getting fixed now is that we need to use
`--localstatedir` for its actual value to put things in `/var/lib`.  As
it is now, being overloaded for `/run`, the configured `/var` path
becomes inaccessible.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pkgsrc/ospfd.sh.in')
| -rw-r--r-- | pkgsrc/ospfd.sh.in | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgsrc/ospfd.sh.in b/pkgsrc/ospfd.sh.in index daa2252091..508b8af47d 100644 --- a/pkgsrc/ospfd.sh.in +++ b/pkgsrc/ospfd.sh.in @@ -16,7 +16,7 @@ fi  name="ospfd"  rcvar=$name -required_files="@sysconfdir@/${name}.conf" +required_files="@CFG_SYSCONF@/${name}.conf"  command="@prefix@/sbin/${name}"  command_args="-d"  | 
