Project

General

Profile

Bug #1662 » perl512.patch

Igor Kozhukhov, 2011-10-31 07:01 PM

View differences:

usr/src/cmd/perl/Makefile
20 20
#
21 21

  
22 22
#
23
# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
23 24
# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
24 25
#
25 26

  
......
31 32
clean	:= TARGET = clean
32 33
test	:= TARGET = test
33 34

  
34
# PERL_LEGACY is versions of Perl still delivered through ON
35
PERL_VERSIONS = 5.10.0
35
PERL_VERSIONS = 5.10.0 5.12
36 36

  
37 37
.PARALLEL: $(PERL_VERSIONS)
38 38

  
usr/src/cmd/perl/contrib/Sun/Solaris/PerlGcc/Makefile.PL
20 20
#
21 21

  
22 22
#
23
# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
23 24
# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
24 25
#
25 26

  
......
47 48
my $rel = qx{uname -r}; chomp($rel);
48 49
my $arch = qx{uname -p}; chomp($arch);
49 50
my $pver = sprintf('%vd', $^V);
51
my ($vmajor, $vminor, $vmicro) = split('\.', $pver);
52

  
53
$pver = $vmajor.".".$vminor;
54

  
55
# workaround for 5.10.0
56
$pver = '5.10.0' if ($pver =~ /5.10/);
50 57

  
51 58
# Figure out the appropriate Config.pm.  Use an older version if necessary.
52 59
my $perlarch = ($arch eq "sparc") ? "sun4-solaris-64int":"i86pc-solaris-64int";
usr/src/cmd/perl/skel/Makefile
33 33

  
34 34
PERL=/usr/perl5/$(PERL_VERSION)/bin/perl
35 35

  
36
PERL_MM_ARGS = INSTALLDIRS=perl CC='$(CC)' LD='$(CC)'
36
PERL_MM_ARGS = INSTALLDIRS=perl
37 37

  
38 38
# Prefix for Solaris-specific extensions that are maintained by
39 39
# Sun/Oracle.
usr/src/pkg/manifests/runtime-perl-510-module-sun-solaris.mf → usr/src/pkg/manifests/library-perl-5-sun-solaris-510.mf
20 20
#
21 21

  
22 22
#
23
# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
23 24
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24 25
#
25 26

  
......
29 30
<transform file path=.*\.(pm|bs) -> default mode 0444>
30 31
<transform file path=.*\.so -> default mode 0555>
31 32
set name=pkg.fmri \
32
    value=pkg:/runtime/perl-510/module/sun-solaris@0.5.11,$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
33
    value=pkg:/library/perl-5/sun-solaris-510@0.5.11,$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
33 34
set name=pkg.summary value="Perl 5.10.0 Sun::Solaris Modules"
34 35
set name=info.classification \
35 36
    value=org.opensolaris.category.2008:Development/Perl
......
70 71
dir path=usr/perl5/5.10.0/lib/Sun/Solaris
71 72
dir path=usr/perl5/5.10.0/lib/Sun/Solaris/BSM
72 73
dir path=usr/perl5/5.10.0/lib/Sun/Solaris/PerlGcc
73
dir path=usr/share/man
74
dir path=usr/share/man/man3perl
75 74
file path=usr/perl5/5.10.0/bin/perlgcc mode=0555
76 75
file path=usr/perl5/5.10.0/lib/PLAT-solaris-64int/Sun/Solaris/Exacct.pm
77 76
file \
......
137 136
file path=usr/perl5/5.10.0/lib/Sun/Solaris/BSM/_BSMparse.pm
138 137
file path=usr/perl5/5.10.0/lib/Sun/Solaris/PerlGcc/Config.pm
139 138
file path=usr/perl5/5.10.0/lib/Sun/Solaris/Pg.pm
140
file path=usr/share/man/man3perl/Exacct.3perl
141
file path=usr/share/man/man3perl/Exacct::Catalog.3perl
142
file path=usr/share/man/man3perl/Exacct::File.3perl
143
file path=usr/share/man/man3perl/Exacct::Object.3perl
144
file path=usr/share/man/man3perl/Exacct::Object::Group.3perl
145
file path=usr/share/man/man3perl/Exacct::Object::Item.3perl
146
file path=usr/share/man/man3perl/Kstat.3perl
147
file path=usr/share/man/man3perl/Lgrp.3perl
148
file path=usr/share/man/man3perl/Privilege.3perl
149
file path=usr/share/man/man3perl/Project.3perl
150
file path=usr/share/man/man3perl/Task.3perl
151
file path=usr/share/man/man3perl/Ucred.3perl
152 139
license cr_Sun license=cr_Sun
153 140
license usr/src/cmd/perl/THIRDPARTYLICENSE \
154 141
    license=usr/src/cmd/perl/THIRDPARTYLICENSE
usr/src/pkg/manifests/library-perl-5-sun-solaris-512.mf
1
#
2
# This file and its contents are supplied under the terms of the
3
# Common Development and Distribution License ("CDDL"), version 1.0.
4
# You may only use this file in accordance with the terms of version
5
# 1.0 of the CDDL.
6
#
7
# A full copy of the text of the CDDL should have accompanied this
8
# source.  A copy of the CDDL is also available via the Internet at
9
# http://www.illumos.org/license/CDDL.
10
#
11

  
12
#
13
# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14
#
15

  
16
$(i386_ONLY)<transform file dir path=.*PLAT.* -> edit path PLAT i86pc>
17
$(sparc_ONLY)<transform file dir path=.*PLAT.* -> edit path PLAT sun4>
18

  
19
<transform file path=.*\.(pm|bs) -> default mode 0444>
20
<transform file path=.*\.so -> default mode 0555>
21
set name=pkg.fmri \
22
    value=pkg:/library/perl-5/sun-solaris-512@0.5.11,$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
