Commit Graph

17 Commits

Author SHA1 Message Date
Todd C. Miller
deef5e57fb CentOS Stream only uses a major version number, no minor version.
This prevents the packages from being created as foo.el.arch.rpm
since we were assuming that the version number was two digits.
2022-05-24 15:58:39 -06:00
Todd C. Miller
3bd572ba80 Convert README and docs files to markdown.
This makes things look better on GitHub and we can use the
markdown version directly in the new sudo web site.
2021-12-05 21:02:04 -07:00
Todd C. Miller
7baee707b0 Add a background image for the macOS installer. 2021-11-19 12:26:31 -07:00
Todd C. Miller
620b0dec86 Only replace the last instance of "sudo" in example and doc dir.
Otherwise we end up with weird paths for a prefix like /opt/sudo.
2021-04-15 10:31:28 -06:00
Todd C. Miller
d028410bf7 If libssl_dep was not passed in, use ldd to determine its value.
Normally, mkpkg will figure this out, but if the user does "make
package" outside of the mkpkg script, libssl_dep will not be set.
2021-04-13 10:00:57 -06:00
Todd C. Miller
4f9d2374c8 Do not include parent directories in rpm and deb files.
Fixes a directory conflict with the AIX sudo rpm package.
Other deb/rpm packages were not affected because parent dirs are
omitted for a prefix of /usr.
2021-03-30 12:49:20 -06:00
Todd C. Miller
9e111eae57 Sudo 1.9.5 2021-01-08 19:52:45 -07: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
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