[Git][NTPsec/ntpsec][master] 2 commits: Fix printf warning in ntp_sandbox -- FreeBSD 13.5
Hal Murray (@hal.murray)
gitlab at mg.gitlab.com
Wed Mar 12 04:34:27 UTC 2025
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
df4cd680 by Hal Murray at 2025-03-11T21:27:36-07:00
Fix printf warning in ntp_sandbox -- FreeBSD 13.5
- - - - -
07a7a730 by Hal Murray at 2025-03-11T21:27:36-07:00
Python 2.7 is now the minimum we support.
Added to NEWS:
* Python 2.7 is now the minimum supported version.
This is likely to be the last release supporting Python 2.
- - - - -
3 changed files:
- NEWS.adoc
- ntpd/ntp_sandbox.c
- pylib/wscript
Changes:
=====================================
NEWS.adoc
=====================================
@@ -12,6 +12,9 @@ on user-visible changes.
## Repository Head
+* Python 2.7 is now the minimum supported version.
+ This is likely to be the last release supporting Python 2.
+
* waf install now tests the installed binaries
This will complain if your python search path isn't working.
See README-PYTHON for more info.
=====================================
ntpd/ntp_sandbox.c
=====================================
@@ -512,7 +512,7 @@ void CheckFreeBSDdroproot(uid_t uid) {
exit(-1);
}
if (uid != need) {
- msyslog(LOG_ERR, "INIT: FreeBSD needs user %d", need);
+ msyslog(LOG_ERR, "INIT: FreeBSD needs user %d", (int)need);
exit(-1);
}
return;
=====================================
pylib/wscript
=====================================
@@ -11,7 +11,7 @@ def options(opt):
def configure(conf):
conf.load('python')
- conf.check_python_version((2, 6, 0)) # even when not using it.
+ conf.check_python_version((2, 7, 0)) # even when not using it.
if 'none' == conf.env['ntpc']:
return
if 'ext' == conf.env['ntpc']: # Extension-only, no embedded
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/68f6704708bfd987e29ee39a93f43f7ccedf91ab...07a7a73022f91f5d8fdc128c410aadbcca6757c6
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/compare/68f6704708bfd987e29ee39a93f43f7ccedf91ab...07a7a73022f91f5d8fdc128c410aadbcca6757c6
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20250312/e7a39595/attachment-0001.htm>
More information about the vc
mailing list