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

Levente Polyak anthraxx at archlinux.org
Sat Jan 12 01:43:01 UTC 2019


    Date: Saturday, January 12, 2019 @ 01:43:00
  Author: anthraxx
Revision: 422713

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-12 01:42:54 UTC (rev 422712)
+++ PKGBUILD	2019-01-12 01:43:00 UTC (rev 422713)
@@ -1,49 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=3.4.0
-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' 'libxml2')
-options=('!strip' '!emptydirs')
-install=wpscan.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wpscanteam/wpscan/archive/v${pkgver}.tar.gz)
-sha256sums=('ac47cef6dd86629cdda74406ef953c6297fcf1a310c815962b24469f0479e757')
-sha512sums=('5a8c8d073dbde45164d1b46941cd7d27d5f09ff4d254bc3d89a5e991bd44e2fd71a28489fa36f58196692138f90028fd1cba3cb9c4a6953b6d9bac7d2fcdd792')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  sed -i '/bundler/ s|~>|>=|g' $pkgname.gemspec
-  bundle config build.nokogiri --use-system-libraries
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  CFLAGS+=" -I/usr/include/libxml2"
-  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/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}"
-  find "${pkgdir}" \( -name gem_make.out -or -name mkmf.log \) -delete
-}
-
-# vim: ts=2 sw=2 et:

Copied: wpscan/repos/community-x86_64/PKGBUILD (from rev 422712, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-12 01:43:00 UTC (rev 422713)
@@ -0,0 +1,49 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=3.4.3
+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' 'libxml2')
+options=('!strip' '!emptydirs')
+install=wpscan.install
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wpscanteam/wpscan/archive/v${pkgver}.tar.gz)
+sha256sums=('91310005eb702ba79a410878a0c4e6a20ed965b753ffbb6a085f188a9461b5db')
+sha512sums=('fe80f455463c706bb0783f74c5fb8722c2665803edb7314634b4011517d95bf70a68f92b7bbb17528813577f2fabab11bea97e58f160ab8b50bc2473a104ed17')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i '/bundler/ s|~>|>=|g' $pkgname.gemspec
+  bundle config build.nokogiri --use-system-libraries
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  CFLAGS+=" -I/usr/include/libxml2"
+  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/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}"
+  find "${pkgdir}" \( -name gem_make.out -or -name mkmf.log \) -delete
+}
+
+# vim: ts=2 sw=2 et:

Deleted: wpscan.install
===================================================================
--- wpscan.install	2019-01-12 01:42:54 UTC (rev 422712)
+++ wpscan.install	2019-01-12 01:43:00 UTC (rev 422713)
@@ -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 422712, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install	                        (rev 0)
+++ wpscan.install	2019-01-12 01:43:00 UTC (rev 422713)
@@ -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