Commit Graph

403 Commits

Author SHA1 Message Date
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
Todd C. Miller
0aaea98261 eval $shrext so that it expands nicely on MacOS X 2004-01-09 07:58:04 +00:00
Todd C. Miller
f649563335 Call AC_ENABLE_SHARED and check the status of enable_shared to know when
shared libs are available.
2004-01-09 07:00:01 +00:00
Todd C. Miller
b106eabb4b Only OpenPAM and Linux PAM use const qualifiers. 2004-01-09 06:18:10 +00:00
Todd C. Miller
9f8f030c5b o No need to check for sed, libtool config does that for us
o move check for --with-noexec until after libtool magic is run so we
  can use $can_build_shared and $shrext
2004-01-09 06:15:34 +00:00
Todd C. Miller
8e796b909a no shared libs on ultris or convexos 2004-01-05 20:05:29 +00:00
Todd C. Miller
d9b9d94c36 Build sudo_noexec shared object using libtool; could use some cleanup. 2004-01-05 20:03:09 +00:00
Todd C. Miller
626e2cd209 Add _PATH_SUDO_NOEXEC and corresponding --with-noexec configure option.
The default value of noexec_file is set to this.
2004-01-05 03:58:39 +00:00
Todd C. Miller
ffbc43afb3 Adjust code for --without-lecture to match new values. 2003-12-30 22:34:28 +00:00
Todd C. Miller
e52feabd48 s/HAVE_STOW/USE_STOW/ 2003-06-09 23:00:20 +00:00
Todd C. Miller
61e7453f8d missing ;; 2003-05-06 15:25:36 +00:00
Todd C. Miller
8dc823861f darwin has a broken setreuid() in at least some versions 2003-05-06 04:53:21 +00:00
Todd C. Miller
e6ec7f3374 builtin -> built-in; Jason McIntyre 2003-04-13 19:48:15 +00:00
Todd C. Miller
fab224f42f Check for heimdal even if we found krb5-config and define HAVE_HEIMDAL. 2003-04-04 17:45:24 +00:00
Todd C. Miller
c184860696 ++version 2003-04-02 18:45:35 +00:00
Todd C. Miller
7a15e5079c use krb5-config to determine Kerberos V details if it exists 2003-04-02 18:44:52 +00:00
Todd C. Miller
d64a83b41e Add checks for getprognam(), __progname and err.h 2003-04-02 18:15:25 +00:00
Todd C. Miller
aa698f905e use man sections 8 and 5 for csops 2003-03-24 16:05:59 +00:00
Todd C. Miller
8cc257b596 Add -lskey or -lopie directly to SUDO_LIBS instead of having AC_CHECK_LIB()
add them to LIBS.  Fixes visudo linkage.
2003-03-21 20:10:22 +00:00
Todd C. Miller
ed7cfdc1cf Add --with-blibpath for AIX. An alternate libpath may be specified or
-blibpath support can be disabled.  Also change conifgure such that
-blibpath is not specified if no -L libpaths were added to SUDO_LDFLAGS.
2003-03-21 19:01:05 +00:00
Todd C. Miller
0a2de952a2 add AIX blibpath support 2003-03-21 03:05:50 +00:00
Todd C. Miller
e7759a8b07 --with-skey and --with-opie now take an option directory argument
This obsoletes a --with-csops hack (/tools/cs/skey)

Also remove the remaining direct uses of "echo"
2003-03-21 01:28:41 +00:00
Todd C. Miller
67837e50c4 Detect KTH Kerberos IV and deal with it. Also make -lroken optional
for KTH Kerberos IV and V.
2003-03-20 22:44:41 +00:00
Todd C. Miller
9e6f380620 Add -R/path/to/libs for Solaris and SVR4. There is a new configure
option, --with-rpath to control this behavior.
2003-03-20 19:40:58 +00:00
Todd C. Miller
a41cbc597a for kerb4 put libdes after libkrb on the link line 2003-03-20 04:50:01 +00:00
Todd C. Miller
0343559c5a fix kerberos lib check when a path is specified 2003-03-20 04:33:21 +00:00
Todd C. Miller
a23a3d77b6 replace =DIR with [=DIR] where sensible 2003-03-19 21:19:53 +00:00
Todd C. Miller
02cde46459 o Use AC_MSG_* instead of "echo"
o New Kerberos include/lib detection based on openssh's configure.in
2003-03-19 21:16:57 +00:00
Todd C. Miller
48229cbac6 update copyright year 2003-03-15 20:31:02 +00:00
Todd C. Miller
bc400ffbfa correct error messages for --with-sudoers-{mode,uid,gid} 2003-03-15 20:16:58 +00:00
Todd C. Miller
7b124c5dea Add support for --with-stow based on patches from Robert Uhl 2003-03-15 18:01:39 +00:00
Todd C. Miller
18f3cfdf6d back out rev 1.352 2003-03-15 05:21:43 +00:00
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