Bug 735 - _PATH_SUDO_CONF not set in src/Makefile.in (sudo-1.8.15)
_PATH_SUDO_CONF not set in src/Makefile.in (sudo-1.8.15)
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Configure
1.8.15
All All
: low low
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-18 15:45 MST by erflungued
Modified: 2016-03-17 10:20 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.