From ca60cd50b5d8e0ce7ca67a9e023b36b29423e5d5c294379cd9db1fe7b75ec274 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 11 Nov 2020 07:51:58 +0000 Subject: [PATCH] Accepting request 847615 from home:jbohac:branches:network:time - Update to version 3.1: * ts2phc: nmea: Drop time of day readings older than five seconds. * ts2phc: nmea: Update the leap seconds table on demand. * ts2phc: nmea: Add a configuration option for the current leap seconds file. * ts2phc: nmea: Add error messages for leap second lookup failures. * ts2phc: nmea: Correct UTC to TAI conversion. * posix_clock_open: derive PHC index from device name if possible * phc_ctl: display all capability information * ts2phc: Ignore pulses with invalid time stamps. * ts2phc: Fix memory leak. * ts2phc: Use proper close method on the error path. * port: Support slave event monitoring of delay timing data. * monitor: Add support for slave delay timing data TLV. * pmc: Show slave receive timing data TLVs attached to signaling messages. * port: Support slave event monitoring of Sync timing data. * clock: Create a slave event monitor. * Introduce a module for slave event monitoring. * Reject path trace TLVs with excessive elements. * Let the free running port state reflect the synchronization uncertain flag. * pmc: Support getting and setting the local synchronization uncertain flag. * Implement the synchronization uncertain flag. * Add support for write phase mode. * Decouple servo state from automotive profile. * ts2phc: Support using a GPS radio as the master clock. * Introduce a leap second table. * ts2phc: Support using a PHC as the master clock. * Introduce the ts2phc program. * pmc: Allow multiple local subscribers. * pmc: Subscribe to port state push notification events when requested. * clock: reset master/local rr when best clock id changes * unicast: Enable sharing master tables between ports. * Accept external PHC devices from the command line. * phc2sys: Fix frequency estimation when synchronizing a PHC to the system clock. * Correct the signature of the legacy system offset measurement method. * ptp4l: Add configuration option for socket priority * sk: Recognize HWTSTAMP_FILTER_SOME * Improve G.8275.[12] example configs. * rtnl: add team activebackup support * Ignore signaling messages on target port mismatch. * Avoid fault when receiving zero length packets * phc2sys: Fix crash when trying to synchronize unadjustable clock. * Added support for opening POSIX clock devices * Allow ignoring source port identity in end to end mode. * port: correction of port name used port_open * Add example configuration for Automotive Profile. * Add ignore_source_id config option. * Add inhibit_announce config option. * Add BMCA config option. * port: Add configurable option to set asCapable. * timemaster: Allow ptp4l-specific sections in [ptp4l.conf]. * unicast: Process timeouts equal to current time. * snmp4lptp: added snmp4lptp.8 * Add possibility to set clockIdentity * Introduce the maxStepsRemoved attribute * config: Add hardware time stamp filter setting mode * snmp4lptp: Added function for data collection from ptp4l program. * snmp4lptp: Added communication to ptp4l via the UDS port. * snmp4lptp: Add snmp sub agent for linuxptp - re-introduce the _service file - removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by firewalld, see [1]. [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html - Update to stable release 2.0: * Peer-to-Peer Transparent Clock support * End-to-End Transparent Clock support * Unicast support * Support for all three Telecom Profiles + T-REC-G.8265.1-201407 + T-REC-G.8275.1-201606 + T-REC-G.8275.2-201708 - Changes for version 1.9.2: * Fixed stack buffer overflow in the new NetSync Monitor code (since 1.9) * Command line support for every configuration variable via long options * IPoIB interface support * Improved Delay Request performance at high message rates * Improved UTC offset tracking * Multiple TLV support * NetSync Monitor protocol support * Peer to peer one-step * Support for bonded interfaces - No longer use _service Update to version 1.9+git1.gd14f11f: * Expand and rationalize time stamping options. * Introduce peer to peer one step. * pmc: add long options and configuration file * port: Implement the NetSync Monitor protocol. * Introduce an option to ignore the transport specific field. * clock: add option to specify initial path delay. * sk: turn warnings about unexpected RX filter into debug messages. - change the versioning scheme, resulting in version 1.8+git65.g303b08c - Update to version v1.8+git.20180101 (bsc#1050682): * clock: Don't forward management requests to UDS port. * Add an acknowledgment in the readme for Meinberg. * phc2sys: update '-s' option * sk: don't leak socket when reading of IB GUID fails. * Add compile time sanity check for interface name lengths. * phc_ctl: fix adj command to accept negative offset. * port: return timestamping iface in port properties * phc2sys: re-create clock clkid and servo when phc index changed * phc2sys: split servo_add from function clock_add * transport: pass struct interface to transport_open - Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) - Remove future goals from description. - Cleanup spec file with spec-cleaner - Use url for source - Use kernel-devel instead full source - upgraded to 1.8 - new tools: timemaster, phc_ctl - sanitize release line in specfile - updated How To to mention ethtool (bnc#865358) - convert to systemd (bnc#865355) - two separate services (ptp4l and phc2sys) instead of linuxptp - two separate config files: /etc/syscconfig/ptp4l and /etc/sysconfig/phc2sys instead of /etc/sysconfig/linuxptp - upgraded to 1.4 - fixed FSF address in init file - added Linux PTP Howto - adjusted sysconfig defaults to match changes made to phc2sys behavior - upgraded to 1.2.git74e70372 - upgraded to 1.2 - reviewed by Security (bnc#809336) - license update: GPL-2.0+ No indication of a GPL version 2 only license. Also, use SPDX format where possible - upgraded to 1.1 - initial packaging OBS-URL: https://build.opensuse.org/request/show/847615 OBS-URL: https://build.opensuse.org/package/show/network:time/linuxptp?expand=0&rev=18 --- _service | 17 ++++++++++ _servicedata | 4 +++ linuxptp-2.0.tgz | 3 -- linuxptp-3.1.tar.xz | 3 ++ linuxptp.changes | 75 +++++++++++++++++++++++++++++++++++++++++++++ linuxptp.spec | 11 ++++--- 6 files changed, 106 insertions(+), 7 deletions(-) create mode 100644 _service create mode 100644 _servicedata delete mode 100644 linuxptp-2.0.tgz create mode 100644 linuxptp-3.1.tar.xz diff --git a/_service b/_service new file mode 100644 index 0000000..175ba18 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + git://git.code.sf.net/p/linuxptp/code + git + v3.1 + enable + linuxptp + @PARENT_TAG@+git@TAG_OFFSET@.g%h + v([^+]*\+git[1-9].*)|v([^+]*)\+git0.* + \1\2 + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..361ce1d --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + git://git.code.sf.net/p/linuxptp/code + 38ad3264f8726691c3fd0c97d0b34c8eee80c11b \ No newline at end of file diff --git a/linuxptp-2.0.tgz b/linuxptp-2.0.tgz deleted file mode 100644 index 4420037..0000000 --- a/linuxptp-2.0.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a24d9401e87d4af023d201e234d91127d82c350daad93432106284aa9459c7d -size 184942 diff --git a/linuxptp-3.1.tar.xz b/linuxptp-3.1.tar.xz new file mode 100644 index 0000000..da47a69 --- /dev/null +++ b/linuxptp-3.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c8fec4132eee3add41ee4904096344a4643c3de0fa7579cf4d6e951fd4cba7d +size 160220 diff --git a/linuxptp.changes b/linuxptp.changes index acda9e9..781c188 100644 --- a/linuxptp.changes +++ b/linuxptp.changes @@ -1,3 +1,66 @@ +------------------------------------------------------------------- +Tue Nov 10 21:35:12 UTC 2020 - jbohac@suse.com + +- Update to version 3.1: + * ts2phc: nmea: Drop time of day readings older than five seconds. + * ts2phc: nmea: Update the leap seconds table on demand. + * ts2phc: nmea: Add a configuration option for the current leap seconds file. + * ts2phc: nmea: Add error messages for leap second lookup failures. + * ts2phc: nmea: Correct UTC to TAI conversion. + * posix_clock_open: derive PHC index from device name if possible + * phc_ctl: display all capability information + * ts2phc: Ignore pulses with invalid time stamps. + * ts2phc: Fix memory leak. + * ts2phc: Use proper close method on the error path. + * port: Support slave event monitoring of delay timing data. + * monitor: Add support for slave delay timing data TLV. + * pmc: Show slave receive timing data TLVs attached to signaling messages. + * port: Support slave event monitoring of Sync timing data. + * clock: Create a slave event monitor. + * Introduce a module for slave event monitoring. + * Reject path trace TLVs with excessive elements. + * Let the free running port state reflect the synchronization uncertain flag. + * pmc: Support getting and setting the local synchronization uncertain flag. + * Implement the synchronization uncertain flag. + * Add support for write phase mode. + * Decouple servo state from automotive profile. + * ts2phc: Support using a GPS radio as the master clock. + * Introduce a leap second table. + * ts2phc: Support using a PHC as the master clock. + * Introduce the ts2phc program. + * pmc: Allow multiple local subscribers. + * pmc: Subscribe to port state push notification events when requested. + * clock: reset master/local rr when best clock id changes + * unicast: Enable sharing master tables between ports. + * Accept external PHC devices from the command line. + * phc2sys: Fix frequency estimation when synchronizing a PHC to the system clock. + * Correct the signature of the legacy system offset measurement method. + * ptp4l: Add configuration option for socket priority + * sk: Recognize HWTSTAMP_FILTER_SOME + * Improve G.8275.[12] example configs. + * rtnl: add team activebackup support + * Ignore signaling messages on target port mismatch. + * Avoid fault when receiving zero length packets + * phc2sys: Fix crash when trying to synchronize unadjustable clock. + * Added support for opening POSIX clock devices + * Allow ignoring source port identity in end to end mode. + * port: correction of port name used port_open + * Add example configuration for Automotive Profile. + * Add ignore_source_id config option. + * Add inhibit_announce config option. + * Add BMCA config option. + * port: Add configurable option to set asCapable. + * timemaster: Allow ptp4l-specific sections in [ptp4l.conf]. + * unicast: Process timeouts equal to current time. + * snmp4lptp: added snmp4lptp.8 + * Add possibility to set clockIdentity + * Introduce the maxStepsRemoved attribute + * config: Add hardware time stamp filter setting mode + * snmp4lptp: Added function for data collection from ptp4l program. + * snmp4lptp: Added communication to ptp4l via the UDS port. + * snmp4lptp: Add snmp sub agent for linuxptp +- re-introduce the _service file + ------------------------------------------------------------------- Wed Jul 24 12:04:35 UTC 2019 - matthias.gerstner@suse.com @@ -29,6 +92,18 @@ Mon Nov 26 12:43:06 UTC 2018 - Martin Pluskal * Support for bonded interfaces - No longer use _service +------------------------------------------------------------------- +Tue Apr 3 12:27:38 UTC 2018 - jbohac@suse.com + +Update to version 1.9+git1.gd14f11f: + * Expand and rationalize time stamping options. + * Introduce peer to peer one step. + * pmc: add long options and configuration file + * port: Implement the NetSync Monitor protocol. + * Introduce an option to ignore the transport specific field. + * clock: add option to specify initial path delay. + * sk: turn warnings about unexpected RX filter into debug messages. + ------------------------------------------------------------------- Thu Feb 8 12:08:37 UTC 2018 - jbohac@suse.com diff --git a/linuxptp.spec b/linuxptp.spec index 1ce9bcd..e2808af 100644 --- a/linuxptp.spec +++ b/linuxptp.spec @@ -1,7 +1,7 @@ # # spec file for package linuxptp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -21,13 +21,13 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: linuxptp -Version: 2.0 +Version: 3.1 Release: 0 Summary: Precision Time Protocol v2 daemon License: GPL-2.0-or-later Group: Productivity/Networking/Other URL: http://linuxptp.sourceforge.net/ -Source0: http://sourceforge.net/projects/linuxptp/files/v%{version}/linuxptp-%{version}.tgz +Source0: %{name}-%{version}.tar.xz Source1: ptp4l.service Source2: sysconfig.ptp4l Source4: linuxptp-howto.txt @@ -94,12 +94,15 @@ install -Dpm 644 %{SOURCE6} %{buildroot}%{_fillupdir}/sysconfig.phc2sys %{_sbindir}/ptp4l %{_sbindir}/nsm %{_sbindir}/timemaster +%{_sbindir}/ts2phc %{_mandir}/man8/hwstamp_ctl.8%{?ext_man} +%{_mandir}/man8/nsm.8%{?ext_man} %{_mandir}/man8/phc2sys.8%{?ext_man} %{_mandir}/man8/phc_ctl.8%{?ext_man} %{_mandir}/man8/pmc.8%{?ext_man} %{_mandir}/man8/ptp4l.8%{?ext_man} %{_mandir}/man8/timemaster.8%{?ext_man} +%{_mandir}/man8/ts2phc.8%{?ext_man} %{_fillupdir}/sysconfig.ptp4l %{_fillupdir}/sysconfig.phc2sys