Changeset 98007


Ignore:
Timestamp:
Sep 21, 2012, 11:40:55 PM (12 years ago)
Author:
blair@…
Message:

py-logilab-common: extracted files do not have proper 'group' and 'other' perms.

$ port contents py27-logilab-common | tail -n +2 | xargs ls -l | grep w---
-rw------- 1 root wheel 3834 Jul 30 06:06 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/logilab/common/test/data/ChangeLog
-rw------- 1 root wheel 1222 Jul 30 06:06 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/logilab/common/test/data/MyPyPa-0.1.0-py2.5.egg
-rw------- 1 root wheel 206 Jul 30 06:06 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/logilab/common/test/data/MyPyPa-0.1.0.zip
...
...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-logilab-common/Portfile

    r96719 r98007  
    88if {$subport != "py24-logilab-common"} {
    99    version         0.58.2
    10     revision        1
     10    revision        2
    1111} else {
    1212    epoch           1
     
    3838
    3939if {$subport != $name} {
     40    # Extracted files do not have correct 'group' and 'other' permissions.
     41    post-extract {
     42        system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx"
     43        system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r"
     44    }
     45
    4046    post-destroot {
    4147        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
Note: See TracChangeset for help on using the changeset viewer.