1 |
commit: 4e64a1b1e5880e09c071ead0a2922c3e16fccda5 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 13 04:30:03 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 13 04:33:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e64a1b1 |
7 |
|
8 |
net-misc/selfdhcp: port to EAPI 7 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/742143 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild | 32 ------------------------------- |
15 |
net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild | 29 ++++++++++++++++++++++++++++ |
16 |
2 files changed, 29 insertions(+), 32 deletions(-) |
17 |
|
18 |
diff --git a/net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild b/net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index 537ef2f6d90..00000000000 |
21 |
--- a/net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,32 +0,0 @@ |
24 |
-# Copyright 1999-2014 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=4 |
28 |
-inherit eutils |
29 |
- |
30 |
-DESCRIPTION="a small stealth network autoconfigure software" |
31 |
-HOMEPAGE="http://selfdhcp.sourceforge.net" |
32 |
-SRC_URI="mirror://sourceforge/selfdhcp/${P}.tar.bz2" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~ppc ~sparc ~x86" |
37 |
-IUSE="" |
38 |
- |
39 |
-DEPEND="dev-libs/popt |
40 |
- dev-libs/libxml2 |
41 |
- >=net-libs/libnet-1.0.2 |
42 |
- net-libs/libpcap" |
43 |
- |
44 |
-src_prepare() { |
45 |
- epatch "${FILESDIR}/${P}-buffer-overflow.patch" |
46 |
-} |
47 |
- |
48 |
-src_configure() { |
49 |
- econf --sysconfdir=/etc --sbindir=/sbin |
50 |
-} |
51 |
- |
52 |
-src_install() { |
53 |
- emake DESTDIR="${D}" install |
54 |
- dodoc AUTHORS ChangeLog README TODO |
55 |
-} |
56 |
|
57 |
diff --git a/net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild b/net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild |
58 |
new file mode 100644 |
59 |
index 00000000000..2360e41ade5 |
60 |
--- /dev/null |
61 |
+++ b/net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild |
62 |
@@ -0,0 +1,29 @@ |
63 |
+# Copyright 1999-2020 Gentoo Authors |
64 |
+# Distributed under the terms of the GNU General Public License v2 |
65 |
+ |
66 |
+EAPI=7 |
67 |
+ |
68 |
+DESCRIPTION="Small stealth network autoconfigure software" |
69 |
+HOMEPAGE="http://selfdhcp.sourceforge.net" |
70 |
+SRC_URI="mirror://sourceforge/selfdhcp/${P}.tar.bz2" |
71 |
+ |
72 |
+LICENSE="GPL-2" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~ppc ~sparc ~x86" |
75 |
+ |
76 |
+DEPEND=" |
77 |
+ dev-libs/popt |
78 |
+ dev-libs/libxml2:2= |
79 |
+ >=net-libs/libnet-1.0.2:1.0 |
80 |
+ net-libs/libpcap |
81 |
+" |
82 |
+RDEPEND="${DEPEND}" |
83 |
+ |
84 |
+PATCHES=( |
85 |
+ "${FILESDIR}/${P}-buffer-overflow.patch" |
86 |
+) |
87 |
+ |
88 |
+src_install() { |
89 |
+ emake DESTDIR="${ED}" install |
90 |
+ dodoc AUTHORS ChangeLog README TODO |
91 |
+} |