Accepting request 718221 from home:mgerstner:branches:network:time

- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
  firewalld, see [1].
  [1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

OBS-URL: https://build.opensuse.org/request/show/718221
OBS-URL: https://build.opensuse.org/package/show/network:time/linuxptp?expand=0&rev=16
This commit is contained in:
Martin Pluskal 2019-07-24 13:01:05 +00:00 committed by Git OBS Bridge
parent 92fab229ec
commit 89ed059cd2
3 changed files with 10 additions and 14 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jul 24 12:04:35 UTC 2019 - matthias.gerstner@suse.com
- removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced by
firewalld, see [1].
[1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html
-------------------------------------------------------------------
Mon Nov 26 12:43:06 UTC 2018 - Martin Pluskal <mpluskal@suse.com>

View File

@ -1,8 +0,0 @@
## Name: Precision Time Protocol v2
## Description: Ports needed for PTPv2 over UDP
#
# For a more detailed description of the individual variables see
# the comments for FW_SERVICES_EXT_* in /etc/sysconfig/SuSEfirewall2
#
UDP="ptp-general ptp-event"

View File

@ -1,7 +1,7 @@
#
# spec file for package linuxptp
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -30,7 +30,6 @@ URL: http://linuxptp.sourceforge.net/
Source0: http://sourceforge.net/projects/linuxptp/files/v%{version}/linuxptp-%{version}.tgz
Source1: ptp4l.service
Source2: sysconfig.ptp4l
Source3: linuxptp.firewall
Source4: linuxptp-howto.txt
Source5: phc2sys.service
Source6: sysconfig.phc2sys
@ -66,8 +65,6 @@ install -Dpm 644 configs/default.cfg %{buildroot}/%{_sysconfdir}/ptp4l.conf
install -Dpm 644 %{SOURCE2} %{buildroot}%{_fillupdir}/sysconfig.ptp4l
install -Dpm 644 %{SOURCE6} %{buildroot}%{_fillupdir}/sysconfig.phc2sys
install -Dpm 644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/linuxptp
%pre
%service_add_pre ptp4l.service phc2sys.service
@ -90,7 +87,6 @@ install -Dpm 644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.
%{_sbindir}/rcptp4l
%{_sbindir}/rcphc2sys
%config %{_sysconfdir}/ptp4l.conf
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/linuxptp
%{_sbindir}/hwstamp_ctl
%{_sbindir}/phc2sys
%{_sbindir}/phc_ctl