[arch-commits] Commit in wpscan/repos/community-x86_64 (4 files)
Levente Polyak
anthraxx at archlinux.org
Thu Aug 1 20:38:29 UTC 2019
Date: Thursday, August 1, 2019 @ 20:38:29
Author: anthraxx
Revision: 496474
archrelease: copy trunk to community-x86_64
Added:
wpscan/repos/community-x86_64/PKGBUILD
(from rev 496473, wpscan/trunk/PKGBUILD)
wpscan/repos/community-x86_64/wpscan.install
(from rev 496473, 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-08-01 20:38:22 UTC (rev 496473)
+++ PKGBUILD 2019-08-01 20:38:29 UTC (rev 496474)
@@ -1,49 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=3.6.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)
-sha256sums=('49a6dd0a361bd529a4c1fa95314b56a54db2f3bedf9a630576352f2ec0f71260')
-sha512sums=('6dd29021beb877696f8763d9b4e374d1de4d3e460995f252cf9ddfa5d640d9bfde1cd68bf5012aab1b21c51816fc66873951c8bffb11fc02faf926620db5717b')
-
-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 496473, wpscan/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-01 20:38:29 UTC (rev 496474)
@@ -0,0 +1,49 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=3.6.2
+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)
+sha256sums=('98f687f7a47e4afc310b2af73c635312f78bb3ee8f490593d2cf8318378a75a2')
+sha512sums=('7c274395b1bf48006bbdb9e2efc4803936de27ec54bdea4266af9073a844e9b8a01f345932bb4d9ba8d9e6dac6570bc0f6d95a8b6a2702cd77b62287dd461563')
+
+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-08-01 20:38:22 UTC (rev 496473)
+++ wpscan.install 2019-08-01 20:38:29 UTC (rev 496474)
@@ -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 496473, wpscan/trunk/wpscan.install)
===================================================================
--- wpscan.install (rev 0)
+++ wpscan.install 2019-08-01 20:38:29 UTC (rev 496474)
@@ -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