[arch-commits] Commit in impacket/repos/community-any (PKGBUILD PKGBUILD)
Date: Saturday, March 28, 2020 @ 15:25:51 Author: anthraxx Revision: 605217 archrelease: copy trunk to community-any Added: impacket/repos/community-any/PKGBUILD (from rev 605216, impacket/trunk/PKGBUILD) Deleted: impacket/repos/community-any/PKGBUILD --+ PKGBUILD | 94 ++--- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-03-28 15:25:44 UTC (rev 605216) +++ PKGBUILD2020-03-28 15:25:51 UTC (rev 605217) @@ -1,47 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sirat18 -# Contributor: Paolo Giangrandi - -pkgname=impacket -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=('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//./_} - 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 -} - -build() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - python setup.py build -} - -check() { - cd ${pkgname}-${pkgname}_${pkgver//./_}/tests - ./runall.sh -} - -package() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - python setup.py install -O1 --root="${pkgdir}" --skip-build - install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" - 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" -} - -# vim: ts=2 sw=2 et: Copied: impacket/repos/community-any/PKGBUILD (from rev 605216, impacket/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-03-28 15:25:51 UTC (rev 605217) @@ -0,0 +1,47 @@ +# Maintainer: Levente Polyak +# Contributor: Sirat18 +# Contributor: Paolo Giangrandi + +pkgname=impacket +pkgver=0.9.21 +pkgrel=1 +pkgdesc='Collection of classes for working with network protocols' +url='https://github.com/CoreSecurity/impacket' +arch=('any') +license=('Apache') +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') + +prepare() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + 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 +} + +build() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + python setup.py build +} + +check() { + cd ${pkgname}-${pkgname}_${pkgver//./_}/tests + ./runall.sh +} + +package() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + python setup.py install -O1 --root="${pkgdir}" --skip-build + install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" + 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" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in impacket/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, November 27, 2019 @ 23:05:35 Author: anthraxx Revision: 534238 archrelease: copy trunk to community-any Added: impacket/repos/community-any/PKGBUILD (from rev 534237, impacket/trunk/PKGBUILD) Deleted: impacket/repos/community-any/PKGBUILD --+ PKGBUILD | 90 +++-- 1 file changed, 47 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-27 23:05:30 UTC (rev 534237) +++ PKGBUILD2019-11-27 23:05:35 UTC (rev 534238) @@ -1,43 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sirat18 -# Contributor: Paolo Giangrandi - -pkgname=impacket -pkgver=0.9.19 -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') - -prepare() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - 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 tests/ImpactPacket -} - -package() { - 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: Copied: impacket/repos/community-any/PKGBUILD (from rev 534237, impacket/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-27 23:05:35 UTC (rev 534238) @@ -0,0 +1,47 @@ +# Maintainer: Levente Polyak +# Contributor: Sirat18 +# Contributor: Paolo Giangrandi + +pkgname=impacket +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=('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//./_} + 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 +} + +build() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + python setup.py build +} + +check() { + cd ${pkgname}-${pkgname}_${pkgver//./_}/tests + ./runall.sh +} + +package() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + python setup.py install -O1 --root="${pkgdir}" --skip-build + install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" + 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" +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in impacket/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, May 22, 2019 @ 21:40:43 Author: anthraxx Revision: 468746 archrelease: copy trunk to community-any Added: impacket/repos/community-any/PKGBUILD (from rev 468745, impacket/trunk/PKGBUILD) Deleted: impacket/repos/community-any/PKGBUILD --+ PKGBUILD | 86 ++--- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-22 21:40:39 UTC (rev 468745) +++ PKGBUILD2019-05-22 21:40:43 UTC (rev 468746) @@ -1,43 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sirat18 -# Contributor: Paolo Giangrandi - -pkgname=impacket -pkgver=0.9.18 -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=('c8ed7b45c2abbf97f722624bb28f3c9040dd15ec4b53b7128851a96f716463d7a8453cc6b9af80cd7b5693a3d868cca6c10304c90f06030a87a273a6dda57873') - -prepare() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - 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 tests/ImpactPacket -} - -package() { - 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: Copied: impacket/repos/community-any/PKGBUILD (from rev 468745, impacket/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-22 21:40:43 UTC (rev 468746) @@ -0,0 +1,43 @@ +# Maintainer: Levente Polyak +# Contributor: Sirat18 +# Contributor: Paolo Giangrandi + +pkgname=impacket +pkgver=0.9.19 +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') + +prepare() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + 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 tests/ImpactPacket +} + +package() { + 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/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, December 18, 2018 @ 18:59:45 Author: anthraxx Revision: 416683 archrelease: copy trunk to community-any Added: impacket/repos/community-any/PKGBUILD (from rev 416682, impacket/trunk/PKGBUILD) Deleted: impacket/repos/community-any/PKGBUILD --+ PKGBUILD | 86 ++--- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-12-18 18:59:40 UTC (rev 416682) +++ PKGBUILD2018-12-18 18:59:45 UTC (rev 416683) @@ -1,43 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sirat18 -# Contributor: Paolo Giangrandi - -pkgname=impacket -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' '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') - -prepare() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - 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 tests/ImpactPacket -} - -package() { - 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: Copied: impacket/repos/community-any/PKGBUILD (from rev 416682, impacket/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-12-18 18:59:45 UTC (rev 416683) @@ -0,0 +1,43 @@ +# Maintainer: Levente Polyak +# Contributor: Sirat18 +# Contributor: Paolo Giangrandi + +pkgname=impacket +pkgver=0.9.18 +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=('c8ed7b45c2abbf97f722624bb28f3c9040dd15ec4b53b7128851a96f716463d7a8453cc6b9af80cd7b5693a3d868cca6c10304c90f06030a87a273a6dda57873') + +prepare() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + 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 tests/ImpactPacket +} + +package() { + 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/repos/community-any (PKGBUILD PKGBUILD)
Date: Monday, September 3, 2018 @ 19:07:27 Author: anthraxx Revision: 376449 archrelease: copy trunk to community-any Added: impacket/repos/community-any/PKGBUILD (from rev 376448, impacket/trunk/PKGBUILD) Deleted: impacket/repos/community-any/PKGBUILD --+ PKGBUILD | 80 - 1 file changed, 43 insertions(+), 37 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-09-03 19:07:20 UTC (rev 376448) +++ PKGBUILD2018-09-03 19:07:27 UTC (rev 376449) @@ -1,37 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sirat18 -# Contributor: Paolo Giangrandi - -pkgname=impacket -pkgver=0.9.15 -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') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('31b1b059d01071319bccfc9a57b23eed175bfba61961ec425553916e7d1940ff6ef53d79ef5e43963e1b4f6037f50489ad22cd6935a53f2cd82bc5b2c6d741ce') - -prepare() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; -} - -check() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - PYTHONPATH="./impacket:${PYTHONPATH}" \ -PYTHONDONTWRITEBYTECODE=1 \ -py.test2 impacket/testcases/ImpactPacket -} - -package() { - 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: Copied: impacket/repos/community-any/PKGBUILD (from rev 376448, impacket/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-09-03 19:07:27 UTC (rev 376449) @@ -0,0 +1,43 @@ +# Maintainer: Levente Polyak +# Contributor: Sirat18 +# Contributor: Paolo Giangrandi + +pkgname=impacket +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' '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') + +prepare() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + 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 tests/ImpactPacket +} + +package() { + 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/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, July 1, 2016 @ 16:03:26 Author: anthraxx Revision: 181732 archrelease: copy trunk to community-any Added: impacket/repos/community-any/PKGBUILD (from rev 181731, impacket/trunk/PKGBUILD) Deleted: impacket/repos/community-any/PKGBUILD --+ PKGBUILD | 72 +++-- 1 file changed, 37 insertions(+), 35 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-07-01 16:03:21 UTC (rev 181731) +++ PKGBUILD2016-07-01 16:03:26 UTC (rev 181732) @@ -1,35 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sirat18 -# Contributor: Paolo Giangrandi - -pkgname=impacket -pkgver=0.9.14 -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' 'python2-pyopenssl') -checkdepends=('python2-pytest') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('8f2ac11ce2c76e11190c06868f80ceef588bbbfbb30f6574d093f371eb5d65af70ad04ee8fc2e5300c9b14c84d2f5ce6c46dc85ffe8e5003f8f8b9081c700854') - -prepare() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; -} - -check() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - PYTHONPATH="./impacket:${PYTHONPATH}" \ -PYTHONDONTWRITEBYTECODE=1 \ -py.test2 impacket/testcases/ImpactPacket -} - -package() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - python2 setup.py install -O1 --root="${pkgdir}" - install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: impacket/repos/community-any/PKGBUILD (from rev 181731, impacket/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-07-01 16:03:26 UTC (rev 181732) @@ -0,0 +1,37 @@ +# Maintainer: Levente Polyak +# Contributor: Sirat18 +# Contributor: Paolo Giangrandi + +pkgname=impacket +pkgver=0.9.15 +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') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) +sha512sums=('31b1b059d01071319bccfc9a57b23eed175bfba61961ec425553916e7d1940ff6ef53d79ef5e43963e1b4f6037f50489ad22cd6935a53f2cd82bc5b2c6d741ce') + +prepare() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; +} + +check() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + PYTHONPATH="./impacket:${PYTHONPATH}" \ +PYTHONDONTWRITEBYTECODE=1 \ +py.test2 impacket/testcases/ImpactPacket +} + +package() { + 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/repos/community-any (PKGBUILD PKGBUILD)
Date: Friday, March 4, 2016 @ 23:17:55 Author: anthraxx Revision: 164869 archrelease: copy trunk to community-any Added: impacket/repos/community-any/PKGBUILD (from rev 164868, impacket/trunk/PKGBUILD) Deleted: impacket/repos/community-any/PKGBUILD --+ PKGBUILD | 70 ++--- 1 file changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2016-03-04 22:17:48 UTC (rev 164868) +++ PKGBUILD2016-03-04 22:17:55 UTC (rev 164869) @@ -1,35 +0,0 @@ -# Maintainer: Levente Polyak -# Contributor: Sirat18 -# Contributor: Paolo Giangrandi - -pkgname=impacket -pkgver=0.9.14 -pkgrel=2 -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') -checkdepends=('python2-pytest') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) -sha512sums=('8f2ac11ce2c76e11190c06868f80ceef588bbbfbb30f6574d093f371eb5d65af70ad04ee8fc2e5300c9b14c84d2f5ce6c46dc85ffe8e5003f8f8b9081c700854') - -prepare() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; -} - -check() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - PYTHONPATH="./impacket:${PYTHONPATH}" \ -PYTHONDONTWRITEBYTECODE=1 \ -py.test2 impacket/testcases/ImpactPacket -} - -package() { - cd ${pkgname}-${pkgname}_${pkgver//./_} - python2 setup.py install -O1 --root="${pkgdir}" - install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" -} - -# vim: ts=2 sw=2 et: Copied: impacket/repos/community-any/PKGBUILD (from rev 164868, impacket/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2016-03-04 22:17:55 UTC (rev 164869) @@ -0,0 +1,35 @@ +# Maintainer: Levente Polyak +# Contributor: Sirat18 +# Contributor: Paolo Giangrandi + +pkgname=impacket +pkgver=0.9.14 +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' 'python2-pyopenssl') +checkdepends=('python2-pytest') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/CoreSecurity/impacket/archive/impacket_${pkgver//./_}.tar.gz) +sha512sums=('8f2ac11ce2c76e11190c06868f80ceef588bbbfbb30f6574d093f371eb5d65af70ad04ee8fc2e5300c9b14c84d2f5ce6c46dc85ffe8e5003f8f8b9081c700854') + +prepare() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \; +} + +check() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + PYTHONPATH="./impacket:${PYTHONPATH}" \ +PYTHONDONTWRITEBYTECODE=1 \ +py.test2 impacket/testcases/ImpactPacket +} + +package() { + cd ${pkgname}-${pkgname}_${pkgver//./_} + python2 setup.py install -O1 --root="${pkgdir}" + install -Dm 644 ChangeLog -t "${pkgdir}/usr/share/doc/${pkgname}" +} + +# vim: ts=2 sw=2 et: