1 |
commit: a5fdae03af8592322e6e515d01a219c9216c9455 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 3 18:37:44 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 3 18:37:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5fdae03 |
7 |
|
8 |
net-misc/netkit-bootpd: Port to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
net-misc/netkit-bootpd/metadata.xml | 8 ++++---- |
13 |
net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild | 21 ++++++++++++--------- |
14 |
2 files changed, 16 insertions(+), 13 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/netkit-bootpd/metadata.xml b/net-misc/netkit-bootpd/metadata.xml |
17 |
index a535b885282..3c3d5ced641 100644 |
18 |
--- a/net-misc/netkit-bootpd/metadata.xml |
19 |
+++ b/net-misc/netkit-bootpd/metadata.xml |
20 |
@@ -1,8 +1,8 @@ |
21 |
<?xml version="1.0" encoding="UTF-8"?> |
22 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
23 |
<pkgmetadata> |
24 |
-<maintainer type="person"> |
25 |
-<email>xmw@g.o</email> |
26 |
-<name>Michael Weber</name> |
27 |
-</maintainer> |
28 |
+ <maintainer type="person"> |
29 |
+ <email>xmw@g.o</email> |
30 |
+ <name>Michael Weber</name> |
31 |
+ </maintainer> |
32 |
</pkgmetadata> |
33 |
|
34 |
diff --git a/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild b/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild |
35 |
index 7ae6c894115..cb70f0e56ef 100644 |
36 |
--- a/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild |
37 |
+++ b/net-misc/netkit-bootpd/netkit-bootpd-2.4-r1.ebuild |
38 |
@@ -1,8 +1,9 @@ |
39 |
-# Copyright 1999-2010 Gentoo Foundation |
40 |
+# Copyright 1999-2018 Gentoo Foundation |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
|
43 |
-EAPI=3 |
44 |
-inherit eutils toolchain-funcs |
45 |
+EAPI=6 |
46 |
+ |
47 |
+inherit toolchain-funcs |
48 |
|
49 |
MY_P=${P/netkit-} |
50 |
|
51 |
@@ -17,20 +18,22 @@ IUSE="" |
52 |
|
53 |
S=${WORKDIR}/${MY_P} |
54 |
|
55 |
-src_prepare() { |
56 |
- epatch "${FILESDIR}"/${P}.patch |
57 |
+PATCHES=( "${FILESDIR}"/${P}.patch ) |
58 |
+ |
59 |
+src_configure() { |
60 |
+ tc-export CC |
61 |
} |
62 |
|
63 |
src_compile() { |
64 |
- tc-export CC |
65 |
- emake linux || die |
66 |
+ emake linux |
67 |
} |
68 |
|
69 |
src_install() { |
70 |
- dosbin bootp{d,ef,gw,test} || die |
71 |
+ dosbin bootp{d,ef,gw,test} |
72 |
|
73 |
+ local x |
74 |
for x in d ef gw test; do |
75 |
- dosym bootp${x} /usr/sbin/in.bootp${x} || die |
76 |
+ dosym bootp${x} /usr/sbin/in.bootp${x} |
77 |
done |
78 |
|
79 |
doman *.5 *.8 |