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

Levente Polyak anthraxx at archlinux.org
Mon Jul 16 22:56:44 UTC 2018


    Date: Monday, July 16, 2018 @ 22:56:44
  Author: anthraxx
Revision: 360302

archrelease: copy trunk to community-x86_64

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

----------------+
 PKGBUILD       |  105 +++++++++++++++++++++++++++----------------------------
 wpscan.install |   18 ++++-----
 2 files changed, 62 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-16 22:56:35 UTC (rev 360301)
+++ PKGBUILD	2018-07-16 22:56:44 UTC (rev 360302)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=2.9.4
-pkgrel=1
-epoch=1
-pkgdesc='Black box WordPress vulnerability scanner'
-url='http://wpscan.org'
-arch=('x86_64')
-license=('custom:WPScan')
-depends=('ruby-bundler' 'libxslt' 'libyaml' 'curl')
-makedepends=('unzip')
-options=('!strip' '!emptydirs')
-install=wpscan.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wpscanteam/wpscan/archive/${pkgver}.tar.gz)
-sha256sums=('ad066b48565e82208d5e0451891366f6a9b9a3648d149d14c83d00f4712094d3')
-sha512sums=('1ca5fd2e8bc5a7a368576351bce465039a7fdcea33d4abe86a168dbd2725922ae40362264a2f71e0839435e5085a9ebe74415bd3d40c316e3b4d654122a87e67')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  unzip -o data.zip
-  rm data.zip
-  # replace cache location with local user share
-  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
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  bundle install -j"$(nproc)" --path vendor/bundle --without development test
-}
-
-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/${pkgname}/${pkgname}.rb "\$@"
-EOF
-  chmod 755 "${pkgdir}/usr/bin/${pkgname}"
-
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 CHANGELOG.md DISCLAIMER.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: wpscan/repos/community-x86_64/PKGBUILD (from rev 360301, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-16 22:56:44 UTC (rev 360302)
@@ -0,0 +1,53 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=2.9.4
+pkgrel=2
+epoch=1
+pkgdesc='Black box WordPress vulnerability scanner'
+url='http://wpscan.org'
+arch=('x86_64')
+license=('custom:WPScan')
+depends=('ruby-bundler' 'libxslt' 'libyaml' 'curl')
+makedepends=('unzip')
+options=('!strip' '!emptydirs')
+install=wpscan.install
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wpscanteam/wpscan/archive/${pkgver}.tar.gz)
+sha256sums=('ad066b48565e82208d5e0451891366f6a9b9a3648d149d14c83d00f4712094d3')
+sha512sums=('1ca5fd2e8bc5a7a368576351bce465039a7fdcea33d4abe86a168dbd2725922ae40362264a2f71e0839435e5085a9ebe74415bd3d40c316e3b4d654122a87e67')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  unzip -o data.zip
+  rm data.zip
+  # replace cache location with local user share
+  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
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  bundle install -j"$(nproc)" --path vendor/bundle --without development test
+}
+
+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/${pkgname}/${pkgname}.rb "\$@"
+EOF
+  chmod 755 "${pkgdir}/usr/bin/${pkgname}"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 CHANGELOG.md DISCLAIMER.md README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  find "${pkgdir}" -name gem_make.out -delete
+}
+
+# vim: ts=2 sw=2 et:

Deleted: wpscan.install
===================================================================
--- wpscan.install	2018-07-16 22:56:35 UTC (rev 360301)
+++ wpscan.install	2018-07-16 22:56:44 UTC (rev 360302)
@@ -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 360301, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install	                        (rev 0)
+++ wpscan.install	2018-07-16 22:56:44 UTC (rev 360302)
@@ -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