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

Levente Polyak anthraxx at archlinux.org
Sat Mar 21 19:21:22 UTC 2020


    Date: Saturday, March 21, 2020 @ 19:21:20
  Author: anthraxx
Revision: 603037

upgpkg: wpscan 1:3.7.11-2: fix bundler vendor path

Modified:
  wpscan/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 19:16:24 UTC (rev 603036)
+++ PKGBUILD	2020-03-21 19:21:20 UTC (rev 603037)
@@ -3,7 +3,7 @@
 
 pkgname=wpscan
 pkgver=3.7.11
-pkgrel=1
+pkgrel=2
 epoch=1
 pkgdesc='Black box WordPress vulnerability scanner'
 url='https://wpscan.org'
@@ -20,8 +20,8 @@
   cd ${pkgname}-${pkgver}
   sed -i '/bundler/ s|~>|>=|g' $pkgname.gemspec
   bundle config build.nokogiri --use-system-libraries
-  bundle config set path 'vendor/bundle'
-  bundle config set without 'development test'
+  bundle config set --local path vendor/bundle
+  bundle config set --local without development test
 }
 
 build() {
@@ -28,6 +28,8 @@
   cd ${pkgname}-${pkgver}
   CFLAGS+=" -I/usr/include/libxml2"
   bundle install -j"$(nproc)"
+  # reproducible builds: don't leak jobs count
+  sed '/BUNDLE_JOBS/d' -i .bundle/config
 }
 
 package() {



More information about the arch-commits mailing list