summaryrefslogtreecommitdiff
path: root/flx
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-09-26 17:20:14 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-10-18 01:19:02 +0100
commit0c3f91be8ac0fe4df2b3610d067e3c968f857295 (patch)
tree4baa544de6bdd457d37dde55ed6be7a5cbfd7d46 /flx
parentflx/init-openssh: move to EAPI 7 (diff)
downloadportage-0c3f91be8ac0fe4df2b3610d067e3c968f857295.tar.xz
flx/init-openvpn: move to EAPI 7
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Diffstat (limited to 'flx')
-rw-r--r--flx/init-openvpn/init-openvpn-2.0.9.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/flx/init-openvpn/init-openvpn-2.0.9.ebuild b/flx/init-openvpn/init-openvpn-2.0.9.ebuild
index 11d6c1a5..bd6e9604 100644
--- a/flx/init-openvpn/init-openvpn-2.0.9.ebuild
+++ b/flx/init-openvpn/init-openvpn-2.0.9.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="2.0-flx0"
@@ -10,9 +10,7 @@ EGIT_COMMIT="v${PV}-flx0.1"
KEYWORDS="amd64 x86"
RDEPEND=">=net-vpn/openvpn-${PV}"
-src_prepare() {
- default
-
- eapply "${FILESDIR}/${PV}-CLEAN-Delete-leading-whitespaces.patch"
- eapply "${FILESDIR}/${PV}-BASH4-Bash-4-array-prefixing-is-var-not-var.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${PV}-CLEAN-Delete-leading-whitespaces.patch"
+ "${FILESDIR}/${PV}-BASH4-Bash-4-array-prefixing-is-var-not-var.patch"
+)