[arch-commits] Commit in wpscan/repos/community-x86_64 (4 files)
Jelle van der Waa
jelle at archlinux.org
Wed Apr 24 20:22:35 UTC 2019
Date: Wednesday, April 24, 2019 @ 20:22:34
Author: jelle
Revision: 453443
archrelease: copy trunk to community-x86_64
Added:
wpscan/repos/community-x86_64/PKGBUILD
(from rev 453442, wpscan/trunk/PKGBUILD)
wpscan/repos/community-x86_64/wpscan.install
(from rev 453442, 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-04-24 20:22:26 UTC (rev 453442)
+++ PKGBUILD 2019-04-24 20:22:34 UTC (rev 453443)
@@ -1,49 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=3.4.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' 'libxml2')
-options=('!strip' '!emptydirs')
-install=wpscan.install
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/wpscanteam/wpscan/archive/v${pkgver}.tar.gz)
-sha256sums=('ffdaf1166f7d459c0939506aaf95beb85f8f0969175894ef931abb029570fd89')
-sha512sums=('4186c4f864a3296cbf4fc13cd01b1438ce17437a5a082850af9a25981d6acfb27c20029bd6189aa78d64f834dedc5cf580e179d42fcaab139f60f9c07b221bdd')
-
-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 453442, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-24 20:22:34 UTC (rev 453443)
@@ -0,0 +1,49 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=3.5.2
+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=('b9a78987390b5e63aad2aa19c85ebcb8518ede37f0443b17b737b96f53aa1dfa')
+sha512sums=('46ceaa5f739e3ef2c43d08b1a4783ddb07254f30feda6397b5764d864684f983e7e44a29f68a0444540fd1734d5abd1637cb6fb10cda2146ee55b6c7b2be1566')
+
+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-04-24 20:22:26 UTC (rev 453442)
+++ wpscan.install 2019-04-24 20:22:34 UTC (rev 453443)
@@ -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 453442, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install (rev 0)
+++ wpscan.install 2019-04-24 20:22:34 UTC (rev 453443)
@@ -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