1 |
commit: c8652c8212bf6e78e618401560035043ed11a8c3 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 4 20:42:09 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 4 20:42:55 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8652c82 |
7 |
|
8 |
net-misc/AQtion: Version bump to 2.3.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
12 |
|
13 |
net-misc/AQtion/AQtion-2.3.1.ebuild | 53 +++++++++++++++++++++++++++++++++++++ |
14 |
net-misc/AQtion/Manifest | 1 + |
15 |
2 files changed, 54 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/AQtion/AQtion-2.3.1.ebuild b/net-misc/AQtion/AQtion-2.3.1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..6ea5a134c5c |
20 |
--- /dev/null |
21 |
+++ b/net-misc/AQtion/AQtion-2.3.1.ebuild |
22 |
@@ -0,0 +1,53 @@ |
23 |
+# Copyright 2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit linux-mod |
29 |
+ |
30 |
+DESCRIPTION="Aquantia AQC multigigabit NIC linux driver (atlantic) - development preview" |
31 |
+HOMEPAGE="https://github.com/Aquantia/AQtion" |
32 |
+ |
33 |
+COMMIT_ID="3c2a2a3abe3df6cb0c985a49cea9a359a83e3f75" |
34 |
+SRC_URI="https://github.com/Aquantia/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="GPL-2" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64" |
39 |
+IUSE="lro" |
40 |
+ |
41 |
+DEPEND="virtual/linux-sources" |
42 |
+ |
43 |
+S="${WORKDIR}/${PN}-${COMMIT_ID}" |
44 |
+ |
45 |
+MODULE_NAMES="atlantic(drivers/net/ethernet/aquantia/atlantic:${S})" |
46 |
+BUILD_TARGETS="all" |
47 |
+CONFIG_CHECK="~!AQTION ~PTP_1588_CLOCK ~CRC_ITU_T" |
48 |
+ |
49 |
+DOCS=( |
50 |
+ README.md |
51 |
+ README.txt |
52 |
+) |
53 |
+ |
54 |
+pkg_setup() { |
55 |
+ use lro && CONFIG_CHECK+=" ~!CONFIG_BRIDGE" |
56 |
+ linux-mod_pkg_setup |
57 |
+} |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ |
62 |
+ if ! use lro; then |
63 |
+ sed -r -i -e 's/(#define AQ_CFG_IS_LRO_DEF[[:space:]]+)[[:digit:]]+([[:alpha:]]*)/\10\2/' \ |
64 |
+ aq_cfg.h || die |
65 |
+ fi |
66 |
+} |
67 |
+ |
68 |
+src_compile() { |
69 |
+ KDIR="${KERNEL_DIR}" linux-mod_src_compile |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ KDIR="${KERNEL_DIR}" linux-mod_src_install |
74 |
+ dodoc "${DOCS[@]}" |
75 |
+} |
76 |
|
77 |
diff --git a/net-misc/AQtion/Manifest b/net-misc/AQtion/Manifest |
78 |
index 78d41b07f85..4ca2a12c2a8 100644 |
79 |
--- a/net-misc/AQtion/Manifest |
80 |
+++ b/net-misc/AQtion/Manifest |
81 |
@@ -1 +1,2 @@ |
82 |
DIST AQtion-2.2.7.tar.gz 122679 BLAKE2B 9d4e2d4d4b26a191551e2cfd30c2a8ce4e4bde01b7ab1e9beb9564abdfd1093b63f94713570fe2c949943037b649c55a9f448b0333fcdcc7227849330d466f92 SHA512 d3ba78acbe5d85d1017d5460fa7d916ffa59eeb137aa1817da215f08b994a10336a9f865c9b84a16b8cef7238d4fd87785bc17d6e3eac577210bf321538cbda3 |
83 |
+DIST AQtion-2.3.1.tar.gz 122884 BLAKE2B 46037acfdb3914eb2aac26795d923f22e34bf51ed31c993169803ea572108fe0bf98ef61bbadfa86b7027161aa5105c8b2cb4f19e1b12388ce9296f87f2f7c6d SHA512 929a4f208c041340d684e7732256511d68dac71d5204c34c8f0d6aa5832b0de0667bda7e1fa44a5486c7c34692f73c5de397655b0ba0efb12de8d4d76316e835 |