summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ptpd/ptpd-2.3.1-r2.ebuild')
-rw-r--r--net-misc/ptpd/ptpd-2.3.1-r2.ebuild10
1 files changed, 4 insertions, 6 deletions
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."
}