[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Friday, November 20, 2020 @ 16:59:43 Author: felixonmars Revision: 757913 upgpkg: impacket 0.9.21-2: Python 3.9 rebuild Modified: impacket/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-20 16:58:54 UTC (rev 757912) +++ PKGBUILD2020-11-20 16:59:43 UTC (rev 757913) @@ -4,7 +4,7 @@ pkgname=impacket pkgver=0.9.21 -pkgrel=1 +pkgrel=2 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' arch=('any')
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Friday, November 20, 2020 @ 16:58:54 Author: felixonmars Revision: 757912 add a patch for python 3.9 Modified: impacket/trunk/PKGBUILD --+ PKGBUILD | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-20 16:52:43 UTC (rev 757911) +++ PKGBUILD2020-11-20 16:58:54 UTC (rev 757912) @@ -12,12 +12,16 @@ depends=('python' 'python-pycryptodome' 'python-pycryptodomex' 'python-pyasn1' 'python-pcapy' 'python-pyopenssl' 'python-six' 'python-ldap3' 'python-flask') checkdepends=('python-pytest' 'python-pytest-runner' 'python-cryptography') -source=(https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha256sums=('838b0152ce7e725150e2e6b012a99624282eba8d77fda54282845f3c96a39a54') -sha512sums=('9602019461cc07c2fc1e1a7baf40da0558a6cea4f6086e3c4ee16562cf0298c099c88f32ff7842ba403fc1560ccf29c1b3e9671cddcacb3ff6473d95dc11df2a') +source=(https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz + impacket-python3.9.patch::https://github.com/SecureAuthCorp/impacket/pull/946.patch) +sha256sums=('838b0152ce7e725150e2e6b012a99624282eba8d77fda54282845f3c96a39a54' +'61948a2dfe4e37fd33c3efa4459ec975ed32ff55d16992957b0de07c90901ca8') +sha512sums=('9602019461cc07c2fc1e1a7baf40da0558a6cea4f6086e3c4ee16562cf0298c099c88f32ff7842ba403fc1560ccf29c1b3e9671cddcacb3ff6473d95dc11df2a' + 'dcfafdfc3576011c9104d0dd7215934145c301d69acd971431d2e9c49c24ec5258648d8d8d02844805534299f1ee2e8bcab16245c7035ccfe16381f87e368f9c') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_} + patch -p1 -i ../impacket-python3.9.patch sed -e '/test_smb.py/d' \ -e '/test_nmb.py/d' \ -e '/test_ntlm.py/d' \
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Saturday, March 28, 2020 @ 15:25:44 Author: anthraxx Revision: 605216 upgpkg: impacket 0.9.21-1 Modified: impacket/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-28 15:25:33 UTC (rev 605215) +++ PKGBUILD2020-03-28 15:25:44 UTC (rev 605216) @@ -3,7 +3,7 @@ # Contributor: Paolo Giangrandi pkgname=impacket -pkgver=0.9.20 +pkgver=0.9.21 pkgrel=1 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' @@ -13,8 +13,8 @@ 'python-six' 'python-ldap3' 'python-flask') checkdepends=('python-pytest' 'python-pytest-runner' 'python-cryptography') source=(https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha256sums=('ccb9dc1accd306d86c1949388c8673ceb5304bfc5a2b3f868876b350d103045d') -sha512sums=('14e97d03352b8a86701f0f6cdd688b8a7b9952eef5bf3ed9b984fbec6ee60b427c7d8f4200ddc0ae44279c78db30b6a2a48330243da80de25f7d9541a202e731') +sha256sums=('838b0152ce7e725150e2e6b012a99624282eba8d77fda54282845f3c96a39a54') +sha512sums=('9602019461cc07c2fc1e1a7baf40da0558a6cea4f6086e3c4ee16562cf0298c099c88f32ff7842ba403fc1560ccf29c1b3e9671cddcacb3ff6473d95dc11df2a') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_}
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Wednesday, November 27, 2019 @ 23:05:30 Author: anthraxx Revision: 534237 upgpkg: impacket 0.9.20-1: switch to python3 Modified: impacket/trunk/PKGBUILD --+ PKGBUILD | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-27 22:26:31 UTC (rev 534236) +++ PKGBUILD2019-11-27 23:05:30 UTC (rev 534237) @@ -3,40 +3,44 @@ # Contributor: Paolo Giangrandi pkgname=impacket -pkgver=0.9.19 +pkgver=0.9.20 pkgrel=1 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' arch=('any') license=('Apache') -depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl' 'python2-six' 'python2-ldap3' 'python2-flask') -checkdepends=('python2-pytest' 'python2-pytest-runner') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('92866065e8d30fc0c586cbb073836cbdaa9e685b386588570f74d1f59aa8e6182b67b1ba11d77465a52063baa8f0da76080030bfc71ce2d67dc3bb03abe3e352') +depends=('python' 'python-pycryptodome' 'python-pycryptodomex' 'python-pyasn1' 'python-pcapy' 'python-pyopenssl' + 'python-six' 'python-ldap3' 'python-flask') +checkdepends=('python-pytest' 'python-pytest-runner' 'python-cryptography') +source=(https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) +sha256sums=('ccb9dc1accd306d86c1949388c8673ceb5304bfc5a2b3f868876b350d103045d') +sha512sums=('14e97d03352b8a86701f0f6cdd688b8a7b9952eef5bf3ed9b984fbec6ee60b427c7d8f4200ddc0ae44279c78db30b6a2a48330243da80de25f7d9541a202e731') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_} - find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; + sed -e '/test_smb.py/d' \ +-e '/test_nmb.py/d' \ +-e '/test_ntlm.py/d' \ +-e '/test_ldap.py/d' \ +-e '/rundce.sh/d' \ +-i tests/runall.sh } -package() { +build() { cd ${pkgname}-${pkgname}_${pkgver//./_} - python2 setup.py build + python setup.py build } check() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - python2 setup.py test - PYTHONPATH="./impacket:${PYTHONPATH}" \ -PYTHONDONTWRITEBYTECODE=1 \ -py.test2 tests/ImpactPacket + cd ${pkgname}-${pkgname}_${pkgver//./_}/tests + ./runall.sh } package() { cd ${pkgname}-${pkgname}_${pkgver//./_} - python2 setup.py install -O1 --root="${pkgdir}" + python setup.py install -O1 --root="${pkgdir}" --skip-build install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" - local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')" + local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')" ln -s "/usr/lib/python${PYTHONVERSION}/site-packages/impacket/examples" "${pkgdir}/usr/share/doc/${pkgname}/examples" }
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Wednesday, May 22, 2019 @ 21:40:39 Author: anthraxx Revision: 468745 upgpkg: impacket 0.9.19-1 Modified: impacket/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-22 21:39:28 UTC (rev 468744) +++ PKGBUILD2019-05-22 21:40:39 UTC (rev 468745) @@ -3,7 +3,7 @@ # Contributor: Paolo Giangrandi pkgname=impacket -pkgver=0.9.18 +pkgver=0.9.19 pkgrel=1 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' @@ -12,7 +12,7 @@ depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl' 'python2-six' 'python2-ldap3' 'python2-flask') checkdepends=('python2-pytest' 'python2-pytest-runner') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('c8ed7b45c2abbf97f722624bb28f3c9040dd15ec4b53b7128851a96f716463d7a8453cc6b9af80cd7b5693a3d868cca6c10304c90f06030a87a273a6dda57873') +sha512sums=('92866065e8d30fc0c586cbb073836cbdaa9e685b386588570f74d1f59aa8e6182b67b1ba11d77465a52063baa8f0da76080030bfc71ce2d67dc3bb03abe3e352') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_}
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Tuesday, December 18, 2018 @ 18:59:40 Author: anthraxx Revision: 416682 upgpkg: impacket 0.9.18-1 Modified: impacket/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-12-18 18:44:16 UTC (rev 416681) +++ PKGBUILD2018-12-18 18:59:40 UTC (rev 416682) @@ -3,7 +3,7 @@ # Contributor: Paolo Giangrandi pkgname=impacket -pkgver=0.9.17 +pkgver=0.9.18 pkgrel=1 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' @@ -12,7 +12,7 @@ depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl' 'python2-six' 'python2-ldap3' 'python2-flask') checkdepends=('python2-pytest' 'python2-pytest-runner') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('c6a84b5f3e0e08bc44c6648c0c65048c5b9ee63ce7706896f4f9a3c061b3bf64e5e68ca87794162cfc730144eff60c392eea2548edeaba61e04350c857e69c9b') +sha512sums=('c8ed7b45c2abbf97f722624bb28f3c9040dd15ec4b53b7128851a96f716463d7a8453cc6b9af80cd7b5693a3d868cca6c10304c90f06030a87a273a6dda57873') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_}
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Monday, September 3, 2018 @ 19:07:20 Author: anthraxx Revision: 376448 upgpkg: impacket 0.9.17-1 Modified: impacket/trunk/PKGBUILD --+ PKGBUILD | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-03 18:57:05 UTC (rev 376447) +++ PKGBUILD2018-09-03 19:07:20 UTC (rev 376448) @@ -3,16 +3,16 @@ # Contributor: Paolo Giangrandi pkgname=impacket -pkgver=0.9.15 +pkgver=0.9.17 pkgrel=1 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' arch=('any') license=('Apache') -depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl') -checkdepends=('python2-pytest') +depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl' 'python2-six' 'python2-ldap3' 'python2-flask') +checkdepends=('python2-pytest' 'python2-pytest-runner') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('31b1b059d01071319bccfc9a57b23eed175bfba61961ec425553916e7d1940ff6ef53d79ef5e43963e1b4f6037f50489ad22cd6935a53f2cd82bc5b2c6d741ce') +sha512sums=('c6a84b5f3e0e08bc44c6648c0c65048c5b9ee63ce7706896f4f9a3c061b3bf64e5e68ca87794162cfc730144eff60c392eea2548edeaba61e04350c857e69c9b') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_} @@ -19,11 +19,17 @@ find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; } +package() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + python2 setup.py build +} + check() { cd ${pkgname}-${pkgname}_${pkgver//./_} + python2 setup.py test PYTHONPATH="./impacket:${PYTHONPATH}" \ PYTHONDONTWRITEBYTECODE=1 \ -py.test2 impacket/testcases/ImpactPacket +py.test2 tests/ImpactPacket } package() {
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Friday, July 1, 2016 @ 16:03:21 Author: anthraxx Revision: 181731 upgpkg: impacket 0.9.15-1 Modified: impacket/trunk/PKGBUILD --+ PKGBUILD |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-07-01 16:03:14 UTC (rev 181730) +++ PKGBUILD2016-07-01 16:03:21 UTC (rev 181731) @@ -3,8 +3,8 @@ # Contributor: Paolo Giangrandi pkgname=impacket -pkgver=0.9.14 -pkgrel=3 +pkgver=0.9.15 +pkgrel=1 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' arch=('any') @@ -12,7 +12,7 @@ depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl') checkdepends=('python2-pytest') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('8f2ac11ce2c76e11190c06868f80ceef588bbbfbb30f6574d093f371eb5d65af70ad04ee8fc2e5300c9b14c84d2f5ce6c46dc85ffe8e5003f8f8b9081c700854') +sha512sums=('31b1b059d01071319bccfc9a57b23eed175bfba61961ec425553916e7d1940ff6ef53d79ef5e43963e1b4f6037f50489ad22cd6935a53f2cd82bc5b2c6d741ce') prepare() { cd ${pkgname}-${pkgname}_${pkgver//./_} @@ -30,6 +30,8 @@ cd ${pkgname}-${pkgname}_${pkgver//./_} python2 setup.py install -O1 --root="${pkgdir}" install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" + local PYTHONVERSION="$(python2 -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')" + ln -s "/usr/lib/python${PYTHONVERSION}/site-packages/impacket/examples" "${pkgdir}/usr/share/doc/${pkgname}/examples" } # vim: ts=2 sw=2 et:
[arch-commits] Commit in impacket/trunk (PKGBUILD)
Date: Friday, March 4, 2016 @ 23:17:48 Author: anthraxx Revision: 164868 upgpkg: impacket 0.9.14-3 adding missing depends Modified: impacket/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-03-04 22:17:47 UTC (rev 164867) +++ PKGBUILD2016-03-04 22:17:48 UTC (rev 164868) @@ -4,12 +4,12 @@ pkgname=impacket pkgver=0.9.14 -pkgrel=2 +pkgrel=3 pkgdesc='Collection of classes for working with network protocols' url='https://github.com/CoreSecurity/impacket' arch=('any') license=('Apache') -depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy') +depends=('python2-crypto' 'python2-pyasn1' 'python2-pcapy' 'python2-pyopenssl') checkdepends=('python2-pytest') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) sha512sums=('8f2ac11ce2c76e11190c06868f80ceef588bbbfbb30f6574d093f371eb5d65af70ad04ee8fc2e5300c9b14c84d2f5ce6c46dc85ffe8e5003f8f8b9081c700854')