Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] vaultwarden-web: update to 2022.11.1.
@ 2022-12-02 21:13 TinfoilSubmarine
  2022-12-04 13:27 ` [PR PATCH] [Merged]: " paper42
  0 siblings, 1 reply; 2+ messages in thread
From: TinfoilSubmarine @ 2022-12-02 21:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/TinfoilSubmarine/void-packages maint/vaultwarden
https://github.com/void-linux/void-packages/pull/40879

vaultwarden-web: update to 2022.11.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

I switched the template to just extracting the existing build available in GitHub releases since all we are doing is running some npm commands.

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maint/vaultwarden-40879.patch --]
[-- Type: text/x-diff, Size: 1969 bytes --]

From 807e501e13609eb5f284914b58b38e9c8299aace Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Fri, 2 Dec 2022 16:04:27 -0500
Subject: [PATCH] vaultwarden-web: update to 2022.11.1.

---
 srcpkgs/vaultwarden-web/template | 35 ++++----------------------------
 1 file changed, 4 insertions(+), 31 deletions(-)

diff --git a/srcpkgs/vaultwarden-web/template b/srcpkgs/vaultwarden-web/template
index 33b0bc71125e..9ac344a7ba7b 100644
--- a/srcpkgs/vaultwarden-web/template
+++ b/srcpkgs/vaultwarden-web/template
@@ -1,42 +1,15 @@
 # Template file for 'vaultwarden-web'
 pkgname=vaultwarden-web
-version=2022.10.2
+version=2022.11.1
 revision=1
-_patch_ver=2022.10.0
-create_wrksrc=yes
-build_wrksrc="clients-web-v${version}"
-hostmakedepends="git nodejs"
 short_desc="Web vault builds for vaultwarden"
 maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/dani-garcia/bw_web_builds"
-distfiles="https://github.com/bitwarden/clients/archive/web-v${version}.tar.gz
- https://raw.githubusercontent.com/dani-garcia/bw_web_builds/master/patches/v${_patch_ver}.patch"
-checksum="6ec4fcae9ce26ecf55647f58598cbb4c4c0b6b093053f9d208781a4fc0c81fda
- 83484ec2106cf8b9d2c52b4284e3f3b876a5b9e9e0767eda69a1987304ddbaad"
-
-post_extract() {
-	mv v$_patch_ver.patch ${build_wrksrc}
-}
-
-post_patch() {
-	patch -Np1 -i v$_patch_ver.patch
-}
-
-do_configure() {
-	npm ci --ignore-scripts
-}
-
-do_build() {
-	case "$XBPS_TARGET_MACHINE" in
-		i686*) export NODE_OPTIONS="--max-old-space-size=2048" ;;
-	esac
-	cd apps/web
-	npm run dist:oss:selfhost
-}
+distfiles="https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz"
+checksum=9dddf6434b93b27add54f0ded58825be483641cc202d1fb1d1d16f2920fca3c2
 
 do_install() {
-	cd apps/web
 	vmkdir usr/share/webapps/vaultwarden-web
-	vcopy build/* usr/share/webapps/vaultwarden-web
+	vcopy . usr/share/webapps/vaultwarden-web
 }

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

* Re: [PR PATCH] [Merged]: vaultwarden-web: update to 2022.11.1.
  2022-12-02 21:13 [PR PATCH] vaultwarden-web: update to 2022.11.1 TinfoilSubmarine
@ 2022-12-04 13:27 ` paper42
  0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-12-04 13:27 UTC (permalink / raw)
  To: ml

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

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

vaultwarden-web: update to 2022.11.1.
https://github.com/void-linux/void-packages/pull/40879

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

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

I switched the template to just extracting the existing build available in GitHub releases since all we are doing is running some npm commands.

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2022-12-04 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02 21:13 [PR PATCH] vaultwarden-web: update to 2022.11.1 TinfoilSubmarine
2022-12-04 13:27 ` [PR PATCH] [Merged]: " paper42

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