Todd C. Miller
b4ca9535b4
Fix a typo in a comment and make sure we don't mistakenly include
...
_PATH_SUDO_ASKPASS and _PATH_SUDO_SESH in config.h.in
2013-03-21 16:35:18 -04:00
Todd C. Miller
575466027b
Use $host_os not $host when we only care about the os name and version.
2013-03-19 15:59:23 -04:00
Todd C. Miller
017c7a15d3
Suppress duplicate -L and -I flags.
2013-03-19 14:10:26 -04:00
Todd C. Miller
3c139fa3c9
If we find sasl/sasl.h there's no need to check for sasl.h too
2013-03-19 13:04:24 -04:00
Todd C. Miller
46da6159de
Add -R flags at the very end after configure link tests are done
...
since we can only count on libtool to accept -R, the compiler front
end may not.
Also unify the libldap and libibmldap tests using AC_SEARCH_LIBS
and check for -lCsup on HP-UX which is needed by libibmldap (but
is not an explicit dependency).
2013-03-19 11:52:54 -04:00
Todd C. Miller
0b99679274
Back out changes that broke detection of skey, opie and ldap
...
libraries.
2013-03-18 16:34:01 -04:00
Todd C. Miller
1a51a993de
On HP-UX, libibmldap has a hidden dependency on libCsup
2013-03-18 15:19:12 -04:00
Todd C. Miller
eef31be22a
Only create static helper libs when --disable-shared is specified.
2013-03-18 10:15:48 -04:00
Todd C. Miller
c8f630c060
Replace --with-rpath and --with-blibpath with --disable-rpath.
...
Now that we use libtool for linking we can just use the -R
flag and have libtool translate it to the proper linker flag.
2013-03-18 09:27:07 -04:00
Todd C. Miller
1614c3cad1
Document sesh Path setting.
2013-03-14 20:13:54 -04:00
Todd C. Miller
7f32d1ca4c
Make sesh path configurable in sudo.conf
2013-03-14 16:49:42 -04:00
Todd C. Miller
4493554290
Use -fno-pie and -nopie if supported when --disable-pie is specified.
2013-03-14 16:06:13 -04:00
Todd C. Miller
d07d453ab5
Define _REENTRANT for HP-UX when we add -lpthread to SUDO_LIBS.
...
Fixes a problem with errno sometimes not being set on error on HP-UX.
2013-03-07 11:54:17 -05:00
Todd C. Miller
9722784e1c
Always install plugins with a .so extension regardless of what
...
extension the system uses for shared libraries. That way the
group_plugin sudoers setting can be shared between heterogenous
systems.
2013-03-06 17:08:10 -05:00
Todd C. Miller
e30b0bd121
Use pstat() on HP-UX to determine the tty device.
2013-02-28 09:01:08 -05:00
Todd C. Miller
59692ad282
Add pam_session sudoers option.
2013-02-24 06:15:37 -05:00
Todd C. Miller
e07280eeeb
Rename sample_group plugin to group_file.
...
Install group_file and system_group plugins by default.
2013-02-18 15:32:36 -05:00
Todd C. Miller
6b09c76a20
Sudo now stores its libexec files in a "sudo" subdirectory instead
...
of in libexec itself. For backwards compatibility, if the plugin
is not found in the default plugin directory, sudo will check the
parent directory default directory ends in "/sudo".
2013-02-06 14:06:51 -05:00
Todd C. Miller
0bd79612b1
Use PLUGINDIR in the manuals and fix a typo in the sample sudo.conf.
2013-02-05 10:56:58 -05:00
Todd C. Miller
6bc3d4aed5
Use nss_search() to implement getgrouplist() where available. Tested
...
on Solaris and HP-UX. We need to include a compatibility header
for HP-UX which uses the Solaris nsswitch implementation but doesn't
ship nss_dbdefs.h.
2013-01-22 15:41:15 -05:00
Todd C. Miller
a06a14838f
Use _getgroupsbymember() on Solaris to get the groups list. Fixes
...
performance problems with the getgroupslist() compat on Solaris
systems with network-based group databases.
2013-01-18 14:58:12 -05:00
Todd C. Miller
adbc8a574f
Use -fstack-protector-all in preference to -fstack-protector
...
where supported.
2013-01-11 09:39:59 -05:00
Todd C. Miller
34d018fb91
Only test for -fstack-protector and -fvisibility=hidden on GNU
...
compatible compilers.
2013-01-10 21:27:40 -05:00
Todd C. Miller
6e560f2bab
Break out stack smashing protector options into SSP_CFLAGS and
...
SSP_LDFLAGS so we can use it everywhere (unlike LT_LDFLAGS).
2013-01-03 14:20:49 -05:00
Todd C. Miller
948253a156
Disable PIE on FreeBSD/ia64, otherwise sudo will segfault.
2012-12-27 16:25:51 -05:00
Todd C. Miller
415dc82971
Add locale_stub.o to SUDO_OBJS, not locale_stub.lo.
2012-11-25 11:54:17 -05:00
Todd C. Miller
2632ec7e69
Move warn/error into common and make static builds work.
2012-11-25 09:34:40 -05:00
Todd C. Miller
acf8af9aac
#unifdef HAVE_SETLOCALE, it is C89 so no need to check for it.
2012-11-12 08:51:58 -05:00
Todd C. Miller
83dde2fbb6
Add os-specific initialization functions for solaris (workaround
...
setuid locale problem in Solaris 11) and openbsd (set malloc_options
if SUDO_DEVEL). Also move set_project() to solaris.c.
2012-11-11 07:11:22 -05:00
Todd C. Miller
9d2dc4c30a
Solaris gettext() looks in lang.UTF-8, not just lang for UTF-8 locales.
...
Make links from localdir/lang -> localdir/lang.UTF-8
2012-11-08 14:45:22 -05:00
Todd C. Miller
0586a5e28a
Allow the user to specify and alternate libtool
2012-10-28 12:58:48 -04:00
Todd C. Miller
8aca292b23
sudo 1.8.7
2012-10-24 16:29:13 -04:00
Todd C. Miller
a7ce1909fe
sudo 1.8.6p3
2012-09-18 09:41:58 -04:00
Todd C. Miller
0c94a95ef3
Sudo 1.8.6p2
2012-09-16 21:04:33 -04:00
Todd C. Miller
824092b883
sudo 1.8.6p1
2012-09-12 14:37:27 -04:00
Todd C. Miller
ab7dda035a
Replace strsigname() with sig2str(), emulating it as needed.
2012-08-29 14:25:09 -04:00
Todd C. Miller
71e2d8290b
Use fseeko() for legacy utmp handling if available.
2012-08-29 10:32:49 -04:00
Todd C. Miller
f44afdc423
Detect sys_sigabbrev[] and use it in place of sys_signame[] if
...
present. For some reason glibc does not declare sys_sigabbrev so
we must add an extern definition of our own.
2012-08-28 10:11:38 -04:00
Todd C. Miller
537dc94b9e
Use strsigname() to print signal names in the debug output.
...
If the system has no strsigname(), use our own.
2012-08-26 20:12:51 -04:00
Todd C. Miller
1e43242b33
Always use mandoc to format cat pages and remove now-extraneous
...
nroff configure tests.
2012-08-15 10:32:25 -04:00
Todd C. Miller
d89b1a6be2
Support for using SSSD ( http://fedorahosted.org/sssd/ ) as a sudoers
...
data source. From Daniel Kopecek and Pavel Brezina.
2012-08-10 11:59:26 -04:00
Todd C. Miller
90f2cfa589
Build .man.in and .cat files from .mdoc.in files.
...
Add new --with-man and --with-mdoc configure options.
2012-07-19 13:41:14 -04:00
Todd C. Miller
958e39fc6a
Define NO_VIZ for zlib when gcc doesn't support symbol visibility
...
attributes.
2012-07-02 13:34:35 -04:00
Todd C. Miller
f38349a026
Use the autoconf cache when checking for symbol export control support.
2012-07-02 11:20:05 -04:00
Todd C. Miller
f8f0021710
Add configure check for building PIE executables instead of doing
...
it in mkpkg.
2012-07-02 10:12:41 -04:00
Todd C. Miller
effd6cd911
Add -Wc,-fstack-protector to LT_LDFLAGS instead of adding
...
-fstack-protector to LDFLAGS so it doesn't get stripped out. Libtool
will strip -fstack-protector from the linker flags and we always
link with libtool.
2012-07-01 13:47:25 -04:00
Todd C. Miller
3c57d6a06d
Add support for ldaps using Tivoli LDAP libraries.
...
Add ldap.conf option to specify Tivoli key db password.
Allow TLS ciphers to be configured for Tivoli.
2012-06-29 12:14:45 -04:00
Todd C. Miller
9497df293a
Don't run regress tests or sudoers sanity check (using the newly-built
...
visudo) when cross compiling. Bug #560
2012-06-20 13:38:17 -04:00
Todd C. Miller
bcfeddc998
Rename foo.sym -> foo.exp
...
Remove foo.map from the repo and generate it on demand
Use a loader option file for HP-UX ld to explicitly export symbols
2012-06-20 12:58:16 -04:00
Todd C. Miller
b567282f86
Adjust ld map file support to use an anonymous scope to match the
...
updated .map files.
2012-06-19 13:23:37 -04:00