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

Levente Polyak anthraxx at archlinux.org
Wed May 22 21:40:43 UTC 2019


    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
===================================================================
--- PKGBUILD	2019-05-22 21:40:39 UTC (rev 468745)
+++ PKGBUILD	2019-05-22 21:40:43 UTC (rev 468746)
@@ -1,43 +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.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)
+++ PKGBUILD	2019-05-22 21:40:43 UTC (rev 468746)
@@ -0,0 +1,43 @@
+# 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.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:


More information about the arch-commits mailing list