mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-28 12:57:50 +00:00
Rename io_logdir to iolog_dir
This commit is contained in:
parent
14d792dffa
commit
6c23688511
12
aclocal.m4
vendored
12
aclocal.m4
vendored
@ -124,16 +124,16 @@ dnl
|
|||||||
AC_DEFUN(SUDO_IO_LOGDIR, [
|
AC_DEFUN(SUDO_IO_LOGDIR, [
|
||||||
AC_MSG_CHECKING(for I/O log dir location)
|
AC_MSG_CHECKING(for I/O log dir location)
|
||||||
if test "${with_iologdir-yes}" != "yes"; then
|
if test "${with_iologdir-yes}" != "yes"; then
|
||||||
io_logdir="$with_iologdir":
|
iolog_dir="$with_iologdir":
|
||||||
elif test -d "/var/log"; then
|
elif test -d "/var/log"; then
|
||||||
io_logdir="/var/log/sudo-io"
|
iolog_dir="/var/log/sudo-io"
|
||||||
elif test -d "/var/adm"; then
|
elif test -d "/var/adm"; then
|
||||||
io_logdir="/var/adm/sudo-io"
|
iolog_dir="/var/adm/sudo-io"
|
||||||
else
|
else
|
||||||
io_logdir="/usr/adm/sudo-io"
|
iolog_dir="/usr/adm/sudo-io"
|
||||||
fi
|
fi
|
||||||
SUDO_DEFINE_UNQUOTED(_PATH_SUDO_IO_LOGDIR, "$io_logdir")
|
SUDO_DEFINE_UNQUOTED(_PATH_SUDO_IO_LOGDIR, "$iolog_dir")
|
||||||
AC_MSG_RESULT($io_logdir)
|
AC_MSG_RESULT($iolog_dir)
|
||||||
])dnl
|
])dnl
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
|
18
configure
vendored
18
configure
vendored
@ -817,7 +817,7 @@ sudo_umask
|
|||||||
password_timeout
|
password_timeout
|
||||||
timeout
|
timeout
|
||||||
timedir
|
timedir
|
||||||
io_logdir
|
iolog_dir
|
||||||
LT_STATIC
|
LT_STATIC
|
||||||
LIBDL
|
LIBDL
|
||||||
CONFIGURE_ARGS
|
CONFIGURE_ARGS
|
||||||
@ -2975,7 +2975,7 @@ $as_echo "$as_me: Configuring Sudo version $PACKAGE_VERSION" >&6;}
|
|||||||
#
|
#
|
||||||
# Begin initial values for man page substitution
|
# Begin initial values for man page substitution
|
||||||
#
|
#
|
||||||
io_logdir=/var/log/sudo-io
|
iolog_dir=/var/log/sudo-io
|
||||||
timedir=/var/adm/sudo
|
timedir=/var/adm/sudo
|
||||||
timeout=5
|
timeout=5
|
||||||
password_timeout=5
|
password_timeout=5
|
||||||
@ -18512,20 +18512,20 @@ EOF
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for I/O log dir location" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for I/O log dir location" >&5
|
||||||
$as_echo_n "checking for I/O log dir location... " >&6; }
|
$as_echo_n "checking for I/O log dir location... " >&6; }
|
||||||
if test "${with_iologdir-yes}" != "yes"; then
|
if test "${with_iologdir-yes}" != "yes"; then
|
||||||
io_logdir="$with_iologdir":
|
iolog_dir="$with_iologdir":
|
||||||
elif test -d "/var/log"; then
|
elif test -d "/var/log"; then
|
||||||
io_logdir="/var/log/sudo-io"
|
iolog_dir="/var/log/sudo-io"
|
||||||
elif test -d "/var/adm"; then
|
elif test -d "/var/adm"; then
|
||||||
io_logdir="/var/adm/sudo-io"
|
iolog_dir="/var/adm/sudo-io"
|
||||||
else
|
else
|
||||||
io_logdir="/usr/adm/sudo-io"
|
iolog_dir="/usr/adm/sudo-io"
|
||||||
fi
|
fi
|
||||||
cat >>confdefs.h <<EOF
|
cat >>confdefs.h <<EOF
|
||||||
#define _PATH_SUDO_IO_LOGDIR "$io_logdir"
|
#define _PATH_SUDO_IO_LOGDIR "$iolog_dir"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $io_logdir" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iolog_dir" >&5
|
||||||
$as_echo "$io_logdir" >&6; }
|
$as_echo "$iolog_dir" >&6; }
|
||||||
|
|
||||||
|
|
||||||
case "$with_passwd" in
|
case "$with_passwd" in
|
||||||
|
@ -65,7 +65,7 @@ AC_SUBST([LT_STATIC])
|
|||||||
dnl
|
dnl
|
||||||
dnl Variables that get substituted in docs (not overridden by environment)
|
dnl Variables that get substituted in docs (not overridden by environment)
|
||||||
dnl
|
dnl
|
||||||
AC_SUBST([io_logdir])dnl real initial value from SUDO_IO_LOGDIR
|
AC_SUBST([iolog_dir])dnl real initial value from SUDO_IO_LOGDIR
|
||||||
AC_SUBST([timedir])dnl real initial value from SUDO_TIMEDIR
|
AC_SUBST([timedir])dnl real initial value from SUDO_TIMEDIR
|
||||||
AC_SUBST([timeout])
|
AC_SUBST([timeout])
|
||||||
AC_SUBST([password_timeout])
|
AC_SUBST([password_timeout])
|
||||||
@ -102,7 +102,7 @@ AC_SUBST([editor])
|
|||||||
#
|
#
|
||||||
# Begin initial values for man page substitution
|
# Begin initial values for man page substitution
|
||||||
#
|
#
|
||||||
io_logdir=/var/log/sudo-io
|
iolog_dir=/var/log/sudo-io
|
||||||
timedir=/var/adm/sudo
|
timedir=/var/adm/sudo
|
||||||
timeout=5
|
timeout=5
|
||||||
password_timeout=5
|
password_timeout=5
|
||||||
|
@ -1477,7 +1477,7 @@ Local groups file
|
|||||||
|
|
||||||
List of network groups
|
List of network groups
|
||||||
|
|
||||||
=item F<@io_logdir@>
|
=item F<@iolog_dir@>
|
||||||
|
|
||||||
I/O log files
|
I/O log files
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user