Skip to content

Commit

Permalink
lang/ruby23: fix #53488, correct permissions of .dylib symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
kimuraw committed Feb 6, 2017
1 parent db57a39 commit 6394e97
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lang/ruby23/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup select 1.0

name ruby23
version 2.3.3
revision 0
revision 1

categories lang ruby
maintainers kimuraw openmaintainer
Expand All @@ -25,6 +25,9 @@ master_sites ruby:2.3
use_bzip2 yes
distname ruby-${version}

# fix #53488, correct permissions of .dylib symlinks
patchfiles patch-tool-rbinstall.rb.diff

checksums md5 04b9c461a2bc1eec0535ad1947cad4fb \
rmd160 487cae3a24d7ad2cef80430efef42f8be2370a12 \
sha1 a8db9ce7f9110320f33b8325200e3ecfbd2b534b \
Expand Down
13 changes: 13 additions & 0 deletions lang/ruby23/files/patch-tool-rbinstall.rb.diff
@@ -0,0 +1,13 @@
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb (revision 57542)
+++ tool/rbinstall.rb (revision 57543)
@@ -29,7 +29,7 @@
end

STDOUT.sync = true
-File.umask(077)
+File.umask(0222)

def parse_args(argv = ARGV)
$mantype = 'doc'

0 comments on commit 6394e97

Please sign in to comment.