[arch-commits] Commit in impacket/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Tue Mar 8 22:09:23 UTC 2022
Date: Tuesday, March 8, 2022 @ 22:09:22
Author: anthraxx
Revision: 1145622
archrelease: copy trunk to community-any
Added:
impacket/repos/community-any/PKGBUILD
(from rev 1145621, impacket/trunk/PKGBUILD)
Deleted:
impacket/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-08 22:09:18 UTC (rev 1145621)
+++ PKGBUILD 2022-03-08 22:09:22 UTC (rev 1145622)
@@ -1,47 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Sirat18 <aur at sirat18.de>
-# Contributor: Paolo Giangrandi <peoro.noob at gmail.com>
-
-pkgname=impacket
-pkgver=0.9.23
-pkgrel=2
-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=('398f006b0ecfe85aff01b77e1d6df51df482c614dfa2f24e6fc2bc5b349ffa11')
-sha512sums=('1a19621f03a4ad6a92001deeca1399582bf3a2e92ebccba214f17d563b65c4da22ea9651d2c84fcdc30ecc42103107a36ea1d14c9dd833788ab0b2c046132e45')
-
-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 1145621, impacket/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-08 22:09:22 UTC (rev 1145622)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sirat18 <aur at sirat18.de>
+# Contributor: Paolo Giangrandi <peoro.noob at gmail.com>
+
+pkgname=impacket
+pkgver=0.9.24
+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=('da3a6ff23122576d805d6841561f7de8a3edbd9e706a5acdb156d12982cae099')
+sha512sums=('4e5ca6554353c0e6d73ba9feaf93338961862cc17d176fdf7cf734306a385ecadf1febbd06cf1ddbd179de8941b52768678dbf3f86c106a27f0992aa002305c0')
+
+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.md -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:
More information about the arch-commits
mailing list