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

Levente Polyak anthraxx at archlinux.org
Tue Mar 23 19:29:05 UTC 2021


    Date: Tuesday, March 23, 2021 @ 19:29:04
  Author: anthraxx
Revision: 901335

archrelease: copy trunk to community-x86_64

Added:
  wpscan/repos/community-x86_64/PKGBUILD
    (from rev 901334, wpscan/trunk/PKGBUILD)
  wpscan/repos/community-x86_64/wpscan.install
    (from rev 901334, 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-03-23 19:29:00 UTC (rev 901334)
+++ PKGBUILD	2021-03-23 19:29:04 UTC (rev 901335)
@@ -1,57 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=3.8.15
-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=('cb24070e0af0fa299f871729d0354be670c20a5c9c95463ec3290f22c85b899e4f20ea7ce1d9cac3f60f64198a962d78a997120d06903eca0ced79ea0613d426')
-b2sums=('59fb180543916bb22ee34f4b2990ca7d12447803473b727de832de97e1410b863ca09aa5262c56140e20f7403410d6db0c0bd7dfa0403d5b86e7f059e63c573a')
-
-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 901334, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-23 19:29:04 UTC (rev 901335)
@@ -0,0 +1,57 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=3.8.16
+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=('fcf54ba791e2f349836360d119aaf69e345d6e4798ea598c14025e6b2e408d0dd0981dd6ad2d4f0e45f4148c7475467a4abb2547e62776c8abec5473814930b0')
+b2sums=('5171db3f4c9e39abdf839ba7d505fb66f0d090d0b8a1fdb90f8e69132880e0aa8df3dea27134c49dc07a93808fc37b2e7a735ceb84e5edc8c8bcecd819580c4a')
+
+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-03-23 19:29:00 UTC (rev 901334)
+++ wpscan.install	2021-03-23 19:29:04 UTC (rev 901335)
@@ -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 901334, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install	                        (rev 0)
+++ wpscan.install	2021-03-23 19:29:04 UTC (rev 901335)
@@ -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