Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: rtl8821cu-dkms-20210118
@ 2022-09-14 18:07 classabbyamp
  2022-09-14 18:10 ` [PR PATCH] [Updated] " classabbyamp
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-14 18:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 676 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 1776 bytes --]

From 1de5509913be15fcdf5e7a8ca24eac6e6bb19ab2 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..97029286a259
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,37 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8812au-${_modver}
+
+	vmkdir ${dest}
+	cp -r dkms.conf Kconfig Makefile platform core hal include os_dep ${DESTDIR}/${dest}
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+	chmod 644 ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
@ 2022-09-14 18:10 ` classabbyamp
  2022-09-14 18:14 ` classabbyamp
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-14 18:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 1772 bytes --]

From 1926c57940407d6e1123f72322a82566da89ab4d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..290027efb8ca
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,37 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8812au-${_modver}
+
+	vmkdir ${dest}
+	cp -r dkms.conf Kconfig Makefile platform core hal include os_dep ${DESTDIR}/${dest}
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+	chmod 644 ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
  2022-09-14 18:10 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-09-14 18:14 ` classabbyamp
  2022-09-14 18:17 ` classabbyamp
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-14 18:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 1731 bytes --]

From 4f320193f1a97817ec43d07d446fadfffb8ea7b1 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 38 +++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..7c53bfb64d71
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,38 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8812au-${_modver}
+
+	vmkdir ${dest}
+	for itm in dkms.conf Kconfig Makefile platform core hal include os_dep; do
+		vcopy ${itm} ${dest}
+	done
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
  2022-09-14 18:10 ` [PR PATCH] [Updated] " classabbyamp
  2022-09-14 18:14 ` classabbyamp
@ 2022-09-14 18:17 ` classabbyamp
  2022-09-14 18:24 ` [PR REVIEW] " Anachron
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-14 18:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 1731 bytes --]

From cbe980a1ff1f3fa13533ff8c9dd3d58150f7b705 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 38 +++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..ad26b2a2edd3
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,38 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8821cu-${_modver}
+
+	vmkdir ${dest}
+	for itm in dkms.conf Kconfig Makefile platform core hal include os_dep; do
+		vcopy ${itm} ${dest}
+	done
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
                   ` (2 preceding siblings ...)
  2022-09-14 18:17 ` classabbyamp
@ 2022-09-14 18:24 ` Anachron
  2022-09-21 21:34 ` [PR PATCH] [Updated] " classabbyamp
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Anachron @ 2022-09-14 18:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]

New review comment by Anachron on void-packages repository

https://github.com/void-linux/void-packages/pull/39286#discussion_r971149629

Comment:
Maybe use [vcopy](https://github.com/void-linux/void-packages/blob/master/common/environment/setup/install.sh#L175) here.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
                   ` (3 preceding siblings ...)
  2022-09-14 18:24 ` [PR REVIEW] " Anachron
@ 2022-09-21 21:34 ` classabbyamp
  2022-09-21 21:36 ` classabbyamp
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-21 21:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 1807 bytes --]

From 04e6421f84d37fd7039c25a035d6e674ebb46ac9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 40 +++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..06a13223fbdd
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,40 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8821cu-${_modver}
+
+	vmkdir ${dest}
+	for itm in dkms.conf rtl8821c.mk halmac.mk Kconfig Makefile platform core hal include os_dep; do
+		vcopy ${itm} ${dest}
+	done
+
+	vinstall rtw88_8821cu.conf 644 usr/lib/modprobe.d
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
                   ` (4 preceding siblings ...)
  2022-09-21 21:34 ` [PR PATCH] [Updated] " classabbyamp
@ 2022-09-21 21:36 ` classabbyamp
  2022-09-22 18:42 ` classabbyamp
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-21 21:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 1807 bytes --]

From 9d66084955ee26bd593e97c7a841b709c6b42960 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 40 +++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..06a13223fbdd
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,40 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8821cu-${_modver}
+
+	vmkdir ${dest}
+	for itm in dkms.conf rtl8821c.mk halmac.mk Kconfig Makefile platform core hal include os_dep; do
+		vcopy ${itm} ${dest}
+	done
+
+	vinstall rtw88_8821cu.conf 644 usr/lib/modprobe.d
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
                   ` (5 preceding siblings ...)
  2022-09-21 21:36 ` classabbyamp
@ 2022-09-22 18:42 ` classabbyamp
  2022-09-22 18:49 ` [PR PATCH] [Closed]: " classabbyamp
  2022-09-22 18:49 ` classabbyamp
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-22 18:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages new/rtl8821cu-dkms
https://github.com/void-linux/void-packages/pull/39286

