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

Levente Polyak anthraxx at gemini.archlinux.org
Fri Oct 1 17:37:47 UTC 2021


    Date: Friday, October 1, 2021 @ 17:37:47
  Author: anthraxx
Revision: 1026482

archrelease: copy trunk to community-x86_64

Added:
  wpscan/repos/community-x86_64/PKGBUILD
    (from rev 1026480, wpscan/trunk/PKGBUILD)
  wpscan/repos/community-x86_64/wpscan.install
    (from rev 1026480, 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	2021-10-01 17:37:46 UTC (rev 1026481)
+++ PKGBUILD	2021-10-01 17:37:47 UTC (rev 1026482)
@@ -1,57 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=3.8.18
-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=('06aa359c513ea5638c900badc38d6508e2cd46211fcf71ec615ff87a6a88cce3bfe7a4cc51e70646f5817950b7f5afad0a17b018775757b1a3d1399383fccfdc')
-b2sums=('164a71e7dba8767608f76051c66cfad488d436bbeda6fc7e5f8f482acfbeb8ca39302478f9d3f606ee4f63136386dac9a549a0ee87d0cedfc0225b2fdcb0b8e3')
-
-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 1026480, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-01 17:37:47 UTC (rev 1026482)
@@ -0,0 +1,57 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=3.8.19
+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=('68be98a57f96bdfc2df894a550d6c76f1f1b1cb61aaa31ad1770aba42eef7ea985227aacd303af571d6f0a50fba80989badb6d28671ba57a7c4457922b66c7d4')
+b2sums=('b0c8c8cc4881ac6642bcb0b51df42ea359eaedbc4400acc2873e4b37d0508138016195dfd90b2e92ed3f638c2b91d5f01b43d3c06432bb0b297aaf5001088d5b')
+
+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	2021-10-01 17:37:46 UTC (rev 1026481)
+++ wpscan.install	2021-10-01 17:37:47 UTC (rev 1026482)
@@ -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 1026480, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install	                        (rev 0)
+++ wpscan.install	2021-10-01 17:37:47 UTC (rev 1026482)
@@ -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