net-vpn/cloudflare-warp: add 2024.2.62

Signed-off-by: John-Henry Lim <johnhenrylim12@gmail.com>
This commit is contained in:
John-Henry Lim
2024-02-18 04:15:19 +08:00
parent 8e0b467ca8
commit e78fef0998
2 changed files with 55 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
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
DIST cloudflare-warp_2024.2.62-1_amd64.deb 86268064 BLAKE2B 663aae6d60bd7fe3eb10806463470f7623128e4eb942607909002bfa895eade8c76e00f987bf9603cd9f0ecbb661dde116c930734b1bfe087ee09018506415c0 SHA512 d68410374baffae76637df277d002891d5a4c0d28abb8ac3b44e0db8a07e1be07acdfdd79a01d6220c1cd0696dfbb77d71e8b7b3a30003a269063d6870f012a8

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker systemd xdg desktop
DESCRIPTION="Cloudflare Warp Client"
HOMEPAGE="https://1.1.1.1"
SRC_URI="https://pkg.cloudflareclient.com/pool/jammy/main/c/cloudflare-warp/cloudflare-warp_${PV}-1_amd64.deb"
LICENSE="all-rights-reserved"
RESTRICT="bindist mirror"
SLOT="0"
KEYWORDS="~amd64"
IUSE="systemd +systray"
RDEPEND="net-firewall/nftables"
QA_PREBUILT="/bin/warp-cli /bin/warp-diag /bin/warp-svc /bin/warp-taskbar"
S="${WORKDIR}"
src_unpack() {
unpack_deb ${A}
}
src_install() {
into /
dobin bin/warp-cli
dobin bin/warp-dex
dobin bin/warp-diag
dobin bin/warp-svc
doinitd "${FILESDIR}/warp-svc"
systemd_dounit lib/systemd/system/warp-svc.service
if use systray; then
dobin bin/warp-taskbar
systemd_douserunit usr/lib/systemd/user/warp-taskbar.service
doicon -s scalable $(ls usr/share/icons/hicolor/scalable/apps/*.svg)
insinto /usr/share/warp/images
doins $(ls usr/share/warp/images/*.png)
desktopfile=$( \
usex systemd \
usr/share/applications/com.cloudflare.WarpTaskbar.desktop \
"${FILESDIR}/com.cloudflare.WarpTaskbar.desktop" \
)
domenu $desktopfile
insinto /etc/xdg/autostart
doins $desktopfile
fi
}