mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-04 14:36:10 +01:00
profile for ruby23 and unfork packetfu
This commit is contained in:
parent
bda2680637
commit
407d2ffc70
5 changed files with 16 additions and 127 deletions
|
|
@ -1,2 +0,0 @@
|
|||
DIST packetfu-1.1.11.gem 751104 SHA256 6ae9398fa707446e856c37f1160f3323695cd8b245732b78f281d9db8d2e2816 SHA512 c4e2a86ab331f87989e675777a7c47570afee1426007ac91387d5bd4594206c0ae9c0e180dd0f890558d46ff54d0298e89ef57bb4b433c1fea5644315d7b61b6 WHIRLPOOL 679f615c3a02597d9615bca96aab76b0aad24f9ca01cf57155bb554e2a6d23a513ba999bbf4d0ca1e556b530d7a83543ab9e25fdd4a34e1cefdc690617463054
|
||||
DIST packetfu-1.1.13.gem 769024 SHA256 94a247b056617d6b6db8b682b21e8ad5193d745e8506a335149de0ee78c2f79a SHA512 c3ee67bfd597dcd197f213361ab94c614136304d8746de45b99322c1b6878eaef7c4a2ebc19be658d891df3e7d261476def27ae14990157dc6cb466815bd6f15 WHIRLPOOL d36cc51511b0a826de8e38b57ade9745aac477ce03cddbcb68121cb0134142985f8d209295c36ec6c8f487b442da2ba84a1025c5c3a90a12f3b1aeca81bab027
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zerochaos@gentoo.org</email>
|
||||
<name>Rick Farina</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="rubygems">packetfu</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A mid-level packet manipulation library"
|
||||
HOMEPAGE="https://rubygems.org/gems/packetfu"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/network_interface:0
|
||||
dev-ruby/pcaprub:0.12
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-its-1.2.0:1 )
|
||||
dev-ruby/bundler"
|
||||
DEPEND="${DEPEND} !dev-ruby/packetfu:0"
|
||||
|
||||
all_ruby_prepare() {
|
||||
[ -f Gemfile.lock ] && rm Gemfile.lock
|
||||
#For now, we don't support development or testing at all
|
||||
#if ! use development; then
|
||||
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
|
||||
sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die
|
||||
sed -i -e "/spec.add_development_dependency/d" "${PN}".gemspec || die
|
||||
#fi
|
||||
#if ! use test; then
|
||||
sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
|
||||
#fi
|
||||
#if ! use test && ! use development; then
|
||||
sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die
|
||||
#fi
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
if [ -f Gemfile ]
|
||||
then
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
fi
|
||||
}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="A mid-level packet manipulation library"
|
||||
HOMEPAGE="https://rubygems.org/gems/packetfu"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="${PV}"
|
||||
#bettercap fails to start with this verfsion, remove keywords for now
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/pcaprub:0.12"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-its-1.2.0:1 )
|
||||
dev-ruby/bundler"
|
||||
DEPEND="${DEPEND} !dev-ruby/packetfu:0"
|
||||
|
||||
all_ruby_prepare() {
|
||||
[ -f Gemfile.lock ] && rm Gemfile.lock
|
||||
#For now, we don't support development or testing at all
|
||||
#if ! use development; then
|
||||
sed -i -e "/^group :development do/,/^end$/d" Gemfile || die
|
||||
sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die
|
||||
sed -i -e "/spec.add_development_dependency/d" "${PN}".gemspec || die
|
||||
#fi
|
||||
#if ! use test; then
|
||||
sed -i -e "/^group :test do/,/^end$/d" Gemfile || die
|
||||
#fi
|
||||
#if ! use test && ! use development; then
|
||||
sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die
|
||||
#fi
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
if [ -f Gemfile ]
|
||||
then
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
|
||||
BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
|
||||
fi
|
||||
}
|
||||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#ruby21
|
||||
~dev-ruby/racc-1.4.12
|
||||
~dev-ruby/multi_json-1.11.2
|
||||
~dev-ruby/coderay-1.1.0
|
||||
~dev-ruby/serialport-1.3.1
|
||||
~dev-ruby/hpricot-0.8.6
|
||||
|
|
@ -52,12 +51,24 @@ dev-ruby/activemodel:4.2
|
|||
=dev-ruby/bcrypt-ruby-3.1*
|
||||
dev-ruby/i18n:0.7
|
||||
~dev-ruby/memcache-client-1.8.5
|
||||
~dev-ruby/mime-types-1.19
|
||||
|
||||
#ruby23
|
||||
~dev-ruby/multi_json-1.12.1
|
||||
~dev-ruby/gherkin-4.1.1
|
||||
~dev-util/cucumber-core-1.5.0
|
||||
~dev-util/cucumber-wire-0.0.1
|
||||
~dev-ruby/unindent-1.0
|
||||
~dev-ruby/nanotest-0.9.4.1
|
||||
~dev-ruby/mime-types-2.99.2
|
||||
=dev-ruby/jsobfu-0.4.2
|
||||
~dev-ruby/builder-3.2.3
|
||||
~dev-ruby/octokit-4.7.0
|
||||
|
||||
~dev-ruby/yajl-ruby-1.1.0
|
||||
~dev-ruby/right_http_connection-1.3.0
|
||||
~dev-ruby/haml-3.1.8
|
||||
~dev-util/cucumber-1.2.1
|
||||
~dev-util/cucumber-2.4.0
|
||||
~dev-util/aruba-0.6.2
|
||||
~dev-ruby/mocha-0.12.7
|
||||
~dev-ruby/fakeweb-1.3.0
|
||||
~dev-ruby/test_declarative-0.0.5-r1
|
||||
|
|
@ -66,7 +77,6 @@ dev-ruby/i18n:0.7
|
|||
~dev-ruby/bcat-0.6.2
|
||||
~dev-ruby/childlabor-0.0.3
|
||||
~dev-ruby/timecop-0.5.2
|
||||
~dev-ruby/gherkin-2.11.6
|
||||
~dev-ruby/rr-1.0.4
|
||||
~dev-ruby/ruby_parser-2.3.1
|
||||
~dev-ruby/session-3.1.0-r1
|
||||
|
|
@ -75,6 +85,8 @@ dev-ruby/i18n:0.7
|
|||
~dev-ruby/spork-0.9.2
|
||||
|
||||
#required by metasploit-9999
|
||||
dev-ruby/windows_error
|
||||
~dev-ruby/regexp_parser-0.4.3
|
||||
dev-ruby/metasploit_payloads-mettle
|
||||
dev-ruby/rex-ole
|
||||
dev-ruby/rex-arch
|
||||
|
|
@ -87,8 +99,6 @@ dev-ruby/rex-random_identifier
|
|||
dev-ruby/rex-text
|
||||
dev-ruby/bit-struct
|
||||
~dev-ruby/sshkey-1.8.0
|
||||
=dev-ruby/jsobfu-0.2*
|
||||
=dev-ruby/jsobfu-0.3*
|
||||
=dev-ruby/minitest-5.3*
|
||||
=dev-ruby/msgpack-0.7*
|
||||
=dev-ruby/rake-10.5*
|
||||
|
|
|
|||
Loading…
Reference in a new issue