summaryrefslogtreecommitdiff
path: root/ntp
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2024-07-14 23:25:15 -0600
committerAaron Ball <nullspoon@oper.io>2024-07-14 23:25:15 -0600
commit89410ceeffe3c407d0831da66681ae3ae6c95ed2 (patch)
tree17cbb1ed714bff48f8e93ff17216cd9913cf509c /ntp
parent9c4a0de5e95fd55702ff0d54a2cf06d87cf0f5d4 (diff)
downloadports-89410ceeffe3c407d0831da66681ae3ae6c95ed2.tar.gz
ports-89410ceeffe3c407d0831da66681ae3ae6c95ed2.tar.xz
ntp:version from 4.2.8p15 to 4.2.8p18
This also removes the glib patch, as it is no longer required.
Diffstat (limited to 'ntp')
-rw-r--r--ntp/.md5sum3
-rw-r--r--ntp/.signature7
-rw-r--r--ntp/Pkgfile8
-rw-r--r--ntp/glib.patch27
4 files changed, 6 insertions, 39 deletions
diff --git a/ntp/.md5sum b/ntp/.md5sum
index 864e9b5..68269f3 100644
--- a/ntp/.md5sum
+++ b/ntp/.md5sum
@@ -1,4 +1,3 @@
-cdfb8dda1185af1d0c8e387a8589f753 glib.patch
-e1e6b23d2fc75cced41801dbcd6c2561 ntp-4.2.8p15.tar.gz
+516bdabd94ab7c824e9771390761a46c ntp-4.2.8p18.tar.gz
f4508f043342011b87e7cd753f16ef7a ntp.conf
4f6f325d78677372a4810b95ff85b883 ntpd.init
diff --git a/ntp/.signature b/ntp/.signature
index faa46b3..dfc03ad 100644
--- a/ntp/.signature
+++ b/ntp/.signature
@@ -1,8 +1,7 @@
untrusted comment: verify with /etc/ports/nullspoon.pub
-RWThnm0RuVZhZkqDV1UTNW62rv8XWzpkVcJrGIWsUzkijRHvSe1CA/28MCj8UzpFUYxX/Jkyb8gvXKPsqIQqI9u0EWNHYO/imQ8=
-SHA256 (Pkgfile) = 77a9a1e60235d9e1eea57285157389d44481716962b8c4d31c873849ba646221
+RWThnm0RuVZhZoP0uwPWiLGPEnfn7erUaoC1fOdG6BmDh6myOIKAHZN2ozh6hf7dZ334H/s08H0uyxeu3dVvFQu4LW4NkvO8pgY=
+SHA256 (Pkgfile) = c2ed2341bb4e914d0acb68fc7ecdcf5eb3ab84f98f625c86ca234bf8012d7780
SHA256 (.footprint) = c26c6ac1f46ac4472a9ccfc8deecb997ebc64105cbcd4e05b6063981619dd3b2
-SHA256 (ntp-4.2.8p15.tar.gz) = f65840deab68614d5d7ceb2d0bb9304ff70dcdedd09abb79754a87536b849c19
+SHA256 (ntp-4.2.8p18.tar.gz) = cf84c5f3fb1a295284942624d823fffa634144e096cfc4f9969ac98ef5f468e5
SHA256 (ntpd.init) = 5aeea26de72c5e25d2e55e70ffdcfeb3645e6422cac5fb905fa72cd5f5927133
SHA256 (ntp.conf) = a2fd25e3d77291a4f4a16b60ab11ac4a2f1260caa865094ff5ca18805de17cfb
-SHA256 (glib.patch) = 03ccc4b2fc9e269e92338e59e8a849515f33e15ca18185cebe1238adcfcc65b6
diff --git a/ntp/Pkgfile b/ntp/Pkgfile
index c4ff680..89a8b47 100644
--- a/ntp/Pkgfile
+++ b/ntp/Pkgfile
@@ -4,21 +4,17 @@
# Depends on: libedit
name=ntp
-version=4.2.8p15
-release=3
+version=4.2.8p18
+release=1
source=(
https://www.eecis.udel.edu/~ntp/ntp_spool/ntp${version%%.*}/ntp-${version%.*}/ntp-${version}.tar.gz
ntpd.init
ntp.conf
- glib.patch
)
build() {
cd "${name}-${version}"
- # Fix PTHREAD_STACK_MIN issue
- patch -Np1 -i ${SRC}/glib.patch
-
./configure --prefix=/usr
make
make DESTDIR="${PKG}" install
diff --git a/ntp/glib.patch b/ntp/glib.patch
deleted file mode 100644
index f1fa8d4..0000000
--- a/ntp/glib.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-https://bugs.gentoo.org/806358
-https://patchwork.openembedded.org/patch/180019/
-
-From: Khem Raj <raj.khem@gmail.com>
-Date: Sat, 31 Jul 2021 10:51:41 -0700
-Subject: [PATCH] libntp: Do not use PTHREAD_STACK_MIN on glibc
-
-In glibc 2.34+ PTHREAD_STACK_MIN is not a compile-time constant which
-could mean different stack sizes at runtime on different architectures
-and it also causes compile failure. Default glibc thread stack size
-or 64Kb set by ntp should be good in glibc these days.
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
---- a/libntp/work_thread.c
-+++ b/libntp/work_thread.c
-@@ -41,7 +41,7 @@
- #ifndef THREAD_MINSTACKSIZE
- # define THREAD_MINSTACKSIZE (64U * 1024)
- #endif
--#ifndef __sun
-+#if !defined(__sun) && !defined(__GLIBC__)
- #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN
- # undef THREAD_MINSTACKSIZE
- # define THREAD_MINSTACKSIZE PTHREAD_STACK_MIN
---
-2.32.0

Generated by cgit