diff options
author | 2020-05-13 06:57:28 +0200 | |
---|---|---|
committer | 2020-05-13 06:57:28 +0200 | |
commit | f46c36b76d5cd3597c275c995f91ed1e552a99c3 (patch) | |
tree | 10b51fdcfbbab00fd7f423802341140f2679233b /app-forensics | |
parent | dev-ruby/rubocop: add 0.83.0 (diff) | |
download | graaff-f46c36b76d5cd3597c275c995f91ed1e552a99c3.tar.gz graaff-f46c36b76d5cd3597c275c995f91ed1e552a99c3.tar.bz2 graaff-f46c36b76d5cd3597c275c995f91ed1e552a99c3.zip |
app-forensics/brakeman: add 4.8.2
Package-Manager: Portage-2.3.99, Repoman-2.3.22
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-4.8.2.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/app-forensics/brakeman/Manifest b/app-forensics/brakeman/Manifest index c29db2d2..8bb71c9f 100644 --- a/app-forensics/brakeman/Manifest +++ b/app-forensics/brakeman/Manifest @@ -1,3 +1,4 @@ DIST brakeman-4.7.2.tar.gz 790777 BLAKE2B 3c901732a29957918adb5593c577910a3dd157c6456c27f47f86e4e1c06cd87d94b583ca6725e0bc0a8c15c9aa8b901db8c4796a889d2609c705670a7f5548af SHA512 0cef8f1fffa3645f2a943af5843fcdd294d7bb9e0bc61612a78067d1e6fc9b65db60186ad4c37f268edc39260a5745e2cf310375ceaa6027a8a34766e8e2d335 DIST brakeman-4.8.0.tar.gz 791974 BLAKE2B 8fe7ec66d01320889531d5d21df7ab482549e3302cd3f7fe56271756848328e784e876608cd92c95c68bb2b2faac82ab0708f20af14439c3b8d055a301c10fe2 SHA512 ad79b94539abd6efbd72ad58188a065fd98784a069398be232a000f0ee182b7c32ccf776ff3a044d2b4724f36033d4d8a5dea0aede84903da3d611c2ea811217 DIST brakeman-4.8.1.tar.gz 792494 BLAKE2B 8142948606f023a0c97c7443049fd6a765eb52b1ee1eb3c76f2b9f5daa0674de7c5f79e7bc555bd4fdf7d3f7d84a4092cb5e78752286d0be814fe0fd7c6a55cc SHA512 a45a92ee34cf9fdc85faef31db4a155a07d7aec9af0a1139c5a123520dcd6cc3a5927bcf7f8a83be804fc6c7347e74a33b6d5da97c0a638834962f13c1d6dd8b +DIST brakeman-4.8.2.tar.gz 794638 BLAKE2B ed440d862640796de982537209c0360e21fa25f4a57b85104d4aa13b50964115f412f0d98e8ef50445b383d6fe1f3b7ff148e1a29b544926aee6717f26ae1e8e SHA512 be65503febe08d66b68c371b06f932a014716cebd7a2fa30d83f113a9f38dc4b5b9359102756543ef84f8f6e0120c2e8643b7e582962b70f69267bc3944ff915 diff --git a/app-forensics/brakeman/brakeman-4.8.2.ebuild b/app-forensics/brakeman/brakeman-4.8.2.ebuild new file mode 100644 index 00000000..ae2ffb9a --- /dev/null +++ b/app-forensics/brakeman/brakeman-4.8.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26" + +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/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 +} |