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
This commit is contained in:
Martin Pluskal 2020-11-11 07:51:58 +00:00 committed by Git OBS Bridge
parent 89ed059cd2
commit ca60cd50b5
6 changed files with 106 additions and 7 deletions

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service mode="localonly" name="tar_scm">
<param name="url">git://git.code.sf.net/p/linuxptp/code</param>
<param name="scm">git</param>
<param name="revision">v3.1</param>
<param name="changesgenerate">enable</param>
<param name="filename">linuxptp</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.g%h</param>
<param name="versionrewrite-pattern">v([^+]*\+git[1-9].*)|v([^+]*)\+git0.*</param>
<param name="versionrewrite-replace">\1\2</param>
</service>
<service mode="localonly" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="localonly" name="set_version"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://git.code.sf.net/p/linuxptp/code</param>
<param name="changesrevision">38ad3264f8726691c3fd0c97d0b34c8eee80c11b</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a24d9401e87d4af023d201e234d91127d82c350daad93432106284aa9459c7d
size 184942

3
linuxptp-3.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c8fec4132eee3add41ee4904096344a4643c3de0fa7579cf4d6e951fd4cba7d
size 160220

View File

@ -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 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 <mpluskal@suse.com>
* Support for bonded interfaces * Support for bonded interfaces
- No longer use _service - 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 Thu Feb 8 12:08:37 UTC 2018 - jbohac@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package linuxptp # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif %endif
Name: linuxptp Name: linuxptp
Version: 2.0 Version: 3.1
Release: 0 Release: 0
Summary: Precision Time Protocol v2 daemon Summary: Precision Time Protocol v2 daemon
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
URL: http://linuxptp.sourceforge.net/ 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 Source1: ptp4l.service
Source2: sysconfig.ptp4l Source2: sysconfig.ptp4l
Source4: linuxptp-howto.txt Source4: linuxptp-howto.txt
@ -94,12 +94,15 @@ install -Dpm 644 %{SOURCE6} %{buildroot}%{_fillupdir}/sysconfig.phc2sys
%{_sbindir}/ptp4l %{_sbindir}/ptp4l
%{_sbindir}/nsm %{_sbindir}/nsm
%{_sbindir}/timemaster %{_sbindir}/timemaster
%{_sbindir}/ts2phc
%{_mandir}/man8/hwstamp_ctl.8%{?ext_man} %{_mandir}/man8/hwstamp_ctl.8%{?ext_man}
%{_mandir}/man8/nsm.8%{?ext_man}
%{_mandir}/man8/phc2sys.8%{?ext_man} %{_mandir}/man8/phc2sys.8%{?ext_man}
%{_mandir}/man8/phc_ctl.8%{?ext_man} %{_mandir}/man8/phc_ctl.8%{?ext_man}
%{_mandir}/man8/pmc.8%{?ext_man} %{_mandir}/man8/pmc.8%{?ext_man}
%{_mandir}/man8/ptp4l.8%{?ext_man} %{_mandir}/man8/ptp4l.8%{?ext_man}
%{_mandir}/man8/timemaster.8%{?ext_man} %{_mandir}/man8/timemaster.8%{?ext_man}
%{_mandir}/man8/ts2phc.8%{?ext_man}
%{_fillupdir}/sysconfig.ptp4l %{_fillupdir}/sysconfig.ptp4l
%{_fillupdir}/sysconfig.phc2sys %{_fillupdir}/sysconfig.phc2sys