Todd C. Miller
ec77318e32
Leave rules to build .man.in and .cat files uncommented but only make
...
them part of the "all" rule in devel mode.
Generate .cat files directly from .man.in instead of .man using default
values in configure.in
2010-06-11 18:34:24 -04:00
Todd C. Miller
608a3e7a27
Bump sudo version to 1.8.0b1
2010-06-11 10:55:30 -04:00
Todd C. Miller
a28a4764e6
Print configure args with verbose version information.
2010-06-11 10:53:44 -04:00
Todd C. Miller
e54cfc9bd4
We don't use getgrouplist() at the moment so there's no need to
...
provide a compat version.
2010-06-10 15:12:37 -04:00
Todd C. Miller
e5283b2f96
Require POSIX termios to build sudo
2010-06-09 11:09:55 -04:00
Todd C. Miller
79f178923e
Replace timerfoo macros with timevalfoo since the timer macros are known
...
to be busted on some systems.
2010-06-08 18:38:23 -04:00
Todd C. Miller
b97d47424b
Fix typo
2010-06-04 09:09:19 -04:00
Todd C. Miller
572c885414
HP-UX ld uses +b instead or -R or -rpath
...
Fix typo in libvas check
Add missing template for ENV_DEBUG
Adapted from Quest sudo
2010-06-02 10:30:34 -04:00
Todd C. Miller
9425527982
Add --enable-warnings and fix typo in SUDO_IO_LOGDIR
2010-05-30 11:16:31 -04:00
Todd C. Miller
2dd29bf64d
Break sudoers transcript feature up into log_input and log_output.
2010-05-30 10:31:38 -04:00
Todd C. Miller
b8b006a885
Move code common to sudo and the sudoers plugin to a convenience library,
...
libcommon. Removes the need to make links in the sudoers plugin dir
and reduces re-compilation of duplicate object files.
2010-05-27 17:27:36 -04:00
Todd C. Miller
349fedb022
bump version to 1.8.0a2
2010-05-27 15:09:05 -04:00
Todd C. Miller
807d1313a5
Use numeric registers to handle conditionals instead of trying
...
to do it all with text processing.
2010-05-25 16:13:04 -04:00
Todd C. Miller
79cb53c62c
Use mandoc(1) if nroff(1) is not present.
2010-05-24 12:35:43 -04:00
Todd C. Miller
8a8830e34f
Substitute @SHELL@ into Makefiles
2010-05-21 21:29:44 -04:00
Todd C. Miller
755752c6b1
Update to autoconf 2.65
2010-05-21 19:25:17 -04:00
Todd C. Miller
51b558e753
Update to libtool-2.2.6b. I haven't made any local modifications
...
this time, which should be OK since we install sudo_noexec.so by
hand now.
2010-05-21 17:59:47 -04:00
Todd C. Miller
60b5321558
regen with autoupdate to eliminate AC_TRY_LINK
2010-05-21 15:53:39 -04:00
Todd C. Miller
95d939f9bb
Install sudo_plugin.h as part of "make install" and make other install
...
targets callable from the top-level Makefile
2010-05-21 15:31:36 -04:00
Todd C. Miller
06e650a450
Add check for whether sudo need to link with -ldl to get dlopen().
...
This is a bit of a hack that will get reworked when libtool is
updated.
2010-05-11 13:21:50 -04:00
Todd C. Miller
7502a3d71f
Link with -lpthread on HP-UX since a plugin may be linked with -lpthread
...
and dlopen() will fail if the shared object has a dependency on -lpthread
but the main program is not linked with it.
2010-05-11 12:11:03 -04:00
Todd C. Miller
f38afc9779
Add separate test for getresuid() since HP-UX has setresuid() but no
...
getresuid().
2010-05-11 10:55:59 -04:00
Todd C. Miller
f42cf76d8a
Re-enable bsm audit. Currently auditing is done within the sudoers
...
plugin itself. If possible, this should really be done in the main
driver but we don't presently have the needed data to do that. This
will be re-evaluated when Linux audit support is added.
2010-04-30 12:01:15 -04:00
Todd C. Miller
1c67169b9d
Substitute in @PROGS@ into src/Makefile to add sesh
2010-04-27 11:56:51 -04:00
Todd C. Miller
b4a26b7691
Use timeval directly instead of converting to timespec when dealing
...
with file times and time of day.
2010-04-20 16:44:02 -04:00
Todd C. Miller
c47ab0273a
Darwin >= 9.x has real setreuid(2)
2010-04-18 12:42:52 -04:00
Todd C. Miller
b71844daf7
Don't change the environ directly in the sudoers plugin
2010-04-16 07:56:16 -04:00
Todd C. Miller
fb87c040cc
Add workaround for the lack of the environ pointer on Mac OS X
...
in dlopen()ed modules. Use of environ in the sudoers plugin should
ultimately be removed but this will do for the moment.
2010-04-14 06:38:32 -04:00
Todd C. Miller
6a5ea5be01
Fix up some AC_DEFINE descriptions and regen config.h.in
2010-04-06 04:53:42 -04:00
Todd C. Miller
717da12e96
Top-level Makefile.in. Nothing is currently substituted but this
...
is needed for separate build dirs.
2010-04-04 20:05:02 -04:00
Todd C. Miller
c2eeceaa1f
No need to provide strdup() or strndup(), sudo uses estrdup() and estrndup()
2010-04-02 14:46:00 -04:00
Todd C. Miller
8c91f0a30c
Create our own sys_siglist for systems without it for use by strsignal()
2010-04-02 07:47:19 -04:00
Todd C. Miller
0ea0d60cbd
Add REPLAY_LIBS for sudoreplay and add -lrt to it on Solaris.
2010-03-22 19:55:49 -04:00
Todd C. Miller
8df6ba9fee
Merge 5177a284b9ff 549f8f7c2463 88f3181692fe from 1.7 branch.
2010-03-22 10:19:07 -04:00
Todd C. Miller
c2905815e6
Fix installation of sudoers.ldap in "make install" when --with-ldap
...
was specified without a directory. From Prof. Dr. Andreas Mueller
--HG--
branch : 1.7
2010-03-22 09:50:06 -04:00
Todd C. Miller
8db39a8586
Add checks for getgrset and getgrouplist and use replacement getgrouplist
...
if the system doesn't support it.
2010-03-22 08:25:30 -04:00
Todd C. Miller
2e27226a0d
Bring back SUDOERS_PLUGIN but add .dylib -> .so conversion for
...
Darwin where libraries end in .dylib but modules end in .so
2010-03-19 20:01:00 -04:00
Todd C. Miller
0dbf4362d9
Fix --with-ldap
2010-03-19 07:32:14 -04:00
Todd C. Miller
5be1b80169
Hard-code sudoers.so instead of using SUDOERS_PLUGIN since libtool
...
appears to always install a shared object with the .so suffix.
2010-03-18 12:02:05 -04:00
Todd C. Miller
ba9d2f5bb6
Play more nicely with libtool and let it build libreplace (was libmissing)
...
for us.
2010-03-18 11:42:12 -04:00
Todd C. Miller
5a2a2d193f
Set the sudoers plugin name in configure so we get the extension right.
2010-03-17 18:48:19 -04:00
Todd C. Miller
90ec112540
Build libmissing in two flavors (one PIC one non-PIC) and link with the
...
appropriate one.
2010-03-14 18:05:00 -04:00
Todd C. Miller
6b4d97ebc3
Add strdup and strndup to compat
2010-03-12 17:11:11 -05:00
Todd C. Miller
1dcebf901a
Remove redundant getgroups check
2010-03-12 12:39:04 -05:00
Todd C. Miller
0795ef846c
Require either termios or termio, no more sgtty.
2010-03-12 11:45:57 -05:00
Todd C. Miller
cb8696d67e
Change the sys_siglist check to use AC_CHECK_DECLS and also check
...
for _sys_siglist and__sys_siglist
2010-03-12 05:26:01 -05:00
Todd C. Miller
5775026a51
Change SUDO_LDFLAGS to SUDOERS_LDFLAGS and add SUDOERS_OBJS.
...
We now use SUDO_OBJS for the main driver as part of OBJS.
2010-03-11 17:21:34 -05:00
Todd C. Miller
c7b382a905
AUTH_OBJS should contain .lo files not .o files.
2010-03-06 07:36:02 -05:00
Todd C. Miller
cf07bde706
No longer need to substitute in script.o and pty.o; I/O logging support
...
is always built.
2010-03-04 08:12:36 -05:00
Todd C. Miller
ca3ee9de17
Sudo now requires an ANSI/ISO C compiler
2010-02-27 10:04:39 -05:00