[arch-commits] Commit in impacket/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Mar 28 15:25:53 UTC 2020


    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
===================================================================
--- PKGBUILD	2020-03-28 15:25:44 UTC (rev 605216)
+++ PKGBUILD	2020-03-28 15:25:51 UTC (rev 605217)
@@ -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.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)
+++ PKGBUILD	2020-03-28 15:25:51 UTC (rev 605217)
@@ -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.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:



More information about the arch-commits mailing list