Todd C. Miller
241b1db873
Add --enable-kerb5-instance configure option to allow people using
...
Kerberos V authentication to use a custom instance. Adapted from
a diff by Michael E Burr.
2012-01-05 15:39:05 -05:00
Todd C. Miller
a24d86b32c
When running a login shell with a login_class specified, use
...
LOGIN_SETENV instead of rolling our own login.conf setenv support
since FreeBSD's login.conf has more than just setenv capabilities.
This requires us to swap the plugin-provided envp for the global
environ before calling setusercontext() and then stash the resulting
environ pointer back into the command details, which is kind of a
hack.
2011-12-08 17:17:25 -05:00
Todd C. Miller
edd32aa8df
Mention how to configure pam_hpsec on HP-UX to play nicely with sudo.
2011-12-08 09:10:07 -05:00
Todd C. Miller
9f0abb4692
Add support for setenv entries in login.conf. We can't use LOGIN_SETENV
...
since the plugin sets up the envp the command is executed with.
Also regen the Makefile.in files while here. Fixes bug #527
2011-12-05 10:43:44 -05:00
Todd C. Miller
38a4990e4a
Add getaddrinfo() for those without it, written by Russ Allbery
2011-12-02 17:28:50 -05:00
Todd C. Miller
01147eda3a
Replace @DEV@ prefix with DEVEL variable so we can do "make DEVEL=1"
2011-12-02 13:43:02 -05:00
Todd C. Miller
21a2f95821
Use stdbool.h instead of rolling our own TRUE/FALSE macros.
2011-12-02 11:27:33 -05:00
Todd C. Miller
86c86183ab
Add stdbool.h for systems without it.
2011-12-01 13:49:46 -05:00
Todd C. Miller
e54fc4eb34
No longer need SUDO_CHECK_TYPE and SUDO_TYPE_* now that the default
...
includes have unistd.h in them. Add check for socklen_t for upcoming
getaddrinfo compat.
2011-12-01 11:27:57 -05:00
Todd C. Miller
51e45647ae
Use HAVE_STRUCT_TIMESPEC and HAVE_STRUCT_IN6_ADDR instead of
...
HAVE_TIMESPEC and HAVE_IN6_ADDR respectively.
2011-12-01 11:07:17 -05:00
Todd C. Miller
1b9f2cdbc6
Do multiple expansion when expanding paths to the noexec file, sesh
...
and the plugin directory. Adapted from a diff by Mike Frysinger
2011-11-22 14:53:47 -05:00
Todd C. Miller
b27eeb41b2
Update to libtool 2.4.2
2011-11-21 12:24:32 -05:00
Todd C. Miller
19c98b62bf
Don't error out if the user specified --disable-shared
2011-11-13 21:24:02 -05:00
Todd C. Miller
5c29710f35
Remove obsolete securid auth method.
2011-11-13 11:54:06 -05:00
Todd C. Miller
c86561e502
Remove the old Kerberos IV support
2011-11-13 09:12:43 -05:00
Todd C. Miller
749a7695d0
Add checks for __func__ and __FUNCTION__ and mention that we now
...
require a cpp that supports variadic macros.
2011-10-22 14:20:52 -04:00
Todd C. Miller
8ef560b85c
Override and ignore the --disable-static option. Sudo already runs
...
libtool with -tag=disable-static where applicable and we need non-PIC
objects to build the executables.
2011-10-12 08:24:13 -04:00
Todd C. Miller
4724e313e0
FreeBSD has libutil.h not util.h
2011-09-21 09:52:33 -04:00
Todd C. Miller
441abee4e8
Define _BSD_SOURCE on FreeBSD, OpenBSD and DragonflyBSD
2011-09-21 09:46:52 -04:00
Todd C. Miller
647e087cd3
Fix some square brackets in case statements that needed to be doubled
...
up. While here, use $OSMAJOR when it makes sense.
2011-09-16 13:05:21 -04:00
Todd C. Miller
523492af52
Error message if user tries --with-CC
2011-09-16 09:04:58 -04:00
Todd C. Miller
ba331ebfb6
Check for -libmldap too when looking for ldap libs, which is the
...
Tivoli Directory Server client library.
2011-09-16 09:04:27 -04:00
Todd C. Miller
b3b268c3a4
Remove --with-CC option; it doesn't work correctly now that we use
...
libtool. Users can get the same effect by setting the CC environment
variable when running configure.
2011-09-08 09:36:24 -04:00
Todd C. Miller
f730cb7873
Assume all modern systems support fstat(2).
2011-08-31 11:19:10 -04:00
Todd C. Miller
47af0fc2b8
Add configure test for missing errno declaration and only
...
declare it ourselves if it is missing.
2011-08-30 10:05:30 -04:00
Todd C. Miller
3e0e0fc385
Add -Wall and -Werror after all tests so they don't cause failures.
2011-08-29 14:49:10 -04:00
Todd C. Miller
e4956d22e1
Add --enable-werror configure option.
2011-08-23 10:15:28 -04:00
Todd C. Miller
64a57a2ee9
Use PAM by default on AIX 6 and higher.
2011-08-23 09:50:40 -04:00
Todd C. Miller
366cb19273
Add caching for gettext() checks.
2011-08-15 13:41:58 -04:00
Todd C. Miller
8f8738ff37
Better handling of libintl header and library mismatch.
2011-08-15 10:21:13 -04:00
Todd C. Miller
6b9d80b106
If dlopen is present but libtool doesn't find it, error out since it
...
probably means that libtool doesn't support the system.
2011-08-12 13:00:55 -04:00
Todd C. Miller
c8fb440848
Update to autoconf 2.68 and libtool 2.4
2011-08-11 14:25:01 -04:00
Todd C. Miller
f922678360
regen
2011-08-02 16:14:11 -04:00
Todd C. Miller
b124635b04
Instead of keeping separate groups and gids arrays, create struct
...
group_info and use it to store both, along with a count for each.
Cache group info on a per-user basis using getgrouplist() to get
the groups. We no longer need special to special case the user or
list user for user_in_group() and thus no longer need to reset the
groups list when listing another user.
2011-07-20 11:58:45 -04:00
Todd C. Miller
ae34052542
Disable noexec for AIX < 5. LDR_PRELOAD is only available in AIX
...
5.3 and above.
2011-07-05 11:42:39 -04:00
Todd C. Miller
210e091d81
No longer need to specify LINGUAS in configure, "make install-nls"
...
now just installs all the .mo files it finds.
2011-06-18 13:11:27 -04:00
Todd C. Miller
b4a48510cd
Only enable Solaris project support when setproject() is present in
...
libproject.
2011-06-10 15:28:58 -04:00
Todd C. Miller
0562e492aa
FreeBSD no longer needs the main sudo binary to link with -lpam
...
now that plug-ins are loaded with RTLD_GLOBAL.
2011-06-06 11:02:52 -04:00
Todd C. Miller
707bad44d4
Add Finish translation from translationproject.org
2011-06-04 09:58:44 -04:00
Todd C. Miller
88cfbd51a5
Add support for --enable-nls[=location]
2011-05-29 14:33:18 -04:00
Todd C. Miller
97214c4485
Don't install .mo files if gettext was not found.
2011-05-28 09:18:46 -04:00
Todd C. Miller
47adbf8d33
Add simplified chinese translation
2011-05-27 07:54:52 -04:00
Todd C. Miller
c202c4e6d8
Add ukranian translation
2011-05-26 15:23:55 -04:00
Todd C. Miller
724b64e2ca
Add missing "checking" message for gettext when using the cache.
2011-05-20 15:27:45 -04:00
Todd C. Miller
a05e963690
Add checks for nroff -c and -Tascii flags
2011-05-19 18:00:31 -04:00
Todd C. Miller
e2aef4f526
Add check for HP bundled C Compiler (which cannot create shared libs)
2011-05-19 17:34:38 -04:00
Todd C. Miller
3164f58143
Add scaffolding to update .po files and install .mo files.
2011-05-19 15:25:29 -04:00
Todd C. Miller
159d7e393a
FreeBSD needs the main sudo executable to link with -lpam when
...
loading dynaic pam modules for some reason.
2011-05-18 11:18:44 -04:00
Todd C. Miller
c3a259f5ee
Add calls to bindtextdomain() and textdomain()
...
Currently there are two domains, one for the sudo front-end and
one for the sudoers plugin and its associated utilities.
2011-05-17 16:38:40 -04:00
Todd C. Miller
19a81af6b0
Fix caching of libc gettext check.
2011-05-17 15:55:23 -04:00