freebsd-skq/usr.sbin/cron/cron
Stefan Eßer 1f474190fc Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE
Literal references to /usr/local exist in a large number of files in
the FreeBSD base system. Many are in contributed software, in configuration
files, or in the documentation, but 19 uses have been identified in C
source files or headers outside the contrib and sys/contrib directories.

This commit makes it possible to set _PATH_LOCALBASE in paths.h to use
a different prefix for locally installed software.

In order to avoid changes to openssh source files, LOCALBASE is passed to
the build via Makefiles under src/secure. While _PATH_LOCALBASE could have
been used here, there is precedent in the construction of the path used to
a xauth program which depends on the LOCALBASE value passed on the compiler
command line to select a non-default directory.

This could be changed in a later commit to make the openssh build
consistently use _PATH_LOCALBASE. It is considered out-of-scope for this
commit.

Reviewed by:	imp
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D26942
2020-10-27 11:29:11 +00:00
..
compat.h cron(8): convert vfork() usage to fork() 2020-02-10 02:40:23 +00:00
config.h
cron.8 cron(8): Add MAILFROM ability for crontabs 2019-04-15 18:53:28 +00:00
cron.c
cron.h cron: add log suppression and mail suppression for successful runs 2019-09-25 02:37:40 +00:00
crontab Move etc/crontab to usr.sbin/cron/cron/ 2018-09-06 14:55:54 +00:00
database.c cron(8): schedule interval jobs that get loaded during execution 2019-04-20 02:54:20 +00:00
do_command.c cron: respect PATH from login.conf 2020-03-30 03:26:52 +00:00
externs.h cron(8): convert vfork() usage to fork() 2020-02-10 02:40:23 +00:00
job.c
Makefile Move etc/crontab to usr.sbin/cron/cron/ 2018-09-06 14:55:54 +00:00
Makefile.depend
pathnames.h Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
popen.c cron(8): convert vfork() usage to fork() 2020-02-10 02:40:23 +00:00
user.c