Github messages for voidlinux
 help / color / mirror / Atom feed
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: Thu, 10 Sep 2020 03:08:22 +0200	[thread overview]
Message-ID: <20200910010822.5z6JPdkl4bac8HjuLYK2yQAzlHSejhnBTWyDUvxg9u8@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: 2207 bytes --]

From 1f14e1b6628ecb6d4a967fc576bf595f8a7faf0d Mon Sep 17 00:00:00 2001
From: Anton Afanasyev <anton@doubleasoftware.com>
Date: Wed, 29 Jul 2020 22:12:20 -0700
Subject: [PATCH] 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
+}

  reply	other threads:[~2020-09-10  1:08 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 ` 2asoft [this message]
2020-09-25  5:54 ` [PR PATCH] [Updated] " 2asoft
2020-10-10 18:38 ` 2asoft
2020-11-21 18:06 ` 2asoft
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=20200910010822.5z6JPdkl4bac8HjuLYK2yQAzlHSejhnBTWyDUvxg9u8@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).