Commit Graph

363 Commits

Author SHA1 Message Date
Todd C. Miller
50b049dcc9 put -ldl after -lpam, not before; fixes static linking on Linux 2003-03-14 02:38:06 +00:00
Todd C. Miller
285791c42f Add stlc{at,py} for those w/o it. 2003-03-12 22:07:26 +00:00
Todd C. Miller
450a561933 fix a typo; David Krause 2003-03-10 00:34:09 +00:00
Todd C. Miller
7a7a5fe2e0 not not; Anil Madhavapeddy 2003-03-01 18:21:20 +00:00
Todd C. Miller
cf76450aef Add some more square backets to make autoconf 2.57 happy 2003-01-20 20:57:51 +00:00
Todd C. Miller
c8fa231120 Fix IRIX fallout from name changes in man dir/sect Makefile variables.
Patch from erici AT motown DOT cc DOT utexas DOT edu
2002-12-13 17:48:11 +00:00
Todd C. Miller
736660571d Add checks for setresuid() and a way to disable using it 2002-11-22 19:07:04 +00:00
Todd C. Miller
9c2e0aedab Fix SecurID API test 2002-05-20 20:50:41 +00:00
Todd C. Miller
ef8c99a5f7 securid5 stuff needs pthreads. Just adding -lpthread is suboptimal
but I don't see a better way at the moment.
2002-05-17 17:20:09 +00:00
Todd C. Miller
1039ff788c Add check for SecurID 5.0 API 2002-05-17 17:02:35 +00:00
Todd C. Miller
80f50dbc43 Don't set sysconfdir to '/etc' if the user has specified a --prefix. 2002-05-05 20:25:10 +00:00
Todd C. Miller
ac8ca82f0e Some fixes for autoconf 2.53 from Robert Uhl
o don't AC_SUBST LIBOBJS
 o force a 4th arg for AC_CHECK_HEADER() to workaround a bug
