Skip to content

Commit

Permalink
impacket-stable: switch to own fork
Browse files Browse the repository at this point in the history
  • Loading branch information
dadevel committed Jun 18, 2024
1 parent fd9b34c commit 1076064
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions impacket-stable/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgname=impacket-stable
pkgver=latest
pkgrel=1
url=https://github.com/fortra/impacket.git
url=https://github.com/dadevel/impacket.git#branch=latest
arch=(any)
license=(Apache)
depends=(python)
Expand All @@ -13,7 +13,6 @@ package() {
mkdir -p "${pkgdir}/opt/archpkgs/bin" "${pkgdir}/opt/archpkgs/${pkgname}"
python -m venv "${pkgdir}/opt/archpkgs/${pkgname}"
declare -x VIRTUAL_ENV="${pkgdir}/opt/archpkgs/${pkgname}" PYTHONPATH="${pkgdir}/opt/archpkgs/${pkgname}" PATH="${pkgdir}/opt/archpkgs/${pkgname}/bin:$PATH"
sed -i 's|^pyOpenSSL>=21\.0\.0$|pyOpenSSL==24.0.0|' ./requirements.txt # pin pyopenssl, see https://github.com/fortra/impacket/issues/1716
pip install .
for binary in ./examples/*.py; do
binname="$(basename "${binary%%.py}")"
Expand Down

0 comments on commit 1076064

Please sign in to comment.