* [gentoo-commits] repo/gentoo:master commit in: net-misc/realtek-r8152/
@ 2021-01-03 20:13 Piotr Karbowski
0 siblings, 0 replies; 6+ messages in thread
From: Piotr Karbowski @ 2021-01-03 20:13 UTC (permalink / raw
To: gentoo-commits
commit: 1f779cd4a3e7767a89ee7c19b7cf030ce53beb79
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 3 20:12:11 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jan 3 20:13:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f779cd4
net-misc/realtek-r8152: new package.
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
net-misc/realtek-r8152/Manifest | 1 +
net-misc/realtek-r8152/metadata.xml | 8 +++
net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 58 ++++++++++++++++++++++
3 files changed, 67 insertions(+)
diff --git a/net-misc/realtek-r8152/Manifest b/net-misc/realtek-r8152/Manifest
new file mode 100644
index 00000000000..b29e20ede11
--- /dev/null
+++ b/net-misc/realtek-r8152/Manifest
@@ -0,0 +1 @@
+DIST realtek-r8152-2.14.0.tar.gz 88356 BLAKE2B c530080cab5e6f7433aa6452e3c5f1f19f14c2ac473751958d85efa5553d2b2889d80cc47c2ad4064ad5673008df97dce197254f445c5fc7ae3905c7833e1641 SHA512 2908e9963b6bec9d638514e6a54ab8bca0b56c4866245f476889e4c8462c36f2bece86abac2e5ece9aee1776f00f7d4a67fd5561d830a67e02e386d79aba07dd
diff --git a/net-misc/realtek-r8152/metadata.xml b/net-misc/realtek-r8152/metadata.xml
new file mode 100644
index 00000000000..6c5d3e79d48
--- /dev/null
+++ b/net-misc/realtek-r8152/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>slashbeast@gentoo.org</email>
+ <name>Piotr Karbowski</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
new file mode 100644
index 00000000000..5102a32a5e5
--- /dev/null
+++ b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod linux-info udev
+
+SRC_URI="https://github.com/slashbeast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs."
+HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="
+ virtual/linux-sources
+ sys-kernel/linux-headers
+"
+RDEPEND=""
+
+MODULE_NAMES="r8152(net/usb)"
+
+pkg_setup() {
+ linux_config_exists
+
+ for module in USB_USBNET USB_NET_CDC_NCM USB_NET_CDCETHER; do
+ linux_chkconfig_module "${module}" || ewarn "CONFIG_${module} needs to be built as module (builtin doesn't work)"
+ done
+
+ linux_chkconfig_present MII || ewarn "CONFIG_MII needs to be built as module or builtin into the kernel"
+
+ linux_chkconfig_present USB_RTL8152 && ewarn "CONFIG_USB_RTL8152 must NOT be enabled in the kernel!"
+
+ linux-mod_pkg_setup
+
+ BUILD_TARGETS="modules"
+ BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
+}
+
+src_install() {
+ linux-mod_src_install
+
+ udev_newrules 50-usb-realtek-net.rules 50-usb-realtek-net.rules
+}
+
+pkg_postinst() {
+ udev_reload
+
+ echo
+ elog "If the cdc_ncm was loaded before this r8152 driver, one might get a flood"
+ elog "of 'usbN: network connection: disconnected' in kernel log."
+ elog "In that case one needs to unload r8152, cdc_ether and cdc_ncm modules and"
+ elog "let udev load them in right order or manually load r8152."
+ echo
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/realtek-r8152/
@ 2021-01-03 20:39 Piotr Karbowski
0 siblings, 0 replies; 6+ messages in thread
From: Piotr Karbowski @ 2021-01-03 20:39 UTC (permalink / raw
To: gentoo-commits
commit: 49859a22957a245e35e5d0d98728eb4602d82f79
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 3 20:38:51 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jan 3 20:38:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49859a22
net-misc/realtek-r8152: refresh depmod upon installation.
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
index 5102a32a5e5..59f0e80e1b9 100644
--- a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
+++ b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
@@ -47,6 +47,7 @@ src_install() {
}
pkg_postinst() {
+ linux-mod_pkg_postinst
udev_reload
echo
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/realtek-r8152/
@ 2021-01-17 13:34 Piotr Karbowski
0 siblings, 0 replies; 6+ messages in thread
From: Piotr Karbowski @ 2021-01-17 13:34 UTC (permalink / raw
To: gentoo-commits
commit: 9af9de5448421f33f597dd4da8d51637f058698e
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 17 13:34:29 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 13:34:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af9de54
net-misc/realtek-r8152: support building with non default CC.
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
index 59f0e80e1b9..ac2d53b76ca 100644
--- a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
+++ b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
@@ -37,7 +37,7 @@ pkg_setup() {
linux-mod_pkg_setup
BUILD_TARGETS="modules"
- BUILD_PARAMS="KERNELDIR=${KERNEL_DIR}"
+ BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERNELDIR=${KERNEL_DIR}"
}
src_install() {
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/realtek-r8152/
@ 2021-05-04 20:46 Piotr Karbowski
0 siblings, 0 replies; 6+ messages in thread
From: Piotr Karbowski @ 2021-05-04 20:46 UTC (permalink / raw
To: gentoo-commits
commit: f7616a54786c4e6034eee288d9b57c5c434d5410
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Tue May 4 20:44:47 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Tue May 4 20:46:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7616a54
net-misc/realtek-r8152: 2.15.0 version bump.
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
net-misc/realtek-r8152/Manifest | 1 +
net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild | 59 ++++++++++++++++++++++
2 files changed, 60 insertions(+)
diff --git a/net-misc/realtek-r8152/Manifest b/net-misc/realtek-r8152/Manifest
index b29e20ede11..6827d73dcf8 100644
--- a/net-misc/realtek-r8152/Manifest
+++ b/net-misc/realtek-r8152/Manifest
@@ -1 +1,2 @@
DIST realtek-r8152-2.14.0.tar.gz 88356 BLAKE2B c530080cab5e6f7433aa6452e3c5f1f19f14c2ac473751958d85efa5553d2b2889d80cc47c2ad4064ad5673008df97dce197254f445c5fc7ae3905c7833e1641 SHA512 2908e9963b6bec9d638514e6a54ab8bca0b56c4866245f476889e4c8462c36f2bece86abac2e5ece9aee1776f00f7d4a67fd5561d830a67e02e386d79aba07dd
+DIST realtek-r8152-2.15.0.tar.gz 93420 BLAKE2B 24b7a71adfddde3ff2ecc8c0b92d51f50202dada31a2f86a19d518f37814dd52d7ca5ffb5f81f07c7a92436f4fef53c8538a64d6bc5afbb0b6b7ccbace0a7923 SHA512 b46012d6e9c48ebb0eb0b7387933977bc56df7a9e010f0707907719e833a8f409d5af55ef84ebb0d54de89239e69697b6995c75e194ef7d0fa2c371d5fc362ba
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild
new file mode 100644
index 00000000000..ac2d53b76ca
--- /dev/null
+++ b/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod linux-info udev
+
+SRC_URI="https://github.com/slashbeast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs."
+HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software"
+
+SLOT="0"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND="
+ virtual/linux-sources
+ sys-kernel/linux-headers
+"
+RDEPEND=""
+
+MODULE_NAMES="r8152(net/usb)"
+
+pkg_setup() {
+ linux_config_exists
+
+ for module in USB_USBNET USB_NET_CDC_NCM USB_NET_CDCETHER; do
+ linux_chkconfig_module "${module}" || ewarn "CONFIG_${module} needs to be built as module (builtin doesn't work)"
+ done
+
+ linux_chkconfig_present MII || ewarn "CONFIG_MII needs to be built as module or builtin into the kernel"
+
+ linux_chkconfig_present USB_RTL8152 && ewarn "CONFIG_USB_RTL8152 must NOT be enabled in the kernel!"
+
+ linux-mod_pkg_setup
+
+ BUILD_TARGETS="modules"
+ BUILD_PARAMS="CC=$(tc-getBUILD_CC) KERNELDIR=${KERNEL_DIR}"
+}
+
+src_install() {
+ linux-mod_src_install
+
+ udev_newrules 50-usb-realtek-net.rules 50-usb-realtek-net.rules
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ udev_reload
+
+ echo
+ elog "If the cdc_ncm was loaded before this r8152 driver, one might get a flood"
+ elog "of 'usbN: network connection: disconnected' in kernel log."
+ elog "In that case one needs to unload r8152, cdc_ether and cdc_ncm modules and"
+ elog "let udev load them in right order or manually load r8152."
+ echo
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/realtek-r8152/
@ 2021-05-04 20:46 Piotr Karbowski
0 siblings, 0 replies; 6+ messages in thread
From: Piotr Karbowski @ 2021-05-04 20:46 UTC (permalink / raw
To: gentoo-commits
commit: 32fe1189aa2a7defcdb0ec897f3448bf14b29c5e
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Tue May 4 20:45:20 2021 +0000
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Tue May 4 20:46:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fe1189
net-misc/realtek-r8152: stabilizing 2.14.0 on amd64 and x86.
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
index ac2d53b76ca..1f3685ed7ba 100644
--- a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
+++ b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
inherit linux-mod linux-info udev
SRC_URI="https://github.com/slashbeast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs."
HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-misc/realtek-r8152/
@ 2021-12-26 0:20 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2021-12-26 0:20 UTC (permalink / raw
To: gentoo-commits
commit: 3f239d93688ce52c138a37fb5ad03b64f9e63522
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 00:15:19 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 00:19:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f239d93
net-misc/realtek-r8152: drop trailing full stop from DESCRIPTION
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild | 2 +-
net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
index 1f3685ed7ba4..82668bc49329 100644
--- a/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
+++ b/net-misc/realtek-r8152/realtek-r8152-2.14.0.ebuild
@@ -8,7 +8,7 @@ inherit linux-mod linux-info udev
SRC_URI="https://github.com/slashbeast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 x86"
-DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs."
+DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs"
HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software"
SLOT="0"
diff --git a/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild b/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild
index ac2d53b76ca1..b8439d39d198 100644
--- a/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild
+++ b/net-misc/realtek-r8152/realtek-r8152-2.15.0.ebuild
@@ -8,7 +8,7 @@ inherit linux-mod linux-info udev
SRC_URI="https://github.com/slashbeast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
-DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs."
+DESCRIPTION="Out-of-tree driver for Realtek's 2.5 GbE USB NICs"
HOMEPAGE="https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software"
SLOT="0"
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-12-26 0:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-03 20:39 [gentoo-commits] repo/gentoo:master commit in: net-misc/realtek-r8152/ Piotr Karbowski
-- strict thread matches above, loose matches on Subject: below --
2021-12-26 0:20 Sam James
2021-05-04 20:46 Piotr Karbowski
2021-05-04 20:46 Piotr Karbowski
2021-01-17 13:34 Piotr Karbowski
2021-01-03 20:13 Piotr Karbowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox