[arch-commits] Commit in routersploit/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Nov 10 06:50:20 UTC 2019


    Date: Sunday, November 10, 2019 @ 06:50:19
  Author: felixonmars
Revision: 524928

add workaround for python 3.8 (https://github.com/threat9/routersploit/pull/626)

Modified:
  routersploit/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-10 06:39:44 UTC (rev 524927)
+++ PKGBUILD	2019-11-10 06:50:19 UTC (rev 524928)
@@ -13,6 +13,11 @@
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/threat9/routersploit/archive/v${pkgver}.tar.gz)
 sha512sums=('9182598105c4d1c971dc63ac24059469dd1862af204f59994cfc85012091663a85faee4c7c04cce573eef1fa91525b44a3963b8c24460d3b31595c4ef6a6c4e5')
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i 's/iteritems(attrs)/iteritems(attrs.copy())/' routersploit/core/exploit/exploit.py
+}
+
 check() {
   cd ${pkgname}-${pkgver}
   rm tests/exploits/routers/dlink/test_dns_320l_327l_rce.py



More information about the arch-commits mailing list