Todd C. Miller
bb024cf093
Rename PLUGINDIR -> plugindir
2019-07-03 13:15:47 -06:00
Todd C. Miller
caceced2f5
Use $libexecdir in default settings used by the documentation.
...
The web and pdf pages will substitute /usr/local/libexec for $noexec_file.
Also do substitution of variables using exec_prefix even if we don't use
them in the Makefile since the documentation may reference them.
2019-07-03 13:13:04 -06:00
Todd C. Miller
6e497be935
Update plugindir even when --disable-shared is specified.
...
Otherwise, the default value is substituted into the Makefiles and
documentation which may not match --prefix. Bug #886
2019-07-03 07:39:54 -06:00
Todd C. Miller
71fdb8e037
Remove .cat pages, there is no need for them in the modern world.
...
Sudo only shipped .cat pages for Irix, which lacked nroff.
Irix is long dead and there are multiple open source nroff options.
2019-06-20 13:15:46 -06:00
Todd C. Miller
184484b213
Make env_editor the default.
...
It is already the default in the package script.
2019-06-20 11:51:47 -06:00
Todd C. Miller
81c6cac81b
Solaris getentropy() requires that sys/random.h be included.
2019-06-10 12:12:57 -06:00
Todd C. Miller
91b6d71a04
Sudo 1.8.28
2019-04-29 19:40:51 -06:00
Todd C. Miller
1e1ef61902
Add SPDX-License-Identifier to files.
2019-04-29 07:21:51 -06:00
Todd C. Miller
de65d70929
Add a proper getdelim(3) replacement and use it instead of getline(3).
2019-04-08 10:37:30 -06:00
Todd C. Miller
c1d934894d
Use $ac_cv_search_FUNCTION instead of $ac_lib and $ac_res.
...
Fixes a problem where libcrypt is not used with autoconf caching.
Adapted from a diff from Adam Labbe.
2019-01-25 10:39:57 -07:00
Todd C. Miller
24b0da367b
sudo 1.8.27
2018-12-24 10:09:35 -07:00
Todd C. Miller
ecd9688818
Add support for utmps as found in HP-UX.
2018-11-18 07:45:43 -07:00
Todd C. Miller
716aa6e4ab
Support st_nmtime in struct stat as found in HP-UX.
2018-11-14 13:37:46 -07:00
Todd C. Miller
cdd5bb32eb
Add sudo_gai_fatal, sudo_gai_vfatal, sudo_gai_vwarn, sudo_gai_warn
...
and gai_log_warning that use gai_strerror() instead of strerror().
2018-11-05 09:08:05 -07:00
Todd C. Miller
4c82e18ac1
Add --enable-pvs-studio configure option to create PVS-Studio.cfg.
2018-10-21 08:46:09 -06:00
Todd C. Miller
ce9a7dd25a
sudo 1.8.26
2018-09-24 05:29:21 -06:00
Todd C. Miller
365a1ecd46
sudo 1.8.25p1
2018-09-12 09:03:28 -06:00
Todd C. Miller
fdd7296122
Add a test for the 4-argument au_close() function found in Solaris
...
11 instead of assuming it is present if __sun is defined. Fixes a
compilation error on OpenIndiana and older Solaris versions.
2018-08-27 13:50:23 -06:00
Todd C. Miller
04d1f56d90
Use struct timespec, not struct timeval in the event subsystem.
...
Use ppoll() or pselect() if avaialble which use timespec.
2018-08-25 21:02:05 -06:00
Todd C. Miller
d876602dbf
Do not assume all Linux has linux/random.h.
...
Add missing sys/syscall.h include
2018-08-22 15:12:11 -06:00
Todd C. Miller
957f284bba
Add --enable-package-build to give configure a hint that we are
...
building a package. This can be used to avoid relying on libc
functions that may not be present in all libc versions for a
particular system. For instance, AIX 7.1 may or may not have
memset_s() and getline() present.
2018-08-22 08:09:46 -06:00
Todd C. Miller
df1c062526
HP-UX doesn't suport CLOCK_MONOTONIC but we can use gethrtime() instead.
2018-08-20 10:56:34 -06:00
Todd C. Miller
db8a760b0f
sudo 1.8.25
2018-08-20 10:04:12 -06:00
Todd C. Miller
b3227d3ed5
Add sudo_gettime_uptime() to measure time while not sleeping.
2018-08-19 09:55:08 -06:00
Todd C. Miller
0ae9662833
Add sudo_getgrouplist2() to dynamically allocate the group vector.
...
This allows us to avoid repeatedly calling getgrouplist() with
a statically sized vector on macOS, Solaris, HP-UX, and AIX.
2018-06-15 14:05:13 -06:00
Todd C. Miller
ddd663a5f2
Import arc4random() from libressl. This takes an all-in-one approach
...
instead of the one-file-per-OS approach that libressl takes.
The fallback code does not have as many OS-specific bits as libressl.
2018-05-24 21:04:23 -06:00
Todd C. Miller
154a5f59a9
Move digest code into libutil
2018-05-24 21:04:07 -06:00
Todd C. Miller
dfb66044ed
Define ZLIB_CONST so we get the const version of the API.
2018-05-17 09:31:48 -06:00
Todd C. Miller
3a4c0e06c1
Depending on the bos level, AIX 6.1 may or may not include
...
getline/getdelim and AIX 7.1 may or may not include memset_s.
Since we need to build packages that will work on all AIX 6.1 and
7.1 machines, use our getline() and memset_s emulation.
2018-05-15 09:53:46 -06:00
Todd C. Miller
808ec34ab4
Sudo 1.8.24
2018-05-14 13:04:14 -06:00
Todd C. Miller
82dfbf458d
fix version
2018-04-29 13:58:49 -06:00
Todd C. Miller
23b2879e08
sync with translationproject.org
2018-04-29 13:33:29 -06:00
Todd C. Miller
523f0eeeab
Monty Python insults from Philip Hudson
2018-04-17 07:10:43 -06:00
Todd C. Miller
217e0a9b4b
Less confusing sysctl checks for kinfo_proc.
2018-03-05 17:35:02 -07:00
Todd C. Miller
120bb6de7f
rename ldap_common.c -> ldap_util.c
2018-02-28 14:24:33 -07:00
Todd C. Miller
faa5baac9b
Use setpassent() and setgroupent() on systems that support it to
...
keep the passwd and group database open. Sudo does a lot of passwd
and group lookups so it can be beneficial to just leave the file
open.
2018-02-20 13:22:59 -07:00
Todd C. Miller
e48cbfc10c
Clarify that --with-rundir and --with-vardir take sudo-specific directory,
...
e.g. /var/run/sudo and not just /var/run. Bug #823
2018-02-19 11:27:30 -07:00
Todd C. Miller
525c6a3d94
Use /run in preference to /var/run if it exists.
...
Bug #822
2018-02-19 10:59:12 -07:00
Todd C. Miller
43a3a23fed
Move LDAP configuration bits into ldap_conf.c
2018-02-11 07:36:08 -07:00
Todd C. Miller
3226f7e28b
Move common bits of ldap to sudoers conversion into ldap_common.c
...
and use it in sssd.c.
2018-02-09 18:21:40 -07:00
Todd C. Miller
d2303d8b12
Sudo 1.8.23
2018-01-29 09:40:12 -07:00
Todd C. Miller
a885b952fb
Remove use of AC_HEADER_TIME, only obsolete platforms actually
...
need this. Also stop removing sys/time.h unless the source file
uses struct timeval.
2018-01-17 09:52:15 -07:00
Todd C. Miller
ff5ac3ef0e
Add tsdump, a simple utility to dump a timestamp file. To build,
...
run "make tsdump" in the plugins/sudoers directory (it is not built
by default). In order to map the tty device number to a name,
sudo_ttyname_dev() has been moved into libsudo_util.
2018-01-11 10:49:20 -07:00
Todd C. Miller
48fba3c2cc
update my email to Todd.Miller@sudo.ws
2017-12-03 17:53:40 -07:00
Todd C. Miller
e8532bdcee
Sudo 1.8.22
2017-12-01 14:35:34 -07:00
Todd C. Miller
749cdc9d95
Make PC insults the default and add new configure option,
...
enable-offensive-insults, to enable the offensive insults.
2017-09-18 10:45:02 -06:00
Todd C. Miller
87eba6c892
sudo 1.8.21p2
2017-09-06 21:02:11 -06:00
Todd C. Miller
f5425a80a2
Sudo 1.8.21p1
2017-09-01 14:09:43 -06:00
Todd C. Miller
63d954d1fc
Replace tty_tickets option with timestamp_type which can be
...
global, ppid or tty. Defaults to tty (no change in behavior).
Some users want the ppid behavior.
2017-08-01 16:14:54 -06:00
Todd C. Miller
beece91719
Add support for --enable-sasl and --disable-sasl to make it possible
...
to enable/disable support for LDAP with SASL authentication. Sudo
compiles in support for SASL authentiation by default if the
ldap_sasl_interactive_bind_s() function is detected.
Bug #788
2017-07-28 13:52:55 -06:00