Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 941727

Summary: net-misc/linuxptp-4.4: version bump
Product: Gentoo Linux Reporter: 10walls
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: enhancement CC: 10walls
Priority: Normal Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Nasty ebuild hack
makefile hack

Description 10walls 2024-10-18 02:26:27 UTC
Bump to 4.4, fixes ts2phc NMEA time source from occasional frequency errors.

Reproducible: Sometimes

Steps to Reproduce:
1. ts2phc listening to gpspipe/socat as source and an ethernet phc as sink.
2. Observe that phc occasionally drifts +1 or -1 second after a day or so until ts2phc is restarted.
Comment 1 10walls 2024-10-18 02:29:14 UTC
Created attachment 906215 [details]
Nasty ebuild hack

The linuxptp makefile does not really support selecting the hash MAC library backend and just uses the first one it finds, defaulting to nettle.
Comment 2 10walls 2024-10-18 02:30:46 UTC
Created attachment 906216 [details, diff]
makefile hack

Patch removes the makefile logic to allow the introduction of USE flags.
Comment 3 Larry the Git Cow gentoo-dev 2024-12-15 10:04:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a9cbf9357026221359832c0bf7363470db27168

commit 4a9cbf9357026221359832c0bf7363470db27168
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2024-12-15 10:02:56 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2024-12-15 10:03:49 +0000

    net-misc/linuxptp: add 4.4
    
    Closes: https://bugs.gentoo.org/941727
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 net-misc/linuxptp/Manifest                         |  1 +
 .../linuxptp/files/linuxptp-4.4-user_cpp.patch     | 24 ++++++++++
 net-misc/linuxptp/linuxptp-4.4.ebuild              | 52 ++++++++++++++++++++++
 3 files changed, 77 insertions(+)