2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 05:48:18 +00:00

734 Commits

Author SHA1 Message Date
Todd C. Miller
237922518b Fix up use of with_passwd 2007-09-02 20:35:52 +00:00
Todd C. Miller
16871871d3 Update to autoconf-2.61 andf libtool-1.5.24 2007-09-02 20:25:53 +00:00
Todd C. Miller
19fa259480 Remove support for compilers that don't support void * 2007-08-31 23:30:07 +00:00
Todd C. Miller
2315b317e2 Add new linebuf code to do appends of dynamically allocated strings
and word-wrapped output.  Currently used for sudo's usage() and
sudo -l output.  Sudo usage strings are now in sudo_usage.h which
is generated at configure time.
2007-08-19 20:48:09 +00:00
Todd C. Miller
317e600f41 Remove monitor support until there is a versino of systrace that
uses a lookaside buffer (or we have a better mechanism to use).
2007-08-15 15:20:01 +00:00
Todd C. Miller
72b36ddf50 use getaddrinfo() instead of gethostbyname() if it is available 2007-08-15 13:22:06 +00:00
Todd C. Miller
f90beb2b2b fix sudo_noexec extension which got broken in the libtool update 2007-08-12 22:55:37 +00:00
Todd C. Miller
4da4964239 Add missing define of HAVE_GSS_KRB5_CCACHE_NAME for the
-lgssapi_krb5 case.
2007-07-30 14:45:28 +00:00
Todd C. Miller
e81f9efd14 Fix link tests such that new gcc doesn't optimize away the test. 2007-07-30 13:29:06 +00:00
Todd C. Miller
5c6880f1ef Substitute value of path_info into sudoers man page. 2007-07-22 22:43:28 +00:00
Todd C. Miller
1f30bd4248 Add configure hooks for gss_krb5_ccache_name() and the gssapi headers. 2007-07-19 23:53:21 +00:00
Todd C. Miller
5fdb0649b0 Add support for SASL auth when connecting to an LDAP server.
Adapted from a diff by Tom McLaughlin.
2007-07-15 13:23:20 +00:00
Todd C. Miller
38b2dd0a5f Only enable AIX or BSD auth if no other exclusive auth method has
been chosen.  Allows people to e.g., use PAM on AIX without adding
--without-aixauth.  A better solution is needed to deal with default
authentication since if a non-exclusive method is chosen we will
still get an error.
2007-07-14 20:32:11 +00:00
Todd C. Miller
5c22c694c0 add template for HAVE_PROJECT_H 2007-06-20 19:04:30 +00:00
Todd C. Miller
60b7ac61bf Add Solaris 10 "project" support. From Michael Brantley. 2007-06-19 22:24:51 +00:00
Todd C. Miller
d1702ca4cb Fix preservation of LDFLAGS in the LDAP case. 2007-06-19 21:21:38 +00:00
Todd C. Miller
c154f0119b Can't use the regular autoconf fnmatch() check since we need
FNM_CASEFOLD so go back to our custom one.
2007-06-19 19:37:09 +00:00
Todd C. Miller
c22096ac33 Redo the long syslog line splitting based on a patch from Eygene Ryabinkin.
Include memrchr() for systems without it.
2007-06-14 16:03:53 +00:00
Todd C. Miller
1f38301a5d Since we need to be able to convert timespec to timeval for
utimes() the last 3 digits in the tv_nsec are not significant.
This makes the sudoedit file date comparison work again.
2007-06-14 11:09:49 +00:00
Todd C. Miller
4a7c81886e Add SUDO_ADD_AUTH macro to deal with adding things to AUTH_OBJS.
This deals with exclusive authentication methods in a simple way.
2007-06-13 17:41:44 +00:00
Todd C. Miller
fc38e7c21e o use krb5_verify_user() if available instead of doing it by hand
o use krb5_init_secure_context() if we have it
 o pass an encryption type of 0 to krb5_kt_read_service_key() instead of
   ENCTYPE_DES_CBC_MD5 to let kerberos choose.
