Commit 189e18db authored by mat's avatar mat
Browse files

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

With hat:	perl@
Sponsored by:	Absolight
parent 50b75a83
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
PORTNAME= ExtUtils-Install PORTNAME= ExtUtils-Install
PORTVERSION= 2.04 PORTVERSION= 2.04
PORTREVISION= 1 PORTREVISION= 2
CATEGORIES= devel perl5 CATEGORIES= devel perl5
MASTER_SITES= CPAN MASTER_SITES= CPAN
PKGNAMEPREFIX= p5- PKGNAMEPREFIX= p5-
......
--- 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 );
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
PORTNAME= perl PORTNAME= perl
#PORTVERSION= ${PERL_VERSION} # XXX #PORTVERSION= ${PERL_VERSION} # XXX
DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//} DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//}
PORTREVISION= 1
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
# XXX # XXX
MASTER_SITES= LOCAL/mat/perl GH CPAN/../../src/5.0 MASTER_SITES= LOCAL/mat/perl GH CPAN/../../src/5.0
......
--- 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 );
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VERSION} PORTVERSION= ${PERL_VERSION}
PORTREVISION= 21 PORTREVISION= 22
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0 MASTER_SITES= CPAN/../../src/5.0
DIST_SUBDIR= perl DIST_SUBDIR= perl
......
--- 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 );
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VERSION} PORTVERSION= ${PERL_VERSION}
PORTREVISION= 14 PORTREVISION= 15
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0 MASTER_SITES= CPAN/../../src/5.0
DIST_SUBDIR= perl DIST_SUBDIR= perl
......
--- 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 );
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
PORTNAME= perl PORTNAME= perl
PORTVERSION= ${PERL_VERSION} PORTVERSION= ${PERL_VERSION}
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0 MASTER_SITES= CPAN/../../src/5.0
DIST_SUBDIR= perl DIST_SUBDIR= perl
......
--- 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 );
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
PORTNAME= perl PORTNAME= perl
DISTVERSION= ${PERL_VERSION} DISTVERSION= ${PERL_VERSION}
PORTREVISION= 1
CATEGORIES= lang devel perl5 CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/R/RJ/RJBS MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/R/RJ/RJBS
DIST_SUBDIR= perl DIST_SUBDIR= perl
......
--- 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 );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment