null
README revision 7c478bd95313f5f23a4c958a745db2134aa03244
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
0N/A#
1879N/A# Copyright 2001-2002 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A
0N/AThis directory contains utilities that help port and patch a standard perl
0N/A5.6.1 build directory into the ON tree. It is hoped that future ports and
0N/Apatches will be able to use the same framework, so details of the process used
0N/Afor 5.6.1 are documented here.
0N/A
0N/APorting
0N/A=======
0N/A
0N/AStep 1.
0N/AGenerate a config.sh file for both the sparc and i386 architectures. To do
0N/Athis, unpack perl 5.6.1 and then run the ConfigPerl script from inside the
1472N/Adirectory, then run 'make; make test' in the 5.6.1 directory. The resulting
1472N/Aconfig.sh file is then copied to the appropriate sparc or i386 subdirectory.
1472N/A
0N/AStep 2.
0N/AGenerate sorted lists of all the files in a stock perl 5.005_03 build
0N/Adirectory, the Solaris 8 perl 5.005_03 directory and a stock perl 5.6.1
0N/Adirectory. These are the files flist.500503, flist.s8 and flist.561
0N/Arespectively.
0N/A
0N/AStep 3.
91N/AUse the Flist script to produce a CSV file containing a first-pass attempt at
2080N/Afiguring out the mappings between a stock 5.6.1 directory and a Solaris 9 perl
0N/A5.6.1 directory. The vast bulk of these mappings are correct, but minor edits
0N/Afor new files or files that were incorrectly included in 5.005_03 will be
0N/Arequired.
0N/A
0N/AStep 4.
0N/ALoad the resulting file (Flist.csv) into a spreadsheet and manually enter
0N/Aand/or correct the details for the mappings as necessary.
0N/A
0N/AStep 5.
0N/AUse the mkcopy script to generate a ksh script which will copy all the required
0N/Afiles from a stock 5.6.1 directory into an ON workspace and issue the necessary
0N/ASCCS and Teamware commands to check them in.
2080N/A
2080N/AStep 6.
2080N/AVerify that the resulting script looks sane, then run it to perform the
0N/Aintegration. Examine the output to make sure that the integration succeeded -
0N/Aif it failed, go back to step 4.
0N/A
0N/AStep 7.
1879N/AGenerate the makefiles and associated infrastructure to build the resulting
1879N/Aperl 5.6.1 workspace. If there are any missing files or other errors, go back
0N/Ato step 4.
0N/A
1879N/AStep 8.
0N/AOn both sparc and intel run the ConfigPerl script in the stock 5.6.1
0N/Adirectory, and copy the resulting Config.sh and config.h files into the
475N/Aappropriate sparc and intel subdirectories in the ON workspace.
475N/A
475N/AStep 9.
0N/ACelebrate.
475N/A
0N/APatching
0N/A========
0N/A
0N/AStep 1.
0N/AUntar a stock perl 5.6.1 image into a clean directory, and copy the contents of
0N/Aperl/5.6.1/distrib back into it.
0N/A
0N/AStep 2.
603N/AApply the required patches to the stock directory, run ConfigPerl to configure,
821N/Afollowed by 'make regen_headers; make; make test', and make sure everything is
821N/Aclean.
821N/A
0N/AStep 3.
0N/ARun the PatchPerl script using the Flist.csv mapping file from this directory
0N/Ato check any changed files back into the workspace.
0N/A
0N/AStep 4.
0N/AFor additional architectures to the base architecture used for steps 1-3, rerun
0N/AConfigPerl on the relevant architecture and then manually copy the resulting
0N/Aconfig.sh file into the appropriate architecture directory under perl/5.6.1.
0N/A
0N/AStep 5.
0N/ABuild and test the workspace as normal. The generated perl Makefiles are
0N/Asometimes missing all the dependencies needed for incremental builds to work
0N/Acorrectly, so check that both fresh and incremental builds work.
0N/A
0N/AStep 6.
0N/AUpdate the local_patches array in distrib/patchlevel.h to include the
0N/Adescription of all the applied patches.
0N/A
0N/AFiles
0N/A=====
0N/A
0N/AA full list of the files in this directory is given below.
0N/A
0N/AConfigPerl Generates a config.sh file suitable for ON.
0N/AConfigPerlGcc Generates Config.pm and config.h files for use with gcc.
0N/AFlist Merges the 3 files below into a CSV file
0N/Aflist.500503 Sorted list of stock 5.005_03 files
0N/Aflist.561 Sorted list of stock 5.6.1 files
0N/Aflist.s8 Sorted list of 5.005_03 files as integrated into Solaris 8.
0N/AFlist.csv Merged CSV file
0N/Amkcopy Reads CSV file and generates SCCS/Teamware commands to copy
0N/A a stock 5.6.1 build directory into an ON workspace.
0N/Amkmerge Reads CSV file and generates SCCS/Teamware commands to merge
0N/A a stock 5.6.1 build directory on top of a 5.005_03 ON workspace.
0N/APatchPerl Deltas changes from a perl build directory onto an ON workspace.
0N/AREADME This file.
0N/A