-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
ntpsec: update to 1.2.4 #28227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
ntpsec: update to 1.2.4 #28227
Conversation
As of this version, legacy-support is used to provide clock_gettime() and clock_settime(), though patches are still needed to accommodate other missing features prior to 10.13. As usual (and as documented in the Portfile), the patches can be viewed more readably on the GitLab fork. The default Python variant is now python312. Former versions opportunistically included mDNS support, relying on an undeclared dependency on the avahi port. This is now a variant, with an appropriate dependency. Since this is a fairly low-utility feature, and avahi is a somewhat heavyweight port (that doesn't build on all platforms), and that feature was never guaranteed to be available, this variant defaults off. TESTED: Built (including running tests) on 10.4-10.5 ppc, 10.4-10.6 i386, 10.4-10.15 x86_64, and 11.x-15.x arm64. Ran operationally on a representative subset.
@@ -19,12 +27,12 @@ homepage https://www.ntpsec.org/ | |||
conflicts ntp openntpd | |||
|
|||
master_sites ftp://ftp.ntpsec.org/pub/releases/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should transition over to using HTTPS for this mirror? ( https://ftp.ntpsec.org/pub/releases/ )
# ntpsec requires Python 2.6, 2.7, or 3.3+. | ||
# We skip 2.6 and 3.3, but keep 2.7 and 3.4+. | ||
# ntpsec requires Python 2.7 or 3.3+. | ||
# We skip 3.3, but keep 2.7 and 3.4+. | ||
# Some variants may force a more restricted list. | ||
# | ||
set pythons_suffixes {27 34 35 36 37 38 39 310 311 312 313} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all EOL Python versions should be removed by now.
# | ||
set pyver_no_dot "27" | ||
set pyver_no_dot "312" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is nothin "bleeding edge" about Python 3.13 and since that is the default version it should be used, following MacPorts' Python policy. If you want to support very old OSes that cannot build it that's fine - but then specify that only those versions use an older Python.
As of this version, legacy-support is used to provide clock_gettime() and clock_settime(), though patches are still needed to accommodate other missing features prior to 10.13. As usual (and as documented in the Portfile), the patches can be viewed more readably on the GitLab fork.
The default Python variant is now python312.
Former versions opportunistically included mDNS support, relying on an undeclared dependency on the avahi port. This is now a variant, with an appropriate dependency. Since this is a fairly low-utility feature, and avahi is a somewhat heavyweight port (that doesn't build on all platforms), and that feature was never guaranteed to be available, this variant defaults off.
TESTED:
Built (including running tests) on 10.4-10.5 ppc, 10.4-10.6 i386, 10.4-10.15 x86_64, and 11.x-15.x arm64.
Ran operationally on a representative subset.
Description
Type(s)
Tested on
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?