[-- 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 +}
[-- 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 +}
[-- 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 +}
[-- 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 +}
[-- 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.
[-- 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 +}
[-- 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 +}
[-- 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.]+(?=">)'
[-- 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
[-- 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???**