diff options
author | 2021-07-20 06:29:41 +0200 | |
---|---|---|
committer | 2021-07-20 06:29:41 +0200 | |
commit | f67ddbc150b06f9522c0a84a704e92d66748b0b7 (patch) | |
tree | 9fdebedc81dea2d711b3207658186748ff8daeae /app-forensics | |
parent | dev-ruby/active_model_serializers: add ruby27; EAPI 8 (diff) | |
download | graaff-f67ddbc150b06f9522c0a84a704e92d66748b0b7.tar.gz graaff-f67ddbc150b06f9522c0a84a704e92d66748b0b7.tar.bz2 graaff-f67ddbc150b06f9522c0a84a704e92d66748b0b7.zip |
app-forensics/brakeman: add 5.1.1
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <hans@degraaff.org>
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/brakeman/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/brakeman/brakeman-5.1.1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-forensics/brakeman/Manifest b/app-forensics/brakeman/Manifest index a98f841e..7919fb15 100644 --- a/app-forensics/brakeman/Manifest +++ b/app-forensics/brakeman/Manifest @@ -2,3 +2,4 @@ DIST brakeman-4.10.1.tar.gz 803153 BLAKE2B 82083f3a949ba00b4a29909163e9acc239cc9 DIST brakeman-4.9.1.tar.gz 800518 BLAKE2B c077e7ebbc33d884870d24183798c9ef3c80ccbd360689c04b985539ed503e1f42fe9c213692f1f16b68fb4ce22a921c4731723c3bf2208eee4dc80f2cc5c18c SHA512 5509172f67537b5551a8d4d957df2107840e27ade06191ff20dde2d674c83684117f3fddb33b1114101a6469cbdef162c03ea95f0dc4da0336327c67084cdf06 DIST brakeman-5.0.0.tar.gz 807394 BLAKE2B cef5d23bf4a46994649b3f67ff39d92953f13b4d3da2add482f1d55e04821fa68859863b876e4dfe8901eec4c100a48f3da13afc3f86470a47dda5c2aa9aaa84 SHA512 9df4e6412f2c571edd7c9fc2f556e80275666bc1954765eb1d87247191b8f0860d6abfe8ca1d7d4c2c5e748fc72bf9114dbe868aa4ae7bf17d058796f1151b3e DIST brakeman-5.0.4.tar.gz 808177 BLAKE2B e7ea67c6910e9b1e8cf97ba3b799027e6723df8ce9a0ba7850ac2a194c3a7fe84af87a0b2e5831b50cc43a1df9ee2aff44387f5d87deeb3ffb063d23accd7ef1 SHA512 0f8f1aeed70b09baf6a2704a701acaa5fbab41d79578a94cb71f7fdd67ed2e787cf114aa7810f4ec9946cf5b236ffcb0fa733c00b27ed5826c6d8f1f28c541a3 +DIST brakeman-5.1.1.tar.gz 817950 BLAKE2B ae5d1e6158fed422c9da0fab7e7e1fed6f03bfa0f1fd9c106ecff25d22dbedf98023a36a85e3b582f4b0c92703875770b4dc72b56e337bc70b33240e43ae6b93 SHA512 bb50451d96efeff61b29009b386faaa76254627fbd0995314fd924ca4c04ba1662df13dfd5e04e9ded0c28d0082c4970cf92618a278fe3d08e22a8f1b449b2cf diff --git a/app-forensics/brakeman/brakeman-5.1.1.ebuild b/app-forensics/brakeman/brakeman-5.1.1.ebuild new file mode 100644 index 00000000..fca8410b --- /dev/null +++ b/app-forensics/brakeman/brakeman-5.1.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +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/haml-5.1* + 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.13.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 +} |