2007-06-09 11:24:49 +00:00
Todd C. Miller
4d04baaee8 Fix closefrom() substitution in the Makefile 2007-06-09 11:17:34 +00:00
Todd C. Miller
bd221e2eb3 Update long long checks to use AC_CHECK_TYPES and to cache values. 2007-05-12 12:56:46 +00:00
Todd C. Miller
1c824fb367 Use AC_FUNC_FNMATCH instead of a homebrew fnmatch checker. We can't
use AC_REPLACE_FNMATCH since that assumes replacing with GNU fnmatch.
2007-05-12 12:07:11 +00:00
Todd C. Miller
1488331d75 Add closefrom() to LIB_OBJS not SUDO_OBJS if it is missing since we
need it for visudo now too.
2007-05-11 21:05:12 +00:00
Todd C. Miller
cad6de7d73 Add fcntl F_CLOSEM support to closefrom(); adapted from a diff by
Darren Tucker.
2006-08-17 15:26:54 +00:00
Todd C. Miller
ea8c5d5d2d Add seteuid() flavor of set_perms() for systems without setreuid()
or setresuid() that have a working seteuid().  Tested on Darwin.
2006-07-31 17:50:06 +00:00
Todd C. Miller
be3a220f7d Fix typo, -lldap vs. -ldap; from Tim Knox. 2006-07-30 19:53:52 +00:00
Todd C. Miller
bce8fbdd62 Define LDAP_DEPRECATED until we start using ldap_get_values_len() 2005-11-23 23:56:52 +00:00
Todd C. Miller
8efcb40512 Add mkstemp() for those poor souls without it. 2005-11-17 01:36:48 +00:00
Todd C. Miller
3b30d7514a Support rootbinddn in ldap.conf 2005-06-25 22:03:10 +00:00
Todd C. Miller
1ddff11130 Add dragonfly 2005-06-25 18:33:01 +00:00
Todd C. Miller
95b9648ba8 Update with autoupdate and make minor changes for libtool 1.9f 2005-06-25 18:04:30 +00:00
Todd C. Miller
6666ca23d4 Only attempt shadow password detection if PAM is not being used
Add shadow_* variables to make shadow password detection more generic.
2005-03-19 03:07:27 +00:00
Todd C. Miller
0a795b83dd Use OSDEFS for os-specific -D_FOO_BAR stuff rather than CPPFLAGS 2005-03-19 02:46:16 +00:00
Todd C. Miller
c2f6b93ada No longer need memmove() 2005-02-20 17:28:25 +00:00
Todd C. Miller
778d587063 Update copyright years. 2005-02-12 22:56:07 +00:00
Todd C. Miller
cd6a11b814 version 1.7 2005-02-12 21:46:11 +00:00
Todd C. Miller
0b315c10d0 Set locale to "C" if locales are supported, just to be safe. 2005-02-10 03:24:00 +00:00
Todd C. Miller
9a890467a7 Use execve(2) and wrap the command in sh if we get ENOEXEC. 2005-02-07 04:16:28 +00:00
Todd C. Miller
f780611c33 use bcopy on systems w/o memmove 2005-02-06 03:56:38 +00:00
Todd C. Miller
e166c1b11d Move _FOO_SOURCE to CPPFLAGS so it takes effect as early as possible.
Silences a warning about isblank() on linux.
2005-02-05 14:57:44 +00:00
Todd C. Miller
c2dad169fe Fix error message when mixing invalid auth types 2005-01-21 15:34:07 +00:00
Todd C. Miller
609a615f8a Better checking for conflicting authentication methods
Display the authentication methods used at the end of configure
Rename --with-authenticate -> --with-aixauth
Use --with-aixauth, --with-bsdauth, --with-pam, --with-logincap by
default on systems that support them unless disabled.
Add OSMAJOR variable that replaces old OSREV; now OSREV has full version number
2005-01-21 15:29:05 +00:00
Todd C. Miller
2e8e963460 Replace:
test -n "$FOO" || FOO="bar"

With:
    : ${FOO='bar'}
2005-01-14 18:35:06 +00:00
Todd C. Miller
1fb59a25ca Add a devdir variables that defaults to $(srcdir) and is set to . if
--devel was specified.  Allows for proper dependecies building the parser.
2005-01-05 22:17:33 +00:00
Todd C. Miller
9884923a9c Add TIME_WITH_SYS_TIME_H 2004-12-03 18:48:07 +00:00
Todd C. Miller
8ed367de8f Correct the test for 2-parameter timespecsub 2004-11-25 17:23:27 +00:00
Todd C. Miller
33db4b2edb Add check for 2-argument form of timespecsub (FreeBSD and BSD/OS) and
fix a typo in the gettimeofday check.
2004-11-25 17:09:31 +00:00
Todd C. Miller
f7f282ba13 Add configure check for getgroups() 2004-11-16 23:59:56 +00:00