23
set name=pkg.summary value="Perl 5.12.3 Sun::Solaris Modules"
24
set name=info.classification \
25
    value=org.opensolaris.category.2008:Development/Perl
26
set name=variant.arch value=$(ARCH)
27
dir path=usr group=sys
28
dir path=usr/bin
29
dir path=usr/perl5
30
dir path=usr/perl5/5.12
31
dir path=usr/perl5/5.12/bin
32
dir path=usr/perl5/5.12/lib
33
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int
34
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun
35
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris
36
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Exacct
37
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto
38
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun
39
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris
40
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/BSM
41
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/BSM/_BSMparse
42
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct
43
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Catalog
44
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/File
45
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Object
46
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Intrs
47
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Kstat
48
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Lgrp
49
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/PerlGcc
50
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Pg
51
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Privilege
52
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Project
53
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Task
54
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Ucred
55
dir path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Utils
56
dir path=usr/perl5/5.12/lib/Sun
57
dir path=usr/perl5/5.12/lib/Sun/Solaris
58
dir path=usr/perl5/5.12/lib/Sun/Solaris/BSM
59
dir path=usr/perl5/5.12/lib/Sun/Solaris/PerlGcc
60
dir path=usr/share/man
61
dir path=usr/share/man/man3perl
62
file path=usr/perl5/5.12/bin/perlgcc mode=0555
63
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Exacct.pm
64
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Exacct/Catalog.pm
65
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Exacct/File.pm
66
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Exacct/Object.pm
67
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Intrs.pm
68
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Kstat.pm
69
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Lgrp.pm
70
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Privilege.pm
71
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Project.pm
72
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Task.pm
73
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Ucred.pm
74
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/Sun/Solaris/Utils.pm
75
file \
76
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Catalog/Catalog.bs
77
file \
78
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Catalog/Catalog.so
79
file \
80
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Exacct.bs
81
file \
82
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Exacct.so
83
file \
84
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/File/File.bs
85
file \
86
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/File/File.so
87
file \
88
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Object/Object.bs
89
file \
90
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Exacct/Object/Object.so
91
file \
92
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Intrs/Intrs.bs
93
file \
94
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Intrs/Intrs.so
95
file \
96
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Kstat/Kstat.bs
97
file \
98
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Kstat/Kstat.so
99
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Lgrp/Lgrp.bs
100
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Lgrp/Lgrp.so
101
file \
102
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Privilege/Privilege.bs
103
file \
104
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Privilege/Privilege.so
105
file \
106
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Project/Project.bs
107
file \
108
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Project/Project.so
109
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Task/Task.bs
110
file path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Task/Task.so
111
file \
112
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Ucred/Ucred.bs
113
file \
114
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Ucred/Ucred.so
115
file \
116
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Utils/Utils.bs
117
file \
118
    path=usr/perl5/5.12/lib/PLAT-solaris-64int/auto/Sun/Solaris/Utils/Utils.so
119
file path=usr/perl5/5.12/lib/Sun/Solaris/BSM/_BSMparse.pm
120
file path=usr/perl5/5.12/lib/Sun/Solaris/PerlGcc/Config.pm
121
file path=usr/perl5/5.12/lib/Sun/Solaris/Pg.pm
122
file path=usr/share/man/man3perl/Exacct.3perl
123
file path=usr/share/man/man3perl/Exacct::Catalog.3perl
124
file path=usr/share/man/man3perl/Exacct::File.3perl
125
file path=usr/share/man/man3perl/Exacct::Object.3perl
126
file path=usr/share/man/man3perl/Exacct::Object::Group.3perl
127
file path=usr/share/man/man3perl/Exacct::Object::Item.3perl
128
file path=usr/share/man/man3perl/Kstat.3perl
129
file path=usr/share/man/man3perl/Lgrp.3perl
130
file path=usr/share/man/man3perl/Privilege.3perl
131
file path=usr/share/man/man3perl/Project.3perl
132
file path=usr/share/man/man3perl/Task.3perl
133
file path=usr/share/man/man3perl/Ucred.3perl
134
license cr_Sun license=cr_Sun
135
license usr/src/cmd/perl/THIRDPARTYLICENSE \
136
    license=usr/src/cmd/perl/THIRDPARTYLICENSE
137
depend fmri=runtime/perl-512 type=require
usr/src/pkg/manifests/library-perl-5-sun-solaris.mf
1
#
2
# This file and its contents are supplied under the terms of the
3
# Common Development and Distribution License ("CDDL"), version 1.0.
4
# You may only use this file in accordance with the terms of version
5
# 1.0 of the CDDL.
6
#
7
# A full copy of the text of the CDDL should have accompanied this
8
# source.  A copy of the CDDL is also available via the Internet at
9
# http://www.illumos.org/license/CDDL.
10
#
11

  
12
#
13
# Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
14
#
15

  
16
set name=pkg.fmri \
17
    value=pkg:/library/perl-5/sun-solaris@0.5.11,$(PKGVERS_BUILTON)-$(PKGVERS_BRANCH)
18
set name=pkg.summary value="Perl 5 Sun::Solaris Modules"
19
set name=info.classification \
20
    value=org.opensolaris.category.2008:Development/Perl
21
set name=variant.arch value=$(ARCH)
22
license cr_Sun license=cr_Sun
23
license usr/src/cmd/perl/THIRDPARTYLICENSE \
24
    license=usr/src/cmd/perl/THIRDPARTYLICENSE
25
depend fmri=library/perl-5/sun-solaris-510 type=require
26
depend fmri=library/perl-5/sun-solaris-512 type=require
(2-2/3)