Skip to content

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

ntpsec: update to 1.2.4 #28227

wants to merge 1 commit into from

Conversation

fhgwright
Copy link
Contributor

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)
  • bugfix
  • enhancement
  • security fix
Tested on
Mac OS X 10.4.11 8S165, PPC, Xcode 2.5 8M2558
Mac OS X 10.4.11 8S2167, i386, Xcode 2.5 8M2558
Mac OS X 10.5.8 9L31a, PPC, Xcode 3.1.4 9M2809
Mac OS X 10.5.8 9L31a, i386, Xcode 3.1.4 9M2809
Mac OS X 10.5.8 9L31a, x86_64, Xcode 3.1.4 9M2809
Mac OS X 10.6.8 10K549, i386, Xcode 3.2.6 10M2518
Mac OS X 10.6.8 10K549, x86_64, Xcode 3.2.6 10M2518
Mac OS X 10.7.5 11G63, x86_64, Xcode 4.6.3 4H1503
OS X 10.8.5 12F2560, x86_64, Xcode 5.1.1 5B1008
OS X 10.9.5 13F1911, x86_64, Xcode 6.2 6C131e
OS X 10.10.5 14F2511, x86_64, Xcode 7.2 7C68
OS X 10.11.6 15G22010, x86_64, Xcode 8.1 8B62
macOS 10.12.6 16G2136, x86_64, Xcode 9.2 9C40b
macOS 10.13.6 17G14042, x86_64, Xcode 10.1 10B61
macOS 10.14.6 18G9323, x86_64, Xcode 11.3.1 11C505
macOS 10.15.7 19H15, x86_64, Xcode 12.4 12D4e
macOS 11.7.10 20G1427, x86_64, Xcode 13.2.1 13C100
macOS 11.7.10 20G1427, arm64, Xcode 13.2.1 13C100
macOS 12.7.6 21H1320, x86_64, Xcode 14.2 14C18
macOS 12.7.6 21H1320, arm64, Xcode 14.2 14C18
macOS 13.7.5 22H527, arm64, Xcode 15.2 15C500b
macOS 14.7.5 23H527, arm64, Xcode 16.2 16C5032a
macOS 15.3.2 24D81, arm64, Xcode 16.3 16E140
Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • [N/A] referenced existing tickets on Trac with full URL in commit message?
  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

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/
Copy link
Member

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}
Copy link
Contributor

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"
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants