* [PR PATCH] New package: cloudflare-warp-2023.7.40-1
@ 2023-08-04 17:12 moheb2000
2023-11-03 1:45 ` github-actions
2023-11-17 1:46 ` [PR PATCH] [Closed]: " github-actions
0 siblings, 2 replies; 3+ messages in thread
From: moheb2000 @ 2023-08-04 17:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]
There is a new pull request by moheb2000 against master on the void-packages repository
https://github.com/moheb2000/void-packages cloudflare-warp
https://github.com/void-linux/void-packages/pull/45423
New package: cloudflare-warp-2023.7.40-1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- 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, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/45423.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cloudflare-warp-45423.patch --]
[-- Type: text/x-diff, Size: 3796 bytes --]
From e7fae162aab18aba014d73809cb0b0b3f9a3be92 Mon Sep 17 00:00:00 2001
From: Mohammad <moh.ebrahimi2000@gmail.com>
Date: Fri, 4 Aug 2023 20:33:08 +0330
Subject: [PATCH] New package: cloudflare-warp-2023.7.40-1
---
.../cloudflare-warp/files/README.voidlinux | 5 +++
.../files/com.cloudflare.WarpTaskbar.desktop | 9 ++++
srcpkgs/cloudflare-warp/files/warp-svc/run | 3 ++
srcpkgs/cloudflare-warp/template | 43 +++++++++++++++++++
4 files changed, 60 insertions(+)
create mode 100644 srcpkgs/cloudflare-warp/files/README.voidlinux
create mode 100644 srcpkgs/cloudflare-warp/files/com.cloudflare.WarpTaskbar.desktop
create mode 100644 srcpkgs/cloudflare-warp/files/warp-svc/run
create mode 100644 srcpkgs/cloudflare-warp/template
diff --git a/srcpkgs/cloudflare-warp/files/README.voidlinux b/srcpkgs/cloudflare-warp/files/README.voidlinux
new file mode 100644
index 000000000000..3a3d00afece8
--- /dev/null
+++ b/srcpkgs/cloudflare-warp/files/README.voidlinux
@@ -0,0 +1,5 @@
+Before using cloudflare-warp on voidlinux, you need to enable warp-svc service:
+```
+ln -s /etc/sv/warp-svc /var/service/
+```
+If you want to see warp taskbar icon, you can add /usr/share/applications/com.cloudflare.WarpTaskbar.desktop to your autostart based on your desktop environment. This file must run by your regular user.
diff --git a/srcpkgs/cloudflare-warp/files/com.cloudflare.WarpTaskbar.desktop b/srcpkgs/cloudflare-warp/files/com.cloudflare.WarpTaskbar.desktop
new file mode 100644
index 000000000000..d4160a8e4323
--- /dev/null
+++ b/srcpkgs/cloudflare-warp/files/com.cloudflare.WarpTaskbar.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.2
+Name=Cloudflare Zero Trust
+Comment=View the current status of the Zero Trust Tunnel
+Exec=warp-taskbar
+StartupNotify=false
+Keywords=warp teams cloudflare vpn
+Icon=zero-trust
diff --git a/srcpkgs/cloudflare-warp/files/warp-svc/run b/srcpkgs/cloudflare-warp/files/warp-svc/run
new file mode 100644
index 000000000000..6d0c74de5fa8
--- /dev/null
+++ b/srcpkgs/cloudflare-warp/files/warp-svc/run
@@ -0,0 +1,3 @@
+#!/bin/bash
+exec 2>&1
+exec warp-svc
diff --git a/srcpkgs/cloudflare-warp/template b/srcpkgs/cloudflare-warp/template
new file mode 100644
index 000000000000..1e76062c315b
--- /dev/null
+++ b/srcpkgs/cloudflare-warp/template
@@ -0,0 +1,43 @@
+# Template file for 'cloudflare-warp'
+pkgname=cloudflare-warp
+version=2023.7.40
+revision=1
+archs="x86_64"
+create_wrksrc=yes
+short_desc="Cloudflare Warp Client"
+maintainer="Mohammad Ebrahimi <moh.ebrahimi2000@gmail.com>"
+license="custom:Proprietary"
+homepage="https://cloudflarewarp.com"
+distfiles="https://pkg.cloudflareclient.com/pool/bookworm/main/c/cloudflare-warp/cloudflare-warp_${version}-1_amd64.deb"
+checksum=f4e72c556cb45e4f9b85a1aebe275dc1dc6b292a64dddceea1a4b3e35604cb02
+repository="nonfree"
+restricted=yes
+nostrip=yes
+
+post_extract() {
+ $XBPS_FETCH_CMD 'https://www.cloudflare.com/application/terms/' -o cloudflare-terms-of-service.html
+}
+
+do_install() {
+ vbin bin/warp-cli
+ vbin bin/warp-dex
+ vbin bin/warp-diag
+ vbin bin/warp-svc
+ vbin bin/warp-taskbar
+
+ vinstall usr/share/icons/hicolor/scalable/apps/zero-trust-connected.svg 644 \
+ usr/share/icons/hicolor/scalable/apps
+ vinstall usr/share/icons/hicolor/scalable/apps/zero-trust-disconnected.svg 644 \
+ usr/share/icons/hicolor/scalable/apps
+ vinstall usr/share/icons/hicolor/scalable/apps/zero-trust-error.svg 644 \
+ usr/share/icons/hicolor/scalable/apps
+ vinstall usr/share/icons/hicolor/scalable/apps/zero-trust.svg 644 \
+ usr/share/icons/hicolor/scalable/apps
+
+ vinstall ${FILESDIR}/com.cloudflare.WarpTaskbar.desktop 644 usr/share/applications
+
+ vlicense cloudflare-terms-of-service.html
+ vdoc ${FILESDIR}/README.voidlinux
+
+ vsv warp-svc
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New package: cloudflare-warp-2023.7.40-1
2023-08-04 17:12 [PR PATCH] New package: cloudflare-warp-2023.7.40-1 moheb2000
@ 2023-11-03 1:45 ` github-actions
2023-11-17 1:46 ` [PR PATCH] [Closed]: " github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2023-11-03 1:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/45423#issuecomment-1791789996
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: New package: cloudflare-warp-2023.7.40-1
2023-08-04 17:12 [PR PATCH] New package: cloudflare-warp-2023.7.40-1 moheb2000
2023-11-03 1:45 ` github-actions
@ 2023-11-17 1:46 ` github-actions
1 sibling, 0 replies; 3+ messages in thread
From: github-actions @ 2023-11-17 1:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 947 bytes --]
There's a closed pull request on the void-packages repository
New package: cloudflare-warp-2023.7.40-1
https://github.com/void-linux/void-packages/pull/45423
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- 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, (x86_64-glibc)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-17 1:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-04 17:12 [PR PATCH] New package: cloudflare-warp-2023.7.40-1 moheb2000
2023-11-03 1:45 ` github-actions
2023-11-17 1:46 ` [PR PATCH] [Closed]: " github-actions
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).