summaryrefslogtreecommitdiff
path: root/net/ntpd-rs
diff options
context:
space:
mode:
Diffstat (limited to 'net/ntpd-rs')
-rw-r--r--net/ntpd-rs/Makefile3
-rw-r--r--net/ntpd-rs/distinfo6
-rw-r--r--net/ntpd-rs/files/patch-powerpc64le20
3 files changed, 24 insertions, 5 deletions
diff --git a/net/ntpd-rs/Makefile b/net/ntpd-rs/Makefile
index 1f8bea2dea3b..eb63cef4ab41 100644
--- a/net/ntpd-rs/Makefile
+++ b/net/ntpd-rs/Makefile
@@ -1,7 +1,6 @@
PORTNAME= ntpd-rs
DISTVERSIONPREFIX= v
-DISTVERSION= 1.6.0
-PORTREVISION= 1
+DISTVERSION= 1.6.1
CATEGORIES= net
MAINTAINER= mikael@FreeBSD.org
diff --git a/net/ntpd-rs/distinfo b/net/ntpd-rs/distinfo
index 89203b8ecd2c..904a8a10fd2c 100644
--- a/net/ntpd-rs/distinfo
+++ b/net/ntpd-rs/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1751028696
+TIMESTAMP = 1752665084
SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1
SIZE (rust/crates/addr2line-0.24.2.crate) = 39015
SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
@@ -335,5 +335,5 @@ SHA256 (rust/crates/zerocopy-derive-0.8.26.crate) = 9ecf5b4cc5364572d7f4c329661b
SIZE (rust/crates/zerocopy-derive-0.8.26.crate) = 88080
SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde
SIZE (rust/crates/zeroize-1.8.1.crate) = 20029
-SHA256 (pendulum-project-ntpd-rs-v1.6.0_GH0.tar.gz) = 7d7fc946c8683b6411c9e93a355d8e20b1640e17f58dc33c1eb3414854c0cf1e
-SIZE (pendulum-project-ntpd-rs-v1.6.0_GH0.tar.gz) = 1434096
+SHA256 (pendulum-project-ntpd-rs-v1.6.1_GH0.tar.gz) = 71d5ca4078124fc00b57f565dd3a77bc6152f9dc8787f3018cc204a8e4e6b9c5
+SIZE (pendulum-project-ntpd-rs-v1.6.1_GH0.tar.gz) = 1434202
diff --git a/net/ntpd-rs/files/patch-powerpc64le b/net/ntpd-rs/files/patch-powerpc64le
new file mode 100644
index 000000000000..c70aea7304f9
--- /dev/null
+++ b/net/ntpd-rs/files/patch-powerpc64le
@@ -0,0 +1,20 @@
+Obtained from: https://cgit.FreeBSD.org/ports/commit/?id=f08b67611f0b19c0ee8d9053ee4d22e09b03f2b1
+
+--- cargo-crates/aws-lc-sys-0.29.0/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c.orig 2024-07-03 21:50:24 UTC
++++ cargo-crates/aws-lc-sys-0.29.0/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c
+@@ -69,10 +69,15 @@ void OPENSSL_cpuid_setup(void) {
+
+ void OPENSSL_cpuid_setup(void) {
+ #if defined(AT_HWCAP2)
++#if defined(__linux__)
+ OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2);
++#elif defined(__FreeBSD__)
++ elf_aux_info(AT_HWCAP2, &OPENSSL_ppc64le_hwcap2, sizeof(OPENSSL_ppc64le_hwcap2));
++#endif
+ #else
+ OPENSSL_ppc64le_hwcap2 = 0;
+ #endif
++
+ OPENSSL_cpucap_initialized = 1;
+
+ // OPENSSL_ppccap is a 64-bit hex string which may start with "0x".