From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1552034-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 5BA43158089
	for <garchives@archives.gentoo.org>; Mon,  4 Sep 2023 17:58:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A522D2BC018;
	Mon,  4 Sep 2023 17:58:53 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8ACC72BC018
	for <gentoo-commits@lists.gentoo.org>; Mon,  4 Sep 2023 17:58:53 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 8EA9D335C65
	for <gentoo-commits@lists.gentoo.org>; Mon,  4 Sep 2023 17:58:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CAC9810F6
	for <gentoo-commits@lists.gentoo.org>; Mon,  4 Sep 2023 17:58:50 +0000 (UTC)
From: "John-Henry Lim" <johnhenrylim12@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "John-Henry Lim" <johnhenrylim12@gmail.com>
Message-ID: <1693850115.fb62db7786a071d62e465952253fc6994259de73.johnhenrylim12@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-vpn/cloudflare-warp/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: net-vpn/cloudflare-warp/Manifest net-vpn/cloudflare-warp/cloudflare-warp-2023.7.40.ebuild
X-VCS-Directories: net-vpn/cloudflare-warp/
X-VCS-Committer: johnhenrylim12
X-VCS-Committer-Name: John-Henry Lim
X-VCS-Revision: fb62db7786a071d62e465952253fc6994259de73
X-VCS-Branch: dev
Date: Mon,  4 Sep 2023 17:58:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: b018e82a-6a6d-4fe9-be7d-1f625588ffb1
X-Archives-Hash: c9123db5119b6f87587f0b3c0a7b6f6b

commit:     fb62db7786a071d62e465952253fc6994259de73
Author:     John-Henry Lim <johnhenrylim12 <AT> gmail <DOT> com>
AuthorDate: Mon Sep  4 17:55:15 2023 +0000
Commit:     John-Henry Lim <johnhenrylim12 <AT> gmail <DOT> com>
CommitDate: Mon Sep  4 17:55:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb62db77

net-vpn/cloudflare-warp: add 2023.7.40

Signed-off-by: John-Henry Lim <johnhenrylim12 <AT> gmail.com>

 net-vpn/cloudflare-warp/Manifest                   |  1 +
 .../cloudflare-warp-2023.7.40.ebuild               | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/net-vpn/cloudflare-warp/Manifest b/net-vpn/cloudflare-warp/Manifest
index 21c7d07349..4737cb0e2f 100644
--- a/net-vpn/cloudflare-warp/Manifest
+++ b/net-vpn/cloudflare-warp/Manifest
@@ -1 +1,2 @@
 DIST cloudflare-warp-2023.3.470-1.x86_64.rpm 40881976 BLAKE2B de58e4b0ec2afb7c888d112aecb9bd4d8b1346f31a0de236fd0e0d9276fae7268760d966def3724a28e0776fe3ad33a60c468443228c54c1b5f6917803c7fefc SHA512 ccc17265ffb7e8fc023ce1c1f22b11df1c654578f9b6b0122112f7d75938d704c3afaeb7229df6af42d4a0a8774284df23b8d2514e17dfe52e76b91dab8eb632
+DIST cloudflare-warp-2023.7.40-1.x86_64.rpm 73449004 BLAKE2B e2c033933a11b3a0f1f68bc64f1ad82d3715e08f37a61ec9a2fdbfd30f898e991720b15a28da384c765238a862bc8183c72ca6b8a075d63b6cecea4ae9200ad8 SHA512 b458a141cbf5e9c8e78c502051f773b0e3a048039cf09b56967b1705e893282eb6e203a75cf58524a5612786c0f8b4303d168b26e908b278da9b7a429c88e003

diff --git a/net-vpn/cloudflare-warp/cloudflare-warp-2023.7.40.ebuild b/net-vpn/cloudflare-warp/cloudflare-warp-2023.7.40.ebuild
new file mode 100644
index 0000000000..36f871d387
--- /dev/null
+++ b/net-vpn/cloudflare-warp/cloudflare-warp-2023.7.40.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm systemd xdg desktop
+
+DESCRIPTION="Cloudflare Warp Client"
+HOMEPAGE="https://1.1.1.1"
+SRC_URI="https://pkg.cloudflareclient.com/rpm/x86_64/${P}-1.x86_64.rpm"
+
+LICENSE="all-rights-reserved"
+RESTRICT="bindist mirror"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="systemd +systray"
+
+QA_PREBUILT="/bin/warp-cli /bin/warp-diag /bin/warp-svc /bin/warp-taskbar"
+
+S="${WORKDIR}"
+
+src_install() {
+	into /
+	dobin bin/warp-cli
+	dobin bin/warp-diag
+	dobin bin/warp-svc
+	doinitd ${FILESDIR}/warp-svc
+	systemd_dounit opt/cloudflare-warp/warp-svc.service
+
+	if use systray; then
+		dobin bin/warp-taskbar
+		systemd_douserunit usr/lib/systemd/user/warp-taskbar.service
+
+		doicon -s scalable \
+			usr/share/icons/hicolor/scalable/apps/zero-trust.svg \
+			usr/share/icons/hicolor/scalable/apps/zero-trust-error.svg \
+			usr/share/icons/hicolor/scalable/apps/zero-trust-connected.svg \
+			usr/share/icons/hicolor/scalable/apps/zero-trust-disconnected.svg
+
+		desktopfile=$(\
+			usex systemd \
+			usr/share/applications/com.cloudflare.WarpTaskbar.desktop \
+			${FILESDIR}/com.cloudflare.WarpTaskbar.desktop\
+		)
+		domenu $desktopfile
+
+		insinto /etc/xdg/autostart
+		doins $desktopfile
+	fi
+}