2002-05-05 20:14:59 +00:00
Todd C. Miller
ed4f749c7b ++version 2002-05-05 01:31:57 +00:00
Todd C. Miller
e0a5ce9780 Fix two typo/pastos; from jrj@purdue.edu 2002-04-26 19:12:34 +00:00
Todd C. Miller
d9bb746dff crank version to 1.6.6 2002-04-18 15:41:30 +00:00
Todd C. Miller
5a186c346c Add --disable-setreuid flag 2002-01-22 02:01:09 +00:00
Todd C. Miller
1c91394578 o BSDi also has a bogus setreuid()
o Old FreeBSD has a bogus setreuid()
o new NetBSD has a real setreuid()
o add check for freeifaddrs() if getifaddrs() exists.
2002-01-18 19:18:39 +00:00
Todd C. Miller
b72dadcb95 version 1.6.5 2002-01-16 23:37:34 +00:00
Todd C. Miller
0aac4f03b7 Add --disable-root-mailer option to run the mailer as the user and not root. 2002-01-16 21:26:13 +00:00
Todd C. Miller
f039427253 Add a configure option to turn off use of POSIX saved IDs 2002-01-15 22:47:29 +00:00
Todd C. Miller
495dc92488 add --with-efence option 2002-01-15 20:48:34 +00:00
Todd C. Miller
de7c188450 Use -O not -O2 for m88k-motorola-sysv* since motorola gcc-derived
compiler doesn't recognise -O2.
2002-01-07 18:59:47 +00:00
Todd C. Miller
5baef4dad8 Add info for autoheader. 2002-01-02 22:36:50 +00:00
Todd C. Miller
513605df42 allow user to always override mansectsu and mansectform 2002-01-01 19:00:41 +00:00
Todd C. Miller
1ae422826e o Call AC_PROG_CC_STDC to find out how to run the compiler in ANSI mode
o Remove compiler-specific checks for HP-UX now that we use AC_PROG_CC_STDC
2001-12-31 21:57:16 +00:00
Todd C. Miller
83c2e51bad avoid the -g flag unless --with-devel was specified 2001-12-19 15:56:47 +00:00
Todd C. Miller
313bbae1d3 use AC_SYS_POSIX_TERMIOS instead of rolling our own 2001-12-15 15:57:03 +00:00
Todd C. Miller
947573dbea Fix check for sigaction_t 2001-12-15 01:00:38 +00:00
Todd C. Miller
1f20e80b96 Add check for sigaction_t -- IRIX already defines this so don't redefine it. 2001-12-14 23:14:36 +00:00
Todd C. Miller
06461973d7 Remove redundant checks for string.h, strings.h and unistd.h 2001-12-14 20:31:27 +00:00
Todd C. Miller
c2b2b6c3d2 o Don't define STDC_HEADERS unconditionally for IRIX
o Update copyright year
2001-12-14 19:54:09 +00:00
Todd C. Miller
86743d987e Add checks for volatile and sig_atomic_t 2001-12-14 06:52:44 +00:00
Todd C. Miller
be8422eedf _PATH_SENDMAIL -> _PATH_SUDO_SENDMAIL so --without-sendmail works on
systems that define  in paths.h
2001-12-14 06:17:35 +00:00
Todd C. Miller
f66fcb464b Add check for skeyaccess(3) 2001-12-12 19:43:23 +00:00
Todd C. Miller
46be666b32 Add check for isblank and a replacement macro if it doesn't exist. 2001-12-12 00:31:07 +00:00
Todd C. Miller
241cb64cc4 Kill POSIX_SIGNALS define and old signal support now that we emulate POSIX ones
Also be sure to correctly initialize struct sigaction.
2001-12-08 19:44:30 +00:00
Todd C. Miller
8fb718e7f4 sco now is identified by config.guess as *-sco-* 2001-10-05 20:39:05 +00:00
Todd C. Miller
89f2ab84d8 Check for getspnam() in -lgen if not in -lc for UnixWare. 2001-10-05 20:24:14 +00:00
Todd C. Miller
7f8d2fb3e1 remove some backslash quotes that are unneeded 2001-07-17 03:33:48 +00:00
Todd C. Miller
4969fa5365 o Tweaks to make this work with autoconf-2.50
o Use AC_LIBOBJ instead of changing LIBOBJS directly
o Use AC_REPLACE_FUNCS where we can
o Use AC_CHECK_FUNCS instead of AC_CHECK_FUNC so we don't have to
  AC_DEFINE things manually.
2001-07-17 03:30:30 +00:00
Todd C. Miller
a788475e5d force NeXT to use flock since lockf is broken 2001-04-04 17:14:13 +00:00
Todd C. Miller
4ca4d65152 fix typo in last commit 2000-12-30 21:58:11 +00:00
Todd C. Miller
5481e22892 Add check + emulation for setegid (like seteuid). 2000-12-30 21:55:21 +00:00
Todd C. Miller
998631b73a New Defaults options:
o stay_setuid - sudo will remain setuid if system has saved uids or setreuid(2)
 o env_reset - reset the environment to a sane default
 o env_keep - preserve environment variables that would otherwise be cleared

No longer use getenv/putenv/setenv functions--do environment munging by hand.
Potentially dangerous environment variables can be cleared only if they
contain '/' pr '%' characters to protect buggy programs.
Moved environment routines into env.c (new file)
2000-12-30 03:29:47 +00:00
Todd C. Miller
8eb4848586 For NCR, add -lc89 to LIBS, not SUDO_LIBS and cache the existence
of strcasecmp().
2000-11-02 17:55:06 +00:00
Todd C. Miller
7e7efac423 Check for strcasecmp(3) in -lc89 for NCR Unix 2000-11-02 17:46:29 +00:00
Todd C. Miller
4fdb825a09 Add check for _innetgr(3) since NCR systems have that instead of
innetgr(3).
2000-11-01 15:17:25 +00:00
Todd C. Miller
e9d00a88b1 --with-bsdauth assumes --with-logincap 2000-10-30 03:56:54 +00:00
Todd C. Miller
0208b22686 Add support for BSD authentication. 2000-10-26 16:42:40 +00:00
Todd C. Miller
4f743f06be Have to hard code default values in help since the defaults
are set _after_ the help stuff.
2000-09-07 01:24:45 +00:00