aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn-Henry Lim <johnhenrylim12@gmail.com>2024-02-19 17:13:14 +0800
committerJohn-Henry Lim <johnhenrylim12@gmail.com>2024-02-19 17:13:14 +0800
commita609dbba650bac279f90d90df5c23445190fb88d (patch)
tree6be0aa02af10eabad45d45cdc411bee4899bd69b /net-vpn
parentapp-misc/clifm: add 1.16 1.17, drop 1.8 1.15 (diff)
downloadguru-a609dbba650bac279f90d90df5c23445190fb88d.tar.gz
guru-a609dbba650bac279f90d90df5c23445190fb88d.tar.bz2
guru-a609dbba650bac279f90d90df5c23445190fb88d.zip
net-vpn/cloudflare-warp: add and mask dex use flag for warp-dex bin
Signed-off-by: John-Henry Lim <johnhenrylim12@gmail.com>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/cloudflare-warp/cloudflare-warp-2024.2.62-r2.ebuild (renamed from net-vpn/cloudflare-warp/cloudflare-warp-2024.2.62-r1.ebuild)12
-rw-r--r--net-vpn/cloudflare-warp/metadata.xml1
2 files changed, 10 insertions, 3 deletions
diff --git a/net-vpn/cloudflare-warp/cloudflare-warp-2024.2.62-r1.ebuild b/net-vpn/cloudflare-warp/cloudflare-warp-2024.2.62-r2.ebuild
index 6f844d9f4..049e2cdce 100644
--- a/net-vpn/cloudflare-warp/cloudflare-warp-2024.2.62-r1.ebuild
+++ b/net-vpn/cloudflare-warp/cloudflare-warp-2024.2.62-r2.ebuild
@@ -13,8 +13,10 @@ LICENSE="all-rights-reserved"
RESTRICT="bindist mirror"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="systemd +systray"
-RDEPEND="net-firewall/nftables"
+IUSE="systemd +systray dex"
+RDEPEND="net-firewall/nftables
+ dex? ( net-libs/libpcap )
+"
QA_PREBUILT="/bin/warp-cli /bin/warp-dex /bin/warp-diag /bin/warp-svc /bin/warp-taskbar"
@@ -27,12 +29,16 @@ src_unpack() {
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
+ # warp-dex relies on "libpcap.so.0.8" which is not in tree.
+ if use dex; then
+ dobin bin/warp-dex
+ fi
+
if use systray; then
dobin bin/warp-taskbar
systemd_douserunit usr/lib/systemd/user/warp-taskbar.service
diff --git a/net-vpn/cloudflare-warp/metadata.xml b/net-vpn/cloudflare-warp/metadata.xml
index d05fc2a28..231aa6e1f 100644
--- a/net-vpn/cloudflare-warp/metadata.xml
+++ b/net-vpn/cloudflare-warp/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<use>
<flag name="systray">Enable systray indicator of whether WARP is active</flag>
+ <flag name="dex">Install warp-dex for Digital Experience Monitoring tests</flag>
</use>
</pkgmetadata>