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
Todd C. Miller
fafefc1df9
Substitute values from configure into man pages.
2000-08-13 21:09:22 +00:00
Todd C. Miller
576ea0ed17
Fix --with-badpri help line
2000-04-19 19:30:28 +00:00
Todd C. Miller
fc6fe43af5
Don't bother checking for the path to vi if user specified --with-editor
2000-04-02 15:44:06 +00:00
Todd C. Miller
e736ad4a55
OSF/1 puts file formats in section 4, not 5.
2000-03-24 20:14:05 +00:00
Todd C. Miller
1f343c7a0f
If there is no inet_addr but there *is* an __inet_addr that's ok since
...
inet_addr is probably just a macro then. The better thing to do would
be to look for the macro, but this is fine for now.
2000-03-24 01:23:05 +00:00
Todd C. Miller
6814458ab3
Don't use shlicc for BSD/OS 4.x
2000-03-24 00:50:30 +00:00
Todd C. Miller
b0bbcfc187
*.man lives in cwd, *.cat lives in $(srcdir), add a @mansrcdir@
...
configure variable so we can deal with this.
Also, only remove *.man for 'distclean' not 'clean'.
2000-03-24 00:40:55 +00:00
Todd C. Miller
d168a21cee
Add FreeBSD login.conf support (untested on BSD/OS) based on a patch from
...
Michael D. Marchionna.
configure now does substitution on the man pages, allowing us to
fix up the paths and set the section correctly. Based on an idea
from Michael D. Marchionna.
2000-03-23 00:35:59 +00:00
Todd C. Miller
935a51e76a
FreeBSD login class (login.conf) support.
2000-03-07 04:29:46 +00:00
Todd C. Miller
73946622ba
crank versino to 1.6.3
2000-02-16 00:07:28 +00:00
Todd C. Miller
82b60ddc2f
Fix thinko, some && should have been || in the last commit
2000-02-13 18:38:14 +00:00
Todd C. Miller
26b93e27fb
Don't initialized Makefile variables to be NULL since the user may
...
want to import variables from their environment.
2000-02-13 18:28:04 +00:00
Todd C. Miller
36a249399c
typo
2000-02-04 02:09:02 +00:00
Todd C. Miller
a4f529eaec
Make pam work on HP-UX 11.0;jaearick@colby.edu
2000-01-27 20:01:37 +00:00
Todd C. Miller
d9790399b3
Fix sudoers locking in visudo. We now lock the sudoers file itself, not
...
the temp file (since locking the temp file can foul up editors). The
previous locking scheme didn't work because the fd was closed too early.
2000-01-19 19:07:24 +00:00
Todd C. Miller
90371b1c03
Don't need test for ftruncate() any more.
2000-01-19 18:37:51 +00:00
Todd C. Miller
f63b8d3211
Add a test for the -Aa flag w/ HP-UX's cc. Fixes compilation with the
...
unbundled HP-UX cc.
2000-01-19 02:23:48 +00:00
Todd C. Miller
6d6c22b4b4
Crank version to 1.6.2
2000-01-17 17:28:41 +00:00
Todd C. Miller
26f5aa6f24
For HP-UX cc, add -Aa to CPPFLAGS.
...
For HP-UX always add -D_HPUX_SOURCE to CPPFLAGS.
2000-01-14 17:39:00 +00:00
Todd C. Miller
ac67ced558
Add check for initgroups() since old SYSV lacks this.
1999-12-09 04:04:47 +00:00
Todd C. Miller
957fa7941d
o Kill HAVE_FNMATCH_H
...
o Only define HAVE_FNMATCH if <fnmatch.h> exists.
1999-12-09 03:54:57 +00:00
Todd C. Miller
c6136f9764
crank version to 1.6
1999-12-05 02:18:47 +00:00
Todd C. Miller
75ca0c512f
o Use AC_MSG_ERROR throughout
...
o Check syslog configure options for danity
1999-11-08 22:45:42 +00:00
Todd C. Miller
59666aca78
o Now use getrlimit to find the highest fd when closing all non-std fd's
...
o Turn off core dumps via setrlimit for the sake of paranoia
1999-11-04 19:01:11 +00:00
Todd C. Miller
3acdd5b02f
New krb5 code from Frank Cusack <fcusack@iconnet.net>.
1999-10-13 02:34:55 +00:00