Bug 735

Summary: _PATH_SUDO_CONF not set in src/Makefile.in (sudo-1.8.15)
Product: Sudo Reporter: erflungued <erflungued>
Component: ConfigureAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: low    
Priority: low    
Version: 1.8.15   
Hardware: All   
OS: All   

Description erflungued 2016-02-18 15:45:58 MST
In the change notes of 2012-02-07, _PATH_SUDO_CONF was removed from src/Makefile.in but it is now preventing load_plugins.c pointing to a sudo.conf file in a folder other than default (/etc/sudo.conf)

erflungued@ammit:src/sudo/sudo-1.8.15/src# rcsdiff -ubw Makefile.in
===================================================================
RCS file: Makefile.in,v
retrieving revision 1.1
diff -ubw -r1.1 Makefile.in
--- /tmp/T0bYaqsO   Sun Nov  1 10:05:00 ACDT 2015
+++ Makefile.in Fri Feb 19 09:07:09 ACDT 2016
@@ -41,7 +41,7 @@
 LIBS = @LIBS@ @SUDO_LIBS@ @GETGROUPS_LIB@ @NET_LIBS@ $(LT_LIBS)

 # C preprocessor defines
-CPPDEFS = -DLOCALEDIR=\"$(localedir)\"
+CPPDEFS = -DLOCALEDIR=\"$(localedir)\" -D_PATH_SUDO_CONF=\"$(sysconfdir)\"

 # C preprocessor flags
 CPPFLAGS = -I$(incdir) -I$(top_builddir) -I. -I$(srcdir) -I$(top_srcdir) \
Comment 1 Todd C. Miller 2016-02-18 16:19:28 MST
Fixed in https://www.sudo.ws/repos/sudo/rev/10148ef883ec
Comment 2 Todd C. Miller 2016-03-17 10:20:52 MDT
Fixed in 1.8.16, available now.