From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 917F31382DE for ; Fri, 1 Jul 2016 21:33:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6AA71412D; Fri, 1 Jul 2016 21:33:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4671B14120 for ; Fri, 1 Jul 2016 21:33:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2D85340EE3 for ; Fri, 1 Jul 2016 21:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD37CCEF for ; Fri, 1 Jul 2016 21:33:24 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1467408783.4bd05e22623dcda115dafaa7490eb8e4bc11ab7d.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/r8168/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/r8168/Manifest net-misc/r8168/r8168-8.042.00.ebuild X-VCS-Directories: net-misc/r8168/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 4bd05e22623dcda115dafaa7490eb8e4bc11ab7d X-VCS-Branch: master Date: Fri, 1 Jul 2016 21:33:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 77076cba-a30b-4337-a1a5-82f9cf6eb0cc X-Archives-Hash: c2bb91f729db39039dc4128fc26b3cfe commit: 4bd05e22623dcda115dafaa7490eb8e4bc11ab7d Author: James Le Cuirot gentoo org> AuthorDate: Fri Jul 1 18:17:39 2016 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri Jul 1 21:33:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bd05e22 net-misc/r8168: Version bump to 8.042.00 I have included fixes for Linux 4.7. Package-Manager: portage-2.3.0 net-misc/r8168/Manifest | 1 + net-misc/r8168/r8168-8.042.00.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/net-misc/r8168/Manifest b/net-misc/r8168/Manifest index 00195d6..333471d 100644 --- a/net-misc/r8168/Manifest +++ b/net-misc/r8168/Manifest @@ -1,2 +1,3 @@ DIST r8168-8.040.00.tar.bz2 87770 SHA256 da0444fcd7aabb7762310cdf2047fd0aeb7a9ed97a3d6b80d62a0fc71e0730bf SHA512 58ec8c1ff8742ad1ee0e2a0fa1141a8ace26cac954542b16325c0d9eba6113a2baaf4de2c61025a6fc6532eb17aa2e7645daee0fef539b219f863355c731d6d8 WHIRLPOOL 80ca19d49e03ca6d1b9524710511a3b632a13ec8045515c3264663a73394cede1e04d4cad2f8f1ea5d7a8b3ab9554c1bfaec7ae356bcdf397ba6d045123d314c DIST r8168-8.041.00.tar.bz2 88154 SHA256 13fca576fac856510e8eb70645c84954bdcfed68cd26cf4773138915690ba36e SHA512 56816b8a98bd81c93aeff31ee111de95a827a4da96ef8832d735483abe412e1df9f1de097f5e0c1cce4d9d94932e0747630e94f2869368c4ea06a9e145ad542b WHIRLPOOL 83b70a21ce3d2e29b249f0c6305425348405c64aa9741f32bfb7cd27abbdf314f1bad1207d696296a5f24dcbc99c357280be6b7687aed1e234f41b51af5cba41 +DIST r8168-8.042.00.tar.bz2 91472 SHA256 fddf7f3af575a60207cebe95a8d2993b3730f3c5594cd9d6a55999fc1e843605 SHA512 d8c3ae44838dcdc57045b79d566f279e7d9273a77c78dcf054d799663355ea1535ba75d0d72202d5dd1e233f760e58c7f36c0bddc13e9b1d3fd129f994f4cd5b WHIRLPOOL a236614c3b3acca70dfc33aacaf7b04cba8712918c9e8a5b85ed3a08a6a3379d24d019754f6731283a4c3a15c04d744ef052ec89500d29de83d7adbdbf5a9d5f diff --git a/net-misc/r8168/r8168-8.042.00.ebuild b/net-misc/r8168/r8168-8.042.00.ebuild new file mode 100644 index 0000000..c646233 --- /dev/null +++ b/net-misc/r8168/r8168-8.042.00.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit linux-info linux-mod eutils + +DESCRIPTION="r8168 driver for Realtek 8111/8168 PCI-E NICs" +HOMEPAGE="http://www.realtek.com.tw" +SRC_URI="http://12244.wpc.azureedge.net/8012244/drivers/rtdrivers/cn/nic/0005-${P}.tar.bz2 -> ${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MODULE_NAMES="r8168(net:${S}/src)" +BUILD_TARGETS="modules" +CONFIG_CHECK="!R8169" + +ERROR_R8169="${P} requires Realtek 8169 PCI Gigabit Ethernet adapter (CONFIG_R8169) to be DISABLED" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="KERNELDIR=${KV_DIR}" +} + +src_prepare() { + default + + if kernel_is -ge 4 7; then + sed -i \ + -e '/gso_min_segs/d' \ + -e 's/dev->trans_start = jiffies/netif_trans_update(dev)/g' \ + src/r8168_n.c || die + fi +} + +src_install() { + linux-mod_src_install + dodoc README +}