aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--profiles/package.use.mask4
3 files changed, 14 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>
diff --git a/profiles/package.use.mask b/profiles/package.use.mask
index 6329d2d59..a2f684d11 100644
--- a/profiles/package.use.mask
+++ b/profiles/package.use.mask
@@ -3,6 +3,10 @@
# New entries go on top.
+# John-Henry Lim <johnhenrylim12@gmail.com> (2024-02-19)
+# warp-dex relies on libpcap.so.0.8 which is not in tree.
+net-vpn/cloudflare-warp dex
+
# Anna Vyalkova <cyber+gentoo@sysrq.in> (2023-11-21)
# Build failure.
# https://gitlab.com/famedly/conduit/-/issues/385