mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Install the example sudo_logsrvd.conf unless one already exists
This commit is contained in:
parent
700becabc0
commit
55eb0a633c
6
configure
vendored
6
configure
vendored
@ -737,6 +737,7 @@ logpath
|
||||
log_dir
|
||||
iolog_dir
|
||||
PPFILES
|
||||
LOGSRVD_CONF
|
||||
LOGSRVD
|
||||
LIBLOGSRV
|
||||
LOGSRV
|
||||
@ -3123,6 +3124,7 @@ $as_echo "$as_me: Configuring Sudo version $PACKAGE_VERSION" >&6;}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
@ -3173,7 +3175,6 @@ pam_login_service=sudo
|
||||
plugindir="$libexecdir/sudo"
|
||||
DIGEST=digest.lo
|
||||
devsearch="/dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev"
|
||||
PPFILES='$(srcdir)/etc/sudo.pp'
|
||||
#
|
||||
# End initial values for man page substitution
|
||||
#
|
||||
@ -3222,8 +3223,10 @@ shadow_libs=
|
||||
TMPFILES_D=
|
||||
CONFIGURE_ARGS="$@"
|
||||
LOGSRVD=logsrvd
|
||||
LOGSRVD_CONF='$(srcdir)/sudo_logsrvd.conf'
|
||||
LOGSRV=lib/logsrv
|
||||
LIBLOGSRV='$(top_builddir)/lib/logsrv/liblogsrv.la'
|
||||
PPFILES='$(srcdir)/etc/sudo.pp'
|
||||
|
||||
RTLD_PRELOAD_VAR="LD_PRELOAD"
|
||||
RTLD_PRELOAD_ENABLE_VAR=
|
||||
@ -6945,6 +6948,7 @@ if test "${enable_log_server+set}" = set; then :
|
||||
;;
|
||||
no)
|
||||
LOGSRVD=
|
||||
LOGSRVD_CONF=
|
||||
;;
|
||||
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ignoring unknown argument to --enable-log-server: $enableval" >&5
|
||||
$as_echo "$as_me: WARNING: Ignoring unknown argument to --enable-log-server: $enableval" >&2;}
|
||||
|
@ -119,6 +119,7 @@ AC_SUBST([PYTHON_PLUGIN_SRC])
|
||||
AC_SUBST([LOGSRV])
|
||||
AC_SUBST([LIBLOGSRV])
|
||||
AC_SUBST([LOGSRVD])
|
||||
AC_SUBST([LOGSRVD_CONF])
|
||||
AC_SUBST([PPFILES])
|
||||
|
||||
dnl
|
||||
@ -214,7 +215,6 @@ pam_login_service=sudo
|
||||
plugindir="$libexecdir/sudo"
|
||||
DIGEST=digest.lo
|
||||
devsearch="/dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev"
|
||||
PPFILES='$(srcdir)/etc/sudo.pp'
|
||||
#
|
||||
# End initial values for man page substitution
|
||||
#
|
||||
@ -270,8 +270,10 @@ shadow_libs=
|
||||
TMPFILES_D=
|
||||
CONFIGURE_ARGS="$@"
|
||||
LOGSRVD=logsrvd
|
||||
LOGSRVD_CONF='$(srcdir)/sudo_logsrvd.conf'
|
||||
LOGSRV=lib/logsrv
|
||||
LIBLOGSRV='$(top_builddir)/lib/logsrv/liblogsrv.la'
|
||||
PPFILES='$(srcdir)/etc/sudo.pp'
|
||||
|
||||
dnl
|
||||
dnl LD_PRELOAD equivalents
|
||||
@ -1659,6 +1661,7 @@ AC_ARG_ENABLE(log-server,
|
||||
;;
|
||||
no)
|
||||
LOGSRVD=
|
||||
LOGSRVD_CONF=
|
||||
;;
|
||||
*) AC_MSG_WARN([Ignoring unknown argument to --enable-log-server: $enableval])
|
||||
;;
|
||||
|
@ -52,7 +52,9 @@ install_gid = 0
|
||||
|
||||
SHELL = @SHELL@
|
||||
|
||||
EXAMPLES = $(srcdir)/pam.conf sudo.conf $(srcdir)/sudo_logsrvd.conf \
|
||||
LOGSRVD_CONF = @LOGSRVD_CONF@
|
||||
|
||||
EXAMPLES = $(srcdir)/pam.conf sudo.conf $(LOGSRVD_CONF) \
|
||||
$(srcdir)/sudoers $(srcdir)/syslog.conf
|
||||
|
||||
VERSION = @PACKAGE_VERSION@
|
||||
@ -83,6 +85,9 @@ install-doc: install-dirs
|
||||
for f in $(EXAMPLES); do $(INSTALL) $(INSTALL_OWNER) -m 0644 $$f $(DESTDIR)$(exampledir); done
|
||||
test -r $(DESTDIR)$(sysconfdir)/sudo.conf || \
|
||||
$(INSTALL) $(INSTALL_OWNER) -m 0644 sudo.conf $(DESTDIR)$(sysconfdir)
|
||||
if test -n "$(LOGSRVD_CONF)" -a ! -r $(DESTDIR)$(sysconfdir)/sudo_logsrvd.conf; then \
|
||||
$(INSTALL) $(INSTALL_OWNER) -m 0644 $(LOGSRVD_CONF) $(DESTDIR)$(sysconfdir); \
|
||||
fi
|
||||
|
||||
install-plugin:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user