Bug 736 - with-stow option still in configure.ac (sudo-1.8.15)
with-stow option still in configure.ac (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 16:03 MST by erflungued
Modified: 2016-03-17 10:21 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 16:03:37 MST
In the change notes of 2012-05-21 with-stow was deprecated but it is mentioned in configure.ac, making it unintuitive to place sudo.conf in any folder other than /etc/sudo.conf

erflungued@ammit:src/sudo/sudo-1.8.15# rcsdiff -ubw configure.ac
===================================================================
RCS file: configure.ac,v
retrieving revision 1.1
diff -ubw -r1.1 configure.ac
--- /tmp/T0uGaq0O       Sun Nov  1 10:05:24 ACDT 2015
+++ configure.ac        Fri Feb 19 09:29:14 ACDT 2016
@@ -4167,7 +4167,7 @@
 test "$docdir" = '${datarootdir}/doc/${PACKAGE_TARNAME}' && docdir='$(datarootdir)/doc/$(PACKAGE_TARNAME)'
 test "$localedir" = '${datarootdir}/locale' && localedir='$(datarootdir)/locale'
 test "$localstatedir" = '${prefix}/var' && localstatedir='$(prefix)/var'
-test "$sysconfdir" = '${prefix}/etc' -a X"$with_stow" != X"yes" && sysconfdir='/etc'
+test "$sysconfdir" = '${prefix}/etc' && sysconfdir='${prefix}/etc'

 dnl
 dnl Substitute into the Makefile and man pages
Comment 1 Todd C. Miller 2016-02-18 16:21:18 MST
Fixed in https://www.sudo.ws/repos/sudo/rev/8616d6de7ecd

If you want to change the location of /etc/sudo.conf you need to use the --sysconfdir configure option.
Comment 2 Todd C. Miller 2016-03-17 10:21:02 MDT
Fixed in 1.8.16, available now.