commit: 4c42b69e380be64c5d4e193877f1150bc3fafbc3
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 17:15:03 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 18:22:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c42b69e
net-vpn/vpncwatch: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
net-vpn/vpncwatch/files/vpncwatch-1.8.1-Makefile.patch | 5 -----
.../{vpncwatch-1.8.1.ebuild => vpncwatch-1.8.1-r1.ebuild} | 15 ++++++++-------
2 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/net-vpn/vpncwatch/files/vpncwatch-1.8.1-Makefile.patch
b/net-vpn/vpncwatch/files/vpncwatch-1.8.1-Makefile.patch
index 1f982ee76a3..19f5266a018 100644
--- a/net-vpn/vpncwatch/files/vpncwatch-1.8.1-Makefile.patch
+++ b/net-vpn/vpncwatch/files/vpncwatch-1.8.1-Makefile.patch
@@ -1,8 +1,3 @@
- Makefile | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 901e0ae..599499a 100644
--- a/Makefile
+++ b/Makefile
@@ -10,13 +10,13 @@ OBJS = vpncwatch.o proc.o net.o
diff --git a/net-vpn/vpncwatch/vpncwatch-1.8.1.ebuild
b/net-vpn/vpncwatch/vpncwatch-1.8.1-r1.ebuild
similarity index 74%
rename from net-vpn/vpncwatch/vpncwatch-1.8.1.ebuild
rename to net-vpn/vpncwatch/vpncwatch-1.8.1-r1.ebuild
index 5ded447a59d..5f271c07cce 100644
--- a/net-vpn/vpncwatch/vpncwatch-1.8.1.ebuild
+++ b/net-vpn/vpncwatch/vpncwatch-1.8.1-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Keepalive daemon for vpnc on Linux systems"
HOMEPAGE="https://github.com/dcantrell/vpncwatch/"
@@ -12,17 +12,18 @@
SRC_URI="https://github.com/downloads/dcantrell/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="net-vpn/vpnc"
-src_prepare() {
- epatch \
- "${FILESDIR}/${P}-Makefile.patch"
+PATCHES=(
+ "${FILESDIR}"/${P}-Makefile.patch
+)
+
+src_configure() {
tc-export CC
}
src_install() {
dobin ${PN}
- dodoc README ChangeLog AUTHORS
+ einstalldocs
}