[arch-commits] Commit in wpscan/repos/community-x86_64 (4 files)

Levente Polyak anthraxx at archlinux.org
Fri Oct 16 19:59:19 UTC 2020


    Date: Friday, October 16, 2020 @ 19:59:19
  Author: anthraxx
Revision: 724921

archrelease: copy trunk to community-x86_64

Added:
  wpscan/repos/community-x86_64/PKGBUILD
    (from rev 724920, wpscan/trunk/PKGBUILD)
  wpscan/repos/community-x86_64/wpscan.install
    (from rev 724920, wpscan/trunk/wpscan.install)
Deleted:
  wpscan/repos/community-x86_64/PKGBUILD
  wpscan/repos/community-x86_64/wpscan.install

----------------+
 PKGBUILD       |  114 +++++++++++++++++++++++++++----------------------------
 wpscan.install |   18 ++++----
 2 files changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-16 19:59:15 UTC (rev 724920)
+++ PKGBUILD	2020-10-16 19:59:19 UTC (rev 724921)
@@ -1,57 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=3.8.8
-pkgrel=1
-epoch=1
-pkgdesc='Black box WordPress vulnerability scanner'
-url='https://wpscan.org'
-arch=('x86_64')
-license=('custom:WPScan')
-depends=('ruby-bundler' 'libxslt' 'libyaml' 'curl' 'libxml2')
-optdepends=('metasploit')
-options=('!strip' '!emptydirs')
-install=wpscan.install
-source=(https://github.com/wpscanteam/wpscan/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('d810d52ffd3129c909aef20b9674cf60d6700dcea98544efb0f3f259187627ada8e3bbb9432a16a83c15703d5656d3c1b758bbcd121e7da738b5c76a97c81e89')
-b2sums=('37befd3551c45bf926aa3e050d61442510242ff369023a4b271cecc88ceb9b86b1b59c5b086a059476fa02e320b7c4d54e202f65472b65edf226b3831959d08f')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed -i '/bundler/ s|~>|>=|g' $pkgname.gemspec
-  bundle config build.nokogiri --use-system-libraries
-  bundle config set --local path vendor/bundle
-  bundle config set --local without development test
-}
-
-build() {
-  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() {
-  cd ${pkgname}-${pkgver}
-
-  install -d "${pkgdir}/opt/${pkgname}"
-  cp -ra --no-preserve=owner . "${pkgdir}/opt/${pkgname}"
-
-  install -d "${pkgdir}/usr/bin"
-  cat > "${pkgdir}/usr/bin/${pkgname}" << EOF
-#!/bin/sh
-BUNDLE_GEMFILE=/opt/${pkgname}/Gemfile bundle exec ruby /opt/wpscan/bin/wpscan "\$@"
-EOF
-  chmod 755 "${pkgdir}/usr/bin/${pkgname}"
-
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-
-  cd "${pkgdir}"/opt/wpscan/vendor/bundle/ruby/*
-  rm -rf cache gems/*/{ext,lib/*/*.so} \
-    extensions/*/*/*/{mkmf.log,gem_make.out}
-}
-
-# vim: ts=2 sw=2 et:

Copied: wpscan/repos/community-x86_64/PKGBUILD (from rev 724920, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-16 19:59:19 UTC (rev 724921)
@@ -0,0 +1,57 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=3.8.9
+pkgrel=1
+epoch=1
+pkgdesc='Black box WordPress vulnerability scanner'
+url='https://wpscan.org'
+arch=('x86_64')
+license=('custom:WPScan')
+depends=('ruby-bundler' 'libxslt' 'libyaml' 'curl' 'libxml2')
+optdepends=('metasploit')
+options=('!strip' '!emptydirs')
+install=wpscan.install
+source=(https://github.com/wpscanteam/wpscan/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('23c35eca5bb7d2337adf5265d23640674d5a3c0307f790cd5b024c01e39e4dbf896e3f86489992c7af73f4bbc4472fb64d0fefe1057e4bacee4849900cfbe789')
+b2sums=('0b83cc0c62aa7b455b6e484900c0c40724eb15c2d4373d4fa05b8b06553efab5e3592ae2de35ecf450264bcfb5f2bfb793c7c586a737ee3aa25e3ac7c07efacb')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i '/bundler/ s|~>|>=|g' $pkgname.gemspec
+  bundle config build.nokogiri --use-system-libraries
+  bundle config set --local path vendor/bundle
+  bundle config set --local without development test
+}
+
+build() {
+  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() {
+  cd ${pkgname}-${pkgver}
+
+  install -d "${pkgdir}/opt/${pkgname}"
+  cp -ra --no-preserve=owner . "${pkgdir}/opt/${pkgname}"
+
+  install -d "${pkgdir}/usr/bin"
+  cat > "${pkgdir}/usr/bin/${pkgname}" << EOF
+#!/bin/sh
+BUNDLE_GEMFILE=/opt/${pkgname}/Gemfile bundle exec ruby /opt/wpscan/bin/wpscan "\$@"
+EOF
+  chmod 755 "${pkgdir}/usr/bin/${pkgname}"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  cd "${pkgdir}"/opt/wpscan/vendor/bundle/ruby/*
+  rm -rf cache gems/*/{ext,lib/*/*.so} \
+    extensions/*/*/*/{mkmf.log,gem_make.out}
+}
+
+# vim: ts=2 sw=2 et:

Deleted: wpscan.install
===================================================================
--- wpscan.install	2020-10-16 19:59:15 UTC (rev 724920)
+++ wpscan.install	2020-10-16 19:59:19 UTC (rev 724921)
@@ -1,9 +0,0 @@
-post_install() {
-  echo -n 'Updating wpscan database...'
-  /usr/bin/wpscan --update >/dev/null 2>&1
-  echo "done."
-}
-
-post_upgrade() {
-  post_install
-}

Copied: wpscan/repos/community-x86_64/wpscan.install (from rev 724920, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install	                        (rev 0)
+++ wpscan.install	2020-10-16 19:59:19 UTC (rev 724921)
@@ -0,0 +1,9 @@
+post_install() {
+  echo -n 'Updating wpscan database...'
+  /usr/bin/wpscan --update >/dev/null 2>&1
+  echo "done."
+}
+
+post_upgrade() {
+  post_install
+}



More information about the arch-commits mailing list