summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2019-11-01 06:13:02 +0100
committerHans de Graaff <hans@degraaff.org>2019-11-01 06:13:02 +0100
commitae765caf6222decb6207daf55a067144ad8f4d14 (patch)
tree548e0548a6475982fcbf0a4989e8821410f9c5e9 /app-forensics
parentdev-ruby/tinymce-rails: add 5.1.1 (diff)
downloadgraaff-ae765caf6222decb6207daf55a067144ad8f4d14.tar.gz
graaff-ae765caf6222decb6207daf55a067144ad8f4d14.tar.bz2
graaff-ae765caf6222decb6207daf55a067144ad8f4d14.zip
app-forensics/brakeman: add 4.7.1
Package-Manager: Portage-2.3.76, Repoman-2.3.16 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-4.7.1.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/app-forensics/brakeman/Manifest b/app-forensics/brakeman/Manifest
index 3e36b656..fba292ed 100644
--- a/app-forensics/brakeman/Manifest
+++ b/app-forensics/brakeman/Manifest
@@ -1,2 +1,3 @@
DIST brakeman-4.3.1.tar.gz 631282 BLAKE2B 2a5346c9e373a79798ddaf253737a68a75398bb5721d2e4b710608403db169e28054bb3651c9cc5332f2496c5c5c5035d77cb784055b11065c3338354f52caf6 SHA512 f7c59b53c64c090840d119971610f0996130a0a2eec0d277db56d4f23018db8b4b27d997b599b085e6d51ab4e63cb62419a5c30a7b4868dbef816fce5c7c56b8
DIST brakeman-4.7.0.tar.gz 786751 BLAKE2B b7b4fb02856e16e52aa83c5cc4c594ebc6530cb66a78359e1648b335078b12d9c39c7d21ba6259890ee8e04eb7dfd76a32885f0797de1a8e1d465dae85e11146 SHA512 0b6002de6d64ebe7054b2709f2b15408ae5d6fad12c2175e79ace00d893cfb06eb054ad8a890fbfcd30cfcab62438df7e2e3ed5efa33e539214fbe055c258b16
+DIST brakeman-4.7.1.tar.gz 788840 BLAKE2B 05d718ef1cc0b640fe429ad2f28eb4b66ad8c9b6c5b23c3019dfb31018fb8ba7e30de1d95e2f5a90fb5adad0ffcd18e784549bf23004d268b597605b4bcead2d SHA512 310cc5885778e11a1fe5e2e6186fd3d6818802c110991166bf5ff8907a1aa21ccd2ef4c788137d32116df2006b435bd35b727f9fbd1a40ec4796324e0bcb83d8
diff --git a/app-forensics/brakeman/brakeman-4.7.1.ebuild b/app-forensics/brakeman/brakeman-4.7.1.ebuild
new file mode 100644
index 00000000..04722cd6
--- /dev/null
+++ b/app-forensics/brakeman/brakeman-4.7.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 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="http://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:^:#:' \
+ -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
+}