summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2022-05-02 07:24:20 +0200
committerHans de Graaff <hans@degraaff.org>2022-05-02 07:24:20 +0200
commit4b98d8e6292d027986b60e1dd5e02d9eefa10075 (patch)
tree87cc7f1ad1761ceb0c7482dd0b62df7c75605d43 /app-forensics
parentdev-ruby/dry-core: add missing metadata (diff)
downloadgraaff-4b98d8e6292d027986b60e1dd5e02d9eefa10075.tar.gz
graaff-4b98d8e6292d027986b60e1dd5e02d9eefa10075.tar.bz2
graaff-4b98d8e6292d027986b60e1dd5e02d9eefa10075.zip
app-forensics/brakeman: add 5.2.3
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/brakeman/Manifest1
-rw-r--r--app-forensics/brakeman/brakeman-5.2.3.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/app-forensics/brakeman/Manifest b/app-forensics/brakeman/Manifest
index c8d77a87..a5e1f6b6 100644
--- a/app-forensics/brakeman/Manifest
+++ b/app-forensics/brakeman/Manifest
@@ -1,3 +1,4 @@
DIST brakeman-5.1.2.tar.gz 819506 BLAKE2B 54a01568c842fdfc83088f86e11d097f4cd99049f2f24c4796fe7977f75ce37db41066d80b0519bb71e0b7e34b225eeef6c35efa1928c87e11b7c11a94197306 SHA512 05b1e64092cf6416aec0818c321924bb50b51f37d901a5e01f5bbe6b3926f773b1cbedf156b24b65274098c846596bfa3875cb43f730ed920263d72a074a8d91
DIST brakeman-5.2.1.tar.gz 833876 BLAKE2B c388ce6c046e633df28ac9f28b959fd6be2d0530932758a1743fd45ad5c20a9668cee60b402394697f3af9b53b8112c1d7ed359535c9201233ba524a59c6722d SHA512 9c769f75cb8cdd437eef9046d778db78fc33e51ca6ae3b286ec1d85d1d502bce3e564cd551f152839b77696f21084ac73925ecb1b7d53c323b87b29ceae82751
DIST brakeman-5.2.2.tar.gz 834919 BLAKE2B fc9c98d638e96aa0729bd35c8f9a6f30baeaf52d9563bce1db274582d0154147bcb359ce6213347cd6a68176935160c66f297e6094228988a00816bfa8600d4a SHA512 df65af701de8ea6586efdc08f874ceb4ab121ec540f93be7f0d04b9ca19e304a5dbb313faa155bce43acf6e1f7d60c7408fddcb36dd694a9b82d96011d944b2b
+DIST brakeman-5.2.3.tar.gz 834776 BLAKE2B 082891633a26bf947eddc1e4cfcd50a176158a505ff9d059d49a03b35f9782d8e86f6df68436bf679f45700d524cb00911e4288276729fb8550ad72852e43be7 SHA512 d4f886a15b360ec1205bf3b33a91e1aaec558c2bc7e2361a26f44d6378bd391fc619cf4a56383b752892c8b0296405771ad7de7f2a62d4dce90fa63267fbe029
diff --git a/app-forensics/brakeman/brakeman-5.2.3.ebuild b/app-forensics/brakeman/brakeman-5.2.3.ebuild
new file mode 100644
index 00000000..d3f4ad21
--- /dev/null
+++ b/app-forensics/brakeman/brakeman-5.2.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_DOCDIR="docs"
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md FEATURES OPTIONS.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="brakeman.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Static analysis tool which checks RoR applications for security vulnerabilities"
+HOMEPAGE="https://brakemanscanner.org/"
+SRC_URI="https://github.com/presidentbeef/brakeman/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BPUL"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+ >=dev-ruby/erubis-2.6
+ >=dev-ruby/haml-5.1:5
+ dev-ruby/highline:2
+ >=dev-ruby/parallel-1.20:1
+ dev-ruby/rexml
+ >=dev-ruby/ruby2ruby-2.4.0 =dev-ruby/ruby2ruby-2.4*
+ >=dev-ruby/ruby_parser-3.19.0 =dev-ruby/ruby_parser-3*
+ >=dev-ruby/safe_yaml-1.0
+ >=dev-ruby/sexp_processor-4.7:4
+ >=dev-ruby/slim-1.3.6:*
+ >=dev-ruby/terminal-table-1.4.5 =dev-ruby/terminal-table-1*"
+
+ruby_add_bdepend "test? ( dev-ruby/bundler )"
+
+all_ruby_prepare() {
+ # Avoid seemingly harmless test failure
+ sed -i -e '/test_highline/askip "gentoo"' test/tests/pager.rb || die
+
+ sed -e '/ruby_parser-legacy/ s:^:#:' \
+ -e '/minitest-ci/ s:^:#:' \
+ -e '/simplecov/ s:^:#:' \
+ -i gem_common.rb || die
+
+ sed -i -e '/rake/ s/,.*$// ; /codeclimate/ s:^:#: ; /json/ s:^:#:' Gemfile || die
+
+ # Avoid support for obsolete ruby versions
+ sed -i -e '/ruby_parser\/legacy/ s:^:#:' lib/brakeman/scanner.rb || die
+ rm -f test/tests/{markdown_output,rails2}.rb || die
+}