beef: 0.5.0.0 bump, wip

This commit is contained in:
blshkv 2020-02-19 07:53:55 +08:00
parent 94b94d1718
commit 9ae70a665c
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
7 changed files with 60 additions and 21 deletions

View file

@ -0,0 +1 @@
DIST hashie-forbidden_attributes-0.1.1.gem 14848 BLAKE2B 9fc101bc6975ae95a55fd2069cbb751a749873e87745b8d3565154f2410ceac3186c50fc5ccd0fde5069db5914dc555b6b83a1c04ec1efe7c9e08faf6b0a4cc7 SHA512 ea7ff895fc3ededf4257f33ddb2bdac9bdacbe051107721ee40970338f6a13431b55cd01807523d6468c458ec552d7b0c2d1b4f327d133d057fb143c0389aed4

View file

@ -0,0 +1,17 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby24 ruby25 ruby26"
inherit ruby-fakegem
DESCRIPTION="Automatic strong parameter detection with Hashie and Forbidden Attributes"
HOMEPAGE="https://rubygems.org/gems/hashie-forbidden_attributes"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_rdepend "dev-ruby/hashie:3"

View file

@ -0,0 +1 @@
DIST otr-activerecord-1.4.1.gem 9216 BLAKE2B ffba98479b3fea285c54a85c994a23e2083aeb39b57a89edd33648d197fdc936a808a0ce55cb3ffe50d6d758b284313dad3d2fbe08f3d6fe26ead206f79c35c9 SHA512 4359277b30a2262e2edc4e79277755106c7e08fbd010f84040a28bad19f07ba0dff5c9de57bcd8aff65f098dc81c65d757ba9547726c6f4ff92d1b718c628ee4

View file

@ -0,0 +1,21 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby24 ruby25 ruby26"
inherit ruby-fakegem
DESCRIPTION="Off The Rails ActiveRecord: Use ActiveRecord with Grape, Sinatra, Rack"
HOMEPAGE="https://rubygems.org/gems/otr-activerecord"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
ruby_add_rdepend "
|| ( dev-ruby/activerecord:4.2 dev-ruby/activerecord:5.2 dev-ruby/activerecord:6.0 )
dev-ruby/hashie-forbidden_attributes
"

View file

@ -201,6 +201,10 @@ dev-ruby/msfrpc-client
=www-servers/thin-1.6*
=dev-ruby/parseconfig-1.0*
dev-ruby/uglifier:4
#pentoo
dev-ruby/otr-activerecord
dev-ruby/hashie-forbidden_attributes
dev-ruby/hashie:3
~dev-ruby/execjs-2.5.2
~dev-ruby/rubydns-1.0.3

View file

@ -1 +1 @@
DIST beef-0.4.7.3.tar.gz 4646822 BLAKE2B f3631fb2c5ad62b201ed7db766db286ad0a1dcf46acab62ba3de47701ee284899c197a3f0092c0db7970b97f0991d5a4ce3e3f89056b1b56efb30bb9c2b802b0 SHA512 d1bb265dcfcfc63b4708d6c9072e96e40c4ae14d78e546fb58c9d0880461f5f692498944e99f392e2375a892e990eca0c52512ae1783873e019aeaf4eb651dcc
DIST beef-0.5.0.0.tar.gz 4646370 BLAKE2B 593516de61c4fd7a564bc8001f60b0a9659d3a5e5d8bdaa45335b1410e46b02ff4eb4da201bd195b5ebc9136409a22df4bc5797cdc2f4ebf5a8a09b9ffe4cad8 SHA512 a8d448fa4a996b875fd6ee0ed442423f9e5363585de80cce3a6d880aeffd17c286d165751e3edd273ad01ee680411a2d7affad44e2cc7a62b04b52ad0bf170c1

View file

@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
USE_RUBY="ruby24 ruby25 ruby26"
inherit eutils ruby-single
@ -11,23 +11,25 @@ RESTRICT="test"
DESCRIPTION="Browser exploitation framework"
HOMEPAGE="http://beefproject.com/"
#MY_COMMIT="d237c95465a1ad4065cdbdd3972b637f3f93341b"
SRC_URI="https://github.com/beefproject/${PN}/archive/${P}.tar.gz -> ${P}.tar.gz"
#https://github.com/beefproject/beef/archive/beef-0.4.7.1.tar.gz
SRC_URI="https://github.com/beefproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="AGPL-3"
KEYWORDS="~amd64 ~x86"
#WIP
#KEYWORDS="~amd64 ~x86"
IUSE="qrcode dns +network geoip notifications +msf +sqlite"
#ruby_add_bdepend "test? ( virtual/ruby-test-unit )"
IUSE="qrcode dns geoip notifications +msf +sqlite"
#we use bundler in the ebuild, it must be installed first but it's not an rdepend
#ruby_add_bdepend "dev-ruby/bundler"
#ruby_add_rdepend "
#curl git build-essential openssl libreadline6-dev zlib1g zlib1g-dev libssl-dev
#libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev
#autoconf libc6-dev libncurses5-dev automake libtool bison nodejs ruby-dev
RDEPEND="${RUBY_DEPS}
dev-ruby/eventmachine
www-servers/thin
@ -40,19 +42,18 @@ RDEPEND="${RUBY_DEPS}
dev-ruby/execjs
dev-ruby/ansi
dev-ruby/term-ansicolor
dev-ruby/dm-core
dev-ruby/json:*
dev-ruby/data_objects
dev-ruby/rubyzip
dev-ruby/espeak-ruby
dev-ruby/nokogiri
dev-ruby/rake
sqlite? ( dev-ruby/dm-sqlite-adapter )
dev-ruby/otr-activerecord
sqlite? ( dev-ruby/sqlite3 )
dev-ruby/parseconfig
dev-ruby/erubis
dev-ruby/dm-migrations
msf? ( dev-ruby/msfrpc-client
dev-ruby/xmlrpc )"
@ -63,10 +64,8 @@ BDEPEND="${RDEPEND}
#gem 'term-ansicolor', :require => 'term/ansicolor'
#fixme: add missing deps:
#postgres? dm-postgres-adapter
#mysql? dm-mysql-adapter
#geoip? geoip
#notifications? rushover twitter
#geoip? maxmind-db
#notifications? rushover slack-notifier twitter
#dns? ( =dev-ruby/rubydns-0.7.3 )
#qr? ( qr4r )
@ -111,10 +110,6 @@ all_ruby_prepare() {
sed -i -e "/^group :ext_dns do/,/^end$/d" Gemfile || die
fi
if ! use network; then
sed -i -e "/^group :ext_network do/,/^end$/d" Gemfile || die
fi
if ! use qrcode; then
sed -i -e "/^group :ext_qrcode do/,/^end$/d" Gemfile || die
fi