Diff network_interface-0.0.2-r1 with a network_interface-0.0.3
/usr/portage/dev-ruby/network_interface/network_interface-0.0.3.ebuild 2023-10-09 14:52:30.448368374 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 |
USE_RUBY="ruby30 ruby31 ruby32" |
|
7 | ||
8 |
RUBY_FAKEGEM_GEMSPEC="network_interface.gemspec" |
|
7 | 9 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
8 | 10 |
RUBY_FAKEGEM_EXTENSIONS=(ext/network_interface_ext/extconf.rb) |
9 | 11 | |
... | ... | |
11 | 13 | |
12 | 14 |
DESCRIPTION="network_interface layer from metasploit pcaprub" |
13 | 15 |
HOMEPAGE="https://github.com/rapid7/network_interface" |
16 |
SRC_URI="https://github.com/rapid7/network_interface/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
|
14 | 17 | |
15 | 18 |
LICENSE="MIT" |
16 | 19 |
SLOT="0" |
... | ... | |
21 | 24 | |
22 | 25 |
all_ruby_prepare() { |
23 | 26 |
sed -i -e 's:/sbin/ifconfig:/bin/ifconfig:' spec/spec_helper.rb || die |
27 | ||
28 |
sed --i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
|
24 | 29 |
} |