]> git.ozlabs.org Git - ppp.git/commit
Let ./configure control the paths for pppd
authorEivind Næss <eivnaes@yahoo.com>
Sat, 30 Jul 2022 21:33:15 +0000 (14:33 -0700)
committerEivind Næss <eivnaes@yahoo.com>
Mon, 8 Aug 2022 18:22:46 +0000 (11:22 -0700)
commit66a8c74c3f73d7480a09923a225b56b8829ae790
tree7ed0b4e062afd45f9ccd981c68c40e32380a7aea
parent2a7caa2b79ff1edd5d19aa8c41d5614e526f1b93
Let ./configure control the paths for pppd

This was previously done by specifying an overriding value for _ROOT_PATH. With this change, this variable is now gone.
Instead, pathnames.h will use the SYSCONFDIR and LOCALSTATEDIR to resolve these paths. These directories is already controlled by
configure.

Package maintainers should be aware though that this may change their current configuration. The convential ./configure way is to
specify:
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --with-plugin-dir=/usr/lib/pppd/2.4.10

If one omit the --sysconfdir option, then the default location is by ${prefix}/etc which may not be what you want.

Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
15 files changed:
configure.ac
pppd/Makefile.am
pppd/auth.c
pppd/eap-tls.c
pppd/eap.c
pppd/ipcp.c
pppd/main.c
pppd/options.c
pppd/pathnames.h
pppd/plugins/pppoe/Makefile.am
pppd/plugins/pppoe/plugin.c
pppd/plugins/radius/Makefile.am
pppd/plugins/radius/pathnames.h
pppd/plugins/radius/sendserver.c
pppd/utils.c