Todd C. Miller
9e111eae57
Sudo 1.9.5
2021-01-08 19:52:45 -07:00
Todd C. Miller
4c00a4e5b7
Don't enable mod_remove_empty_return
...
We like to use an empty return for stub functions.
2020-12-18 09:01:53 -07:00
Todd C. Miller
94c5052ebf
Fix typo detected by codespell 2.0.0
...
Also avoid some new false positives
2020-11-24 07:40:38 -07:00
Todd C. Miller
bdf5530014
Set pp_ignore_define_body=false in uncrustify config.
...
Need to work around a bug that produces closed brace errors,
see https://github.com/uncrustify/uncrustify/issues/2569
2020-11-23 10:47:47 -07:00
Todd C. Miller
4193f54826
Update to uncrustify 0.71.0
2020-08-11 16:58:47 -06:00
Todd C. Miller
c90539015f
Fix libssl dependency on Debian-based systems.
...
Older systems may still have libssl1.0.0, not libssl1.1.
2020-08-05 12:58:02 -06:00
Todd C. Miller
3ded5cbd67
Fix macOS bundle IDs for sudo-logsrvd and sudo-python packages
2020-05-14 15:16:35 -06:00
Todd C. Miller
7f2585ed0a
Plumb in codespell with a "make spell" target.
2020-05-07 07:50:11 -06:00
Todd C. Miller
0cf2e09e0c
Apply spelling fixes.
...
Fixes from PR #30 (ka7) and Bug #925 (fossies.org codespell)
2020-05-06 09:27:43 -06:00
Todd C. Miller
5d3f635ae8
Use the proper python version in the libpython dependency on Debian.
...
The configure script already detects the python version, we just need
to use it.
2020-05-05 17:21:36 -06:00
Todd C. Miller
82bc05d998
Fix Debian ldap dependency broken in last commit.
2020-05-04 13:03:51 -06:00
Todd C. Miller
3b078b7a9c
Fix "make package" on Debian when linux_audit is not set.
2020-05-04 12:36:35 -06:00
Todd C. Miller
40f47f0136
Fix support for pp_systemd_disabled and check for systemd existence.
...
On our build schroots we don't have systemctl installed but do have
the /etc/systemd and /lib/systemd (or /usr/lib/systemd) directories.
2020-04-22 15:23:05 -06:00
Todd C. Miller
8c5befaae8
Set pp_macos_service_id instead of pp_macos_default_service_id_prefix.
...
It is only effective to set pp_macos_default_service_id_prefix in
the indivisual %service sections (and not %set) so we may was well
use pp_macos_service_id which includes the service name.
2020-04-22 12:40:52 -06:00
Todd C. Miller
c70606c3c9
Set launchd service id prefix to "ws.sudo."
...
The default value in PolyPkg is "com.quest.rc."
2020-04-22 10:45:03 -06:00
Todd C. Miller
a89ddb63fd
Disable systemd support on Linux systems that don't use it.
2020-04-16 15:32:07 -06:00
Todd C. Miller
1034d3f5b6
Update PolyPkg from my branch with systemd support.
2020-04-14 19:25:49 -06:00
Todd C. Miller
324b237245
Fix handling of /etc/sudo_logsrvd.conf in the sudo-logsrvd package.
...
For rpm and deb we include the file directly and mark it volatile.
For all others we copy it in the postinstall script from the example
dir if the file doesn't already exist.
2020-04-08 15:46:30 -06:00
Todd C. Miller
e86106f2e1
Create the pid file parent directory if it doesn't already exist.
...
Also package the run directory in the sudo_logsrvd PolyPkg file.
2020-04-07 19:26:37 -06:00
Todd C. Miller
0a10c702be
Split sudo_logsrvd and the python plugin into their own packages.
2020-04-07 14:03:58 -06:00
Todd C. Miller
ab18c22ab4
Remove bits for Tru64 kit-style packages
2020-04-07 14:03:58 -06:00
Todd C. Miller
891872336f
Add sudo_logsrvd as a service so it gets started at boot.
2020-03-29 05:05:08 -06:00
Todd C. Miller
db1a9b155f
Install a default sudo.conf file.
2020-01-21 13:31:07 -07:00
Todd C. Miller
c6f8f4b545
Move init.d and sudo.pp to the etc dir.
2019-12-23 14:29:27 -07:00
Todd C. Miller
60328e5c7e
Add uncrustify config file for new sudo code style.
2019-12-13 19:28:53 -07:00