1 |
commit: 03e131951155f62ada39500c1d7825115f5ebde6 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 9 20:11:03 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 9 20:12:11 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e13195 |
7 |
|
8 |
net-misc/r8168: Version bump to 8.047.01, EAPI 7 |
9 |
|
10 |
The download is now behind an email + CAPTCHA barrier so has to be |
11 |
fetch restricted. There is an unofficial mirror on GitHub but I don't |
12 |
know whether it is trustworthy. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/685338 |
15 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
16 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
17 |
|
18 |
net-misc/r8168/Manifest | 1 + |
19 |
net-misc/r8168/r8168-8.047.01.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 37 insertions(+) |
21 |
|
22 |
diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest |
23 |
index eae877f341a..c1877b985cb 100644 |
24 |
--- a/net-misc/r8168/Manifest |
25 |
+++ b/net-misc/r8168/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST r8168-8.045.08.tar.bz2 104427 BLAKE2B 56e332b518aa3c244750310a77d53ca2fc9a365f4a043e452c5593bcfcd5679c882d35b9977438ddb6a42ba40bb7c9b45e73926fda37c372314d57290ea3ffab SHA512 9037527f193d59da8bcf69396582e13acb58880ce52328e596ffb469352d38649d43f3c31b01ed607773bba1624561f299b3909dd6124448ed75e8f548d80563 |
28 |
+DIST r8168-8.047.01.tar.bz2 108629 BLAKE2B 35f92226726f5310edee0d0c62e5a257dd5963394ab0c0b1ce542efed3ac3b5788387f262f1426f1bc75e6bb1eb1d23a79e2b2114d0a5a60a6beb58844e2e318 SHA512 88957fb8dcfff123331b69319f4d719e6550a0a581a1079fd216c0ab346ee1bec8c3a1197c2daf9b0454f614f458606a597f0635e677627cf7bac13485b59b03 |
29 |
|
30 |
diff --git a/net-misc/r8168/r8168-8.047.01.ebuild b/net-misc/r8168/r8168-8.047.01.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..5d05429e616 |
33 |
--- /dev/null |
34 |
+++ b/net-misc/r8168/r8168-8.047.01.ebuild |
35 |
@@ -0,0 +1,36 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit linux-info linux-mod eutils |
42 |
+ |
43 |
+DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" |
44 |
+HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software" |
45 |
+SRC_URI="${P}.tar.bz2" |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+RESTRICT="fetch" |
50 |
+ |
51 |
+MODULE_NAMES="r8168(net:${S}/src)" |
52 |
+BUILD_TARGETS="modules" |
53 |
+ |
54 |
+CONFIG_CHECK="!R8169" |
55 |
+ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" |
56 |
+ |
57 |
+pkg_nofetch() { |
58 |
+ einfo "Please download ${SRC_URI} from:" |
59 |
+ einfo " ${HOMEPAGE}" |
60 |
+ einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link." |
61 |
+} |
62 |
+ |
63 |
+pkg_setup() { |
64 |
+ linux-mod_pkg_setup |
65 |
+ BUILD_PARAMS="KERNELDIR=${KV_DIR}" |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ linux-mod_src_install |
70 |
+ dodoc README |
71 |
+} |