From: 2asoft <2asoft@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: r8125-dkms-9.003.05
Date: Sat, 21 Nov 2020 19:06:52 +0100 [thread overview]
Message-ID: <20201121180652.MdxPWn9m_5KKhc5Q6cYccyFJAmh0gam8XH8OSVmNoZ0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23943@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
There is an updated pull request by 2asoft against master on the void-packages repository
https://github.com/2asoft/void-packages 2asoft/rtl8125-dkms
https://github.com/void-linux/void-packages/pull/23943
New package: r8125-dkms-9.003.05
Verified locally on a [Gigabyte B550I AORUS PRO AX](https://www.gigabyte.com/Motherboard/B550I-AORUS-PRO-AX-rev-10).
Did not verify 2.5G functionality or performance because I do not have a 2.5G switch.
A patch file from https://github.com/void-linux/void-packages/pull/23943.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-2asoft/rtl8125-dkms-23943.patch --]
[-- Type: text/x-diff, Size: 3502 bytes --]
From 48664153d22af5b27a6e4c01723678899c24e0af Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 29 Jul 2020 22:12:20 -0700
Subject: [PATCH 1/2] New package: r8125-dkms-9.003.05
---
srcpkgs/r8125-dkms/files/dkms.conf | 12 ++++++++++++
srcpkgs/r8125-dkms/template | 27 +++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
create mode 100644 srcpkgs/r8125-dkms/files/dkms.conf
create mode 100644 srcpkgs/r8125-dkms/template
diff --git a/srcpkgs/r8125-dkms/files/dkms.conf b/srcpkgs/r8125-dkms/files/dkms.conf
new file mode 100644
index 00000000000..b6d398c76b3
--- /dev/null
+++ b/srcpkgs/r8125-dkms/files/dkms.conf
@@ -0,0 +1,12 @@
+PACKAGE_NAME="r8125"
+PACKAGE_VERSION="@VERSION@"
+BUILT_MODULE_NAME="r8125"
+
+AUTOINSTALL="yes"
+REMAKE_INITRD="no"
+
+MAKE="'make' -C $kernel_source_dir M=$dkms_tree/$PACKAGE_NAME/$PACKAGE_VERSION/build modules"
+MAKE="'make' -j$(nproc) KERNEL_UNAME=${kernelver} modules"
+CLEAN="make clean"
+
+DEST_MODULE_LOCATION="/kernel/drivers/net/ethernet/realtek"
diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template
new file mode 100644
index 00000000000..51a52207e88
--- /dev/null
+++ b/srcpkgs/r8125-dkms/template
@@ -0,0 +1,27 @@
+# Template file for 'r8125-dkms'
+pkgname=r8125-dkms
+version=9.003.05
+revision=1
+_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402
+archs=noarch
+wrksrc="r8125-${version}"
+depends="dkms"
+short_desc="Realtek RTL8125 driver (DKMS)"
+maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
+license="GPL-2.0-only"
+homepage="https://www.realtek.com/"
+distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz"
+checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6
+dkms_modules="r8125 ${version}"
+
+do_install() {
+ vmkdir /usr/src/r8125-${version}
+ vcopy "src/*" usr/src/r8125-${version}
+ vinstall ${FILESDIR}/dkms.conf 644 usr/src/r8125-${version}
+ sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/r8125-${version}/dkms.conf
+
+ # modules-load.d(5) file.
+ vmkdir usr/lib/modules-load.d
+ echo "r8125" > ${DESTDIR}/usr/lib/modules-load.d/r8125.conf
+ chmod 644 ${DESTDIR}/usr/lib/modules-load.d/r8125.conf
+}
From b39aec84bd3aadea933bbb28d3208e64c34864f0 Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Sat, 21 Nov 2020 10:06:43 -0800
Subject: [PATCH 2/2] r8125-dkms: update to 9.004.01.
---
srcpkgs/r8125-dkms/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/r8125-dkms/template b/srcpkgs/r8125-dkms/template
index 51a52207e88..f7813da7f29 100644
--- a/srcpkgs/r8125-dkms/template
+++ b/srcpkgs/r8125-dkms/template
@@ -1,8 +1,8 @@
# Template file for 'r8125-dkms'
pkgname=r8125-dkms
-version=9.003.05
+version=9.004.01
revision=1
-_gitrev=34f17465e87f3237eb565cfa8fc5fb803f0c2402
+_gitrev=e174fe9d2ccf5c64fc79e980683fd2bae8413c35
archs=noarch
wrksrc="r8125-${version}"
depends="dkms"
@@ -10,8 +10,8 @@ short_desc="Realtek RTL8125 driver (DKMS)"
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
license="GPL-2.0-only"
homepage="https://www.realtek.com/"
-distfiles="https://github.com/ibmibmibm/r8125/archive/${version}.tar.gz"
-checksum=75196ec98afcefbb6706307104d32131a27abba24ac333633790264968d548d6
+distfiles="https://github.com/ibmibmibm/r8125/archive/${_gitrev}.tar.gz"
+checksum=10d96d19cbd6c2a251445de516788c4afb485c57bb9e8d4c96ec14fa56e2c324
dkms_modules="r8125 ${version}"
do_install() {
next prev parent reply other threads:[~2020-11-21 18:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 5:14 [PR PATCH] " 2asoft
2020-09-10 1:08 ` [PR PATCH] [Updated] " 2asoft
2020-09-25 5:54 ` 2asoft
2020-10-10 18:38 ` 2asoft
2020-11-21 18:06 ` 2asoft [this message]
2021-01-03 8:31 ` 2asoft
2021-01-03 8:31 ` [PR PATCH] [Closed]: " 2asoft
2021-03-22 9:12 ` kkga
2021-03-22 9:44 ` 2asoft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201121180652.MdxPWn9m_5KKhc5Q6cYccyFJAmh0gam8XH8OSVmNoZ0@z \
--to=2asoft@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).