Todd C. Miller
086aaeb446
Format the macOS minor version number with two digits.
...
This way we get consistent 4-digit version numbers even for macOS
verions like 10.3 or 11.0 where the minor number is a single digit.
For example. 10.3 will be formatted as 1003 and 11.0 will be 1100.
2020-08-14 14:53:27 -06:00
Todd C. Miller
d12f7ccf25
Fix probe for macOS Big Sur
...
"sw_vers -productName" now returns "macOS", not "Mac OS X"
2020-08-13 20:40:33 -06:00
Todd C. Miller
ce97ca28db
Use OpenBSD-compatible freezero() in place of explicit_bzero() + free()
2020-08-10 19:24:33 -06:00
Todd C. Miller
cef6e3687e
Switch from memset_s() -> explicit_bzero().
...
memset_s() (and all of Annex K) is likely to be removed from the
a future version of the standard.
2020-08-10 19:24:32 -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
d04805eecb
Fix parsing of /etc/redhat-release on RHEL 8.
...
RedHat dropped the word "server" from the release name in redhat-release
which results in the awk script printing the wrong field. Instead
of using awk, just use sed to pull out the version number immediately
following the word "release".
2020-06-24 14:19:14 -06:00
Todd C. Miller
a339945848
Prefer the python3 in /usr/bin on Solaris.
...
The /opt/csw version, if it exists, may be a 32-bit version which
we can't link with. Also handle the case where the /usr/bin/python3
link is missing.
2020-06-06 18:45:28 -06:00
Todd C. Miller
6c881477b6
Build 64-bit binaries and the python package on Solaris 11 and above.
...
No longer prefer the Solaris Studio C compiler over gcc, it causes
issues with the Python plugin.
2020-06-06 16:07:33 -06:00
Todd C. Miller
15d93a1ca7
Fix Solaris and BSM audit warnings.
...
Use BSM audit on Illumos, which lacks Solaris audit.
2020-06-04 14:41:28 -06:00
Todd C. Miller
a0aaae5541
Don't enable BSM audit on Solaris 10, it is missing AUE_sudo
2020-06-01 13:56:47 -06:00
Todd C. Miller
e1aa76de16
Use Solaris audit for Solaris 11, not BSM audit.
...
BSM audit is no longer supported in Solaris 11.4.
2020-06-01 12:47:38 -06:00
Todd C. Miller
4ea7ecffdd
Enable OpenSSL on RHEL 6 too.
...
The version of OpenSSL in RHEL 6 is new enough for the log server to use.
2020-05-15 09:50:46 -06:00
Todd C. Miller
e42afc7732
Sync PolyPkg from upstream.
2020-05-06 09:52:48 -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
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
d5b06ff7fa
Fix macOS package creation.
2020-04-22 08:58:07 -06:00
Todd C. Miller
d22800edd5
Only remove the systemd unit service file if we copied it manually.
...
If the service file was installed as part of the package it will
be removed automatically when the package is uninstalled.
2020-04-21 11:05:29 -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
eebe68233c
Check for the Sun Studio C compiler on Solaris under /opt.
...
Also intialize with_python to false.
2020-04-08 14:10:03 -06:00
Todd C. Miller
d6684b851a
Build python packages where possible.
2020-04-07 14:03:58 -06:00
Todd C. Miller
6a2b5fd82f
Handle dependencies for .h files in the same directory as the source.
...
Fixes missing header dependencies for the sudoers and python plugins.
2020-04-07 14:03:58 -06:00
Todd C. Miller
a46d8bd11a
Enable OpenSSL on systems that can support it.
2020-03-19 06:05:32 -06:00
Todd C. Miller
3911e4f7bf
Use Text::Wrap instead of perl's built-in format function.
...
This still breaks log filename incorrectly but is a step in the
right direction.
2020-02-10 09:11:30 -07:00
Todd C. Miller
c2f3f60583
Avoid changing directory when generating the ChangeLog file.
...
Instead, pass the repo path to either hg or log2cl.pl
2020-02-10 08:02:47 -07:00
Todd C. Miller
2fe127d108
Move some scripts from the top level src dir to a scripts dir.
2020-02-06 14:30:26 -07:00