diff options
| author | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-02 00:29:20 +0200 |
|---|---|---|
| committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-10-02 00:31:17 +0200 |
| commit | 021f45b632a66af1b4474c5ee50c7aa0476cd20c (patch) | |
| tree | 7e107f98472c001178162e8a82c096428df996ca /testing/ruby-ffi/ruby-ffi.post-install | |
| parent | 395f39f02c6a7df14d2b1151572e1d9b5a76a0e2 (diff) | |
| download | aports-021f45b632a66af1b4474c5ee50c7aa0476cd20c.tar.bz2 aports-021f45b632a66af1b4474c5ee50c7aa0476cd20c.tar.xz | |
testing/ruby-ffi: new aport
https://github.com/ffi/ffi
Ruby FFI library
Diffstat (limited to 'testing/ruby-ffi/ruby-ffi.post-install')
| -rw-r--r-- | testing/ruby-ffi/ruby-ffi.post-install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/ruby-ffi/ruby-ffi.post-install b/testing/ruby-ffi/ruby-ffi.post-install new file mode 100644 index 0000000000..17917cc4df --- /dev/null +++ b/testing/ruby-ffi/ruby-ffi.post-install @@ -0,0 +1,12 @@ +#!/bin/sh + +if grep -qw PaX /proc/$$/status 2>/dev/null; then + cat >&2 <<-EOF + !! + !! ruby-ffi does not work on kernel with PaX, unless you disable MPROTECT + !! for ruby binary. If you're aware of security implications, execute: + !! + !! apk add paxmark && paxmark -m /usr/bin/ruby + !! + EOF +fi |
