1 |
commit: 0db2ec3d97452fece7e383d75014bfb71e279289 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 30 19:05:28 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 1 21:55:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db2ec3d |
7 |
|
8 |
net-vpn/iodine: Port to EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/819261 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
...dine-0.7.0-r2.ebuild => iodine-0.7.0-r3.ebuild} | 24 ++++++++++------------ |
14 |
1 file changed, 11 insertions(+), 13 deletions(-) |
15 |
|
16 |
diff --git a/net-vpn/iodine/iodine-0.7.0-r2.ebuild b/net-vpn/iodine/iodine-0.7.0-r3.ebuild |
17 |
similarity index 69% |
18 |
rename from net-vpn/iodine/iodine-0.7.0-r2.ebuild |
19 |
rename to net-vpn/iodine/iodine-0.7.0-r3.ebuild |
20 |
index 1309208900a..0c944c2eeea 100644 |
21 |
--- a/net-vpn/iodine/iodine-0.7.0-r2.ebuild |
22 |
+++ b/net-vpn/iodine/iodine-0.7.0-r3.ebuild |
23 |
@@ -1,9 +1,9 @@ |
24 |
# Copyright 1999-2021 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
-EAPI=5 |
28 |
+EAPI=8 |
29 |
|
30 |
-inherit linux-info epatch toolchain-funcs |
31 |
+inherit linux-info toolchain-funcs |
32 |
|
33 |
DESCRIPTION="IP over DNS tunnel" |
34 |
HOMEPAGE="http://code.kryo.se/iodine/" |
35 |
@@ -21,9 +21,13 @@ RDEPEND="sys-libs/zlib" |
36 |
DEPEND="${RDEPEND} |
37 |
test? ( dev-libs/check )" |
38 |
|
39 |
+PATCHES=( |
40 |
+ "${FILESDIR}"/${P}-TestMessage.patch |
41 |
+ "${FILESDIR}"/${P}-new-systemd.patch |
42 |
+) |
43 |
+ |
44 |
src_prepare() { |
45 |
- epatch "${FILESDIR}"/${P}-TestMessage.patch |
46 |
- epatch "${FILESDIR}"/${P}-new-systemd.patch |
47 |
+ default |
48 |
|
49 |
sed -e '/^\s@echo \(CC\|LD\)/d' \ |
50 |
-e 's:^\(\s\)@:\1:' \ |
51 |
@@ -32,18 +36,12 @@ src_prepare() { |
52 |
tc-export CC |
53 |
} |
54 |
|
55 |
-src_compile() { |
56 |
- #shipped ./Makefiles doesn't pass -j<n> to submake |
57 |
- emake -C src TARGETOS=Linux all |
58 |
-} |
59 |
- |
60 |
src_install() { |
61 |
- #don't re-run submake |
62 |
+ # Don't re-run submake |
63 |
sed -e '/^install:/s: all: :' \ |
64 |
-i Makefile || die |
65 |
- emake prefix="${EPREFIX}"usr DESTDIR="${D}" install |
66 |
- |
67 |
- dodoc CHANGELOG README TODO |
68 |
+ emake prefix="${EPREFIX}"/usr DESTDIR="${D}" install |
69 |
+ einstalldocs |
70 |
|
71 |
newinitd "${FILESDIR}"/iodined-1.init iodined |
72 |
newconfd "${FILESDIR}"/iodined.conf iodined |