Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/
Date: Sun, 19 Jan 2020 19:30:30
Message-Id: 1579462213.78675ec30bae913f1fa524149c66f47ae921c7ba.pacho@gentoo
1 commit: 78675ec30bae913f1fa524149c66f47ae921c7ba
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 19 19:25:36 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 19 19:30:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78675ec3
7
8 net-misc/r8168: Use tarball from my devspace
9
10 Bug: https://bugs.gentoo.org/705718
11 Package-Manager: Portage-2.3.84, Repoman-2.3.20
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 net-misc/r8168/r8168-8.047.05.ebuild | 16 +++++++---------
15 1 file changed, 7 insertions(+), 9 deletions(-)
16
17 diff --git a/net-misc/r8168/r8168-8.047.05.ebuild b/net-misc/r8168/r8168-8.047.05.ebuild
18 index 152d2ec6ffc..99f290f5063 100644
19 --- a/net-misc/r8168/r8168-8.047.05.ebuild
20 +++ b/net-misc/r8168/r8168-8.047.05.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 +# Copyright 1999-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 @@ -7,11 +7,15 @@ inherit linux-info linux-mod eutils
28
29 DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs"
30 HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software"
31 -SRC_URI="${P}.tar.bz2"
32 +
33 +# "GBE Ethernet LINUX driver r8168 for kernel up to 4.15" from above link,
34 +# we need to mirror it to avoid users from needing to fill a captcha to
35 +# download
36 +SRC_URI="https://dev.gentoo.org/~pacho/${PN}/${P}.tar.bz2"
37 +
38 LICENSE="GPL-2"
39 SLOT="0"
40 KEYWORDS="~amd64 ~x86"
41 -RESTRICT="fetch"
42
43 MODULE_NAMES="r8168(net:${S}/src)"
44 BUILD_TARGETS="modules"
45 @@ -23,12 +27,6 @@ PATCHES=(
46 "${FILESDIR}"/linux-5.4.patch
47 )
48
49 -pkg_nofetch() {
50 - einfo "Please download ${SRC_URI} from:"
51 - einfo " ${HOMEPAGE}"
52 - einfo "using the \"GBE Ethernet LINUX driver r8168 for kernel up to 4.15\" link."
53 -}
54 -
55 pkg_setup() {
56 linux-mod_pkg_setup
57 BUILD_PARAMS="KERNELDIR=${KV_DIR}"