commit:     0db2ec3d97452fece7e383d75014bfb71e279289
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 19:05:28 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Nov  1 21:55:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db2ec3d

net-vpn/iodine: Port to EAPI 8

Closes: https://bugs.gentoo.org/819261
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 ...dine-0.7.0-r2.ebuild => iodine-0.7.0-r3.ebuild} | 24 ++++++++++------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/net-vpn/iodine/iodine-0.7.0-r2.ebuild 
b/net-vpn/iodine/iodine-0.7.0-r3.ebuild
similarity index 69%
rename from net-vpn/iodine/iodine-0.7.0-r2.ebuild
rename to net-vpn/iodine/iodine-0.7.0-r3.ebuild
index 1309208900a..0c944c2eeea 100644
--- a/net-vpn/iodine/iodine-0.7.0-r2.ebuild
+++ b/net-vpn/iodine/iodine-0.7.0-r3.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 linux-info epatch toolchain-funcs
+inherit linux-info toolchain-funcs
 
 DESCRIPTION="IP over DNS tunnel"
 HOMEPAGE="http://code.kryo.se/iodine/";
@@ -21,9 +21,13 @@ RDEPEND="sys-libs/zlib"
 DEPEND="${RDEPEND}
        test? ( dev-libs/check )"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-TestMessage.patch
+       "${FILESDIR}"/${P}-new-systemd.patch
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-TestMessage.patch
-       epatch "${FILESDIR}"/${P}-new-systemd.patch
+       default
 
        sed -e '/^\s@echo \(CC\|LD\)/d' \
                -e 's:^\(\s\)@:\1:' \
@@ -32,18 +36,12 @@ src_prepare() {
        tc-export CC
 }
 
-src_compile() {
-       #shipped ./Makefiles doesn't pass -j<n> to submake
-       emake -C src TARGETOS=Linux all
-}
-
 src_install() {
-       #don't re-run submake
+       # Don't re-run submake
        sed -e '/^install:/s: all: :' \
                -i Makefile || die
-       emake prefix="${EPREFIX}"usr DESTDIR="${D}" install
-
-       dodoc CHANGELOG README TODO
+       emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install
+       einstalldocs
 
        newinitd "${FILESDIR}"/iodined-1.init iodined
        newconfd "${FILESDIR}"/iodined.conf iodined

Reply via email to