Add synce4l utility

Package the synce4l utility and include it in the system
for the PTP notification application.

Test Plan:
PASS: build package and iso successfully
PASS: execute synce4l successfully

Story: 2010540
Task: 47261

Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
Change-Id: I459055b99fb01f622bdde36ce3fba766a971bca5
This commit is contained in:
Teresa Ho 2023-02-01 18:02:20 -05:00
parent 23367afc87
commit 1ab2e46e43
10 changed files with 111 additions and 0 deletions

17
base/synce4l/PKG-INFO Normal file
View File

@ -0,0 +1,17 @@
Metadata-Version: 1.1
Name: synce4l
Version: 0.8.0
Summary: synce4l
Home-page: https://github.com/intel/synce4l
Author:
Author-email:
License: GPLv2
Description:
synce4l is a software implementation of Synchronous Ethernet (SyncE)
according to ITU-T Recommendation G.8264. The design goal is to provide
logic to supported hardware by processing Ethernet Synchronization
Messaging Channel (ESMC) and control Ethernet Equipment Clock (EEC) on
Network Card Interface (NIC).
Platform: UNKNOWN

View File

@ -0,0 +1,5 @@
synce4l (0.8.0) UNRELEASED; urgency=low
* Initial release
-- <> Mon, 30 Jan 2023 10:30:12 +0000

View File

@ -0,0 +1,16 @@
Source: synce4l
Section: admin
Priority: optional
Maintainer: Starlingx Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.5.1
Homepage: https://www.starlingx.io
Package: synce4l
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: synce4l is a software implementation of Synchronous Ethernet (SyncE)
according to ITU-T Recommendation G.8264. The design goal is to provide logic to
supported hardware by processing Ethernet Synchronization Messaging Channel (ESMC)
and control Ethernet Equipment Clock (EEC) on Network Card Interface (NIC).

View File

@ -0,0 +1,42 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: synce4l
Upstream-Contact: https://github.com/intel
Source: https://github.com/intel/synce4l
Files: *
Copyright: 2022 Intel.
License: GPL-2.0+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the complete text of the GNU General Public License
Version 2 can be found in `/usr/share/common-licenses/GPL-2'.
Files: debian/*
Copyright: (c) 2023 Wind River Systems, Inc.
License: Apache-2
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. The ASF licenses this
file to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.

View File

@ -0,0 +1,15 @@
#!/usr/bin/make -f
#export DH_VERBOSE = 1
DEBIAN_DESTDIR := $(CURDIR)/debian/tmp
%:
dh $@
override_dh_auto_install:
dh_auto_install -- prefix=/usr mandir=/usr/share/man
override_dh_install:
install -d -m 755 ${DEBIAN_DESTDIR}/usr/sbin
install -p -D -m 755 synce4l ${DEBIAN_DESTDIR}/usr/sbin/synce4l
dh_install

View File

@ -0,0 +1 @@
3.0 (native)

View File

@ -0,0 +1 @@
usr/sbin/synce4l

View File

@ -0,0 +1,10 @@
---
debver: 0.8.0
dl_path:
name: synce4l-0.8.0.tar.gz
url: https://github.com/intel/synce4l/archive/refs/tags/0.8.0.tar.gz
md5sum: e048742e7bf947c41a45414bbecd594d
sha256sum: 1f437775b7957326b37536531fbb3f248abfe8cc227ab54a4c039f44ce70e3f9
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true

View File

@ -398,6 +398,9 @@ runc
shim-helpers-amd64-signed-template
shim-unsigned
#synce4l
synce4l
#systemd
libnss-myhostname
#libnss-mymachines # not used

View File

@ -9,6 +9,7 @@ base/linuxptp
base/lvm2
base/lsb
base/pf-bb-config
base/synce4l
base/systemd
base/systemd-presets
base/watchdog