1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Make Perl behave nicely, and install files 644 and not 444.

With hat:	perl@
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2015-06-29 12:32:41 +00:00
parent b174df8758
commit 7397efc8f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390893
12 changed files with 72 additions and 4 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= ExtUtils-Install
PORTVERSION= 2.04
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -0,0 +1,11 @@
--- lib/ExtUtils/Install.pm.orig 2015-06-19 12:08:32 UTC
+++ lib/ExtUtils/Install.pm
@@ -809,7 +809,7 @@ sub install { #XXX OS-SPECIFIC
utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1;
- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
$mode = $mode | 0222
if $realtarget ne $targetfile;
_chmod( $mode, $targetfile, $verbose );

View File

@ -4,6 +4,7 @@
PORTNAME= perl
#PORTVERSION= ${PERL_VERSION} # XXX
DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//}
PORTREVISION= 1
CATEGORIES= lang devel perl5
# XXX
MASTER_SITES= LOCAL/mat/perl GH CPAN/../../src/5.0

View File

@ -0,0 +1,11 @@
--- cpan/ExtUtils-Install/lib/ExtUtils/Install.pm.orig 2015-06-22 12:55:33 UTC
+++ cpan/ExtUtils-Install/lib/ExtUtils/Install.pm
@@ -809,7 +809,7 @@ sub install { #XXX OS-SPECIFIC
utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1;
- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
$mode = $mode | 0222
if $realtarget ne $targetfile;
_chmod( $mode, $targetfile, $verbose );

View File

@ -3,7 +3,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VERSION}
PORTREVISION= 21
PORTREVISION= 22
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0
DIST_SUBDIR= perl

View File

@ -0,0 +1,11 @@
--- dist/ExtUtils-Install/lib/ExtUtils/Install.pm.orig 2013-03-04 15:16:21 UTC
+++ dist/ExtUtils-Install/lib/ExtUtils/Install.pm
@@ -822,7 +822,7 @@ sub install { #XXX OS-SPECIFIC
utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1;
- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
$mode = $mode | 0222
if $realtarget ne $targetfile;
_chmod( $mode, $targetfile, $verbose );

View File

@ -3,7 +3,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VERSION}
PORTREVISION= 14
PORTREVISION= 15
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0
DIST_SUBDIR= perl

View File

@ -0,0 +1,11 @@
--- dist/ExtUtils-Install/lib/ExtUtils/Install.pm.orig 2014-10-01 01:33:00 UTC
+++ dist/ExtUtils-Install/lib/ExtUtils/Install.pm
@@ -797,7 +797,7 @@ sub install { #XXX OS-SPECIFIC
utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1;
- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
$mode = $mode | 0222
if $realtarget ne $targetfile;
_chmod( $mode, $targetfile, $verbose );

View File

@ -3,7 +3,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VERSION}
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0
DIST_SUBDIR= perl

View File

@ -0,0 +1,11 @@
--- dist/ExtUtils-Install/lib/ExtUtils/Install.pm.orig 2014-12-27 11:49:23 UTC
+++ dist/ExtUtils-Install/lib/ExtUtils/Install.pm
@@ -808,7 +808,7 @@ sub install { #XXX OS-SPECIFIC
utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1;
- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
$mode = $mode | 0222
if $realtarget ne $targetfile;
_chmod( $mode, $targetfile, $verbose );

View File

@ -3,6 +3,7 @@
PORTNAME= perl
DISTVERSION= ${PERL_VERSION}
PORTREVISION= 1
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/R/RJ/RJBS
DIST_SUBDIR= perl

View File

@ -0,0 +1,11 @@
--- cpan/ExtUtils-Install/lib/ExtUtils/Install.pm.orig 2015-06-19 11:34:20 UTC
+++ cpan/ExtUtils-Install/lib/ExtUtils/Install.pm
@@ -809,7 +809,7 @@ sub install { #XXX OS-SPECIFIC
utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1;
- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
$mode = $mode | 0222
if $realtarget ne $targetfile;
_chmod( $mode, $targetfile, $verbose );