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

Levente Polyak anthraxx at archlinux.org
Wed Jan 25 00:34:41 UTC 2017


    Date: Wednesday, January 25, 2017 @ 00:34:40
  Author: anthraxx
Revision: 208937

upgpkg: wpscan 1:2.9.2-3 (backport ruby 2.4 fix)

Modified:
  wpscan/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-24 23:30:11 UTC (rev 208936)
+++ PKGBUILD	2017-01-25 00:34:40 UTC (rev 208937)
@@ -3,7 +3,7 @@
 
 pkgname=wpscan
 pkgver=2.9.2
-pkgrel=2
+pkgrel=3
 epoch=1
 pkgdesc='Black box WordPress vulnerability scanner'
 url='http://wpscan.org'
@@ -13,8 +13,10 @@
 makedepends=('unzip')
 options=('!strip' '!emptydirs')
 install=wpscan.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wpscanteam/wpscan/archive/${pkgver}.tar.gz)
-sha512sums=('cc8ff69b4b4b7ad26a32b9627d44d9d8e647310763cf768d91eb400d86fcbbb98f7a5cd695f9f7b2df9e85d5b3c49f2336a8bcf9a14e2458ffe06e3d2be145d6')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wpscanteam/wpscan/archive/${pkgver}.tar.gz
+        ruby-2.4.patch::https://github.com/wpscanteam/wpscan/commit/f6644eebf95baea3356290ecd6364f0a4a456406.patch)
+sha512sums=('cc8ff69b4b4b7ad26a32b9627d44d9d8e647310763cf768d91eb400d86fcbbb98f7a5cd695f9f7b2df9e85d5b3c49f2336a8bcf9a14e2458ffe06e3d2be145d6'
+            '115271f8719e165daa905b169f7a5877971887b88799e0d6398724e37ae9314d7cf1e07a567701bf33520e17a021ac4dea2151468e9e1ff37f42e04606a80082')
 
 prepare() {
   cd ${pkgname}-${pkgver}
@@ -24,6 +26,8 @@
   sed "s|ROOT_DIR, 'cache'|ENV['HOME'] + '/.local/share/${pkgname}/cache'|" -i lib/common/common_helper.rb
   sed "s|ROOT_DIR, 'log.txt'|ENV['HOME'] + '/.local/share/${pkgname}/log.txt'|" -i lib/common/common_helper.rb
   bundle config build.nokogiri --use-system-libraries
+  echo 2.3.3 > .ruby-version
+  patch -p1 < "${srcdir}/ruby-2.4.patch"
 }
 
 build() {



More information about the arch-commits mailing list