diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/Manifest.gz | bin | 55424 -> 55423 bytes | |||
-rw-r--r-- | net-misc/linuxptp/Manifest | 6 | ||||
-rw-r--r-- | net-misc/linuxptp/files/phc2sysAT.service | 13 | ||||
-rw-r--r-- | net-misc/linuxptp/files/ptp4lAT.service | 11 | ||||
-rw-r--r-- | net-misc/linuxptp/linuxptp-3.1.1.ebuild | 45 | ||||
-rw-r--r-- | net-misc/linuxptp/metadata.xml | 4 |
6 files changed, 78 insertions, 1 deletions
diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz Binary files differindex 37915dbe6eb0..dab6b94a1cd0 100644 --- a/net-misc/Manifest.gz +++ b/net-misc/Manifest.gz diff --git a/net-misc/linuxptp/Manifest b/net-misc/linuxptp/Manifest index 0798da5f46e8..b0167f5a7f56 100644 --- a/net-misc/linuxptp/Manifest +++ b/net-misc/linuxptp/Manifest @@ -1,5 +1,9 @@ AUX linuxptp-2.0_nettstamp-systypes.patch 1374 BLAKE2B 2b90a983e99cea7c686cbb28eb7c53fece2ad22dda0a898fa3ba0a867686d500f288e24c18c473729d48deda99565069b4983ee02f56214bab6367e6a19ff9cd SHA512 e9e0ae1be45c1d3d71cbf9c7df30584e52d8169755f516e920eb49e52c0dea5e388c36e92d9d000112d7630631cdc97d2eaa55fab1413d13d145a4970b1b7120 +AUX phc2sysAT.service 248 BLAKE2B b0e1926a7755314bd0def600e81dbf7b60707216ff3844194512511ce99407cc88da7a2c83e019b20571098eba3f2297c1a1fe54da47f8fb5e07a58c20a007a2 SHA512 55f048ae44eb43894aad957b35842b0b21aa27e922be85bd286847281f8716bdde9b8187ca90d90d31c9d4587de4c35eebaf0e47498f9b950279037e03069086 +AUX ptp4lAT.service 242 BLAKE2B 2b0ca6ca5b7e4adde39ca360713af02450c0d36b1f4a2393350a59d80dcb0cc26000862546b732aac9f6b89ed6fdec0175485685cc3343d2d33fc48d671cca03 SHA512 f182fc52ebfc8fa878d94604fd398d071fcf8347cc8c251a2f8f78fbce518181c543f2eae971ecfb768bc9337c816d894ab150b37ce1642e854a65792324a50b AUX timemaster.service 234 BLAKE2B c59cfb10a85db09dc48830b166e6c3338949a2f12b4170a00d0f5b44f118fff5a56dd2fb74fecead5068f8b345399bb27dfef1e382fa27a777e9ddc65b7b92a9 SHA512 d3b1f7fb31ca0b233575bc491ba52700be8d586ead5657facda3b84141cd1467b55c52f4cafea972f13d1c647cc8b3bb1092bca580fd0b0d135688d00a641a82 DIST linuxptp-2.0.tgz 184942 BLAKE2B 79ef9d3c379769a71e652a77f05ab661db444a76a339e72106055cf900de9cabfe303c48760f11701fefe5e641d07b73fc5a250078bedf7faa3ae995ace24da3 SHA512 c33487a803f8cc461f790d9a137d5cf8b35cb6d292bdd2cf7a16aa666359d8c5e24667473be843182bef1e9f8d5c6af8aab8918978f10bf08257dd408bba66d6 +DIST linuxptp-3.1.1.tgz 218784 BLAKE2B 5b46580a0e1b6e003f5f03e512c4f9b348c086f356fd47d3480da5e8223ba291fdb213798c696c37759896a99bccf21cd7e7daddce5aa5ed5701afb0e622a755 SHA512 c3c40987fe68480a8473097ebc3c506fb4f8f3b6456bbe637b2b3cb0b3e0182f1513b511fdc04b3607d5f7d8bd1bd22502bb86eb13f9fa4fa63a3331846b33ec EBUILD linuxptp-2.0-r1.ebuild 1042 BLAKE2B c1ca710e95c14a358dfa16ee99fbe0fe5594e7e7c403a987a79b03eb9a74464a3f72a7f585c0ec779d5aceceb8f5a25afc4d3f55ac4a0038fde8fd5b4a992f42 SHA512 3cd615b214e0f519f6ec63fbadc36169aee412742debeffbf3364b05d301cae2361a7d0ad9ac79567e25713f38744160f359abb72fad840eeafd5c0d53364017 -MISC metadata.xml 328 BLAKE2B edf94c00bdfbc632e1fc2fde5a402e16e5035c86bd49b1817c4a9e4cd21a23c00c453b59bd4405c0240024fdfc9c5e0ac3661c24b38a6f8b08dcc764bc8c1bf2 SHA512 a8e8616a30f7d4b12523f423896a2fff6f3ad97144ad5c43aa367f21475070a67acc717781049e0e3ace3fdfed88a82299962f67dcc2f5f2c4c602353ea9c327 +EBUILD linuxptp-3.1.1.ebuild 1123 BLAKE2B ee9ce4164baa4e80be57f33fcd37deba319c4a83badffa167eb88f924b31c6aaf8384160e319deb8025a53bbc51dbcb9df733931f0a257c4b28e34e63c959897 SHA512 915a2cf5143ef773f0cc0e9b8656e6f9504f94caf1ccf5ef878f8e3da6f7c4b1f8cd72d108b2482728510e912402264748a40b4ca20f45174810d4a9e3c8921a +MISC metadata.xml 434 BLAKE2B 6294b76d69b7459ff51a8b3f679ca7bfd940a70088eb53be6e15092465a3cb01f4a7b8b5430244b871321c320ec389ac1b05b239f3eef54e9284e881910e13cf SHA512 7f2fb3921793510144e823c70d1ac263297d3591055c680fc8192dd8402e8a763bc8de8882f9c441e060e23cebaa5e6c684873d82738a6ae8f54b6e027b5c837 diff --git a/net-misc/linuxptp/files/phc2sysAT.service b/net-misc/linuxptp/files/phc2sysAT.service new file mode 100644 index 000000000000..576c7691ba89 --- /dev/null +++ b/net-misc/linuxptp/files/phc2sysAT.service @@ -0,0 +1,13 @@ +[Unit] +Description=Synchronise two or more system clocks +Documentation=man:phc2sys +Requires=ptp4l.service +After=ptp4l.service +Before=time-sync.target + +[Service] +Type=simple +ExecStart=/usr/sbin/phc2sys -w -s %I + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/linuxptp/files/ptp4lAT.service b/net-misc/linuxptp/files/ptp4lAT.service new file mode 100644 index 000000000000..c3844605d2e3 --- /dev/null +++ b/net-misc/linuxptp/files/ptp4lAT.service @@ -0,0 +1,11 @@ +[Unit] +Description=Precision Time Protocol (PTP) service for %I +Documentation=man:ptp4l +After=sys-subsystem-net-devices-%i.device + +[Service] +Type=simple +ExecStart=/usr/sbin/ptp4l -f /etc/ptp4l.conf -i %I + +[Install] +WantedBy=multi-user.target diff --git a/net-misc/linuxptp/linuxptp-3.1.1.ebuild b/net-misc/linuxptp/linuxptp-3.1.1.ebuild new file mode 100644 index 000000000000..faae13c19360 --- /dev/null +++ b/net-misc/linuxptp/linuxptp-3.1.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info systemd toolchain-funcs + +DESCRIPTION="The Linux Precision Time Protocol (PTP) implementation" +HOMEPAGE="http://linuxptp.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/v$(ver_cut 1-2)/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +DEPEND="elibc_musl? ( sys-libs/queue-standalone )" + +CONFIG_CHECK="~NETWORK_PHY_TIMESTAMPING ~PPS ~PTP_1588_CLOCK" + +pkg_setup() { + linux-info_pkg_setup +} + +src_compile() { + # parse needed additional CFLAGS + export MY_FLAGS=$(./incdefs.sh) + export EXTRA_CFLAGS="${CFLAGS} ${MY_FLAGS}" + emake CC="$(tc-getCC)" prefix=/usr mandir=/usr/share/man +} + +src_install() { + emake \ + prefix="${D}"/usr \ + mandir="${D}"/usr/share/man \ + infodir="${D}"/usr/share/info \ + libdir="${D}"/usr/$(get_libdir) \ + install + + systemd_newunit "${FILESDIR}"/phc2sysAT.service phc2sys@.service + systemd_newunit "${FILESDIR}"/ptp4lAT.service ptp4l@.service + systemd_dounit "${FILESDIR}"/timemaster.service + + dodoc README.org + dodoc -r configs +} diff --git a/net-misc/linuxptp/metadata.xml b/net-misc/linuxptp/metadata.xml index bae898a622e5..4b4b63f6299a 100644 --- a/net-misc/linuxptp/metadata.xml +++ b/net-misc/linuxptp/metadata.xml @@ -2,6 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> + <email>marecki@gentoo.org</email> + <name>Marek Szuba</name> + </maintainer> + <maintainer type="person"> <email>tomjbe@gentoo.org</email> <name>Thomas Beierlein</name> </maintainer> |