New package: rtl8821cu-dkms-20210118
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



A patch file from https://github.com/void-linux/void-packages/pull/39286.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/rtl8821cu-dkms-39286.patch --]
[-- Type: text/x-diff, Size: 2170 bytes --]

From 045fbea6587ac9ffbae0c3fe624a36da46eece16 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Wed, 14 Sep 2022 14:06:19 -0400
Subject: [PATCH] New package: rtl8821cu-dkms-20210118

---
 srcpkgs/rtl8821cu-dkms/template | 40 +++++++++++++++++++++++++++++++++
 srcpkgs/rtl8821cu-dkms/update   |  2 ++
 2 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/rtl8821cu-dkms/template
 create mode 100644 srcpkgs/rtl8821cu-dkms/update

diff --git a/srcpkgs/rtl8821cu-dkms/template b/srcpkgs/rtl8821cu-dkms/template
new file mode 100644
index 000000000000..06a13223fbdd
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/template
@@ -0,0 +1,40 @@
+# Template file for 'rtl8821cu-dkms'
+pkgname=rtl8821cu-dkms
+version=20210118
+revision=1
+_modver=5.12.0
+_gitrev=76605e464119f0d56bf3a41866b58defd54464d8
+wrksrc="8821cu-${version}-${_gitrev}"
+depends="dkms"
+short_desc="Realtek 8811CU/8821CU/8731AU USB WiFi driver (DKMS)"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-2.0-only"
+homepage="https://github.com/morrownr/8821cu"
+distfiles="https://github.com/morrownr/8821cu-${version}/archive/${_gitrev}.tar.gz"
+checksum=5f0990c67839f1e6318da7d14d0e11a474a827543723d59e8eacdbc4bf742cb5
+dkms_modules="rtl8821cu ${_modver}"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*) _karch="x86_64";;
+	i686*) _karch="i386";;
+	aarch64*) _karch="arm64";;
+	arm*) _karch="arm";;
+	ppc*) _karch="powerpc";;
+	mips*) _karch="mips";;
+	*) broken="kernel arch not defined";;
+esac
+
+do_install() {
+	local dest=/usr/src/rtl8821cu-${_modver}
+
+	vmkdir ${dest}
+	for itm in dkms.conf rtl8821c.mk halmac.mk Kconfig Makefile platform core hal include os_dep; do
+		vcopy ${itm} ${dest}
+	done
+
+	vinstall rtw88_8821cu.conf 644 usr/lib/modprobe.d
+
+	# modules-load.d(5) file.
+	vmkdir usr/lib/modules-load.d
+	echo "8821cu" > ${DESTDIR}/usr/lib/modules-load.d/${pkgname}.conf
+}
diff --git a/srcpkgs/rtl8821cu-dkms/update b/srcpkgs/rtl8821cu-dkms/update
new file mode 100644
index 000000000000..68c1f682f48f
--- /dev/null
+++ b/srcpkgs/rtl8821cu-dkms/update
@@ -0,0 +1,2 @@
+site="https://github.com/morrownr/8821cu"
+pattern='8821cu-\K[\d.]+(?=">)'

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
                   ` (7 preceding siblings ...)
  2022-09-22 18:49 ` [PR PATCH] [Closed]: " classabbyamp
@ 2022-09-22 18:49 ` classabbyamp
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-22 18:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39286#issuecomment-1255420248

Comment:
79d9e56687ea908dd8ef78e640b413c5f8a733d2

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Closed]: New package: rtl8821cu-dkms-20210118
  2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
                   ` (6 preceding siblings ...)
  2022-09-22 18:42 ` classabbyamp
@ 2022-09-22 18:49 ` classabbyamp
  2022-09-22 18:49 ` classabbyamp
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-09-22 18:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

There's a closed pull request on the void-packages repository

New package: rtl8821cu-dkms-20210118
https://github.com/void-linux/void-packages/pull/39286

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **MAYBE???**



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-09-22 18:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 18:07 [PR PATCH] New package: rtl8821cu-dkms-20210118 classabbyamp
2022-09-14 18:10 ` [PR PATCH] [Updated] " classabbyamp
2022-09-14 18:14 ` classabbyamp
2022-09-14 18:17 ` classabbyamp
2022-09-14 18:24 ` [PR REVIEW] " Anachron
2022-09-21 21:34 ` [PR PATCH] [Updated] " classabbyamp
2022-09-21 21:36 ` classabbyamp
2022-09-22 18:42 ` classabbyamp
2022-09-22 18:49 ` [PR PATCH] [Closed]: " classabbyamp
2022-09-22 18:49 ` classabbyamp

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).