[arch-commits] Commit in wpscan/repos/community-x86_64 (4 files)
Levente Polyak
anthraxx at archlinux.org
Wed Apr 29 08:38:26 UTC 2020
Date: Wednesday, April 29, 2020 @ 08:38:25
Author: anthraxx
Revision: 622220
archrelease: copy trunk to community-x86_64
Added:
wpscan/repos/community-x86_64/PKGBUILD
(from rev 622219, wpscan/trunk/PKGBUILD)
wpscan/repos/community-x86_64/wpscan.install
(from rev 622219, wpscan/trunk/wpscan.install)
Deleted:
wpscan/repos/community-x86_64/PKGBUILD
wpscan/repos/community-x86_64/wpscan.install
----------------+
PKGBUILD | 108 +++++++++++++++++++++++++++----------------------------
wpscan.install | 18 ++++-----
2 files changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-29 08:38:21 UTC (rev 622219)
+++ PKGBUILD 2020-04-29 08:38:25 UTC (rev 622220)
@@ -1,54 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=3.7.11
-pkgrel=3
-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')
-options=('!strip' '!emptydirs')
-install=wpscan.install
-source=(https://github.com/wpscanteam/wpscan/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('f493e427d88b8f24d3f8187fead34ffe5b01ce67af6d42bc9c538a5c6781a33c')
-sha512sums=('383d7213603375fd335dc29a8cf915c32786605363545877010caa5107a85e707d59473bc5d414ed401941994320fb80fb5052850b7aff04887e23e549fdfa38')
-
-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}"
- find "${pkgdir}" \( -name gem_make.out -or -name mkmf.log \) -delete
- rm -r "${pkgdir}"/opt/wpscan/vendor/bundle/ruby/*/cache
-}
-
-# vim: ts=2 sw=2 et:
Copied: wpscan/repos/community-x86_64/PKGBUILD (from rev 622219, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-29 08:38:25 UTC (rev 622220)
@@ -0,0 +1,54 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=3.8.1
+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')
+options=('!strip' '!emptydirs')
+install=wpscan.install
+source=(https://github.com/wpscanteam/wpscan/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('65d2021d79419a6b54a1a8f60d8bf1b89573fd3bba25096ac35dc751532429ab7b6a7217244f80fed2f1e549382ef5804ab9d23c533f42d27d478cbc24c022ff')
+b2sums=('ef99dbd377dc50bd01ce090f43ac22d48bac428ba33b02ca95c122b86f48c10a34672374694929efeb53a106dc8af30e6880b4018cde12c8c019f652b3ad12f5')
+
+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}"
+ find "${pkgdir}" \( -name gem_make.out -or -name mkmf.log \) -delete
+ rm -r "${pkgdir}"/opt/wpscan/vendor/bundle/ruby/*/cache
+}
+
+# vim: ts=2 sw=2 et:
Deleted: wpscan.install
===================================================================
--- wpscan.install 2020-04-29 08:38:21 UTC (rev 622219)
+++ wpscan.install 2020-04-29 08:38:25 UTC (rev 622220)
@@ -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 622219, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install (rev 0)
+++ wpscan.install 2020-04-29 08:38:25 UTC (rev 622220)
@@ -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