summaryrefslogtreecommitdiff
path: root/net-misc/ptpd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-21 11:12:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-21 11:12:11 +0000
commit5b68b3c83eeba9cd1f69f8bce1194794975b84d3 (patch)
tree4c15b5b55afc6d8a8fbe90de564321fb746812e5 /net-misc/ptpd
parent949b406c5d38689bd65345d9326fefd8e102d163 (diff)
gentoo auto-resync : 21:11:2023 - 11:12:11
Diffstat (limited to 'net-misc/ptpd')
-rw-r--r--net-misc/ptpd/Manifest4
-rw-r--r--net-misc/ptpd/files/ptpd2.rc4
-rw-r--r--net-misc/ptpd/ptpd-2.3.1-r2.ebuild10
3 files changed, 8 insertions, 10 deletions
diff --git a/net-misc/ptpd/Manifest b/net-misc/ptpd/Manifest
index 13a2d3da6d04..100c519a6025 100644
--- a/net-misc/ptpd/Manifest
+++ b/net-misc/ptpd/Manifest
@@ -1,7 +1,7 @@
AUX ptpd-2.3.1-fix-snmp.patch 420 BLAKE2B c3b9da6337671c9a502bc36a8b2ad85bc7ff041cdc496a05c0e4e32d22dd5a933150d6e65252afb1c79c7fc45e148d4f2ba63adca8b18e6227581ee2515069fd SHA512 40e6f89dc922da9b3a68f7513a4d08f8708a1f4ebb87147c6ab3e6a75d8aaa5a627045e967c5256445897175205c7b95e77f0ca7322062fa6265b7e909097978
AUX ptpd2.confd 61 BLAKE2B 0724014663c4e18dd2205982e4ebb20b6cc5af2eda0d1070515b2823924882f34b1f1879ba3ee3540d4918203c4b6f23d04da276aaf5f938963794e1eef7f87b SHA512 40ea56a92222eb10dc429343a23bdcc0e75f626e34fea139a09ca545a50aee0550253965de036218889554a2c0c7928c0051e3e71d9b9cd0a9d44d334e0bac47
-AUX ptpd2.rc 1372 BLAKE2B 071dce26d1343050b212312381a07af6b24d4923d715e4b7c4e065ab67283a3bcf4b350d1c28a9270cb9c03b8e04cffff6b3e422a80460d6210b546b684bd37d SHA512 37af776a265fbabdabed381d98cf50d78a512634fd84ce07466a47a0e96a6b2cccfb762732a043139b6c136eefdc6443ab9a5cba1c30234b6c66acc23e98a5b2
+AUX ptpd2.rc 1367 BLAKE2B 1a110bd0d224ad9dc4c4e322eb1343c7d8af71781ef31988793109b4e65f2c8e81ab849e0426b413cfcccd5c8e403d3486f62b01bf40ce2d8c35dfa1ec6d7669 SHA512 ae0131ac9d1abf66d38628a6c2279ba9b56f0f25b3fad77e44d61641f7ff4f6f6acaaddc3888645953d887cd5db2b4fb77dec5361872c70047ee60fd9468901f
AUX ptpd2.service 228 BLAKE2B 89bb7a7b4352f9905032ca7efc778cc220282df8389f1da4f60af653cc71b2bc15d08c73730f326c9311f97ebeff2602b73cdbd55683a2d69cb57d0a63a28a47 SHA512 72d609c9b803921b55cc0528aafa5cbbff0b7ed2f1267fa5f06e410ec640295642717928bbf38c849f632d157132f01f60a8bad826428b846d8248bac27e932a
DIST ptpd-2.3.1.tar.gz 884161 BLAKE2B 029eeff4ff427aec7a24365bd7f62a4f5d6bfe4bc0a003b0fa8ca1f7581b2395cb96c27bfa59c6333b0354ac0fb12fb11fd24319506c2168e0ff4ddfb3df9117 SHA512 25c128ce1920ae2c1469e986bfa5d5b8ebca04ec14b838fb8232b36e0a1ef94646507e1b25034846d11cf0f71d7e2da983b9f6408f8fcfc608904ecfec2a15c4
-EBUILD ptpd-2.3.1-r2.ebuild 1355 BLAKE2B 79dea132eb4bb53e57377fa0f6f91c94db0dc49dd1cdf06fc386023e297683ae3b40e9c9890b3523e9812b07c1d09bedc5c3b6ed29ac0f5834716b0abf9725cd SHA512 a57208c0546ca61c18bccc3a376ab79a404402315e91e5105274ec145c1421cfa760b3e2a85f18809980337dae3dff687bd75c9cf9e1e0ce31e787a01470e4f8
+EBUILD ptpd-2.3.1-r2.ebuild 1356 BLAKE2B 1e6a17a46d623c66ffa04e85e7b2af3445daf968f763f662623c643b5620e28a96645452f729714bd5aa10137097eb4c74930dd48db558a9915f32cb086be2b4 SHA512 7e686d306555f36523058bdd615f15868bcfe26ba6907c038bc3ace1ef4a7d240e53c862bf78a6cbd2c843624e0c5425691cf544499e4f6a7f70d18d02dc1471
MISC metadata.xml 1019 BLAKE2B c7befd03b655ee5a0b1864a243bc8bb20db4bd79c2bf86f3eac2508d1fae41007693dee179dfe0a7ae14be00b7d05cae62cfaf41578121745eb36c057bfd94fc SHA512 256f312985bf97cc531cc8f100ff7436bce503c22cbb231c9cba26a708f40a12a97bc3bf0980bcf9c306bfdbec1c628fb0c6caf8d9f678edcde87035eea468af
diff --git a/net-misc/ptpd/files/ptpd2.rc b/net-misc/ptpd/files/ptpd2.rc
index bf8e14332298..4896d68149c0 100644
--- a/net-misc/ptpd/files/ptpd2.rc
+++ b/net-misc/ptpd/files/ptpd2.rc
@@ -27,9 +27,9 @@ checkconfig() {
# colorize output
echo "$msgout" | while read ln; do
- if [[ "$ln" == *ignored* ]]; then
+ if [ "$ln" = *ignored* ]; then
ewarn "$ln"
- elif [[ "$ln" != "Configuration OK" ]]; then
+ elif [ "$ln" != "Configuration OK" ]; then
eerror "$ln"
fi
done
diff --git a/net-misc/ptpd/ptpd-2.3.1-r2.ebuild b/net-misc/ptpd/ptpd-2.3.1-r2.ebuild
index 96dae3022e0d..6b5600180760 100644
--- a/net-misc/ptpd/ptpd-2.3.1-r2.ebuild
+++ b/net-misc/ptpd/ptpd-2.3.1-r2.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit autotools flag-o-matic systemd
DESCRIPTION="Precision Time Protocol daemon"
HOMEPAGE="https://github.com/ptpd/ptpd"
SRC_URI="https://github.com/ptpd/ptpd/archive/${P}.tar.gz"
+S="${WORKDIR}/ptpd-${P}"
KEYWORDS="~amd64 ~arm ~x86"
LICENSE="BSD"
@@ -25,11 +26,8 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.3.1-fix-snmp.patch
)
-S=${WORKDIR}/ptpd-${P}
-
src_prepare() {
default
-
eautoreconf
}
@@ -61,5 +59,5 @@ src_install() {
pkg_postinst() {
elog "Do not forget to setup correct network interface."
- elog "Change the config file ${EROOT}etc/ptpd2.conf to suit your needs."
+ elog "Change the config file ${EROOT}/etc/ptpd2.conf to suit your needs."
}