summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-09-26 17:17:24 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-10-18 01:19:02 +0100
commit1356f290d73f334094aa6eac0bf2aa4c0f7ba4e0 (patch)
tree165d4cf3f777bcc751d7cab66547f634c8a92967
parentflx/init-nagios: move to EAPI 7 (diff)
downloadportage-1356f290d73f334094aa6eac0bf2aa4c0f7ba4e0.tar.xz
flx/init-ntp: move to EAPI 7
Package-Manager: Portage-3.0.4, Repoman-3.0.1
-rw-r--r--flx/init-ntp/init-ntp-4.2.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/flx/init-ntp/init-ntp-4.2.ebuild b/flx/init-ntp/init-ntp-4.2.ebuild
index 82d1533f..f2c795d6 100644
--- a/flx/init-ntp/init-ntp-4.2.ebuild
+++ b/flx/init-ntp/init-ntp-4.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flx-init-scripts
EGIT_BRANCH="4.2-flx0"
@@ -10,11 +10,9 @@ EGIT_COMMIT="v4.2.4p4-flx0.1"
KEYWORDS="amd64 x86"
RDEPEND=">=net-misc/ntp-${PV}"
-src_prepare() {
- default
-
- eapply "${FILESDIR}/${PV}-Fix-indent.patch"
- eapply "${FILESDIR}/${PV}-Remove-handling-ntptimeset.patch"
- eapply "${FILESDIR}/${PV}-Reuse-do_update.patch"
- eapply "${FILESDIR}/${PV}-ntpdate-should-be-present-in-usr-sbin.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${PV}-Fix-indent.patch"
+ "${FILESDIR}/${PV}-Remove-handling-ntptimeset.patch"
+ "${FILESDIR}/${PV}-Reuse-do_update.patch"
+ "${FILESDIR}/${PV}-ntpdate-should-be-present-in-usr-sbin.patch"
+)