mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-30 10:41:01 +02:00
typhoeus: hardened workaround added for ruby19. Ruby18 is not affected
This commit is contained in:
parent
b0cca61f00
commit
ba20e1862c
2 changed files with 9 additions and 2 deletions
|
|
@ -1,2 +1,2 @@
|
|||
DIST typhoeus-0.4.2.gem 32256 SHA256 538f597364cac62efba2c022f71370c5895cde5fae68685fcb6fdb80e24f711b SHA512 81f029b01ff58245ef5afbe20ae989342b7d8332b826ea267cef6719dc386b27e07de1a90e48d215f5c0e37792e31007a0cb5f6794300d7989cdb3cdf46e1fdf WHIRLPOOL 7bec6b4c9add86a258e3e39d2aeccac5d804434394a9a2e2cf9e5c4b754916b5c2581c633539da50199f7bb9bfb2558cc58ba8f08bc8c51c82a46db50c8299d8
|
||||
EBUILD typhoeus-0.4.2.ebuild 448 SHA256 c71292d7453260f8355515bc8c94dd3d6ec6ea90bebaeb9228b70ee37b857d1b SHA512 fde22bc8441c6af5cc39e4f0f624fbccfe1f413480d7f35504b6597bb13ce1a84afb5782137b7b23d076ee7e5697053b1b6af47ee9a8f4377b4ae6a0be61fb6c WHIRLPOOL 8cf321b6d85dc9d3d5585dddd9f35f29d432c54754d6582d35e23e690de21b69c8a57504f1a8ed7b139c82af7f241e087d461c25e70ebdf7731c33bf80a544b2
|
||||
EBUILD typhoeus-0.4.2.ebuild 785 SHA256 276513c69ac3a5144de2bcd8f1543c946e09030098780660acf15f50a8b50df8 SHA512 9af2ab884e6b04b4681a369b864a52c34725c26d1d40b5ac0e0483247afe1e28dbbc934eaa20d3940e91c0ae692cd6541a55e5a2eac07196920512f4dee9ac3b WHIRLPOOL 9b96a4f6ce42a409c2366763d3e1254782a93f3cc3ec06d6aa2012971216e38269e66a189f7d98499a798e037acb9786717525bb2279abe0a74ac6d7794cbfa7
|
||||
|
|
|
|||
|
|
@ -13,7 +13,14 @@ HOMEPAGE="https://rubygems.org/gems/typhoeus"
|
|||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
IUSE="hardened"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-ffi
|
||||
>=dev-ruby/mime-types-1.18"
|
||||
|
||||
all_ruby_unpack() {
|
||||
#dev-lang/ruby might need the "hardened" flag to enforce the following:
|
||||
if use hardened; then
|
||||
paxctl -v /usr/bin/ruby19 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! Typhoeus may only work if ruby19 is MPROTECT disabled\n Please disable it if required using paxctl -m /usr/bin/ruby19'
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue