summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-10-21 19:15:03 +0200
committerJakov Smolić <jsmolic@gentoo.org>2021-10-21 20:22:58 +0200
commit4c42b69e380be64c5d4e193877f1150bc3fafbc3 (patch)
treef6992511e06d2b7226fe8e0b58f174e66ca1328f /net-vpn/vpncwatch
parentnet-wireless/madwimax: Port to EAPI 8 (diff)
downloadgentoo-4c42b69e380be64c5d4e193877f1150bc3fafbc3.tar.gz
gentoo-4c42b69e380be64c5d4e193877f1150bc3fafbc3.tar.bz2
gentoo-4c42b69e380be64c5d4e193877f1150bc3fafbc3.zip
net-vpn/vpncwatch: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-vpn/vpncwatch')
-rw-r--r--net-vpn/vpncwatch/files/vpncwatch-1.8.1-Makefile.patch5
-rw-r--r--net-vpn/vpncwatch/vpncwatch-1.8.1-r1.ebuild (renamed from net-vpn/vpncwatch/vpncwatch-1.8.1.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 1f982ee76a3f..19f5266a0189 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
index 5ded447a59db..5f271c07ccee 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
}