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
Todd C. Miller
51375f969f
Add local error/warning functions like err/warn but that call an additional
...
cleanup routine in the error case. This means we no longer need to compile
a special version of alloc.o for visudo.
2004-11-15 15:53:53 +00:00
Todd C. Miller
6725bb2e53
We won't be using lsearch() any longer.
2004-10-26 22:09:22 +00:00
Todd C. Miller
48cdd1dec3
Kill use of POSIX saved uids; they aren't worth bothering with.
2004-10-13 16:46:19 +00:00
Todd C. Miller
082b0f8b3b
Define HAVE_EXTENDED_GLOB for extended glob (GLOB_TILDE and GLOB_BRACE)
2004-10-07 18:27:49 +00:00
Todd C. Miller
e05c8441e6
Check for a glob() that supports GLOB_BRACE and GLOB_TILDE
2004-10-07 16:59:54 +00:00
Todd C. Miller
3c8145a923
No longer call it tracing, it is now "monitoring" which should be more
...
a obvious name to non-hackers.
2004-10-04 16:07:19 +00:00
Todd C. Miller
6f338fd773
Also look for systrace.h in /usr/include/linux
2004-09-30 23:00:25 +00:00
Todd C. Miller
2cfa16a770
rename systrace.c -> trace_systrace.c
2004-09-30 21:07:36 +00:00
Todd C. Miller
22ad3cbc96
Crank version
2004-09-26 16:35:58 +00:00
Todd C. Miller
35203ffe56
Add check for setproctitle
2004-09-24 18:10:27 +00:00
Todd C. Miller
ce559899e2
Include sys/param.h before systrace.h
2004-09-24 00:23:28 +00:00
Todd C. Miller
35b33cc1bc
line up options in --help
2004-09-24 00:14:44 +00:00
Todd C. Miller
2af113f24e
Add --with-systrace
2004-09-24 00:11:31 +00:00
Todd C. Miller
2306b4eb51
make this work with autoconf-2.59
2004-09-23 17:35:40 +00:00
Todd C. Miller
70d8f78328
Removed unneed check for fchown
...
Add check for gettimeofday
Move autoheader template stuff into separate AH_TEMPLATE lines
2004-09-08 15:49:26 +00:00
Todd C. Miller
54789c8fbd
Add a check for struct timespec and provide it for those without.
2004-09-07 20:36:31 +00:00
Todd C. Miller
c0bfcc95c3
Add checks for st_mtim and st_mtimespec and add macros for pulling
...
the mtime sec and nsec out of struct stat. These are used in sudo_edit()
to better tell whether or not the file has changed.
2004-09-07 19:57:00 +00:00
Todd C. Miller
1c20ff1a6d
Use utimes() and futimes() instead of utime() in touch(), emulating as needed.
...
Not all systems are able to support setting the times of an fd so touch()
takes both an fd and a file name as arguments.
2004-09-07 17:14:52 +00:00
Todd C. Miller
2f153f2221
No need for -lcrypt when using pam.
2004-08-29 15:39:31 +00:00
Aaron Spangler
2ceb87bc56
Allow --with-ldap-conf-file option to override LDAP_CONF
2004-08-27 03:44:35 +00:00
Todd C. Miller
a6ea92617c
--with-noexec takes an optional PATH argument.
2004-08-21 18:20:38 +00:00
Todd C. Miller
24dd77986d
Add tests for what libs we need to link with for ldap and for whether
...
or not lber.h needs to be explicitly included.
2004-06-03 16:37:32 +00:00
Todd C. Miller
e009af0c9c
Better check for dirfd macro--we now set HAVE_DIRFD for the macro version too.
...
Added check for dd_fd in `DIR' if no dirfd is found; this is now used to
confitionally define the dirfd macro in compat.h.
2004-06-01 20:53:31 +00:00
Todd C. Miller
54cb0921de
Add a check for a dirfd() function (like Linux) and add a dirfd
...
macro in compat.h if there is no dirfd() function or macro.
2004-06-01 19:13:37 +00:00
Todd C. Miller
f64a92347d
o --with-ldap now takes an optional dir as a parameter
...
o added check for ldap_initialize() and start_tls_s()
2004-05-29 22:29:42 +00:00
Todd C. Miller
1a76be42f6
Remove hack overriding cross-compiler check. It should no longer be needed.
2004-05-28 20:27:41 +00:00
Todd C. Miller
e4506e81a3
Define NO_SAVED_IDS if we don't find seteuid()
2004-05-27 23:01:39 +00:00
Todd C. Miller
224f05ad1a
Add back check for setreuid() since NSK doesn't have it.
2004-05-27 22:21:47 +00:00
Aaron Spangler
bd9be2cf05
Merged in LDAP Support
2004-02-13 02:08:27 +00:00
Todd C. Miller
3a4d283109
Add --with-pc-insults configure option
2004-02-04 04:38:56 +00:00
Todd C. Miller
a7039ea7bd
Substitute for root_sudo in sudoers.pod
2004-02-01 20:20:30 +00:00
Todd C. Miller
63e1f3dd92
fix typo
2004-01-22 00:08:58 +00:00
Todd C. Miller
2d21140a3d
Add SET/CLR/ISSET
2004-01-22 00:02:36 +00:00
Todd C. Miller
f4a4d4c666
Add check for fchown(2)
2004-01-21 21:57:59 +00:00
Todd C. Miller
d55c3f63c7
Use closefrom() instead of doing the equivalent inline.
2004-01-12 19:03:54 +00:00
Todd C. Miller
5c16da4f20
Substitute noexec_file for the sudoers man page
2004-01-09 21:26:46 +00:00
Todd C. Miller
149862cd9d
Move PAM_CONST macro definition from config.h to pam.c where it belongs.
...
We can't have this in config.h since that gets included too early.
2004-01-09 19:39:00 +00:00
Todd C. Miller
aa4eb97ed5
Some PAM implementations put their headers in /usr/include/pam instead
...
of /usr/include/security.
2004-01-09 19:35:54 +00:00
Todd C. Miller
5459af61d4
I missed changing the EXEC macro -> EXECV here when I changed this in
...
config.h.in and sudo.c a while ago.
2004-01-09 19:32:43 +00:00
Todd C. Miller
cd2bd25a88
o merge the hpux case entries into a single entry w/ its own sub-case statement.
...
o HP-UX >= 11 support getspnam(), use it in preference to getprpwuid()
2004-01-09 08:29:33 +00:00