[arch-commits] Commit in wpscan/repos (8 files)
Levente Polyak
anthraxx at archlinux.org
Wed Jan 25 00:34:52 UTC 2017
Date: Wednesday, January 25, 2017 @ 00:34:52
Author: anthraxx
Revision: 208938
archrelease: copy trunk to community-i686, community-x86_64
Added:
wpscan/repos/community-i686/PKGBUILD
(from rev 208937, wpscan/trunk/PKGBUILD)
wpscan/repos/community-i686/wpscan.install
(from rev 208937, wpscan/trunk/wpscan.install)
wpscan/repos/community-x86_64/PKGBUILD
(from rev 208937, wpscan/trunk/PKGBUILD)
wpscan/repos/community-x86_64/wpscan.install
(from rev 208937, wpscan/trunk/wpscan.install)
Deleted:
wpscan/repos/community-i686/PKGBUILD
wpscan/repos/community-i686/wpscan.install
wpscan/repos/community-x86_64/PKGBUILD
wpscan/repos/community-x86_64/wpscan.install
---------------------------------+
/PKGBUILD | 110 ++++++++++++++++++++++++++++++++++++++
/wpscan.install | 18 ++++++
community-i686/PKGBUILD | 51 -----------------
community-i686/wpscan.install | 9 ---
community-x86_64/PKGBUILD | 51 -----------------
community-x86_64/wpscan.install | 9 ---
6 files changed, 128 insertions(+), 120 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-01-25 00:34:40 UTC (rev 208937)
+++ community-i686/PKGBUILD 2017-01-25 00:34:52 UTC (rev 208938)
@@ -1,51 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=2.9.2
-pkgrel=2
-epoch=1
-pkgdesc='Black box WordPress vulnerability scanner'
-url='http://wpscan.org'
-arch=('i686' '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)
-sha512sums=('cc8ff69b4b4b7ad26a32b9627d44d9d8e647310763cf768d91eb400d86fcbbb98f7a5cd695f9f7b2df9e85d5b3c49f2336a8bcf9a14e2458ffe06e3d2be145d6')
-
-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.txt README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: wpscan/repos/community-i686/PKGBUILD (from rev 208937, wpscan/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-01-25 00:34:52 UTC (rev 208938)
@@ -0,0 +1,55 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=2.9.2
+pkgrel=3
+epoch=1
+pkgdesc='Black box WordPress vulnerability scanner'
+url='http://wpscan.org'
+arch=('i686' '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
+ ruby-2.4.patch::https://github.com/wpscanteam/wpscan/commit/f6644eebf95baea3356290ecd6364f0a4a456406.patch)
+sha512sums=('cc8ff69b4b4b7ad26a32b9627d44d9d8e647310763cf768d91eb400d86fcbbb98f7a5cd695f9f7b2df9e85d5b3c49f2336a8bcf9a14e2458ffe06e3d2be145d6'
+ '115271f8719e165daa905b169f7a5877971887b88799e0d6398724e37ae9314d7cf1e07a567701bf33520e17a021ac4dea2151468e9e1ff37f42e04606a80082')
+
+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
+ echo 2.3.3 > .ruby-version
+ patch -p1 < "${srcdir}/ruby-2.4.patch"
+}
+
+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.txt README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-i686/wpscan.install
===================================================================
--- community-i686/wpscan.install 2017-01-25 00:34:40 UTC (rev 208937)
+++ community-i686/wpscan.install 2017-01-25 00:34:52 UTC (rev 208938)
@@ -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-i686/wpscan.install (from rev 208937, wpscan/trunk/wpscan.install)
===================================================================
--- community-i686/wpscan.install (rev 0)
+++ community-i686/wpscan.install 2017-01-25 00:34:52 UTC (rev 208938)
@@ -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
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-01-25 00:34:40 UTC (rev 208937)
+++ community-x86_64/PKGBUILD 2017-01-25 00:34:52 UTC (rev 208938)
@@ -1,51 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: alexiobash < me (at) alexiobash (dot) com >
-
-pkgname=wpscan
-pkgver=2.9.2
-pkgrel=2
-epoch=1
-pkgdesc='Black box WordPress vulnerability scanner'
-url='http://wpscan.org'
-arch=('i686' '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)
-sha512sums=('cc8ff69b4b4b7ad26a32b9627d44d9d8e647310763cf768d91eb400d86fcbbb98f7a5cd695f9f7b2df9e85d5b3c49f2336a8bcf9a14e2458ffe06e3d2be145d6')
-
-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.txt README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: wpscan/repos/community-x86_64/PKGBUILD (from rev 208937, wpscan/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-01-25 00:34:52 UTC (rev 208938)
@@ -0,0 +1,55 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: alexiobash < me (at) alexiobash (dot) com >
+
+pkgname=wpscan
+pkgver=2.9.2
+pkgrel=3
+epoch=1
+pkgdesc='Black box WordPress vulnerability scanner'
+url='http://wpscan.org'
+arch=('i686' '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
+ ruby-2.4.patch::https://github.com/wpscanteam/wpscan/commit/f6644eebf95baea3356290ecd6364f0a4a456406.patch)
+sha512sums=('cc8ff69b4b4b7ad26a32b9627d44d9d8e647310763cf768d91eb400d86fcbbb98f7a5cd695f9f7b2df9e85d5b3c49f2336a8bcf9a14e2458ffe06e3d2be145d6'
+ '115271f8719e165daa905b169f7a5877971887b88799e0d6398724e37ae9314d7cf1e07a567701bf33520e17a021ac4dea2151468e9e1ff37f42e04606a80082')
+
+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
+ echo 2.3.3 > .ruby-version
+ patch -p1 < "${srcdir}/ruby-2.4.patch"
+}
+
+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.txt README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
Deleted: community-x86_64/wpscan.install
===================================================================
--- community-x86_64/wpscan.install 2017-01-25 00:34:40 UTC (rev 208937)
+++ community-x86_64/wpscan.install 2017-01-25 00:34:52 UTC (rev 208938)
@@ -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 208937, wpscan/trunk/wpscan.install)
===================================================================
--- community-x86_64/wpscan.install (rev 0)
+++ community-x86_64/wpscan.install 2017-01-25 00:34:52 UTC (rev 208938)
@@ -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