Page MenuHomeFreeBSD

Make Perl behave and install files with u+w.
AbandonedPublic

Authored by mat on Jun 19 2015, 12:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 3 2024, 1:20 PM
Unknown Object (File)
Oct 2 2024, 11:58 PM
Unknown Object (File)
Sep 11 2024, 11:58 AM
Unknown Object (File)
Sep 9 2024, 1:27 AM
Unknown Object (File)
Sep 7 2024, 7:30 AM
Unknown Object (File)
Dec 19 2023, 10:49 AM
Unknown Object (File)
Jul 27 2023, 5:37 PM
Unknown Object (File)
Jan 26 2023, 10:05 PM

Details

Reviewers
None
Group Reviewers
Perl

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mat retitled this revision from to Make Perl behave and install files with u+w..
mat updated this object.
mat edited the test plan for this revision. (Show Details)
mat added a reviewer: Perl.
mat set the repository for this revision to rP FreeBSD ports repository.

+1 to the spirit. Though what user would actually want to edit these installed files? Only developers likely. Though it does match everything else.

+1 to the spirit. Though what user would actually want to edit these installed files? Only developers likely. Though it does match everything else.

Well, the various INSTALL_* macros use 644/755 modes, Perl ignores those, and then, we have to do stupid stuff to go around it, like:

post-install:
        ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so
        ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Set/Object/Object.so