aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-06 14:46:59 +0200
committerDanilo M. <danix@danix.xyz>2026-07-06 14:46:59 +0200
commit134f946411ce575579f61d8260055acf1120b9b3 (patch)
treef32bf3b3cc23bd22332f63a83fb8a85da4a0879c
parent822ea26fa36cb70dee32614a79220e0b635a433d (diff)
downloadslackware-pentesting-suite-134f946411ce575579f61d8260055acf1120b9b3.tar.gz
slackware-pentesting-suite-134f946411ce575579f61d8260055acf1120b9b3.zip
netexec: install vendored wheels with --no-deps
-rw-r--r--netexec/netexec.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/netexec/netexec.SlackBuild b/netexec/netexec.SlackBuild
index 552b6b1..2594169 100644
--- a/netexec/netexec.SlackBuild
+++ b/netexec/netexec.SlackBuild
@@ -89,8 +89,12 @@ tar xvf $CWD/$WHEELS.tar.gz -C $TMP
# netexec plus its full dependency tree from the local wheels only. No
# network access at build time.
python3 -m venv $PKG$VENVDIR
-$PKG$VENVDIR/bin/pip install --no-index --find-links=$TMP/wheels \
- netexec==$VERSION
+# Install every vendored wheel directly with --no-deps. netexec's metadata pins
+# some deps (e.g. certipy-ad) as git+https URLs; letting pip resolve deps makes
+# it ignore the local wheel and clone/build from git, which fails offline. The
+# wheels tarball already contains the full closed dependency set.
+$PKG$VENVDIR/bin/pip install --no-index --no-deps --find-links=$TMP/wheels \
+ $TMP/wheels/*.whl
# venvs are not relocatable: the absolute build path ($PKG$VENVDIR) is baked
# into bin/* script shebangs and pyvenv.cfg. Rewrite it to the installed