summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.2
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.2')
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch21
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/Configure-multilib.patch17
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/MM_Unix.pm.patch22
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/Makefile.SH.patch298
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/Makefile.patch58
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/asm-pageh-fix.patch21
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/config.sh1093
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/config.sh-3238
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-be1
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-le1
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/config.sh-6438
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-be1
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-le1
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/cross-generate_uudmap.patch15
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/arm_thread_stress_timeout.diff26
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/cpan_definstalldirs.diff37
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_config_path.diff44
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_definstalldirs.diff55
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/db_file_ver.diff34
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/deprecate-with-apt.diff406
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff30
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/doc_info.diff36
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/enc2xs_inc.diff53
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/errno_ver.diff35
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/extutils_set_libperl_path.diff23
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fakeroot.diff44
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/find_html2text.diff35
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/document_makemaker_ccflags.diff31
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/extutils-cbuilder-cflags.diff86
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/h2ph-multiarch.diff69
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff30
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff48
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/index-tainting.diff73
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/module-build-home-directory.diff37
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/net_smtp_docs.diff25
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/pod_fixes.diff145
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/respect_umask.diff153
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/sys-syslog-socket-timeout-kfreebsd.patch36
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/instmodsh_doc.diff27
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/ld_run_path.diff24
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/libnet_config_path.diff37
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/libperl_embed_doc.diff26
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/m68k_thread_stress.diff46
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/mod_paths.diff99
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/module_build_man_extensions.diff35
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/no_packlist_perllocal.diff88
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/patchlevel.diff30
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff39
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/prefix_changes.diff118
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/prune_libs.diff38
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/series40
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/skip-kfreebsd-crash.diff39
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/skip-upstream-git-tests.diff59
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/squelch-locale-warnings.diff55
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/debian/writable_site_dirs.diff36
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/fix_bad_rpath.patch24
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/generate-sh.patch48
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/installperl.patch17
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/letgcc-find-errno.patch46
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/native-nopacklist.patch82
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/native-perlinc.patch26
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/perl-configpm-switch.patch47
-rwxr-xr-xmeta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh43
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/perl-dynloader.patch34
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/perl-enable-gdbm.patch19
-rw-r--r--meta/recipes-devtools/perl/perl-5.14.2/perl-moreconfig.patch18
66 files changed, 4456 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch
new file mode 100644
index 0000000000..a80d17c8b0
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/09_fix_installperl.patch
@@ -0,0 +1,21 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Correctly identify arch-specific modules in ext/ where the .pm files
4are under lib.
5
6Ensure that POSIX/SigAction is kept with the rest of the POSIX module
7under archlib.
8
9Index: perl-5.12.3/installperl
10===================================================================
11--- perl-5.12.3.orig/installperl
12+++ perl-5.12.3/installperl
13@@ -750,7 +750,7 @@ sub installlib {
14 }
15
16 if (-f $_) {
17- if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) {
18+ if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) {
19 $installlib = $installprivlib;
20 #We're installing *.al and *.ix files into $installprivlib,
21 #but we have to delete old *.al and *.ix files from the 5.000
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/Configure-multilib.patch b/meta/recipes-devtools/perl/perl-5.14.2/Configure-multilib.patch
new file mode 100644
index 0000000000..9625b0b84e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/Configure-multilib.patch
@@ -0,0 +1,17 @@
1Upstream-Status:Pending
2
3Index: perl-5.12.3/Configure
4===================================================================
5--- perl-5.12.3.orig/Configure
6+++ perl-5.12.3/Configure
7@@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib
8 loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
9
10 : general looking path for locating libraries
11-glibpth="/lib /usr/lib $xlibpth"
12+glibpth="/lib /usr/lib /lib64 /usr/lib64 $xlibpth"
13 glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
14+test -f /usr/lib/*-linux-gnu/libc.so && glibpth="/usr/lib/*-linux-gnu $glibpth"
15 test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
16 test -f /shlib/libc.so && glibpth="/shlib $glibpth"
17 test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/MM_Unix.pm.patch b/meta/recipes-devtools/perl/perl-5.14.2/MM_Unix.pm.patch
new file mode 100644
index 0000000000..eb92ccb678
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/MM_Unix.pm.patch
@@ -0,0 +1,22 @@
1Upstream-Status:Pending
2
3The perl-native should be relocatable while re-use sstate-cache from
4another build, especially the original build was renamed/removed.
5
6To get the MakeMaker.pm works in this case, we need perl wrapper here
7instead of real perl binary.
8
9Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
10===================================================================
11--- perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.orig 2011-08-12 16:07:30.000000000 +0800
12+++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2011-08-12 16:08:56.000000000 +0800
13@@ -1019,6 +1019,9 @@
14 }
15
16 foreach my $name (@$names){
17+ # Getting MakeMaker.pm use perl wrapper instead of 'perl.real' directly
18+ $name =~ s/perl\.real/perl/ if ($name =~ /perl\.real/);
19+
20 foreach my $dir (@$dirs){
21 next unless defined $dir; # $self->{PERL_SRC} may be undefined
22 my ($abs, $val);
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/Makefile.SH.patch b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.SH.patch
new file mode 100644
index 0000000000..c9fd5e27e7
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.SH.patch
@@ -0,0 +1,298 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Index: perl-5.14.2/Makefile.SH
4===================================================================
5--- perl-5.14.2.orig/Makefile.SH
6+++ perl-5.14.2/Makefile.SH
7@@ -36,7 +36,7 @@ case "$useshrplib" in
8 true)
9 # Prefix all runs of 'miniperl' and 'perl' with
10 # $ldlibpth so that ./perl finds *this* shared libperl.
11- ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH'
12+ #ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH'
13
14 pldlflags="$cccdlflags"
15 static_ldflags=''
16@@ -114,7 +114,8 @@ true)
17 ldlibpth=''
18 ;;
19 *)
20- eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
21+# We compile in the library path in OE from cross-compile, so lets not do this
22+# eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
23 ;;
24 esac
25 # Strip off any trailing :'s
26@@ -135,18 +136,7 @@ true)
27 # INSTALL file, under "Building a shared perl library".
28 # If there is no pre-existing $libperl, we don't need
29 # to do anything further.
30- if test -f $archlib/CORE/$libperl; then
31- rm -f preload
32- cat <<'EOT' > preload
33-#! /bin/sh
34-lib=$1
35-shift
36-test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
37-exec "$@"
38-EOT
39- chmod 755 preload
40- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
41- fi
42+ echo linux libraries overwritten by cross-compile patches
43 ;;
44 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
45 ;;
46@@ -529,9 +519,19 @@ splintfiles = $(c1)
47 .c.s:
48 $(CCCMDSRC) -S $*.c
49
50-all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
51- @echo " ";
52- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
53+#all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
54+# @echo " ";
55+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
56+
57+all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(unidatafiles)
58+
59+more: $(generated_pods) $(private) $(public)
60+
61+more2: $(dynamic_ext)
62+
63+more3: $(nonxs_ext)
64+
65+more4: extras.make
66
67 .PHONY: all translators utilities
68
69@@ -539,7 +539,7 @@ all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) $(
70 # by make_patchnum.pl.
71 git_version.h: lib/Config_git.pl
72
73-lib/Config_git.pl: $(MINIPERL_EXE) make_patchnum.pl
74+lib/Config_git.pl: make_patchnum.pl
75 $(MINIPERL) make_patchnum.pl
76
77 # make sure that we recompile perl.c if the git version changes
78@@ -552,8 +552,8 @@ perl$(OBJ_EXT): git_version.h
79 # loading, we need to build perl first.
80 case "$usedl" in
81 define)
82- util_deps='$(MINIPERL_EXE) $(CONFIGPM) lib/auto/Cwd/Cwd$(DLSUFFIX) FORCE'
83- x2p_deps='$(MINIPERL_EXE) $(CONFIGPM) $(dynamic_ext) FORCE'
84+ util_deps='$(CONFIGPM) lib/auto/Cwd/Cwd$(DLSUFFIX) FORCE'
85+ x2p_deps='$(CONFIGPM) $(dynamic_ext) FORCE'
86 ;;
87 *) util_deps='$(PERL_EXE) $(CONFIGPM) FORCE'
88 x2p_deps='$(PERL_EXE) $(CONFIGPM) FORCE'
89@@ -627,7 +627,7 @@ generate_uudmap$(HOST_EXE_EXT): generate
90 miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
91 $(CCCMD) $(PLDLFLAGS) $*.c
92
93-perlmain.c: $(MINIPERL_EXE) lib/ExtUtils/Miniperl.pm
94+perlmain.c: lib/ExtUtils/Miniperl.pm
95 $(MINIPERL) -Ilib -MExtUtils::Miniperl -e 'writemain(@ARGV)' DynaLoader $(static_ext) > perlmain.c
96
97 perlmain$(OBJ_EXT): perlmain.c
98@@ -691,7 +691,7 @@ PERLEXPORT = perl.exp
99 ;;
100 esac
101 $spitshell >>$Makefile <<'!NO!SUBS!'
102-perl.exp: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH)
103+perl.exp: makedef.pl config.sh $(SYM) $(SYMH)
104 ./$(MINIPERLEXP) makedef.pl PLATFORM=aix CC_FLAGS="$(OPTIMIZE)" | sort -u | sort -f > perl.exp
105
106 !NO!SUBS!
107@@ -700,7 +700,7 @@ os2)
108 $spitshell >>$Makefile <<'!NO!SUBS!'
109 MINIPERLEXP = miniperl
110
111-perl5.def: $(MINIPERLEXP) makedef.pl config.sh $(SYM) $(SYMH) miniperl.map
112+perl5.def: makedef.pl config.sh $(SYM) $(SYMH) miniperl.map
113 ./$(MINIPERLEXP) makedef.pl PLATFORM=os2 -DPERL_DLL=$(PERL_DLL) CC_FLAGS="$(OPTIMIZE)" > perl5.def
114
115 !NO!SUBS!
116@@ -757,7 +757,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI
117 true)
118 $spitshell >>$Makefile <<'!NO!SUBS!'
119 rm -f $@
120- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
121+ $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -Wl,-soname,libperl.so.5
122 !NO!SUBS!
123 case "$osname" in
124 aix)
125@@ -798,7 +798,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
126 $(CC) -o $(MINIPERL_EXE) $(CLDFLAGS) \
127 $(mini_obj) \
128 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
129- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
130+ mv -f miniperl miniperl-target
131+ ln -s hostperl miniperl
132+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
133 !NO!SUBS!
134 ;;
135 next4*)
136@@ -806,7 +808,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
137 $(MINIPERL_EXE): $& miniperlmain$(OBJ_EXT) $(mini_obj) perlmini$(OBJ_EXT) opmini$(OBJ_EXT)
138 $(CC) -o $(MINIPERL_EXE) $(mini_obj) \
139 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
140- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
141+ mv -f miniperl miniperl-target
142+ ln -s hostperl miniperl
143+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
144 !NO!SUBS!
145 ;;
146 darwin*)
147@@ -828,7 +832,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
148 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
149 $(mini_obj) \
150 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
151- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
152+ mv -f miniperl miniperl-target
153+ ln -s hostperl miniperl
154+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
155 !NO!SUBS!
156 ;;
157 *)
158@@ -838,7 +844,10 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
159 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \
160 $(mini_obj) \
161 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
162- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
163+
164+ mv -f miniperl miniperl-target
165+ ln -s hostperl miniperl
166+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
167 !NO!SUBS!
168 ;;
169 esac
170@@ -960,7 +969,7 @@ case "${osname}" in
171 catamount)
172 $spitshell >>$Makefile <<!GROK!THIS!
173 .PHONY: makeppport
174-makeppport: \$(MINIPERL_EXE) \$(CONFIGPM)
175+makeppport: \$(CONFIGPM)
176 -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
177 (cd ext/Devel-PPPort && `pwd`/run.sh ../../$(MINIPERL_EXE) -I../../lib \$\$f); \
178 done
179@@ -970,7 +979,7 @@ makeppport: \$(MINIPERL_EXE) \$(CONFIGPM
180 *)
181 $spitshell >>$Makefile <<'!NO!SUBS!'
182 .PHONY: makeppport
183-makeppport: $(MINIPERL_EXE) $(CONFIGPM) $(nonxs_ext)
184+makeppport: $(CONFIGPM) $(nonxs_ext)
185 $(MINIPERL) $(Icwd) mkppport
186
187 !NO!SUBS!
188@@ -980,22 +989,22 @@ esac
189 $spitshell >>$Makefile <<'!NO!SUBS!'
190
191 .PHONY: preplibrary
192-preplibrary: $(MINIPERL_EXE) $(CONFIGPM) $(PREPLIBRARY_LIBPERL)
193+preplibrary: $(CONFIGPM) $(PREPLIBRARY_LIBPERL)
194
195 $(CONFIGPM_FROM_CONFIG_SH): $(CONFIGPOD)
196
197-$(CONFIGPOD): config.sh $(MINIPERL_EXE) configpm Porting/Glossary lib/Config_git.pl
198+$(CONFIGPOD): config.sh configpm Porting/Glossary lib/Config_git.pl
199 $(MINIPERL) configpm
200
201-lib/ExtUtils/Miniperl.pm: miniperlmain.c $(MINIPERL_EXE) minimod.pl $(CONFIGPM)
202+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
203 $(MINIPERL) minimod.pl > lib/ExtUtils/Miniperl.pm
204
205-lib/buildcustomize.pl: $(MINIPERL_EXE) write_buildcustomize.pl
206+lib/buildcustomize.pl: write_buildcustomize.pl
207 $(MINIPERL) write_buildcustomize.pl >lib/buildcustomize.pl
208
209 unidatafiles $(unidatafiles) pod/perluniprops.pod: uni.data
210
211-uni.data: $(MINIPERL_EXE) $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
212+uni.data: $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
213 $(MINIPERL) $(Icwd) lib/unicore/mktables -C lib/unicore -P pod -maketest -makelist -p
214 # Commented out so always runs, mktables looks at far more files than we
215 # can in this makefile to decide if needs to run or not
216@@ -1004,21 +1013,21 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) li
217 # $(PERL_EXE) and ext because buildtoc uses Text::Wrap uses re
218 # But also this ensures that all extensions are built before we try to scan
219 # them, which picks up Devel::PPPort's documentation.
220-pod/perltoc.pod: $(perltoc_pod_prereqs) $(PERL_EXE) $(ext) pod/buildtoc
221- $(RUN_PERL) -f -Ilib pod/buildtoc --build-toc -q
222+pod/perltoc.pod: $(perltoc_pod_prereqs) $(ext) pod/buildtoc
223+ $(MINIPERL) -f -Ilib pod/buildtoc --build-toc -q
224
225 pod/perlapi.pod: pod/perlintern.pod
226
227-pod/perlintern.pod: $(MINIPERL_EXE) autodoc.pl embed.fnc
228+pod/perlintern.pod: autodoc.pl embed.fnc
229 $(MINIPERL) autodoc.pl
230
231-pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST
232+pod/perlmodlib.pod: pod/perlmodlib.PL MANIFEST
233 $(MINIPERL) $(Icwd) pod/perlmodlib.PL -q
234
235 pod/perl5142delta.pod: pod/perldelta.pod
236 $(LNS) perldelta.pod pod/perl5142delta.pod
237
238-extra.pods: $(MINIPERL_EXE)
239+extra.pods:
240 -@test ! -f extra.pods || rm -f `cat extra.pods`
241 -@rm -f extra.pods
242 -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
243@@ -1058,11 +1067,7 @@ no-install:
244 INSTALL_DEPENDENCE = all
245
246 install.perl: $(INSTALL_DEPENDENCE) installperl
247- $(RUN_PERL) installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
248- -@test ! -s extras.lst || $(MAKE) extras.install
249-
250-install.man: all installman
251- $(RUN_PERL) installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
252+ ./hostperl -Ifake_config_library -Ilib -MConfig installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
253
254 # XXX Experimental. Hardwired values, but useful for testing.
255 # Eventually Configure could ask for some of these values.
256@@ -1161,16 +1166,16 @@ manicheck: FORCE
257 #
258 # DynaLoader may be needed for extensions that use Makefile.PL.
259
260-$(DYNALOADER): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary FORCE $(nonxs_ext)
261+$(DYNALOADER): lib/buildcustomize.pl preplibrary FORCE $(nonxs_ext)
262 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS)
263
264-d_dummy $(dynamic_ext): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT)
265+d_dummy $(dynamic_ext): lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT)
266 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic
267
268-s_dummy $(static_ext): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE
269+s_dummy $(static_ext): lib/buildcustomize.pl preplibrary makeppport $(DYNALOADER) FORCE
270 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS)
271
272-n_dummy $(nonxs_ext): $(MINIPERL_EXE) lib/buildcustomize.pl preplibrary FORCE
273+n_dummy $(nonxs_ext): lib/buildcustomize.pl preplibrary FORCE
274 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
275 !NO!SUBS!
276
277@@ -1365,10 +1370,10 @@ _test:
278
279 test_prep_pre: preplibrary utilities $(nonxs_ext)
280
281-test_prep: test_prep_pre $(MINIPERL_EXE) $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests x2p/s2p $(generated_pods)
282+test_prep: test_prep_pre $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests x2p/s2p $(generated_pods)
283 cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE))
284
285-test_prep_reonly: $(MINIPERL_EXE) $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL)
286+test_prep_reonly: $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL)
287 $(MINIPERL) make_ext.pl $(dynamic_ext_re) MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic
288 cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE))
289
290@@ -1459,7 +1464,7 @@ minitest.prep:
291
292 # Can't depend on lib/Config.pm because that might be where miniperl
293 # is crashing.
294-minitest: $(MINIPERL_EXE) minitest.prep
295+minitest: minitest.prep
296 - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) \
297 && $(RUN_PERL) TEST base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t op/*.t uni/*.t </dev/tty
298
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/Makefile.patch b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.patch
new file mode 100644
index 0000000000..858e2e10fb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/Makefile.patch
@@ -0,0 +1,58 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Index: perl-5.14.2/Cross/Makefile
4===================================================================
5--- perl-5.14.2.orig/Cross/Makefile
6+++ perl-5.14.2/Cross/Makefile
7@@ -1,6 +1,7 @@
8 ## Toplevel Makefile for cross-compilation of perl
9
10-export TOPDIR=${shell pwd}
11+override TOPDIR=${shell pwd}
12+export TOPDIR
13 include $(TOPDIR)/config
14 export CFLAGS
15 export SYS=$(ARCH)-$(OS)
16@@ -10,7 +11,7 @@ export OPTIMIZATION = -O2
17
18 export CC = $(CROSS)gcc
19 export CXX = $(CROSS)g++
20-export LD = $(CROSS)ld
21+export LD = $(CC)
22 export STRIP = $(CROSS)strip
23 export AR = $(CROSS)ar
24 export RANLIB = $(CROSS)ranlib
25@@ -32,17 +33,6 @@ CFLAGS+=$(FULL_OPTIMIZATION)
26 all:
27 @echo Please read the README file before doing anything else.
28
29-gen_patch:
30- diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch
31- diff -Bbur ../installperl installperl > installperl.patch
32-
33-patch:
34- cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \
35- patch -p1 < Cross/Makefile.SH.patch; \
36- patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \
37- sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
38- touch CROSS_PATCHED ; fi
39-
40 perl:
41 @echo Perl cross-build directory is $(TOPDIR)
42 @echo Target arch is $(SYS)
43@@ -52,11 +42,11 @@ perl:
44 $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
45 cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
46 cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library
47- cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
48- cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
49- cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
50+ cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
51+ cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
52+ cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
53 cd $(TOPDIR)/.. ; rm -rf install_me_here
54- cd $(TOPDIR)/.. ; make install-strip
55+# cd $(TOPDIR)/.. ; make install-strip
56 cd $(TOPDIR)/.. ; sh -x Cross/warp
57
58
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/asm-pageh-fix.patch b/meta/recipes-devtools/perl/perl-5.14.2/asm-pageh-fix.patch
new file mode 100644
index 0000000000..c65b1a1fe3
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/asm-pageh-fix.patch
@@ -0,0 +1,21 @@
1Upstream-Status:Pending
2
3Perl inclues asm/page.h in order to get the definition for getpagesize which
4has been definied in unistd.h since glibc 2.1. Some recent version of linux
5libc headers removed the asm/page.h resulting in failures here for some
6people.
7
8Index: perl-5.12.3/cpan/IPC-SysV/SysV.xs
9===================================================================
10--- perl-5.12.3.orig/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
11+++ perl-5.12.3/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
12@@ -3,9 +3,6 @@
13 #include "XSUB.h"
14
15 #include <sys/types.h>
16-#ifdef __linux__
17-# include <asm/page.h>
18-#endif
19 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
20 #ifndef HAS_SEM
21 # include <sys/ipc.h>
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh b/meta/recipes-devtools/perl/perl-5.14.2/config.sh
new file mode 100644
index 0000000000..b3e2d432c4
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh
@@ -0,0 +1,1093 @@
1#!/bin/sh
2#
3# This file was produced by running the Configure script. It holds all the
4# definitions figured out by Configure. Should you modify one of these values,
5# do not forget to propagate your changes by running "Configure -der". You may
6# instead choose to run each of the .SH files by yourself, or "Configure -S".
7#
8
9# Package name : perl5
10# Source directory : .
11# Configuration time: Thu Dec 23 03:57:51 UTC 2010
12# Configured by : Open Embedded
13# Target system : linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux
14
15: Configure command line arguments.
16config_arg0='Configure'
17config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@DESTDIR@ -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.14.2 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
18config_argc=28
19config_arg1='-des'
20config_arg2='-Doptimize=-O2'
21config_arg3='-Dmyhostname=localhost'
22config_arg4='-Dperladmin=root@localhost'
23config_arg5='-Dcc=gcc'
24config_arg6='-Dcf_by=Open Embedded'
25config_arg7='-Dinstallprefix=@DESTDIR@'
26config_arg8='-Dprefix=/usr'
27config_arg9='-Dvendorprefix=/usr'
28config_arg10='-Dsiteprefix=/usr'
29config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.14.2'
30config_arg12='-Duseshrplib'
31config_arg13='-Dusethreads'
32config_arg14='-Duseithreads'
33config_arg15='-Duselargefiles'
34config_arg16='-Ud_dosuid'
35config_arg17='-Dd_semctl_semun'
36config_arg18='-Ui_db'
37config_arg19='-Ui_ndbm'
38config_arg20='-Ui_gdbm'
39config_arg21='-Di_shadow'
40config_arg22='-Di_syslog'
41config_arg23='-Dman3ext=3pm'
42config_arg24='-Duseperlio'
43config_arg25='-Dinstallusrbinperl'
44config_arg26='-Ubincompat5005'
45config_arg27='-Uversiononly'
46config_arg28='-Dpager=/usr/bin/less -isr'
47
48Author=''
49Date='$Date'
50Header=''
51Id='$Id'
52Locker=''
53Log='$Log'
54RCSfile='$RCSfile'
55Revision='$Revision'
56Source=''
57State=''
58_a='.a'
59_exe=''
60_o='.o'
61afs='false'
62afsroot='/afs'
63ansi2knr=''
64aphostname=''
65api_revision='5'
66api_subversion='0'
67api_version='14'
68api_versionstring='5.14.0'
69ar='ar'
70archlib='/usr/lib/perl5/5.14.2/@ARCH@-thread-multi'
71archlibexp='/usr/lib/perl5/5.14.2/@ARCH@-thread-multi'
72archname64=''
73archname='@ARCH@-thread-multi'
74archobjs=''
75asctime_r_proto='REENTRANT_PROTO_B_SB'
76awk='awk'
77baserev='5.0'
78bash=''
79bin='/usr/bin'
80bin_ELF='define'
81binexp='/usr/bin'
82bison='bison'
83byacc='byacc'
84c=''
85castflags='0'
86cat='cat'
87cc='gcc'
88cccdlflags='-fPIC'
89ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.14.2/@ARCH@-thread-multi/CORE'
90ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
91ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
92ccname='gcc'
93ccsymbols=''
94ccversion=''
95cf_by='Open Embedded'
96cf_email='Open Embedded@localhost.localdomain'
97charbits='8'
98charsize='1'
99chgrp=''
100chmod='chmod'
101chown=''
102clocktype='clock_t'
103comm='comm'
104compress=''
105contains='grep'
106cp='cp'
107cpio=''
108cpp='cpp'
109cpp_stuff='42'
110cppccsymbols=''
111cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector'
112cpplast='-'
113cppminus='-'
114cpprun='gcc -E'
115cppstdin='gcc -E'
116crypt_r_proto='REENTRANT_PROTO_B_CCS'
117cryptlib=''
118csh='csh'
119ctermid_r_proto='0'
120ctime_r_proto='REENTRANT_PROTO_B_SB'
121d_Gconvert='gcvt((x),(n),(b))'
122d_PRIEUldbl='define'
123d_PRIFUldbl='define'
124d_PRIGUldbl='define'
125d_PRIXU64='define'
126d_PRId64='define'
127d_PRIeldbl='define'
128d_PRIfldbl='define'
129d_PRIgldbl='define'
130d_PRIi64='define'
131d_PRIo64='define'
132d_PRIu64='define'
133d_PRIx64='define'
134d_SCNfldbl='define'
135d__fwalk='undef'
136d_access='define'
137d_accessx='undef'
138d_aintl='undef'
139d_alarm='define'
140d_archlib='define'
141d_asctime64='undef'
142d_asctime_r='define'
143d_atolf='undef'
144d_atoll='define'
145d_attribute_deprecated='define'
146d_attribute_format='define'
147d_attribute_malloc='define'
148d_attribute_nonnull='define'
149d_attribute_noreturn='define'
150d_attribute_pure='define'
151d_attribute_unused='define'
152d_attribute_warn_unused_result='define'
153d_bcmp='define'
154d_bcopy='define'
155d_bsd='undef'
156d_bsdgetpgrp='undef'
157d_bsdsetpgrp='undef'
158d_builtin_choose_expr='define'
159d_builtin_expect='define'
160d_bzero='define'
161d_c99_variadic_macros='define'
162d_casti32='undef'
163d_castneg='define'
164d_charvspr='undef'
165d_chown='define'
166d_chroot='define'
167d_chsize='undef'
168d_class='undef'
169d_clearenv='define'
170d_closedir='define'
171d_cmsghdr_s='define'
172d_const='define'
173d_copysignl='define'
174d_cplusplus='undef'
175d_crypt='define'
176d_crypt_r='define'
177d_csh='undef'
178d_ctermid='define'
179d_ctermid_r='undef'
180d_ctime64='undef'
181d_ctime_r='define'
182d_cuserid='define'
183d_dbl_dig='define'
184d_dbminitproto='undef'
185d_difftime64='undef'
186d_difftime='define'
187d_dir_dd_fd='undef'
188d_dirfd='define'
189d_dirnamlen='undef'
190d_dlerror='define'
191d_dlopen='define'
192d_dlsymun='undef'
193d_dosuid='undef'
194d_drand48_r='define'
195d_drand48proto='define'
196d_dup2='define'
197d_eaccess='define'
198d_endgrent='define'
199d_endgrent_r='undef'
200d_endhent='define'
201d_endhostent_r='undef'
202d_endnent='define'
203d_endnetent_r='undef'
204d_endpent='define'
205d_endprotoent_r='undef'
206d_endpwent='define'
207d_endpwent_r='undef'
208d_endsent='define'
209d_endservent_r='undef'
210d_eofnblk='define'
211d_eunice='undef'
212d_faststdio='define'
213d_fchdir='define'
214d_fchmod='define'
215d_fchown='define'
216d_fcntl='define'
217d_fcntl_can_lock='define'
218d_fd_macros='define'
219d_fd_set='define'
220d_fds_bits='define'
221d_fgetpos='define'
222d_finite='define'
223d_finitel='define'
224d_flexfnam='define'
225d_flock='define'
226d_flockproto='define'
227d_fork='define'
228d_fp_class='undef'
229d_fpathconf='define'
230d_fpclass='undef'
231d_fpclassify='undef'
232d_fpclassl='undef'
233d_fpos64_t='undef'
234d_frexpl='define'
235d_fs_data_s='undef'
236d_fseeko='define'
237d_fsetpos='define'
238d_fstatfs='define'
239d_fstatvfs='define'
240d_fsync='define'
241d_ftello='define'
242d_ftime='undef'
243d_futimes='define'
244d_gdbm_ndbm_h_uses_prototypes='undef'
245d_gdbmndbm_h_uses_prototypes='undef'
246d_getaddrinfo='define'
247d_getcwd='define'
248d_getespwnam='undef'
249d_getfsstat='undef'
250d_getgrent='define'
251d_getgrent_r='define'
252d_getgrgid_r='define'
253d_getgrnam_r='define'
254d_getgrps='define'
255d_gethbyaddr='define'
256d_gethbyname='define'
257d_gethent='define'
258d_gethname='define'
259d_gethostbyaddr_r='define'
260d_gethostbyname_r='define'
261d_gethostent_r='define'
262d_gethostprotos='define'
263d_getitimer='define'
264d_getlogin='define'
265d_getlogin_r='define'
266d_getmnt='undef'
267d_getmntent='define'
268d_getnameinfo='define'
269d_getnbyaddr='define'
270d_getnbyname='define'
271d_getnent='define'
272d_getnetbyaddr_r='define'
273d_getnetbyname_r='define'
274d_getnetent_r='define'
275d_getnetprotos='define'
276d_getpagsz='define'
277d_getpbyname='define'
278d_getpbynumber='define'
279d_getpent='define'
280d_getpgid='define'
281d_getpgrp2='undef'
282d_getpgrp='define'
283d_getppid='define'
284d_getprior='define'
285d_getprotobyname_r='define'
286d_getprotobynumber_r='define'
287d_getprotoent_r='define'
288d_getprotoprotos='define'
289d_getprpwnam='undef'
290d_getpwent='define'
291d_getpwent_r='define'
292d_getpwnam_r='define'
293d_getpwuid_r='define'
294d_getsbyname='define'
295d_getsbyport='define'
296d_getsent='define'
297d_getservbyname_r='define'
298d_getservbyport_r='define'
299d_getservent_r='define'
300d_getservprotos='define'
301d_getspnam='define'
302d_getspnam_r='define'
303d_gettimeod='define'
304d_gmtime64='undef'
305d_gmtime_r='define'
306d_gnulibc='define'
307d_grpasswd='define'
308d_hasmntopt='define'
309d_htonl='define'
310d_ilogbl='define'
311d_inc_version_list='undef'
312d_index='undef'
313d_inetaton='define'
314d_inetntop='define'
315d_inetpton='define'
316d_int64_t='define'
317d_isascii='define'
318d_isfinite='undef'
319d_isinf='define'
320d_isnan='define'
321d_isnanl='define'
322d_killpg='define'
323d_lchown='define'
324d_ldbl_dig='define'
325d_libm_lib_version='define'
326d_link='define'
327d_localtime64='undef'
328d_localtime_r='define'
329d_localtime_r_needs_tzset='define'
330d_locconv='define'
331d_lockf='define'
332d_longdbl='define'
333d_longlong='define'
334d_lseekproto='define'
335d_lstat='define'
336d_madvise='define'
337d_malloc_good_size='undef'
338d_malloc_size='undef'
339d_mblen='define'
340d_mbstowcs='define'
341d_mbtowc='define'
342d_memchr='define'
343d_memcmp='define'
344d_memcpy='define'
345d_memmove='define'
346d_memset='define'
347d_mkdir='define'
348d_mkdtemp='define'
349d_mkfifo='define'
350d_mkstemp='define'
351d_mkstemps='define'
352d_mktime64='undef'
353d_mktime='define'
354d_mmap='define'
355d_modfl='define'
356d_modfl_pow32_bug='undef'
357d_modflproto='define'
358d_mprotect='define'
359d_msg='define'
360d_msg_ctrunc='define'
361d_msg_dontroute='define'
362d_msg_oob='define'
363d_msg_peek='define'
364d_msg_proxy='define'
365d_msgctl='define'
366d_msgget='define'
367d_msghdr_s='define'
368d_msgrcv='define'
369d_msgsnd='define'
370d_msync='define'
371d_munmap='define'
372d_mymalloc='undef'
373d_ndbm='undef'
374d_ndbm_h_uses_prototypes='undef'
375d_nice='define'
376d_nl_langinfo='define'
377d_nv_zero_is_allbits_zero='define'
378d_off64_t='define'
379d_old_pthread_create_joinable='undef'
380d_oldpthreads='undef'
381d_oldsock='undef'
382d_open3='define'
383d_pathconf='define'
384d_pause='define'
385d_perl_otherlibdirs='define'
386d_phostname='undef'
387d_pipe='define'
388d_poll='define'
389d_portable='define'
390d_procselfexe='define'
391d_pseudofork='undef'
392d_pthread_atfork='define'
393d_pthread_attr_setscope='define'
394d_pthread_yield='define'
395d_pwage='undef'
396d_pwchange='undef'
397d_pwclass='undef'
398d_pwcomment='undef'
399d_pwexpire='undef'
400d_pwgecos='define'
401d_pwpasswd='define'
402d_pwquota='undef'
403d_qgcvt='define'
404d_quad='define'
405d_random_r='define'
406d_readdir64_r='define'
407d_readdir='define'
408d_readdir_r='define'
409d_readlink='define'
410d_readv='define'
411d_recvmsg='define'
412d_rename='define'
413d_rewinddir='define'
414d_rmdir='define'
415d_safebcpy='undef'
416d_safemcpy='undef'
417d_sanemcmp='define'
418d_sbrkproto='define'
419d_scalbnl='define'
420d_sched_yield='define'
421d_scm_rights='define'
422d_seekdir='define'
423d_select='define'
424d_sem='define'
425d_semctl='define'
426d_semctl_semid_ds='define'
427d_semctl_semun='define'
428d_semget='define'
429d_semop='define'
430d_sendmsg='define'
431d_setegid='define'
432d_seteuid='define'
433d_setgrent='define'
434d_setgrent_r='undef'
435d_setgrps='define'
436d_sethent='define'
437d_sethostent_r='undef'
438d_setitimer='define'
439d_setlinebuf='define'
440d_setlocale='define'
441d_setlocale_r='undef'
442d_setnent='define'
443d_setnetent_r='undef'
444d_setpent='define'
445d_setpgid='define'
446d_setpgrp2='undef'
447d_setpgrp='define'
448d_setprior='define'
449d_setproctitle='undef'
450d_setprotoent_r='undef'
451d_setpwent='define'
452d_setpwent_r='undef'
453d_setregid='define'
454d_setresgid='define'
455d_setresuid='define'
456d_setreuid='define'
457d_setrgid='undef'
458d_setruid='undef'
459d_setsent='define'
460d_setservent_r='undef'
461d_setsid='define'
462d_setvbuf='define'
463d_sfio='undef'
464d_shm='define'
465d_shmat='define'
466d_shmatprototype='define'
467d_shmctl='define'
468d_shmdt='define'
469d_shmget='define'
470d_sigaction='define'
471d_signbit='define'
472d_sigprocmask='define'
473d_sigsetjmp='define'
474d_sitearch='define'
475d_snprintf='define'
476d_sockatmark='define'
477d_sockatmarkproto='define'
478d_socket='define'
479d_socklen_t='define'
480d_sockpair='define'
481d_socks5_init='undef'
482d_sprintf_returns_strlen='define'
483d_sqrtl='define'
484d_srand48_r='define'
485d_srandom_r='define'
486d_sresgproto='define'
487d_sresuproto='define'
488d_statblks='define'
489d_statfs_f_flags='undef'
490d_statfs_s='define'
491d_statvfs='define'
492d_stdio_cnt_lval='undef'
493d_stdio_ptr_lval='define'
494d_stdio_ptr_lval_nochange_cnt='undef'
495d_stdio_ptr_lval_sets_cnt='define'
496d_stdio_stream_array='undef'
497d_stdiobase='define'
498d_stdstdio='define'
499d_strchr='define'
500d_strcoll='define'
501d_strctcpy='define'
502d_strerrm='strerror(e)'
503d_strerror='define'
504d_strerror_r='define'
505d_strftime='define'
506d_strlcat='undef'
507d_strlcpy='undef'
508d_strtod='define'
509d_strtol='define'
510d_strtold='define'
511d_strtoll='define'
512d_strtoq='define'
513d_strtoul='define'
514d_strtoull='define'
515d_strtouq='define'
516d_strxfrm='define'
517d_suidsafe='undef'
518d_symlink='define'
519d_syscall='define'
520d_syscallproto='define'
521d_sysconf='define'
522d_sysernlst=''
523d_syserrlst='define'
524d_system='define'
525d_tcgetpgrp='define'
526d_tcsetpgrp='define'
527d_telldir='define'
528d_telldirproto='define'
529d_time='define'
530d_timegm='define'
531d_times='define'
532d_tm_tm_gmtoff='define'
533d_tm_tm_zone='define'
534d_tmpnam_r='define'
535d_truncate='define'
536d_ttyname_r='define'
537d_tzname='define'
538d_ualarm='define'
539d_umask='define'
540d_uname='define'
541d_union_semun='undef'
542d_unordered='undef'
543d_unsetenv='define'
544d_usleep='define'
545d_usleepproto='define'
546d_ustat='define'
547d_vendorarch='define'
548d_vendorbin='define'
549d_vendorlib='define'
550d_vendorscript='define'
551d_vfork='undef'
552d_void_closedir='undef'
553d_voidsig='define'
554d_voidtty=''
555d_volatile='define'
556d_vprintf='define'
557d_vsnprintf='define'
558d_wait4='define'
559d_waitpid='define'
560d_wcstombs='define'
561d_wctomb='define'
562d_writev='define'
563d_xenix='undef'
564date='date'
565db_hashtype='u_int32_t'
566db_prefixtype='size_t'
567db_version_major=''
568db_version_minor=''
569db_version_patch=''
570defvoidused='15'
571direntrytype='struct dirent'
572dlext='so'
573dlsrc='dl_dlopen.xs'
574doublesize='8'
575drand01='drand48()'
576drand48_r_proto='REENTRANT_PROTO_I_ST'
577dtrace=''
578dynamic_ext='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared'
579eagain='EAGAIN'
580ebcdic='undef'
581echo='echo'
582egrep='egrep'
583emacs=''
584endgrent_r_proto='0'
585endhostent_r_proto='0'
586endnetent_r_proto='0'
587endprotoent_r_proto='0'
588endpwent_r_proto='0'
589endservent_r_proto='0'
590eunicefix=':'
591exe_ext=''
592expr='expr'
593extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
594extern_C='extern'
595extras=''
596fflushNULL='define'
597fflushall='undef'
598find=''
599firstmakefile='makefile'
600flex=''
601fpossize='16'
602fpostype='fpos_t'
603freetype='void'
604from=':'
605full_ar='/usr/bin/ar'
606full_csh='csh'
607full_sed='/bin/sed'
608gccansipedantic=''
609gccosandvers=''
610gccversion='4.5.1'
611getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
612getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
613getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
614gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
615gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
616gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
617getlogin_r_proto='REENTRANT_PROTO_I_BW'
618getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
619getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
620getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
621getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
622getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
623getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
624getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
625getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
626getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
627getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
628getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
629getservent_r_proto='REENTRANT_PROTO_I_SBWR'
630getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
631gidsign='1'
632gidsize='4'
633gidtype='gid_t'
634glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
635gmake='gmake'
636gmtime_r_proto='REENTRANT_PROTO_S_TS'
637gnulibc_version='2.12.1'
638grep='grep'
639groupcat='cat /etc/group'
640groupstype='gid_t'
641gzip='gzip'
642h_fcntl='false'
643h_sysfile='true'
644hint='recommended'
645hostcat='cat /etc/hosts'
646html1dir=' '
647html1direxp=''
648html3dir=' '
649html3direxp=''
650i16size='2'
651i16type='short'
652i32size='4'
653i64size='8'
654i8size='1'
655i8type='signed char'
656i_arpainet='define'
657i_assert='define'
658i_bsdioctl=''
659i_crypt='define'
660i_db='undef'
661i_dbm='undef'
662i_dirent='define'
663i_dld='undef'
664i_dlfcn='define'
665i_fcntl='undef'
666i_float='define'
667i_fp='undef'
668i_fp_class='undef'
669i_gdbm='undef'
670i_gdbm_ndbm='undef'
671i_gdbmndbm='undef'
672i_grp='define'
673i_ieeefp='undef'
674i_inttypes='define'
675i_langinfo='define'
676i_libutil='undef'
677i_limits='define'
678i_locale='define'
679i_machcthr='undef'
680i_malloc='define'
681i_mallocmalloc='undef'
682i_math='define'
683i_memory='undef'
684i_mntent='define'
685i_ndbm='undef'
686i_netdb='define'
687i_neterrno='undef'
688i_netinettcp='define'
689i_niin='define'
690i_poll='define'
691i_prot='undef'
692i_pthread='define'
693i_pwd='define'
694i_rpcsvcdbm='undef'
695i_sfio='undef'
696i_sgtty='undef'
697i_shadow='define'
698i_socks='undef'
699i_stdarg='define'
700i_stddef='define'
701i_stdlib='define'
702i_string='define'
703i_sunmath='undef'
704i_sysaccess='undef'
705i_sysdir='define'
706i_sysfile='define'
707i_sysfilio='undef'
708i_sysin='undef'
709i_sysioctl='define'
710i_syslog='define'
711i_sysmman='define'
712i_sysmode='undef'
713i_sysmount='define'
714i_sysndir='undef'
715i_sysparam='define'
716i_syspoll='define'
717i_sysresrc='define'
718i_syssecrt='undef'
719i_sysselct='define'
720i_syssockio='undef'
721i_sysstat='define'
722i_sysstatfs='define'
723i_sysstatvfs='define'
724i_systime='define'
725i_systimek='undef'
726i_systimes='define'
727i_systypes='define'
728i_sysuio='define'
729i_sysun='define'
730i_sysutsname='define'
731i_sysvfs='define'
732i_syswait='define'
733i_termio='undef'
734i_termios='define'
735i_time='define'
736i_unistd='define'
737i_ustat='define'
738i_utime='define'
739i_values='define'
740i_varargs='undef'
741i_varhdr='stdarg.h'
742i_vfork='undef'
743ignore_versioned_solibs='y'
744inc_version_list=' '
745inc_version_list_init='0'
746incpath=''
747inews=''
748initialinstalllocation='/usr/bin'
749installarchlib='@DESTDIR@/lib/perl5/5.14.2/@ARCH@-thread-multi'
750installbin='@DESTDIR@/bin'
751installhtml1dir=''
752installhtml3dir=''
753installman1dir=''
754installman3dir=''
755installprefix='@DESTDIR@'
756installprefixexp='@DESTDIR@'
757installprivlib='@DESTDIR@/lib/perl5/5.14.2'
758installscript='@DESTDIR@/bin'
759installsitearch='@DESTDIR@/lib/perl5/site_perl/5.14.2/@ARCH@-thread-multi'
760installsitebin='@DESTDIR@/bin'
761installsitehtml1dir=''
762installsitehtml3dir=''
763installsitelib='@DESTDIR@/lib/perl5/site_perl/5.14.2'
764installsiteman1dir=''
765installsiteman3dir=''
766installsitescript='@DESTDIR@/bin'
767installstyle='lib/perl5'
768installusrbinperl='define'
769installvendorarch='@DESTDIR@/lib/perl5/vendor_perl/5.14.2/@ARCH@-thread-multi'
770installvendorbin='@DESTDIR@/bin'
771installvendorhtml1dir=''
772installvendorhtml3dir=''
773installvendorlib='@DESTDIR@/lib/perl5/vendor_perl/5.14.2'
774installvendorman1dir=''
775installvendorman3dir=''
776installvendorscript='@DESTDIR@/bin'
777intsize='4'
778issymlink='test -h'
779ivdformat='"ld"'
780ivtype='long'
781known_extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize VMS/DCLsym VMS/Stdio Win32 Win32API/File Win32CORE XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared '
782ksh=''
783ld='gcc'
784lddlflags='-shared -O2 -fstack-protector'
785ldflags=' -fstack-protector'
786ldflags_uselargefiles=''
787ldlibpthname='LD_LIBRARY_PATH'
788less='less'
789lib_ext='.a'
790libc='/lib/libc-2.12.1.so'
791libperl='libperl.so'
792libpth='/lib /usr/lib'
793libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc'
794libsdirs=' /usr/lib'
795libsfiles=' libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
796libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
797libspath=' /lib /usr/lib'
798libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD gdbm_compat'
799libswanted_uselargefiles=''
800line=''
801lint=''
802lkflags=''
803ln='ln'
804lns='/bin/ln -s'
805localtime_r_proto='REENTRANT_PROTO_S_TS'
806locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
807loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
808longlongsize='8'
809lp=''
810lpr=''
811ls='ls'
812lseeksize='8'
813lseektype='off_t'
814mad='undef'
815madlyh=''
816madlyobj=''
817madlysrc=''
818mail=''
819mailx=''
820make='make'
821make_set_make='#'
822mallocobj=''
823mallocsrc=''
824malloctype='void *'
825man1dir=' '
826man1direxp=''
827man1ext='0'
828man3dir=' '
829man3direxp=''
830man3ext='0'
831mips_type=''
832mistrustnm=''
833mkdir='mkdir'
834mmaptype='void *'
835modetype='mode_t'
836more='more'
837multiarch='undef'
838mv=''
839myarchname='@ARCH@'
840mydomain='.localdomain'
841myhostname='localhost'
842n='-n'
843netdb_hlen_type='size_t'
844netdb_name_type='const char *'
845netdb_net_type='in_addr_t'
846nm='nm'
847nm_opt=''
848nm_so_opt='--dynamic'
849nonxs_ext='Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
850nroff='nroff'
851nvEUformat='"E"'
852nvFUformat='"F"'
853nvGUformat='"G"'
854nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0'
855nveformat='"e"'
856nvfformat='"f"'
857nvgformat='"g"'
858nvsize='8'
859nvtype='double'
860o_nonblock='O_NONBLOCK'
861obj_ext='.o'
862old_pthread_create_joinable=''
863optimize='-O2'
864orderlib='false'
865osname='linux'
866osvers='2.6.37-rc5-yocto-standard+'
867otherlibdirs='/usr/lib/perl5/5.14.2'
868package='perl5'
869pager='/usr/bin/less -isr'
870passcat='cat /etc/passwd'
871patchlevel='14'
872path_sep=':'
873perl5='/usr/bin/perl'
874perl=''
875perl_patchlevel=''
876perladmin='root@localhost'
877perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
878perlpath='/usr/bin/perl'
879pg='pg'
880phostname=''
881pidtype='pid_t'
882plibpth=''
883pmake=''
884pr=''
885prefix='/usr'
886prefixexp='/usr'
887privlib='/usr/lib/perl5/5.14.2'
888privlibexp='/usr/lib/perl5/5.14.2'
889procselfexe='"/proc/self/exe"'
890prototype='define'
891randbits='48'
892randfunc='drand48'
893random_r_proto='REENTRANT_PROTO_I_St'
894randseedtype='long'
895ranlib=':'
896rd_nodata='-1'
897readdir64_r_proto='REENTRANT_PROTO_I_TSR'
898readdir_r_proto='REENTRANT_PROTO_I_TSR'
899revision='5'
900rm='rm'
901rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
902rmail=''
903run=''
904runnm='false'
905sPRIEUldbl='"LE"'
906sPRIFUldbl='"LF"'
907sPRIGUldbl='"LG"'
908sPRIeldbl='"Le"'
909sPRIfldbl='"Lf"'
910sPRIgldbl='"Lg"'
911sSCNfldbl='"Lf"'
912sched_yield='sched_yield()'
913scriptdir='/usr/bin'
914scriptdirexp='/usr/bin'
915sed='sed'
916seedfunc='srand48'
917selecttype='fd_set *'
918sendmail=''
919setgrent_r_proto='0'
920sethostent_r_proto='0'
921setlocale_r_proto='0'
922setnetent_r_proto='0'
923setprotoent_r_proto='0'
924setpwent_r_proto='0'
925setservent_r_proto='0'
926sh='/bin/sh'
927shar=''
928sharpbang='#!'
929shmattype='void *'
930shortsize='2'
931shrpenv=''
932shsharp='true'
933sig_count='65'
934sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
935sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
936sig_num='0 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 6 17 29 31 '
937sig_num_init='0, 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, 6, 17, 29, 31, 0'
938sig_size='69'
939signal_t='void'
940sitearch='/usr/lib/perl5/site_perl/5.14.2/@ARCH@-thread-multi'
941sitearchexp='/usr/lib/perl5/site_perl/5.14.2/@ARCH@-thread-multi'
942sitebin='/usr/bin'
943sitebinexp='/usr/bin'
944sitehtml1dir=''
945sitehtml1direxp=''
946sitehtml3dir=''
947sitehtml3direxp=''
948sitelib='/usr/lib/perl5/site_perl/5.14.2'
949sitelib_stem='/usr/lib/perl5/site_perl'
950sitelibexp='/usr/lib/perl5/site_perl/5.14.2'
951siteman1dir=''
952siteman1direxp=''
953siteman3dir=''
954siteman3direxp=''
955siteprefix='/usr'
956siteprefixexp='/usr'
957sitescript='/usr/bin'
958sitescriptexp='/usr/bin'
959sizetype='size_t'
960sleep=''
961smail=''
962so='so'
963sockethdr=''
964socketlib=''
965socksizetype='socklen_t'
966sort='sort'
967spackage='Perl5'
968spitshell='cat'
969srand48_r_proto='REENTRANT_PROTO_I_LS'
970srandom_r_proto='REENTRANT_PROTO_I_TS'
971src='.'
972ssizetype='ssize_t'
973startperl='#!/usr/bin/perl'
974startsh='#!/bin/sh'
975static_ext=' '
976stdchar='char'
977stdio_base='((fp)->_IO_read_base)'
978stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
979stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
980stdio_filbuf=''
981stdio_ptr='((fp)->_IO_read_ptr)'
982stdio_stream_array=''
983strerror_r_proto='REENTRANT_PROTO_B_IBW'
984strings='/usr/include/string.h'
985submit=''
986subversion='2'
987sysman='/usr/share/man/man1'
988tail=''
989tar=''
990targetarch=''
991tbl=''
992tee=''
993test='test'
994timeincl='/usr/include/sys/time.h /usr/include/time.h '
995timetype='time_t'
996tmpnam_r_proto='REENTRANT_PROTO_B_B'
997to=':'
998touch='touch'
999tr='tr'
1000trnl='\n'
1001troff=''
1002ttyname_r_proto='REENTRANT_PROTO_I_IBW'
1003u16size='2'
1004u16type='unsigned short'
1005u32size='4'
1006u64size='8'
1007u8size='1'
1008u8type='unsigned char'
1009uidsign='1'
1010uidsize='4'
1011uidtype='uid_t'
1012uname='uname'
1013uniq='uniq'
1014use5005threads='undef'
1015usecrosscompile='undef'
1016usedevel='undef'
1017usedl='define'
1018usedtrace='undef'
1019usefaststdio='undef'
1020useithreads='define'
1021uselargefiles='define'
1022uselongdouble='undef'
1023usemallocwrap='define'
1024usemorebits='undef'
1025usemultiplicity='define'
1026usemymalloc='n'
1027usenm='false'
1028useopcode='true'
1029useperlio='define'
1030useposix='true'
1031usereentrant='undef'
1032userelocatableinc='undef'
1033usesfio='false'
1034useshrplib='true'
1035usesitecustomize='undef'
1036usesocks='undef'
1037usethreads='define'
1038usevendorprefix='define'
1039usevfork='false'
1040usrinc='/usr/include'
1041uuname=''
1042uvXUformat='"lX"'
1043uvoformat='"lo"'
1044uvtype='unsigned long'
1045uvuformat='"lu"'
1046uvxformat='"lx"'
1047vaproto='define'
1048vendorarch='/usr/lib/perl5/vendor_perl/5.14.2/@ARCH@-thread-multi'
1049vendorarchexp='/usr/lib/perl5/vendor_perl/5.14.2/@ARCH@-thread-multi'
1050vendorbin='/usr/bin'
1051vendorbinexp='/usr/bin'
1052vendorhtml1dir=' '
1053vendorhtml1direxp=''
1054vendorhtml3dir=' '
1055vendorhtml3direxp=''
1056vendorlib='/usr/lib/perl5/vendor_perl/5.14.2'
1057vendorlib_stem='/usr/lib/perl5/vendor_perl'
1058vendorlibexp='/usr/lib/perl5/vendor_perl/5.14.2'
1059vendorman1dir=' '
1060vendorman1direxp=''
1061vendorman3dir=' '
1062vendorman3direxp=''
1063vendorprefix='/usr'
1064vendorprefixexp='/usr'
1065vendorscript='/usr/bin'
1066vendorscriptexp='/usr/bin'
1067version='5.14.2'
1068version_patchlevel_string='version 14 subversion 2'
1069versiononly='undef'
1070vi=''
1071voidflags='15'
1072xlibpth='/usr/lib/386 /lib/386'
1073yacc='yacc'
1074yaccflags=''
1075zcat=''
1076zip='zip'
1077PERL_REVISION=5
1078PERL_VERSION=14
1079PERL_SUBVERSION=2
1080PERL_API_REVISION=5
1081PERL_API_VERSION=14
1082PERL_API_SUBVERSION=0
1083PERL_PATCHLEVEL=''
1084PERL_CONFIG_SH=true
1085: Variables propagated from previous config.sh file.
1086libdb_needs_pthread='N'
1087
1088d_static_inline='define'
1089d_sockaddr_sa_len='undef'
1090d_sin6_scope_id='define'
1091d_prctl='define'
1092d_prctl_set_name='define'
1093perl_static_inline='static __inline__'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32 b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32
new file mode 100644
index 0000000000..7259a0c6ae
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32
@@ -0,0 +1,38 @@
1alignbytes='4'
2cf_time='Thu Dec 23 03:57:51 UTC 2010'
3cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=2 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cLL __INT64_MAX__=9223372036854775807LL __INT64_TYPE__=long\ long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cLL __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INTPTR_MAX__=2147483647 __INTPTR_TYPE__=int __INT_FAST16_MAX__=2147483647 __INT_FAST16_TYPE__=int __INT_FAST32_MAX__=2147483647 __INT_FAST32_TYPE__=int __INT_FAST64_MAX__=9223372036854775807LL __INT_FAST64_TYPE__=long\ long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807LL __INT_LEAST64_TYPE__=long\ long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=2147483647 __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=12 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=4294967295U __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cULL __UINT64_MAX__=18446744073709551615ULL __UINT64_TYPE__=long\ long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cULL __UINTMAX_MAX__=18446744073709551615ULL __UINTMAX_TYPE__=long\ long\ unsigned\ int __UINTPTR_MAX__=4294967295U __UINTPTR_TYPE__=unsigned\ int __UINT_FAST16_MAX__=4294967295U __UINT_FAST16_TYPE__=unsigned\ int __UINT_FAST32_MAX__=4294967295U __UINT_FAST32_TYPE__=unsigned\ int __UINT_FAST64_MAX__=18446744073709551615ULL __UINT_FAST64_TYPE__=long\ long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615ULL __UINT_LEAST64_TYPE__=long\ long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647L __WCHAR_MIN__=(-2147483647L\ -\ 1) __WCHAR_TYPE__=long\ int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __gnu_linux__=1 __i386=1 __i386__=1 __i586=1 __i586__=1 __linux=1 __linux__=1 __pentium=1 __pentium__=1 __tune_i586__=1 __tune_pentium__=1 __unix=1 __unix__=1 i386=1 linux=1 unix=1'
4d_nv_preserves_uv='define'
5d_printf_format_null='define'
6d_u32align='undef'
7gidformat='"lu"'
8i32type='long'
9i64type='long long'
10ivsize='4'
11longdblsize='12'
12longsize='4'
13myuname='linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux '
14need_va_copy='undef'
15netdb_host_type='const void *'
16nv_preserves_uv_bits='32'
17ptrsize='4'
18quadkind='3'
19quadtype='long long'
20sGMTIME_max='2147483647'
21sGMTIME_min='-2147483648'
22sLOCALTIME_max='2147483647'
23sLOCALTIME_min='-2147483648'
24sPRIXU64='"LX"'
25sPRId64='"Ld"'
26sPRIi64='"Li"'
27sPRIo64='"Lo"'
28sPRIu64='"Lu"'
29sPRIx64='"Lx"'
30selectminbits='32'
31sizesize='4'
32u32type='unsigned long'
33u64type='unsigned long long'
34uidformat='"lu"'
35uquadtype='unsigned long long'
36use64bitall='undef'
37use64bitint='undef'
38uvsize='4'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-be b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-be
new file mode 100644
index 0000000000..a59a9abb5e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-be
@@ -0,0 +1 @@
byteorder='4321'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-le b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-le
new file mode 100644
index 0000000000..10e4226567
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-32-le
@@ -0,0 +1 @@
byteorder='1234'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64 b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64
new file mode 100644
index 0000000000..6929d3a09d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64
@@ -0,0 +1,38 @@
1alignbytes='8'
2cf_time='Thu Dec 23 02:06:42 UTC 2010'
3cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _LP64=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=0 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_DWARF2_CFI_ASM=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cL __INT64_MAX__=9223372036854775807L __INT64_TYPE__=long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cL __INTMAX_MAX__=9223372036854775807L __INTMAX_TYPE__=long\ int __INTPTR_MAX__=9223372036854775807L __INTPTR_TYPE__=long\ int __INT_FAST16_MAX__=9223372036854775807L __INT_FAST16_TYPE__=long\ int __INT_FAST32_MAX__=9223372036854775807L __INT_FAST32_TYPE__=long\ int __INT_FAST64_MAX__=9223372036854775807L __INT_FAST64_TYPE__=long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807L __INT_LEAST64_TYPE__=long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=9223372036854775807L __LP64__=1 __MMX__=1 __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=9223372036854775807L __PTRDIFF_TYPE__=long\ int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=16 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=8 __SIZEOF_POINTER__=8 __SIZEOF_PTRDIFF_T__=8 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=8 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=18446744073709551615UL __SIZE_TYPE__=long\ unsigned\ int __SSE2_MATH__=1 __SSE2__=1 __SSE_MATH__=1 __SSE__=1 __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cUL __UINT64_MAX__=18446744073709551615UL __UINT64_TYPE__=long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cUL __UINTMAX_MAX__=18446744073709551615UL __UINTMAX_TYPE__=long\ unsigned\ int __UINTPTR_MAX__=18446744073709551615UL __UINTPTR_TYPE__=long\ unsigned\ int __UINT_FAST16_MAX__=18446744073709551615UL __UINT_FAST16_TYPE__=long\ unsigned\ int __UINT_FAST32_MAX__=18446744073709551615UL __UINT_FAST32_TYPE__=long\ unsigned\ int __UINT_FAST64_MAX__=18446744073709551615UL __UINT_FAST64_TYPE__=long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615UL __UINT_LEAST64_TYPE__=long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647 __WCHAR_MIN__=(-2147483647\ -\ 1) __WCHAR_TYPE__=int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __amd64=1 __amd64__=1 __gnu_linux__=1 __k8=1 __k8__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 __x86_64=1 __x86_64__=1 linux=1 unix=1'
4d_nv_preserves_uv='undef'
5d_printf_format_null='undef'
6d_u32align='define'
7gidformat='"u"'
8i32type='int'
9i64type='long'
10ivsize='8'
11longdblsize='16'
12longsize='8'
13myuname='linux qemux86-64 2.6.37-rc5-yocto-standard+ #1 smp preempt mon dec 20 17:19:50 pst 2010 x86_64 gnulinux '
14need_va_copy='define'
15netdb_host_type='char *'
16nv_preserves_uv_bits='53'
17ptrsize='8'
18quadkind='2'
19quadtype='long'
20sGMTIME_max='67768036191676799'
21sGMTIME_min='-62167219200'
22sLOCALTIME_max='67768036191676799'
23sLOCALTIME_min='-62167219200'
24sPRIXU64='"lX"'
25sPRId64='"ld"'
26sPRIi64='"li"'
27sPRIo64='"lo"'
28sPRIu64='"lu"'
29sPRIx64='"lx"'
30selectminbits='64'
31sizesize='8'
32u32type='unsigned int'
33u64type='unsigned long'
34uidformat='"u"'
35uquadtype='unsigned long'
36use64bitall='define'
37use64bitint='define'
38uvsize='8'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-be b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-be
new file mode 100644
index 0000000000..c08ce3c431
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-be
@@ -0,0 +1 @@
byteorder='87654321'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-le b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-le
new file mode 100644
index 0000000000..277d2a9bee
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/config.sh-64-le
@@ -0,0 +1 @@
byteorder='12345678'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/cross-generate_uudmap.patch b/meta/recipes-devtools/perl/perl-5.14.2/cross-generate_uudmap.patch
new file mode 100644
index 0000000000..a00ad61d90
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/cross-generate_uudmap.patch
@@ -0,0 +1,15 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Index: perl-5.14.2/Makefile.SH
4===================================================================
5--- perl-5.14.2.orig/Makefile.SH
6+++ perl-5.14.2/Makefile.SH
7@@ -622,7 +622,7 @@ bitcount.h: generate_uudmap$(HOST_EXE_EX
8 $(RUN) ./generate_uudmap$(HOST_EXE_EXT) uudmap.h bitcount.h
9
10 generate_uudmap$(HOST_EXE_EXT): generate_uudmap$(OBJ_EXT)
11- $(CC) -o generate_uudmap$(EXE_EXT) $(LDFLAGS) generate_uudmap$(OBJ_EXT) $(libs)
12+ $(BUILD_CC) -o generate_uudmap$(EXE_EXT) generate_uudmap.c
13
14 miniperlmain$(OBJ_EXT): miniperlmain.c patchlevel.h
15 $(CCCMD) $(PLDLFLAGS) $*.c
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/arm_thread_stress_timeout.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/arm_thread_stress_timeout.diff
new file mode 100644
index 0000000000..1d80e954f6
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/arm_thread_stress_timeout.diff
@@ -0,0 +1,26 @@
1From f624a9f1206cdd44fde99c40d82e2f326db485dd Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Sat, 1 Nov 2008 15:10:16 +0200
4Subject: Raise the timeout of ext/threads/shared/t/stress.t to accommodate
5 slower build hosts
6
7Bug-Debian: http://bugs.debian.org/501970
8
9Patch-Name: debian/arm_thread_stress_timeout.diff
10---
11 dist/threads-shared/t/stress.t | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
15index adfd1ed..652a3e6 100644
16--- a/dist/threads-shared/t/stress.t
17+++ b/dist/threads-shared/t/stress.t
18@@ -34,7 +34,7 @@ use threads::shared;
19 {
20 my $cnt = 50;
21
22- my $TIMEOUT = 60;
23+ my $TIMEOUT = 150;
24
25 my $mutex = 1;
26 share($mutex);
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/cpan_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpan_definstalldirs.diff
new file mode 100644
index 0000000000..9fa937819e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpan_definstalldirs.diff
@@ -0,0 +1,37 @@
1From 4b63b9a433661cd13cfb1448dbfb90c5f53a53be Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Provide a sensible INSTALLDIRS default for modules installed from
5 CPAN.
6
7Some modules which are included in core set INSTALLDIRS => 'perl'
8explicitly in Makefile.PL or Build.PL. This makes sense for the normal @INC
9ordering, but not ours.
10
11Patch-Name: debian/cpan_definstalldirs.diff
12---
13 cpan/CPAN/lib/CPAN/FirstTime.pm | 4 ++--
14 1 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/cpan/CPAN/lib/CPAN/FirstTime.pm b/cpan/CPAN/lib/CPAN/FirstTime.pm
17index 667bdca..c38c890 100644
18--- a/cpan/CPAN/lib/CPAN/FirstTime.pm
19+++ b/cpan/CPAN/lib/CPAN/FirstTime.pm
20@@ -990,7 +990,7 @@ sub init {
21 my_prompt_loop(prefer_installer => 'MB', $matcher, 'MB|EUMM|RAND');
22
23 if (!$matcher or 'makepl_arg make_arg' =~ /$matcher/) {
24- my_dflt_prompt(makepl_arg => "", $matcher);
25+ my_dflt_prompt(makepl_arg => "INSTALLDIRS=site", $matcher);
26 my_dflt_prompt(make_arg => "", $matcher);
27 if ( $CPAN::Config->{makepl_arg} =~ /LIBS=|INC=/ ) {
28 $CPAN::Frontend->mywarn(
29@@ -1022,7 +1022,7 @@ sub init {
30 my_dflt_prompt(make_install_arg => $CPAN::Config->{make_arg} || "",
31 $matcher);
32
33- my_dflt_prompt(mbuildpl_arg => "", $matcher);
34+ my_dflt_prompt(mbuildpl_arg => "--installdirs site", $matcher);
35 my_dflt_prompt(mbuild_arg => "", $matcher);
36
37 if (exists $CPAN::HandleConfig::keys{mbuild_install_build_command}
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_config_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_config_path.diff
new file mode 100644
index 0000000000..e3e5ec9d52
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_config_path.diff
@@ -0,0 +1,44 @@
1From 9825086b15f34f365a272cc8d6caf4e2044bede6 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Mon, 6 Jul 2009 22:17:53 +0300
4Subject: Save local versions of CPANPLUS::Config::System into /etc/perl.
5
6This is a configuration file and needs to go in /etc by policy.
7Besides, /usr may not even be writable.
8
9This mirrors the Debian setup of CPAN.pm in debian/cpan_config_path.
10
11See #533707.
12
13Patch-Name: debian/cpanplus_config_path.diff
14---
15 cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | 1 +
16 cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | 3 +++
17 2 files changed, 4 insertions(+), 0 deletions(-)
18
19diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
20index ba1ca07..25cbe5f 100644
21--- a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
22+++ b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
23@@ -280,6 +280,7 @@ Saves the configuration to the package name you provided.
24 If this package is not C<CPANPLUS::Config::System>, it will
25 be saved in your C<.cpanplus> directory, otherwise it will
26 be attempted to be saved in the system wide directory.
27+(On Debian systems, this system wide directory is /etc/perl.)
28
29 If no argument is provided, it will default to your personal
30 config.
31diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
32index 443d5a4..f7085a8 100644
33--- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
34+++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
35@@ -209,6 +209,9 @@ use constant CONFIG_USER_FILE => sub {
36 ) . '.pm';
37 };
38 use constant CONFIG_SYSTEM_FILE => sub {
39+ # Debian-specific shortcut
40+ return '/etc/perl/CPANPLUS/Config/System.pm';
41+
42 require CPANPLUS::Internals;
43 require File::Basename;
44 my $dir = File::Basename::dirname(
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_definstalldirs.diff
new file mode 100644
index 0000000000..6d05c34fbb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/cpanplus_definstalldirs.diff
@@ -0,0 +1,55 @@
1From 66517b14790aa6410fd37e411dd62521e1e02b7f Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Mon, 6 Jul 2009 21:58:41 +0300
4Subject: Configure CPANPLUS to use the site directories by default.
5
6Bug-Debian: http://bugs.debian.org/533707
7
8The core modules usually default to INSTALLDIRS=perl (ExtUtils::MakeMaker)
9or installdirs=core (Module::Build), so we need to explicitly ask for
10the site destination to get upgraded versions into /usr/local.
11
12See also the sister patch, debian/cpan_definstalldirs .
13
14Patch-Name: debian/cpanplus_definstalldirs.diff
15---
16 cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | 30 +++++++++++++++++++++++++++
17 1 files changed, 30 insertions(+), 0 deletions(-)
18 create mode 100644 cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm
19
20diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm
21new file mode 100644
22index 0000000..5e6e11e
23--- /dev/null
24+++ b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm
25@@ -0,0 +1,30 @@
26+### minimal pod, so you can find it with perldoc -l, etc
27+=pod
28+
29+=head1 NAME
30+
31+CPANPLUS::Config::System
32+
33+=head1 DESCRIPTION
34+
35+This is a CPANPLUS configuration file that sets appropriate default
36+settings on Debian systems.
37+
38+The only preconfigured settings are C<makemakerflags> (set to
39+C<INSTALLDIRS=site>) and C<buildflags> (set to C<--installdirs site>).
40+
41+These settings will not have any effect if
42+C</etc/perl/CPANPLUS/Config/System.pm> is present.
43+
44+=cut
45+
46+
47+package CPANPLUS::Config::System;
48+
49+sub setup {
50+ my $conf = shift;
51+ $conf->set_conf( makemakerflags => 'INSTALLDIRS=site' );
52+ $conf->set_conf( buildflags => '--installdirs site' );
53+}
54+
55+1;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/db_file_ver.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/db_file_ver.diff
new file mode 100644
index 0000000000..ff07ec567d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/db_file_ver.diff
@@ -0,0 +1,34 @@
1From 0d1acf7af6da3a3f933faba8459ad9ff03fe3e5b Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 16 Dec 2005 01:32:14 +1100
4Subject: Remove overly restrictive DB_File version check.
5
6Bug-Debian: http://bugs.debian.org/340047
7
8Package dependencies ensure the correct library is linked at run-time.
9
10Patch-Name: debian/db_file_ver.diff
11---
12 cpan/DB_File/version.c | 2 ++
13 1 files changed, 2 insertions(+), 0 deletions(-)
14
15diff --git a/cpan/DB_File/version.c b/cpan/DB_File/version.c
16index e01f6f6..544e6ee 100644
17--- a/cpan/DB_File/version.c
18+++ b/cpan/DB_File/version.c
19@@ -48,6 +48,7 @@ __getBerkeleyDBInfo()
20
21 (void)db_version(&Major, &Minor, &Patch) ;
22
23+#ifndef DEBIAN
24 /* Check that the versions of db.h and libdb.a are the same */
25 if (Major != DB_VERSION_MAJOR || Minor != DB_VERSION_MINOR )
26 /* || Patch != DB_VERSION_PATCH) */
27@@ -55,6 +56,7 @@ __getBerkeleyDBInfo()
28 croak("\nDB_File was build with libdb version %d.%d.%d,\nbut you are attempting to run it with libdb version %d.%d.%d\n",
29 DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
30 Major, Minor, Patch) ;
31+#endif /* DEBIAN */
32
33 /* check that libdb is recent enough -- we need 2.3.4 or greater */
34 if (Major == 2 && (Minor < 3 || (Minor == 3 && Patch < 4)))
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/deprecate-with-apt.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/deprecate-with-apt.diff
new file mode 100644
index 0000000000..65a132db36
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/deprecate-with-apt.diff
@@ -0,0 +1,406 @@
1From c2bd2059cfbba573643c748ace4ff4db4cbf015d Mon Sep 17 00:00:00 2001
2From: Dominic Hargreaves <dom@earth.li>
3Date: Mon, 17 May 2010 13:23:07 +0300
4Subject: Point users to Debian packages of deprecated core modules
5
6Bug-Debian: http://bugs.debian.org/580034
7
8Class::ISA, Switch, Pod::Plainer, and (partially) Shell were
9deprecated from the Perl core in 5.12.0.
10
11Class::ISA, Switch, Pod::Plainer were removed from the Perl core in
125.14.0.
13
14Shell and Devel::DProf, and Perl 4 libraries, were deprecated from the
15Perl core in 5.14.0.
16
17To get a clean transition, perl/perl-modules is going to recommend the
18separate Debian packages of these for one release cycle so that they will be
19pulled in by default on upgrades.
20
21However, on systems configured to ignore recommendations the deprecation
22warnings will still be useful, so modify them slightly to point to the
23separate packages instead.
24
25Patch-Name: debian/deprecate-with-apt.diff
26---
27 lib/abbrev.pl | 2 +-
28 lib/assert.pl | 2 +-
29 lib/bigfloat.pl | 2 +-
30 lib/bigint.pl | 2 +-
31 lib/bigrat.pl | 2 +-
32 lib/cacheout.pl | 2 +-
33 lib/complete.pl | 2 +-
34 lib/ctime.pl | 2 +-
35 lib/deprecate.pm | 16 +++++++++++++++-
36 lib/dotsh.pl | 2 +-
37 lib/exceptions.pl | 2 +-
38 lib/fastcwd.pl | 2 +-
39 lib/find.pl | 2 +-
40 lib/finddepth.pl | 2 +-
41 lib/flush.pl | 2 +-
42 lib/getcwd.pl | 2 +-
43 lib/getopt.pl | 2 +-
44 lib/getopts.pl | 2 +-
45 lib/hostname.pl | 2 +-
46 lib/importenv.pl | 2 +-
47 lib/look.pl | 2 +-
48 lib/newgetopt.pl | 2 +-
49 lib/open2.pl | 2 +-
50 lib/open3.pl | 2 +-
51 lib/pwd.pl | 2 +-
52 lib/shellwords.pl | 2 +-
53 lib/stat.pl | 2 +-
54 lib/syslog.pl | 2 +-
55 lib/tainted.pl | 2 +-
56 lib/termcap.pl | 2 +-
57 lib/timelocal.pl | 2 +-
58 lib/validate.pl | 2 +-
59 32 files changed, 46 insertions(+), 32 deletions(-)
60
61diff --git a/lib/abbrev.pl b/lib/abbrev.pl
62index d46321f..0168631 100644
63--- a/lib/abbrev.pl
64+++ b/lib/abbrev.pl
65@@ -1,4 +1,4 @@
66-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
67+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
68
69 ;# Usage:
70 ;# %foo = ();
71diff --git a/lib/assert.pl b/lib/assert.pl
72index d47e006..80593c5 100644
73--- a/lib/assert.pl
74+++ b/lib/assert.pl
75@@ -1,4 +1,4 @@
76-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
77+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
78
79 #
80 # This library is no longer being maintained, and is included for backward
81diff --git a/lib/bigfloat.pl b/lib/bigfloat.pl
82index 82d0f5c..c21bac6 100644
83--- a/lib/bigfloat.pl
84+++ b/lib/bigfloat.pl
85@@ -1,4 +1,4 @@
86-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
87+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
88
89 package bigfloat;
90 require "bigint.pl";
91diff --git a/lib/bigint.pl b/lib/bigint.pl
92index 6de1c53..031e8ad 100644
93--- a/lib/bigint.pl
94+++ b/lib/bigint.pl
95@@ -1,4 +1,4 @@
96-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
97+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
98
99 package bigint;
100 #
101diff --git a/lib/bigrat.pl b/lib/bigrat.pl
102index aaf1713..146a8f4 100644
103--- a/lib/bigrat.pl
104+++ b/lib/bigrat.pl
105@@ -1,4 +1,4 @@
106-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
107+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
108
109 package bigrat;
110 require "bigint.pl";
111diff --git a/lib/cacheout.pl b/lib/cacheout.pl
112index a5da453..937405d 100644
113--- a/lib/cacheout.pl
114+++ b/lib/cacheout.pl
115@@ -1,4 +1,4 @@
116-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
117+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
118
119 #
120 # This library is no longer being maintained, and is included for backward
121diff --git a/lib/complete.pl b/lib/complete.pl
122index 9ed041c..2ab0c6a 100644
123--- a/lib/complete.pl
124+++ b/lib/complete.pl
125@@ -1,4 +1,4 @@
126-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
127+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
128
129 ;#
130 #
131diff --git a/lib/ctime.pl b/lib/ctime.pl
132index aa00d00..ac24e71 100644
133--- a/lib/ctime.pl
134+++ b/lib/ctime.pl
135@@ -1,4 +1,4 @@
136-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
137+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
138
139 ;# ctime.pl is a simple Perl emulation for the well known ctime(3C) function.
140 #
141diff --git a/lib/deprecate.pm b/lib/deprecate.pm
142index 7562c69..fc548b0 100644
143--- a/lib/deprecate.pm
144+++ b/lib/deprecate.pm
145@@ -7,6 +7,14 @@ our $VERSION = 0.02;
146 our %Config;
147 unless (%Config) { require Config; *Config = \%Config::Config; }
148
149+# Debian-specific change: recommend the separate Debian packages of
150+# deprecated modules where available
151+
152+my %DEBIAN_PACKAGES = (
153+ "Shell" => "libshell-perl",
154+ "Devel::DProf" => "libdevel-dprof-perl"
155+);
156+
157 # This isn't a public API. It's internal to code maintained by the perl-porters
158 # If you would like it to be a public API, please send a patch with
159 # documentation and tests. Until then, it may change without warning.
160@@ -58,9 +66,15 @@ EOM
161 if (defined $callers_bitmask
162 && (vec($callers_bitmask, $warnings::Offsets{deprecated}, 1)
163 || vec($callers_bitmask, $warnings::Offsets{all}, 1))) {
164- warn <<"EOM";
165+ if (my $deb = $DEBIAN_PACKAGES{$package}) {
166+ warn <<"EOM";
167+$package will be removed from the Perl core distribution in the next major release. Please install the separate $deb package. It is being used at $call_file, line $call_line.
168+EOM
169+ } else {
170+ warn <<"EOM";
171 $package will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at $call_file, line $call_line.
172 EOM
173+ }
174 }
175 }
176 }
177diff --git a/lib/dotsh.pl b/lib/dotsh.pl
178index 92f1f4c..4085122 100644
179--- a/lib/dotsh.pl
180+++ b/lib/dotsh.pl
181@@ -1,4 +1,4 @@
182-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
183+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
184
185 #
186 # @(#)dotsh.pl 03/19/94
187diff --git a/lib/exceptions.pl b/lib/exceptions.pl
188index 8af64c8..b5b1427 100644
189--- a/lib/exceptions.pl
190+++ b/lib/exceptions.pl
191@@ -1,4 +1,4 @@
192-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
193+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
194
195 # exceptions.pl
196 # tchrist@convex.com
197diff --git a/lib/fastcwd.pl b/lib/fastcwd.pl
198index 70007a1..2c7c42e 100644
199--- a/lib/fastcwd.pl
200+++ b/lib/fastcwd.pl
201@@ -1,4 +1,4 @@
202-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
203+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
204
205 # By John Bazik
206 #
207diff --git a/lib/find.pl b/lib/find.pl
208index 8e1b42c..7fb2fbf 100644
209--- a/lib/find.pl
210+++ b/lib/find.pl
211@@ -1,4 +1,4 @@
212-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
213+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
214
215 # This library is deprecated and unmaintained. It is included for
216 # compatibility with Perl 4 scripts which may use it, but it will be
217diff --git a/lib/finddepth.pl b/lib/finddepth.pl
218index 479905f..c07cea5 100644
219--- a/lib/finddepth.pl
220+++ b/lib/finddepth.pl
221@@ -1,4 +1,4 @@
222-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
223+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
224
225 # This library is deprecated and unmaintained. It is included for
226 # compatibility with Perl 4 scripts which may use it, but it will be
227diff --git a/lib/flush.pl b/lib/flush.pl
228index c427976..e5ed0ae 100644
229--- a/lib/flush.pl
230+++ b/lib/flush.pl
231@@ -1,4 +1,4 @@
232-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
233+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
234
235 #
236 # This library is no longer being maintained, and is included for backward
237diff --git a/lib/getcwd.pl b/lib/getcwd.pl
238index 77b2442..3810a99 100644
239--- a/lib/getcwd.pl
240+++ b/lib/getcwd.pl
241@@ -1,4 +1,4 @@
242-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
243+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
244
245 # By Brandon S. Allbery
246 #
247diff --git a/lib/getopt.pl b/lib/getopt.pl
248index 1d4008a..019a165 100644
249--- a/lib/getopt.pl
250+++ b/lib/getopt.pl
251@@ -1,4 +1,4 @@
252-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
253+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
254
255 ;# $RCSfile: getopt.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:23:58 $
256 #
257diff --git a/lib/getopts.pl b/lib/getopts.pl
258index 37ecb4a..3d27418 100644
259--- a/lib/getopts.pl
260+++ b/lib/getopts.pl
261@@ -1,4 +1,4 @@
262-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
263+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
264
265 ;# getopts.pl - a better getopt.pl
266 #
267diff --git a/lib/hostname.pl b/lib/hostname.pl
268index f57375e..b055d30 100644
269--- a/lib/hostname.pl
270+++ b/lib/hostname.pl
271@@ -1,4 +1,4 @@
272-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
273+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
274
275 # From: asherman@fmrco.com (Aaron Sherman)
276 #
277diff --git a/lib/importenv.pl b/lib/importenv.pl
278index 625edf6..52ee722 100644
279--- a/lib/importenv.pl
280+++ b/lib/importenv.pl
281@@ -1,4 +1,4 @@
282-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
283+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
284
285 # This library is no longer being maintained, and is included for backward
286 # compatibility with Perl 4 programs which may require it.
287diff --git a/lib/look.pl b/lib/look.pl
288index 7be55b2..12dcace 100644
289--- a/lib/look.pl
290+++ b/lib/look.pl
291@@ -1,4 +1,4 @@
292-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
293+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
294
295 ;# Usage: &look(*FILEHANDLE,$key,$dict,$fold)
296 #
297diff --git a/lib/newgetopt.pl b/lib/newgetopt.pl
298index 4ac9470..08df6cb 100644
299--- a/lib/newgetopt.pl
300+++ b/lib/newgetopt.pl
301@@ -1,4 +1,4 @@
302-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
303+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
304
305 # This library is no longer being maintained, and is included for backward
306 # compatibility with Perl 4 programs which may require it.
307diff --git a/lib/open2.pl b/lib/open2.pl
308index ceb5653..a05f2ab 100644
309--- a/lib/open2.pl
310+++ b/lib/open2.pl
311@@ -1,4 +1,4 @@
312-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
313+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
314
315 # This legacy library is deprecated and will be removed in a future
316 # release of perl.
317diff --git a/lib/open3.pl b/lib/open3.pl
318index 9f4d5a4..27f7ab4 100644
319--- a/lib/open3.pl
320+++ b/lib/open3.pl
321@@ -1,4 +1,4 @@
322-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
323+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
324
325 # This legacy library is deprecated and will be removed in a future
326 # release of perl.
327diff --git a/lib/pwd.pl b/lib/pwd.pl
328index bd8123b..bdace6e 100644
329--- a/lib/pwd.pl
330+++ b/lib/pwd.pl
331@@ -1,4 +1,4 @@
332-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
333+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
334
335 ;# pwd.pl - keeps track of current working directory in PWD environment var
336 ;#
337diff --git a/lib/shellwords.pl b/lib/shellwords.pl
338index b562f5f..7f16375 100644
339--- a/lib/shellwords.pl
340+++ b/lib/shellwords.pl
341@@ -1,4 +1,4 @@
342-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
343+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
344
345 ;# This legacy library is deprecated and will be removed in a future
346 ;# release of perl.
347diff --git a/lib/stat.pl b/lib/stat.pl
348index feda273..910ce1c 100644
349--- a/lib/stat.pl
350+++ b/lib/stat.pl
351@@ -1,4 +1,4 @@
352-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
353+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
354
355 ;# This legacy library is deprecated and will be removed in a future
356 ;# release of perl.
357diff --git a/lib/syslog.pl b/lib/syslog.pl
358index 7504a5d..4c2b95f 100644
359--- a/lib/syslog.pl
360+++ b/lib/syslog.pl
361@@ -1,4 +1,4 @@
362-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
363+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
364
365 #
366 # syslog.pl
367diff --git a/lib/tainted.pl b/lib/tainted.pl
368index e88bca1..d58c765 100644
369--- a/lib/tainted.pl
370+++ b/lib/tainted.pl
371@@ -1,4 +1,4 @@
372-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
373+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
374
375 # This legacy library is deprecated and will be removed in a future
376 # release of perl.
377diff --git a/lib/termcap.pl b/lib/termcap.pl
378index a84cba3..e641f4d 100644
379--- a/lib/termcap.pl
380+++ b/lib/termcap.pl
381@@ -1,4 +1,4 @@
382-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
383+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
384
385 ;# $RCSfile: termcap.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:24:16 $
386 #
387diff --git a/lib/timelocal.pl b/lib/timelocal.pl
388index fefb9da..2297888 100644
389--- a/lib/timelocal.pl
390+++ b/lib/timelocal.pl
391@@ -1,4 +1,4 @@
392-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
393+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
394
395 ;# timelocal.pl
396 ;#
397diff --git a/lib/validate.pl b/lib/validate.pl
398index fc2d16a..1a8aef4 100644
399--- a/lib/validate.pl
400+++ b/lib/validate.pl
401@@ -1,4 +1,4 @@
402-warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install it from the CPAN distribution Perl4::CoreLibs. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
403+warn "Legacy library @{[(caller(0))[6]]} will be removed from the Perl core distribution in the next major release. Please install the separate libperl4-corelibs-perl package. It is being used at @{[(caller)[1]]}, line @{[(caller)[2]]}.\n";
404
405 ;# The validate routine takes a single multiline string consisting of
406 ;# lines containing a filename plus a file test to try on it. (The
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff
new file mode 100644
index 0000000000..80c0acb39d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/disable-zlib-bundling.diff
@@ -0,0 +1,30 @@
1From 90c7967530102c66bbff25d89273d3f0bf189a83 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Fri, 10 Apr 2009 01:17:43 +0300
4Subject: Disable zlib bundling in Compress::Raw::Zlib
5
6Compress::Raw::Zlib statically links its bundled version of zlib
7by default, but we use the system library instead.
8
9Patch-Name: debian/disable-zlib-bundling.diff
10---
11 cpan/Compress-Raw-Zlib/config.in | 6 +++---
12 1 files changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/cpan/Compress-Raw-Zlib/config.in b/cpan/Compress-Raw-Zlib/config.in
15index c56cc03..2c6659b 100644
16--- a/cpan/Compress-Raw-Zlib/config.in
17+++ b/cpan/Compress-Raw-Zlib/config.in
18@@ -16,9 +16,9 @@
19 # Setting the Gzip OS Code
20 #
21
22-BUILD_ZLIB = True
23-INCLUDE = ./zlib-src
24-LIB = ./zlib-src
25+BUILD_ZLIB = False
26+INCLUDE = /usr/include
27+LIB = /usr/lib
28
29 OLD_ZLIB = False
30 GZIP_OS_CODE = AUTO_DETECT
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/doc_info.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/doc_info.diff
new file mode 100644
index 0000000000..a118da341c
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/doc_info.diff
@@ -0,0 +1,36 @@
1From 16ebe1f5232621d8894aa6c6210fdf2fc9b54a84 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 18 Mar 2005 22:22:25 +1100
4Subject: Replace generic man(1) instructions with Debian-specific
5 information.
6
7Indicate that the user needs to install the perl-doc package.
8
9Patch-Name: debian/doc_info.diff
10---
11 pod/perl.pod | 12 ++++++++++--
12 1 files changed, 10 insertions(+), 2 deletions(-)
13
14diff --git a/pod/perl.pod b/pod/perl.pod
15index 29cabf1..529ad6f 100644
16--- a/pod/perl.pod
17+++ b/pod/perl.pod
18@@ -261,8 +261,16 @@ For ease of access, the Perl manual has been split up into several sections.
19 perlwin32 Perl notes for Windows
20
21
22-On a Unix-like system, these documentation files will usually also be
23-available as manpages for use with the F<man> program.
24+On Debian systems, you need to install the B<perl-doc> package which
25+contains the majority of the standard Perl documentation and the
26+F<perldoc> program.
27+
28+Extensive additional documentation for Perl modules is available, both
29+those distributed with Perl and third-party modules which are packaged
30+or locally installed.
31+
32+You should be able to view Perl's documentation with your man(1)
33+program or perldoc(1).
34
35 In general, if something strange has gone wrong with your program and you're
36 not sure where you should look for help, try the B<-w> switch first. It will
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/enc2xs_inc.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/enc2xs_inc.diff
new file mode 100644
index 0000000000..7c33e90fda
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/enc2xs_inc.diff
@@ -0,0 +1,53 @@
1From e9fd6e7729b9ebd9bc74b8cf295cd3a7f5aa5472 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Tweak enc2xs to follow symlinks and ignore missing @INC directories.
5
6Bug-Debian: http://bugs.debian.org/290336
7
8- ignore missing directories,
9- follow symlinks (/usr/share/perl/5.8 -> 5.8.4).
10- filter "." out when running "enc2xs -C", it's unnecessary and causes
11 issues with follow => 1 (see #603686 and [rt.cpan.org #64585])
12
13Patch-Name: debian/enc2xs_inc.diff
14---
15 cpan/Encode/bin/enc2xs | 8 ++++----
16 1 files changed, 4 insertions(+), 4 deletions(-)
17
18diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs
19index 773c0a0..bc1ae1b 100644
20--- a/cpan/Encode/bin/enc2xs
21+++ b/cpan/Encode/bin/enc2xs
22@@ -924,11 +924,11 @@ use vars qw(
23 sub find_e2x{
24 eval { require File::Find; };
25 my (@inc, %e2x_dir);
26- for my $inc (@INC){
27+ for my $inc (grep -d, @INC){
28 push @inc, $inc unless $inc eq '.'; #skip current dir
29 }
30 File::Find::find(
31- sub {
32+ { wanted => sub {
33 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
34 $atime,$mtime,$ctime,$blksize,$blocks)
35 = lstat($_) or return;
36@@ -938,7 +938,7 @@ sub find_e2x{
37 $e2x_dir{$File::Find::dir} ||= $mtime;
38 }
39 return;
40- }, @inc);
41+ }, follow => 1}, @inc);
42 warn join("\n", keys %e2x_dir), "\n";
43 for my $d (sort {$e2x_dir{$a} <=> $e2x_dir{$b}} keys %e2x_dir){
44 $_E2X = $d;
45@@ -1005,7 +1005,7 @@ sub make_configlocal_pm {
46 $LocalMod{$enc} ||= $mod;
47 }
48 };
49- File::Find::find({wanted => $wanted}, @INC);
50+ File::Find::find({wanted => $wanted, follow => 1}, grep -d && !/^\./, @INC);
51 $_ModLines = "";
52 for my $enc ( sort keys %LocalMod ) {
53 $_ModLines .=
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/errno_ver.diff
new file mode 100644
index 0000000000..0f3bfa6667
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/errno_ver.diff
@@ -0,0 +1,35 @@
1From 973bed42db538804179f39d66dab37c82c6ade24 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 16 Dec 2005 01:32:14 +1100
4Subject: Remove Errno version check due to upgrade problems with long-running
5 processes.
6
7Bug-Debian: http://bugs.debian.org/343351
8
9Remove version check which can cause problems for long running
10processes embedding perl when upgrading to a newer version,
11compatible, but built on a different machine.
12
13Patch-Name: debian/errno_ver.diff
14---
15 ext/Errno/Errno_pm.PL | 5 -----
16 1 files changed, 0 insertions(+), 5 deletions(-)
17
18diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
19index 56bc815..01f510a 100644
20--- a/ext/Errno/Errno_pm.PL
21+++ b/ext/Errno/Errno_pm.PL
22@@ -332,13 +332,8 @@ EOF
23
24 package Errno;
25 require Exporter;
26-use Config;
27 use strict;
28
29-"\$Config{'archname'}-\$Config{'osvers'}" eq
30-"$Config{'archname'}-$Config{'osvers'}" or
31- die "Errno architecture ($Config{'archname'}-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
32-
33 our \$VERSION = "$VERSION";
34 \$VERSION = eval \$VERSION;
35 our \@ISA = 'Exporter';
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/extutils_set_libperl_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/extutils_set_libperl_path.diff
new file mode 100644
index 0000000000..4c2da327d5
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/extutils_set_libperl_path.diff
@@ -0,0 +1,23 @@
1From 334ac01a8306485ed901f4fb45d79f39a944fe77 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: EU:MM: Set location of libperl.a to /usr/lib
5
6Patch-Name: debian/extutils_set_libperl_path.diff
7---
8 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
10
11diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
12index 4ee6b3f..42bbb83 100644
13--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
14+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
15@@ -2409,7 +2409,7 @@ MAP_PRELIBS = $Config{perllibs} $Config{cryptlib}
16 ($lperl = $libperl) =~ s/\$\(A\)/$self->{LIB_EXT}/;
17 }
18 unless ($libperl && -f $lperl) { # Ilya's code...
19- my $dir = $self->{PERL_SRC} || "$self->{PERL_ARCHLIB}/CORE";
20+ my $dir = $self->{PERL_SRC} || "/usr/lib";
21 $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL};
22 $libperl ||= "libperl$self->{LIB_EXT}";
23 $libperl = "$dir/$libperl";
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fakeroot.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fakeroot.diff
new file mode 100644
index 0000000000..bd90af9b39
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fakeroot.diff
@@ -0,0 +1,44 @@
1From a46a7107fb045ffa6047488b8002fec97b621a11 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 18 Mar 2005 22:22:25 +1100
4Subject: Postpone LD_LIBRARY_PATH evaluation to the binary targets.
5
6Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the
7time the rule is evaluated rather than when the Makefile is created.
8
9This is required when building packages with dpkg-buildpackage and fakeroot,
10since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build"
11rule where the Makefile is created, but is for the clean/binary* targets.
12
13Patch-Name: debian/fakeroot.diff
14---
15 Makefile.SH | 9 ++-------
16 1 files changed, 2 insertions(+), 7 deletions(-)
17
18diff --git a/Makefile.SH b/Makefile.SH
19index eb6326a..1dac585 100755
20--- a/Makefile.SH
21+++ b/Makefile.SH
22@@ -36,12 +36,7 @@ case "$useshrplib" in
23 true)
24 # Prefix all runs of 'miniperl' and 'perl' with
25 # $ldlibpth so that ./perl finds *this* shared libperl.
26- case "$LD_LIBRARY_PATH" in
27- '')
28- ldlibpth="LD_LIBRARY_PATH=`pwd`";;
29- *)
30- ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
31- esac
32+ ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH'
33
34 pldlflags="$cccdlflags"
35 static_ldflags=''
36@@ -112,7 +107,7 @@ true)
37 ;;
38 esac
39 case "$ldlibpthname" in
40- '') ;;
41+ ''|LD_LIBRARY_PATH) ;;
42 *)
43 case "$osname" in
44 os2)
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/find_html2text.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/find_html2text.diff
new file mode 100644
index 0000000000..16de7ad022
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/find_html2text.diff
@@ -0,0 +1,35 @@
1From ca66b95be369b47a6d372c3653be57cd737f7f21 Mon Sep 17 00:00:00 2001
2From: Andreas Marschke <andreas.marschke@googlemail.com>
3Date: Sat, 17 Sep 2011 11:38:42 +0100
4Subject: Configure CPAN::Distribution with correct name of html2text
5
6Bug-Debian: http://bugs.debian.org/640479
7Patch-Name: debian/find_html2text.diff
8
9If you use cpan from Debian you usually wind up trying to read online
10documentation through it. Unfortunately cpan can't find the
11html2text.pl script even though it is installed using the Debian
12package 'html2text'.
13
14Please see the attached patch for a quick fix of this issue.
15
16[Maintainer's note: html2text in Debian is not the same implementation
17as the html2text.pl which is expected, but should provide similar
18functionality].
19---
20 cpan/CPAN/lib/CPAN/Distribution.pm | 2 +-
21 1 files changed, 1 insertions(+), 1 deletions(-)
22
23diff --git a/cpan/CPAN/lib/CPAN/Distribution.pm b/cpan/CPAN/lib/CPAN/Distribution.pm
24index 637ab27..a8193d9 100644
25--- a/cpan/CPAN/lib/CPAN/Distribution.pm
26+++ b/cpan/CPAN/lib/CPAN/Distribution.pm
27@@ -3715,7 +3715,7 @@ sub _display_url {
28 if $CPAN::DEBUG;
29
30 # should we define it in the config instead?
31- my $html_converter = "html2text.pl";
32+ my $html_converter = "html2text";
33
34 my $web_browser = $CPAN::Config->{'lynx'} || undef;
35 my $web_browser_out = $web_browser
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/document_makemaker_ccflags.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/document_makemaker_ccflags.diff
new file mode 100644
index 0000000000..3bda8f7099
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/document_makemaker_ccflags.diff
@@ -0,0 +1,31 @@
1From f0e3a51bd7286788e410510af86a6c07edac4445 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Mon, 30 May 2011 22:54:24 +0300
4Subject: Document that CCFLAGS should include $Config{ccflags}
5
6Bug: https://rt.cpan.org/Public/Bug/Display.html?id=68613
7Bug-Debian: http://bugs.debian.org/628522
8
9Compiling XS extensions without $Config{ccflags} can break the
10binary interface on some platforms.
11
12Patch-Name: fixes/document_makemaker_ccflags.diff
13---
14 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm | 4 ++++
15 1 files changed, 4 insertions(+), 0 deletions(-)
16
17diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
18index be9624e..c56ca8f 100644
19--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
20+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm
21@@ -1524,6 +1524,10 @@ currently used by MakeMaker but may be handy in Makefile.PLs.
22 String that will be included in the compiler call command line between
23 the arguments INC and OPTIMIZE.
24
25+The default value is taken from $Config{ccflags}. When overriding
26+CCFLAGS, make sure to include the $Config{ccflags} settings to avoid
27+binary incompatibilities.
28+
29 =item CONFIG
30
31 Arrayref. E.g. [qw(archname manext)] defines ARCHNAME & MANEXT from
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/extutils-cbuilder-cflags.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/extutils-cbuilder-cflags.diff
new file mode 100644
index 0000000000..cd86a76dea
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/extutils-cbuilder-cflags.diff
@@ -0,0 +1,86 @@
1From 0c91624f1f9ec46a6f13cad3031b706213233479 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Thu, 28 Apr 2011 09:18:54 +0300
4Subject: Append CFLAGS and LDFLAGS to their Config.pm counterparts in
5 EU::CBuilder
6
7Bug: http://rt.perl.org/rt3//Public/Bug/Display.html?id=89478
8Bug-Debian: http://bugs.debian.org/624460
9Origin: upstream, http://perl5.git.perl.org/perl.git/commitdiff/011e8fb476b5fb27c9aa613360d918aa0b798b3d
10
11Since ExtUtils::CBuilder 0.27_04 (bleadperl commit 06e8058f27e4),
12CFLAGS and LDFLAGS from the environment have overridden the Config.pm
13ccflags and ldflags settings. This can cause binary incompatibilities
14between the core Perl and extensions built with EU::CBuilder.
15
16Append to the Config.pm values rather than overriding them.
17
18Patch-Name: fixes/extutils-cbuilder-cflags.diff
19---
20 .../lib/ExtUtils/CBuilder/Base.pm | 6 +++-
21 dist/ExtUtils-CBuilder/t/04-base.t | 25 +++++++++++++++++++-
22 2 files changed, 28 insertions(+), 3 deletions(-)
23
24diff --git a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm
25index b572312..2255c51 100644
26--- a/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm
27+++ b/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Base.pm
28@@ -40,11 +40,13 @@ sub new {
29 $self->{config}{$k} = $v unless exists $self->{config}{$k};
30 }
31 $self->{config}{cc} = $ENV{CC} if defined $ENV{CC};
32- $self->{config}{ccflags} = $ENV{CFLAGS} if defined $ENV{CFLAGS};
33+ $self->{config}{ccflags} = join(" ", $self->{config}{ccflags}, $ENV{CFLAGS})
34+ if defined $ENV{CFLAGS};
35 $self->{config}{cxx} = $ENV{CXX} if defined $ENV{CXX};
36 $self->{config}{cxxflags} = $ENV{CXXFLAGS} if defined $ENV{CXXFLAGS};
37 $self->{config}{ld} = $ENV{LD} if defined $ENV{LD};
38- $self->{config}{ldflags} = $ENV{LDFLAGS} if defined $ENV{LDFLAGS};
39+ $self->{config}{ldflags} = join(" ", $self->{config}{ldflags}, $ENV{LDFLAGS})
40+ if defined $ENV{LDFLAGS};
41
42 unless ( exists $self->{config}{cxx} ) {
43 my ($ccpath, $ccbase, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/);
44diff --git a/dist/ExtUtils-CBuilder/t/04-base.t b/dist/ExtUtils-CBuilder/t/04-base.t
45index db0ef98..49819a1 100644
46--- a/dist/ExtUtils-CBuilder/t/04-base.t
47+++ b/dist/ExtUtils-CBuilder/t/04-base.t
48@@ -1,7 +1,7 @@
49 #! perl -w
50
51 use strict;
52-use Test::More tests => 50;
53+use Test::More tests => 64;
54 use Config;
55 use Cwd;
56 use File::Path qw( mkpath );
57@@ -328,6 +328,29 @@ is_deeply( $mksymlists_args,
58 "_prepare_mksymlists_args(): got expected arguments for Mksymlists",
59 );
60
61+my %testvars = (
62+ CFLAGS => 'ccflags',
63+ LDFLAGS => 'ldflags',
64+);
65+
66+while (my ($VAR, $var) = each %testvars) {
67+ local $ENV{$VAR};
68+ $base = ExtUtils::CBuilder::Base->new( quiet => 1 );
69+ ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" );
70+ isa_ok( $base, 'ExtUtils::CBuilder::Base' );
71+ like($base->{config}{$var}, qr/\Q$Config{$var}/,
72+ "honours $var from Config.pm");
73+
74+ $ENV{$VAR} = "-foo -bar";
75+ $base = ExtUtils::CBuilder::Base->new( quiet => 1 );
76+ ok( $base, "ExtUtils::CBuilder::Base->new() returned true value" );
77+ isa_ok( $base, 'ExtUtils::CBuilder::Base' );
78+ like($base->{config}{$var}, qr/\Q$ENV{$VAR}/,
79+ "honours $VAR from the environment");
80+ like($base->{config}{$var}, qr/\Q$Config{$var}/,
81+ "doesn't override $var from Config.pm with $VAR from the environment");
82+}
83+
84 #####
85
86 for ($source_file, $object_file, $lib_file) {
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/h2ph-multiarch.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/h2ph-multiarch.diff
new file mode 100644
index 0000000000..b18b464b07
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/h2ph-multiarch.diff
@@ -0,0 +1,69 @@
1From 37969e249dfc593ebabfcb682893b6c69dc6b313 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Wed, 18 May 2011 21:44:06 -0700
4Subject: Make h2ph correctly search gcc include directories
5
6Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=90122
7Bug-Debian: http://bugs.debian.org/625808
8Origin: upstream, http://perl5.git.perl.org/perl.git/commit/e7ec705d9b91d35fa99dc50d0a232b6372160a77
9
10System header conversion with "h2ph -a" is currently broken on Ubuntu
11Natty and Oneiric (unless the gcc-multilib package is installed for
12backward compatibility), resulting in things like
13
14 # perl -e 'require "syscall.ph"'
15 Can't locate asm/unistd.ph in @INC [...]
16
17This happens because Ubuntu has switched to a 'multiarch' setup, see
18<https://wiki.ubuntu.com/MultiarchSpec> for details.
19
20The asm subdirectory isn't in $Config{usrinc} anymore: /usr/include/asm
21is now /usr/include/x86_64-linux-gnu/asm. (The third component of the
22new path varies with the actual architecture.)
23
24gcc --print-search-dirs doesn't really tell anything about where gcc
25looks for the include directories, it was just used to find the gcc
26internal directory prefix.
27
28Parse the output of "gcc -v -E" instead, and append $Config{usrinc}
29for safety. Duplicates shouldn't matter.
30
31The h2ph "-a" switch isn't currently tested automatically, and that
32seems nontrivial to do portably. Manual testing was done with
33
34 # mkdir ttt
35 # ./perl -Ilib ./utils/h2ph -a -d $(pwd)/ttt syscall.h
36
37The gcc invocation has been tested to work with gcc 4.6, 4.1, and 3.3.
38
39http://bugs.debian.org/625808
40https://bugs.launchpad.net/bugs/777903
41
42Patch-Name: fixes/h2ph-multiarch.diff
43---
44 utils/h2ph.PL | 12 ++----------
45 1 files changed, 2 insertions(+), 10 deletions(-)
46
47diff --git a/utils/h2ph.PL b/utils/h2ph.PL
48index 87f3c7d..4545d6d 100644
49--- a/utils/h2ph.PL
50+++ b/utils/h2ph.PL
51@@ -761,16 +761,8 @@ sub queue_includes_from
52 # non-GCC?) C compilers, but gcc uses additional include directories.
53 sub inc_dirs
54 {
55- my $from_gcc = `LC_ALL=C $Config{cc} -v 2>&1`;
56- if( !( $from_gcc =~ s:^Reading specs from (.*?)/specs\b.*:$1/include:s ) )
57- { # gcc-4+ :
58- $from_gcc = `LC_ALL=C $Config{cc} -print-search-dirs 2>&1`;
59- if ( !($from_gcc =~ s/^install:\s*([^\s]+[^\s\/])([\s\/]*).*$/$1\/include/s) )
60- {
61- $from_gcc = '';
62- };
63- };
64- length($from_gcc) ? ($from_gcc, $from_gcc . "-fixed", $Config{usrinc}) : ($Config{usrinc});
65+ my $from_gcc = `LC_ALL=C $Config{cc} -v -E - < /dev/null 2>&1 | awk '/^#include/, /^End of search list/' | grep '^ '`;
66+ length($from_gcc) ? (split(' ', $from_gcc), $Config{usrinc}) : ($Config{usrinc});
67 }
68
69
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff
new file mode 100644
index 0000000000..901f98d344
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-ccflags.diff
@@ -0,0 +1,30 @@
1From f66e8575cb0ca11171f43efe0f9e3c6e790b75bc Mon Sep 17 00:00:00 2001
2From: Samuel Thibault <sthibault@debian.org>
3Date: Wed, 4 Aug 2010 13:34:05 +0300
4Subject: Make hints/gnu.sh append to $ccflags rather than overriding them
5
6Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=92244
7Bug-Debian: http://bugs.debian.org/587901
8Origin: upstream, http://perl5.git.perl.org/perl.git/commit/a190e648879
9
10Don't override possible extra $ccflags values given to Configure
11on GNU/Hurd.
12
13Patch-Name: fixes/hurd-ccflags.diff
14---
15 hints/gnu.sh | 2 +-
16 1 files changed, 1 insertions(+), 1 deletions(-)
17
18diff --git a/hints/gnu.sh b/hints/gnu.sh
19index 2cfce54..c1ba2db 100644
20--- a/hints/gnu.sh
21+++ b/hints/gnu.sh
22@@ -19,7 +19,7 @@ lddlflags='-shared'
23 ccdlflags='-Wl,-E'
24
25 # Debian bug #258618
26-ccflags='-D_GNU_SOURCE'
27+ccflags="-D_GNU_SOURCE $ccflags"
28
29 # The following routines are only available as stubs in GNU libc.
30 # XXX remove this once metaconf detects the GNU libc stubs.
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff
new file mode 100644
index 0000000000..1ba9cbd7a4
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/hurd-hints.diff
@@ -0,0 +1,48 @@
1From d6fd7595fcd04b332e7449f59ea298639f10a183 Mon Sep 17 00:00:00 2001
2From: Pino Toscano <pino@debian.org>
3Date: Wed, 10 Aug 2011 08:11:33 +0300
4Subject: Improve general GNU hints, needed for GNU/Hurd.
5
6Bug-Debian: http://bugs.debian.org/636609
7
8Patch-Name: fixes/hurd-hints.diff
9---
10 ext/ODBM_File/hints/gnu.pl | 1 +
11 hints/gnu.sh | 12 ++++++++++++
12 2 files changed, 13 insertions(+), 0 deletions(-)
13 create mode 100644 ext/ODBM_File/hints/gnu.pl
14
15diff --git a/ext/ODBM_File/hints/gnu.pl b/ext/ODBM_File/hints/gnu.pl
16new file mode 100644
17index 0000000..db63567
18--- /dev/null
19+++ b/ext/ODBM_File/hints/gnu.pl
20@@ -0,0 +1 @@
21+do './hints/linux.pl' or die $@;
22diff --git a/hints/gnu.sh b/hints/gnu.sh
23index c1ba2db..f075642 100644
24--- a/hints/gnu.sh
25+++ b/hints/gnu.sh
26@@ -8,10 +8,22 @@ set `echo X "$libswanted "| sed -e 's/ nsl / /' -e 's/ c / pthread /'`
27 shift
28 libswanted="$*"
29
30+# Debian 4.0 puts ndbm in the -lgdbm_compat library.
31+libswanted="$libswanted gdbm_compat"
32+
33 case "$optimize" in
34 '') optimize='-O2' ;;
35 esac
36
37+case "$plibpth" in
38+'') plibpth=`gcc -print-search-dirs | grep libraries |
39+ cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
40+ set X $plibpth # Collapse all entries on one line
41+ shift
42+ plibpth="$*"
43+ ;;
44+esac
45+
46 # Flags needed to produce shared libraries.
47 lddlflags='-shared'
48
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/index-tainting.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/index-tainting.diff
new file mode 100644
index 0000000000..204e9992a9
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/index-tainting.diff
@@ -0,0 +1,73 @@
1From e25298a339dd6679f1b080f0125ac1b237b87950 Mon Sep 17 00:00:00 2001
2From: David Mitchell <davem@iabyn.com>
3Date: Tue, 28 Jun 2011 17:04:40 +0100
4Subject: RT 64804: tainting with index() of a constant
5
6Bug: http://rt.perl.org/rt3/Public/Bug/Display.html?id=64804
7Bug-Debian: http://bugs.debian.org/291450
8Origin: upstream, http://perl5.git.perl.org/perl.git/commit/3b36395d31cf0a2f3a017505cd0ea857a7acb5d1
9
10At compile time, ck_index with a tainted constant set PL_tainted,
11which remained on during the rest of compilation, tainting all other
12constants.
13
14Fix this by saving and restoring PL_tainted across the call to
15fbm_compile, which is what sets PL_tainted.
16
17Patch-Name: fixes/index-tainting.diff
18---
19 op.c | 5 ++++-
20 t/op/taint.t | 16 +++++++++++++++-
21 2 files changed, 19 insertions(+), 2 deletions(-)
22
23diff --git a/op.c b/op.c
24index e21b9a4..973df13 100644
25--- a/op.c
26+++ b/op.c
27@@ -7780,8 +7780,11 @@ Perl_ck_index(pTHX_ OP *o)
28 OP *kid = cLISTOPo->op_first->op_sibling; /* get past pushmark */
29 if (kid)
30 kid = kid->op_sibling; /* get past "big" */
31- if (kid && kid->op_type == OP_CONST)
32+ if (kid && kid->op_type == OP_CONST) {
33+ const bool save_taint = PL_tainted;
34 fbm_compile(((SVOP*)kid)->op_sv, 0);
35+ PL_tainted = save_taint;
36+ }
37 }
38 return ck_fun(o);
39 }
40diff --git a/t/op/taint.t b/t/op/taint.t
41index 9df6fee..a300b9b 100644
42--- a/t/op/taint.t
43+++ b/t/op/taint.t
44@@ -17,7 +17,7 @@ BEGIN {
45 use strict;
46 use Config;
47
48-plan tests => 774;
49+plan tests => 778;
50
51 $| = 1;
52
53@@ -2144,6 +2144,20 @@ end
54 is_tainted $dest, "ucfirst(tainted) taints its return value";
55 }
56
57+
58+# tainted constants and index()
59+# RT 64804; http://bugs.debian.org/291450
60+{
61+ ok(tainted $old_env_path, "initial taintedness");
62+ BEGIN { no strict 'refs'; my $v = $old_env_path; *{"::C"} = sub () { $v }; }
63+ ok(tainted C, "constant is tainted properly");
64+ ok(!tainted "", "tainting not broken yet");
65+ index(undef, C);
66+ ok(!tainted "", "tainting still works after index() of the constant");
67+}
68+
69+
70+
71 # This may bomb out with the alarm signal so keep it last
72 SKIP: {
73 skip "No alarm()" unless $Config{d_alarm};
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/module-build-home-directory.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/module-build-home-directory.diff
new file mode 100644
index 0000000000..1c9009b32a
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/module-build-home-directory.diff
@@ -0,0 +1,37 @@
1From 9266292f705f2a3b6e5b97fa50e5f2be31371d5c Mon Sep 17 00:00:00 2001
2From: Dominic Hargreaves <dom@earth.li>
3Date: Mon, 2 May 2011 10:35:04 +0100
4Subject: Fix failing tilde test when run under a UID without a passwd entry
5
6Bug: https://rt.cpan.org/Public/Bug/Display.html?id=67893
7Bug-Debian: http://bugs.debian.org/624850
8
9Patch-Name: fixes/module-build-home-directory.diff
10---
11 cpan/Module-Build/t/tilde.t | 6 ++++--
12 1 files changed, 4 insertions(+), 2 deletions(-)
13
14diff --git a/cpan/Module-Build/t/tilde.t b/cpan/Module-Build/t/tilde.t
15index fac821b..04f0210 100644
16--- a/cpan/Module-Build/t/tilde.t
17+++ b/cpan/Module-Build/t/tilde.t
18@@ -46,7 +46,8 @@ SKIP: {
19
20 unless (defined $home) {
21 my @info = eval { getpwuid $> };
22- skip "No home directory for tilde-expansion tests", 15 if $@;
23+ skip "No home directory for tilde-expansion tests", 15 if $@
24+ or !defined $info[7];
25 $home = $info[7];
26 }
27
28@@ -95,7 +96,8 @@ SKIP: {
29 # Again, with named users
30 SKIP: {
31 my @info = eval { getpwuid $> };
32- skip "No home directory for tilde-expansion tests", 1 if $@;
33+ skip "No home directory for tilde-expansion tests", 1 if $@
34+ or !defined $info[7] or !defined $info[0];
35 my ($me, $home) = @info[0,7];
36
37 my $expected = "$home/fooxzy";
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/net_smtp_docs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/net_smtp_docs.diff
new file mode 100644
index 0000000000..549fc1007d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/net_smtp_docs.diff
@@ -0,0 +1,25 @@
1From ab32eba7fcc45d864c22e8f4ee02e0a6712070e0 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Thu, 20 Sep 2007 19:47:14 +1000
4Subject: Document the Net::SMTP 'Port' option
5
6Bug-Debian: http://bugs.debian.org/100195
7Bug: http://rt.cpan.org/Public/Bug/Display.html?id=36038
8
9Patch-Name: fixes/net_smtp_docs.diff
10---
11 cpan/libnet/Net/SMTP.pm | 1 +
12 1 files changed, 1 insertions(+), 0 deletions(-)
13
14diff --git a/cpan/libnet/Net/SMTP.pm b/cpan/libnet/Net/SMTP.pm
15index a28496d..07b2498 100644
16--- a/cpan/libnet/Net/SMTP.pm
17+++ b/cpan/libnet/Net/SMTP.pm
18@@ -625,6 +625,7 @@ Net::SMTP will attempt to extract the address from the value passed.
19
20 B<Debug> - Enable debugging information
21
22+B<Port> - Select a port on the remote host to connect to (default is 25)
23
24 Example:
25
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/pod_fixes.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/pod_fixes.diff
new file mode 100644
index 0000000000..eb0eb0bf44
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/pod_fixes.diff
@@ -0,0 +1,145 @@
1From c6b1fdd18dab0236458502564e54c180bb0ce341 Mon Sep 17 00:00:00 2001
2From: Keith Thompson <kst@mib.org>
3Date: Fri, 29 Jul 2011 17:17:00 -0700
4Subject: Fix typos in several pod/perl*.pod files
5
6Bug-Debian: http://bugs.debian.org/637816
7Origin: http://perl5.git.perl.org/perl.git/commit/7698aede74509727f7bca31c58fc7a53b182315d
8Patch-Name: fixes/pod_fixes.diff
9---
10 pod/perlfunc.pod | 8 ++++----
11 pod/perlglossary.pod | 10 +++++-----
12 pod/perlmod.pod | 4 ++--
13 pod/perlretut.pod | 6 +++---
14 4 files changed, 14 insertions(+), 14 deletions(-)
15
16diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
17index 2ee3637..719a740 100644
18--- a/pod/perlfunc.pod
19+++ b/pod/perlfunc.pod
20@@ -3918,7 +3918,7 @@ count. A numeric repeat count may optionally be enclosed in brackets, as
21 in C<pack("C[80]", @arr)>. The repeat count gobbles that many values from
22 the LIST when used with all format types other than C<a>, C<A>, C<Z>, C<b>,
23 C<B>, C<h>, C<H>, C<@>, C<.>, C<x>, C<X>, and C<P>, where it means
24-something else, dscribed below. Supplying a C<*> for the repeat count
25+something else, described below. Supplying a C<*> for the repeat count
26 instead of a number means to use however many items are left, except for:
27
28 =over
29@@ -5870,7 +5870,7 @@ sometimes saying the opposite, for example) the results are not
30 well-defined.
31
32 Because C<< <=> >> returns C<undef> when either operand is C<NaN>
33-(not-a-number), and laso because C<sort> raises an exception unless the
34+(not-a-number), and also because C<sort> raises an exception unless the
35 result of a comparison is defined, be careful when sorting with a
36 comparison function like C<< $a <=> $b >> any lists that might contain a
37 C<NaN>. The following example takes advantage that C<NaN != NaN> to
38@@ -5958,7 +5958,7 @@ specified.
39
40 A pattern matching the empty string (not to be confused with
41 an empty pattern C<//>, which is just one member of the set of patterns
42-matching the epmty string), splits EXPR into individual
43+matching the empty string), splits EXPR into individual
44 characters. For example:
45
46 print join(':', split(/ */, 'hi there')), "\n";
47@@ -6222,7 +6222,7 @@ For example:
48 printf '<%.1e>', 10; # prints "<1.0e+01>"
49
50 For "g" and "G", this specifies the maximum number of digits to show,
51-including thoe prior to the decimal point and those after it; for
52+including those prior to the decimal point and those after it; for
53 example:
54
55 # These examples are subject to system-specific variation.
56diff --git a/pod/perlglossary.pod b/pod/perlglossary.pod
57index 639ce33..191371c 100644
58--- a/pod/perlglossary.pod
59+++ b/pod/perlglossary.pod
60@@ -507,7 +507,7 @@ the class (its L<objects|/object>). See also L</inheritance>.
61
62 =item class method
63
64-A L</method> whose L</invocand> is a L</package> name, not an
65+A L</method> whose L</invocant> is a L</package> name, not an
66 L</object> reference. A method associated with the class as a whole.
67
68 =item client
69@@ -1470,7 +1470,7 @@ Perl, C<print STDOUT "$foo\n";> can be understood as "verb
70 indirect-object object" where L</STDOUT> is the recipient of the
71 L<print|perlfunc/print> action, and C<"$foo"> is the object being
72 printed. Similarly, when invoking a L</method>, you might place the
73-invocand between the method and its arguments:
74+invocant between the method and its arguments:
75
76 $gollum = new Pathetic::Creature "Smeagol";
77 give $gollum "Fisssssh!";
78@@ -1548,11 +1548,11 @@ of compiler that takes a program and turns it into a more executable
79 form (L<syntax trees|/syntax tree>) within the I<perl> process itself,
80 which the Perl L</run time> system then interprets.
81
82-=item invocand
83+=item invocant
84
85 The agent on whose behalf a L</method> is invoked. In a L</class>
86-method, the invocand is a package name. In an L</instance> method,
87-the invocand is an object reference.
88+method, the invocant is a package name. In an L</instance> method,
89+the invocant is an object reference.
90
91 =item invocation
92
93diff --git a/pod/perlmod.pod b/pod/perlmod.pod
94index 5266f19..17de73e 100644
95--- a/pod/perlmod.pod
96+++ b/pod/perlmod.pod
97@@ -571,7 +571,7 @@ like for example handle the cloning of non-Perl data, if necessary.
98 C<CLONE> will be called once as a class method for every package that has it
99 defined (or inherits it). It will be called in the context of the new thread,
100 so all modifications are made in the new area. Currently CLONE is called with
101-no parameters other than the invocand package name, but code should not assume
102+no parameters other than the invocant package name, but code should not assume
103 that this will remain unchanged, as it is likely that in future extra parameters
104 will be passed in to give more information about the state of cloning.
105
106@@ -593,7 +593,7 @@ to make use of the objects, then a more sophisticated approach is
107 needed.
108
109 Like C<CLONE>, C<CLONE_SKIP> is currently called with no parameters other
110-than the invocand package name, although that may change. Similarly, to
111+than the invocant package name, although that may change. Similarly, to
112 allow for future expansion, the return value should be a single C<0> or
113 C<1> value.
114
115diff --git a/pod/perlretut.pod b/pod/perlretut.pod
116index ea80594..1c65f5b 100644
117--- a/pod/perlretut.pod
118+++ b/pod/perlretut.pod
119@@ -781,7 +781,7 @@ so may lead to surprising and unsatisfactory results.
120 =head2 Relative backreferences
121
122 Counting the opening parentheses to get the correct number for a
123-backreference is errorprone as soon as there is more than one
124+backreference is error-prone as soon as there is more than one
125 capturing group. A more convenient technique became available
126 with Perl 5.10: relative backreferences. To refer to the immediately
127 preceding capture group one now may write C<\g{-1}>, the next but
128@@ -1537,7 +1537,7 @@ the regexp in the I<last successful match> is used instead. So we have
129
130 =head3 Global matching
131
132-The final two modifiers we will disccuss here,
133+The final two modifiers we will discuss here,
134 C<//g> and C<//c>, concern multiple matches.
135 The modifier C<//g> stands for global matching and allows the
136 matching operator to match within a string as many times as possible.
137@@ -1870,7 +1870,7 @@ substituted.
138
139 C<\Q>, C<\L>, C<\l>, C<\U>, C<\u> and C<\E> are actually part of
140 double-quotish syntax, and not part of regexp syntax proper. They will
141-work if they appear in a regular expression embeddded directly in a
142+work if they appear in a regular expression embedded directly in a
143 program, but not when contained in a string that is interpolated in a
144 pattern.
145
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/respect_umask.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/respect_umask.diff
new file mode 100644
index 0000000000..a84c9f9e3e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/respect_umask.diff
@@ -0,0 +1,153 @@
1From 0d1ab4f799eb14d5488fcc959f4a6bdec548b370 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Respect umask during installation
5
6This is needed to satisfy Debian policy regarding group-writable
7site directories.
8
9Patch-Name: fixes/respect_umask.diff
10---
11 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 18 +++++++++---------
12 dist/ExtUtils-Install/lib/ExtUtils/Install.pm | 18 +++++++++---------
13 2 files changed, 18 insertions(+), 18 deletions(-)
14
15diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
16index 6964eea..865d36d 100644
17--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
18+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
19@@ -2053,7 +2053,7 @@ doc__install : doc_site_install
20 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
21
22 pure_perl_install :: all
23- $(NOECHO) $(MOD_INSTALL) \
24+ $(NOECHO) umask 022; $(MOD_INSTALL) \
25 read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
26 write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
27 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
28@@ -2067,7 +2067,7 @@ pure_perl_install :: all
29
30
31 pure_site_install :: all
32- $(NOECHO) $(MOD_INSTALL) \
33+ $(NOECHO) umask 022; $(MOD_INSTALL) \
34 read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
35 write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \
36 $(INST_LIB) $(DESTINSTALLSITELIB) \
37@@ -2080,7 +2080,7 @@ pure_site_install :: all
38 }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{
39
40 pure_vendor_install :: all
41- $(NOECHO) $(MOD_INSTALL) \
42+ $(NOECHO) umask 022; $(MOD_INSTALL) \
43 read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
44 write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
45 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
46@@ -2092,8 +2092,8 @@ pure_vendor_install :: all
47
48 doc_perl_install :: all
49 $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
50- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
51- -$(NOECHO) $(DOC_INSTALL) \
52+ -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB)
53+ -$(NOECHO) umask 022; $(DOC_INSTALL) \
54 "Module" "$(NAME)" \
55 "installed into" "$(INSTALLPRIVLIB)" \
56 LINKTYPE "$(LINKTYPE)" \
57@@ -2103,8 +2103,8 @@ doc_perl_install :: all
58
59 doc_site_install :: all
60 $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
61- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
62- -$(NOECHO) $(DOC_INSTALL) \
63+ -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB)
64+ -$(NOECHO) umask 022; $(DOC_INSTALL) \
65 "Module" "$(NAME)" \
66 "installed into" "$(INSTALLSITELIB)" \
67 LINKTYPE "$(LINKTYPE)" \
68@@ -2114,8 +2114,8 @@ doc_site_install :: all
69
70 doc_vendor_install :: all
71 $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
72- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
73- -$(NOECHO) $(DOC_INSTALL) \
74+ -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB)
75+ -$(NOECHO) umask 022; $(DOC_INSTALL) \
76 "Module" "$(NAME)" \
77 "installed into" "$(INSTALLVENDORLIB)" \
78 LINKTYPE "$(LINKTYPE)" \
79diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
80index 3b030a5..cb0e9e0 100644
81--- a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
82+++ b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
83@@ -468,7 +468,7 @@ sub _can_write_dir {
84
85 =pod
86
87-=item _mkpath($dir,$show,$mode,$verbose,$dry_run)
88+=item _mkpath($dir,$show,$verbose,$dry_run)
89
90 Wrapper around File::Path::mkpath() to handle errors.
91
92@@ -485,13 +485,13 @@ writable.
93 =cut
94
95 sub _mkpath {
96- my ($dir,$show,$mode,$verbose,$dry_run)=@_;
97+ my ($dir,$show,$verbose,$dry_run)=@_;
98 if ( $verbose && $verbose > 1 && ! -d $dir) {
99 $show= 1;
100- printf "mkpath(%s,%d,%#o)\n", $dir, $show, $mode;
101+ printf "mkpath(%s,%d)\n", $dir, $show;
102 }
103 if (!$dry_run) {
104- if ( ! eval { File::Path::mkpath($dir,$show,$mode); 1 } ) {
105+ if ( ! eval { File::Path::mkpath($dir,$show); 1 } ) {
106 _choke("Can't create '$dir'","$@");
107 }
108
109@@ -796,7 +796,7 @@ sub install { #XXX OS-SPECIFIC
110 _chdir($cwd);
111 }
112 foreach my $targetdir (sort keys %check_dirs) {
113- _mkpath( $targetdir, 0, 0755, $verbose, $dry_run );
114+ _mkpath( $targetdir, 0, $verbose, $dry_run );
115 }
116 foreach my $found (@found_files) {
117 my ($diff, $ffd, $origfile, $mode, $size, $atime, $mtime,
118@@ -810,7 +810,7 @@ sub install { #XXX OS-SPECIFIC
119 $targetfile= _unlink_or_rename( $targetfile, 'tryhard', 'install' )
120 unless $dry_run;
121 } elsif ( ! -d $targetdir ) {
122- _mkpath( $targetdir, 0, 0755, $verbose, $dry_run );
123+ _mkpath( $targetdir, 0, $verbose, $dry_run );
124 }
125 print "Installing $targetfile\n";
126
127@@ -850,7 +850,7 @@ sub install { #XXX OS-SPECIFIC
128
129 if ($pack{'write'}) {
130 $dir = install_rooted_dir(dirname($pack{'write'}));
131- _mkpath( $dir, 0, 0755, $verbose, $dry_run );
132+ _mkpath( $dir, 0, $verbose, $dry_run );
133 print "Writing $pack{'write'}\n" if $verbose;
134 $packlist->write(install_rooted_file($pack{'write'})) unless $dry_run;
135 }
136@@ -1190,7 +1190,7 @@ be prepended as a directory to each installed file (and directory).
137 sub pm_to_blib {
138 my($fromto,$autodir,$pm_filter) = @_;
139
140- _mkpath($autodir,0,0755);
141+ _mkpath($autodir,0);
142 while(my($from, $to) = each %$fromto) {
143 if( -f $to && -s $from == -s $to && -M $to < -M $from ) {
144 print "Skip $to (unchanged)\n";
145@@ -1213,7 +1213,7 @@ sub pm_to_blib {
146 # we wont try hard here. its too likely to mess things up.
147 forceunlink($to);
148 } else {
149- _mkpath(dirname($to),0,0755);
150+ _mkpath(dirname($to),0);
151 }
152 if ($need_filtering) {
153 run_filter($pm_filter, $from, $to);
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/sys-syslog-socket-timeout-kfreebsd.patch b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/sys-syslog-socket-timeout-kfreebsd.patch
new file mode 100644
index 0000000000..e29e9b0c04
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/fixes/sys-syslog-socket-timeout-kfreebsd.patch
@@ -0,0 +1,36 @@
1From 9ba88d73444c22788b7c2a212e15dbfe3da2a1af Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Wed, 3 Aug 2011 22:36:24 +0300
4Subject: Use a socket timeout on GNU/kFreeBSD to catch ICMP port unreachable
5 messages
6
7Bug: http://rt.cpan.org/Ticket/Display.html?id=69997
8Bug-Debian: http://bugs.debian.org/627821
9
10Without this, openlog() on a UDP socket may succeed on the FreeBSD kernel
11even when there's no listener, causing test failures.
12
13It seems probable that all FreeBSD-based systems suffer from the
14same issue, but that's for upstream to decide.
15
16Patch-Name: fixes/sys-syslog-socket-timeout-kfreebsd.patch
17---
18 cpan/Sys-Syslog/Syslog.pm | 5 ++++-
19 1 files changed, 4 insertions(+), 1 deletions(-)
20
21diff --git a/cpan/Sys-Syslog/Syslog.pm b/cpan/Sys-Syslog/Syslog.pm
22index 002e6e4..b445c66 100644
23--- a/cpan/Sys-Syslog/Syslog.pm
24+++ b/cpan/Sys-Syslog/Syslog.pm
25@@ -138,7 +138,10 @@ my @fallbackMethods = ();
26 # happy, the timeout is now zero by default on all systems
27 # except on OSX where it is set to 250 msec, and can be set
28 # with the infamous setlogsock() function.
29-$sock_timeout = 0.25 if $^O =~ /darwin/;
30+#
31+# Debian change: include Debian GNU/kFreeBSD, lower to 1ms
32+# see [rt.cpan.org #69997]
33+$sock_timeout = 0.001 if $^O =~ /darwin|gnukfreebsd/;
34
35 # coderef for a nicer handling of errors
36 my $err_sub = $options{nofatal} ? \&warnings::warnif : \&croak;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/instmodsh_doc.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/instmodsh_doc.diff
new file mode 100644
index 0000000000..ab0133d92f
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/instmodsh_doc.diff
@@ -0,0 +1,27 @@
1From ab89a31d1f46388a61953349c3546e4082cd38de Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Debian policy doesn't install .packlist files for core or vendor.
5
6Patch-Name: debian/instmodsh_doc.diff
7---
8 cpan/ExtUtils-MakeMaker/bin/instmodsh | 4 +++-
9 1 files changed, 3 insertions(+), 1 deletions(-)
10
11diff --git a/cpan/ExtUtils-MakeMaker/bin/instmodsh b/cpan/ExtUtils-MakeMaker/bin/instmodsh
12index 5874aa6..6a2f03e 100644
13--- a/cpan/ExtUtils-MakeMaker/bin/instmodsh
14+++ b/cpan/ExtUtils-MakeMaker/bin/instmodsh
15@@ -18,9 +18,11 @@ instmodsh - A shell to examine installed modules
16
17 =head1 DESCRIPTION
18
19-A little interface to ExtUtils::Installed to examine installed modules,
20+A little interface to ExtUtils::Installed to examine locally* installed modules,
21 validate your packlists and even create a tarball from an installed module.
22
23+*On Debian system, B<core> and B<vendor> modules are managed by C<dpkg>.
24+
25 =head1 SEE ALSO
26
27 ExtUtils::Installed
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/ld_run_path.diff
new file mode 100644
index 0000000000..d38b04b613
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/ld_run_path.diff
@@ -0,0 +1,24 @@
1From 704f6017119ce0301a9105944512120a38a43a02 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 18 Mar 2005 22:22:25 +1100
4Subject: Remove standard libs from LD_RUN_PATH as per Debian policy.
5
6Patch-Name: debian/ld_run_path.diff
7---
8 .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 3 +++
9 1 files changed, 3 insertions(+), 0 deletions(-)
10
11diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
12index cf4826f..eb212b5 100644
13--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
14+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
15@@ -54,6 +54,9 @@ sub _unix_os2_ext {
16 my($pwd) = cwd(); # from Cwd.pm
17 my($found) = 0;
18
19+ # Debian-specific: don't use LD_RUN_PATH for standard dirs
20+ $ld_run_path_seen{$_}++ for @libpath;
21+
22 foreach my $thislib (split ' ', $potential_libs) {
23
24 # Handle possible linker path arguments.
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/libnet_config_path.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/libnet_config_path.diff
new file mode 100644
index 0000000000..6604d35c5b
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/libnet_config_path.diff
@@ -0,0 +1,37 @@
1From 7465b6d008187580eabe655b9c8e75351d3d24b4 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Set location of libnet.cfg to /etc/perl/Net as /usr may not be
5 writable.
6
7Patch-Name: debian/libnet_config_path.diff
8---
9 cpan/libnet/Net/Config.pm | 7 +++----
10 1 files changed, 3 insertions(+), 4 deletions(-)
11
12diff --git a/cpan/libnet/Net/Config.pm b/cpan/libnet/Net/Config.pm
13index db51c1f..8404593 100644
14--- a/cpan/libnet/Net/Config.pm
15+++ b/cpan/libnet/Net/Config.pm
16@@ -57,9 +57,8 @@ my %nc = (
17 }
18 TRY_INTERNET_CONFIG
19
20-my $file = __FILE__;
21+my $file = '/etc/perl/Net/libnet.cfg';
22 my $ref;
23-$file =~ s/Config.pm/libnet.cfg/;
24 if (-f $file) {
25 $ref = eval { local $SIG{__DIE__}; do $file };
26 if (ref($ref) eq 'HASH') {
27@@ -132,8 +131,8 @@ Net::Config - Local configuration data for libnet
28 C<Net::Config> holds configuration data for the modules in the libnet
29 distribution. During installation you will be asked for these values.
30
31-The configuration data is held globally in a file in the perl installation
32-tree, but a user may override any of these values by providing their own. This
33+The configuration data is held globally in C</etc/perl/Net/libnet.cfg>,
34+but a user may override any of these values by providing their own. This
35 can be done by having a C<.libnetrc> file in their home directory. This file
36 should return a reference to a HASH containing the keys described below.
37 For example
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/libperl_embed_doc.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/libperl_embed_doc.diff
new file mode 100644
index 0000000000..cc3e0507f8
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/libperl_embed_doc.diff
@@ -0,0 +1,26 @@
1From d70e88badfcc6edd05e884597f19fbbdcf2cf6a7 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Note that libperl-dev package is required for embedded linking
5
6Bug-Debian: http://bugs.debian.org/186778
7
8Patch-Name: debian/libperl_embed_doc.diff
9---
10 lib/ExtUtils/Embed.pm | 3 +++
11 1 files changed, 3 insertions(+), 0 deletions(-)
12
13diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm
14index 9710630..86f13b5 100644
15--- a/lib/ExtUtils/Embed.pm
16+++ b/lib/ExtUtils/Embed.pm
17@@ -305,6 +305,9 @@ and extensions in your C/C++ applications.
18 Typically, an application B<Makefile> will invoke ExtUtils::Embed
19 functions while building your application.
20
21+Note that on Debian systems the B<libperl-dev> package is required for
22+compiling applications which embed an interpreter.
23+
24 =head1 @EXPORT
25
26 ExtUtils::Embed exports the following functions:
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/m68k_thread_stress.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/m68k_thread_stress.diff
new file mode 100644
index 0000000000..f1dfe36043
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/m68k_thread_stress.diff
@@ -0,0 +1,46 @@
1From 55a718425dc4612ac01850ef786f75f072b20b9e Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Mon, 8 Sep 2008 20:48:14 +0300
4Subject: Disable some threads tests on m68k for now due to missing TLS.
5
6Bug-Debian: http://bugs.debian.org/495826
7Bug-Debian: http://bugs.debian.org/517938
8
9Patch-Name: debian/m68k_thread_stress.diff
10---
11 dist/threads-shared/t/stress.t | 4 ++++
12 dist/threads-shared/t/waithires.t | 6 ++++++
13 2 files changed, 10 insertions(+), 0 deletions(-)
14
15diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
16index 652a3e6..2f1b576 100644
17--- a/dist/threads-shared/t/stress.t
18+++ b/dist/threads-shared/t/stress.t
19@@ -11,6 +11,10 @@ BEGIN {
20 print("1..0 # SKIP Broken under HP-UX 10.20\n");
21 exit(0);
22 }
23+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
24+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
25+ exit(0);
26+ }
27 }
28
29 use ExtUtils::testlib;
30diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t
31index 3c3e852..349c5b4 100644
32--- a/dist/threads-shared/t/waithires.t
33+++ b/dist/threads-shared/t/waithires.t
34@@ -16,6 +16,12 @@ BEGIN {
35 if (! eval 'use Time::HiRes "time"; 1') {
36 Test::skip_all('Time::HiRes not available');
37 }
38+
39+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
40+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
41+ exit(0);
42+ }
43+
44 }
45
46 use ExtUtils::testlib;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/mod_paths.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/mod_paths.diff
new file mode 100644
index 0000000000..2cc0946f51
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/mod_paths.diff
@@ -0,0 +1,99 @@
1From 11633e598640b02e19329f323623af254fbac451 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 18 Mar 2005 22:22:25 +1100
4Subject: Tweak @INC ordering for Debian
5
6Our order is:
7
8 etc (for config files)
9 site (5.8.1)
10 vendor (all)
11 core (5.8.1)
12 site (version-indep)
13 site (pre-5.8.1)
14
15The rationale being that an admin (via site), or module packager
16(vendor) can chose to shadow core modules when there is a newer
17version than is included in core.
18
19Patch-Name: debian/mod_paths.diff
20---
21 perl.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22 1 files changed, 58 insertions(+), 0 deletions(-)
23
24diff --git a/perl.c b/perl.c
25index f756e02..d26dcb0 100644
26--- a/perl.c
27+++ b/perl.c
28@@ -4219,6 +4219,11 @@ S_init_perllib(pTHX)
29 INCPUSH_ADD_SUB_DIRS|INCPUSH_CAN_RELOCATE);
30 #endif
31
32+#ifdef DEBIAN
33+ /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */
34+ S_incpush_use_sep(aTHX_ STR_WITH_LEN("/etc/perl"), 0x0);
35+#endif
36+
37 #ifdef SITEARCH_EXP
38 /* sitearch is always relative to sitelib on Windows for
39 * DLL-based path intuition to work correctly */
40@@ -4336,6 +4341,59 @@ S_init_perllib(pTHX)
41 INCPUSH_ADD_OLD_VERS|INCPUSH_CAN_RELOCATE);
42 #endif
43
44+#ifdef DEBIAN
45+ /* Non-versioned site directory for local modules and for
46+ compatability with the previous packages' site dirs */
47+ S_incpush_use_sep(aTHX_ STR_WITH_LEN("/usr/local/lib/site_perl"),
48+ INCPUSH_ADD_SUB_DIRS);
49+
50+#ifdef PERL_INC_VERSION_LIST
51+ {
52+ struct stat s;
53+
54+ /* add small buffer in case old versions are longer than the
55+ current version */
56+ char sitearch[sizeof(SITEARCH_EXP)+16] = SITEARCH_EXP;
57+ char sitelib[sizeof(SITELIB_EXP)+16] = SITELIB_EXP;
58+ char const *vers[] = { PERL_INC_VERSION_LIST };
59+ char const **p;
60+
61+ char *arch_vers = strrchr(sitearch, '/');
62+ char *lib_vers = strrchr(sitelib, '/');
63+
64+ if (arch_vers && isdigit(*++arch_vers))
65+ *arch_vers = 0;
66+ else
67+ arch_vers = 0;
68+
69+ if (lib_vers && isdigit(*++lib_vers))
70+ *lib_vers = 0;
71+ else
72+ lib_vers = 0;
73+
74+ /* there is some duplication here as incpush does something
75+ similar internally, but required as sitearch is not a
76+ subdirectory of sitelib */
77+ for (p = vers; *p; p++)
78+ {
79+ if (arch_vers)
80+ {
81+ strcpy(arch_vers, *p);
82+ if (PerlLIO_stat(sitearch, &s) >= 0 && S_ISDIR(s.st_mode))
83+ S_incpush_use_sep(aTHX_ sitearch, strlen(sitearch), 0x0);
84+ }
85+
86+ if (lib_vers)
87+ {
88+ strcpy(lib_vers, *p);
89+ if (PerlLIO_stat(sitelib, &s) >= 0 && S_ISDIR(s.st_mode))
90+ S_incpush_use_sep(aTHX_ sitelib, strlen(sitelib), 0x0);
91+ }
92+ }
93+ }
94+#endif
95+#endif
96+
97 #ifdef PERL_OTHERLIBDIRS
98 S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_OTHERLIBDIRS),
99 INCPUSH_ADD_OLD_VERS|INCPUSH_ADD_ARCHONLY_SUB_DIRS
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/module_build_man_extensions.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/module_build_man_extensions.diff
new file mode 100644
index 0000000000..b11433fb5e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/module_build_man_extensions.diff
@@ -0,0 +1,35 @@
1From fbb5f07872d45bac76b5c3c83b50a19aa5da10b0 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Thu, 8 May 2008 14:32:33 +0300
4Subject: Adjust Module::Build manual page extensions for the Debian Perl
5 policy
6
7Bug-Debian: http://bugs.debian.org/479460
8
9Patch-Name: debian/module_build_man_extensions.diff
10---
11 cpan/Module-Build/lib/Module/Build/Base.pm | 4 ++--
12 1 files changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm
15index fba916a..82df4cc 100644
16--- a/cpan/Module-Build/lib/Module/Build/Base.pm
17+++ b/cpan/Module-Build/lib/Module/Build/Base.pm
18@@ -3246,7 +3246,7 @@ sub manify_bin_pods {
19 foreach my $file (keys %$files) {
20 # Pod::Simple based parsers only support one document per instance.
21 # This is expected to change in a future version (Pod::Simple > 3.03).
22- my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1
23+ my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1p
24 my $manpage = $self->man1page_name( $file ) . '.' .
25 $self->config( 'man1ext' );
26 my $outfile = File::Spec->catfile($mandir, $manpage);
27@@ -3271,7 +3271,7 @@ sub manify_lib_pods {
28 while (my ($file, $relfile) = each %$files) {
29 # Pod::Simple based parsers only support one document per instance.
30 # This is expected to change in a future version (Pod::Simple > 3.03).
31- my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3
32+ my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3pm
33 my $manpage = $self->man3page_name( $relfile ) . '.' .
34 $self->config( 'man3ext' );
35 my $outfile = File::Spec->catfile( $mandir, $manpage);
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/no_packlist_perllocal.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/no_packlist_perllocal.diff
new file mode 100644
index 0000000000..3324c1e36f
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/no_packlist_perllocal.diff
@@ -0,0 +1,88 @@
1From 44c7521619dd0e637920393184affcb26a27d5b7 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Don't install .packlist or perllocal.pod for perl or vendor
5
6Patch-Name: debian/no_packlist_perllocal.diff
7---
8 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 31 +++--------------------
9 1 files changed, 4 insertions(+), 27 deletions(-)
10
11diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
12index 42bbb83..a16e2d0 100644
13--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
14+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
15@@ -2054,8 +2054,6 @@ doc__install : doc_site_install
16
17 pure_perl_install :: all
18 $(NOECHO) umask 022; $(MOD_INSTALL) \
19- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
20- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
21 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
22 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
23 $(INST_BIN) $(DESTINSTALLBIN) \
24@@ -2081,8 +2079,6 @@ pure_site_install :: all
25
26 pure_vendor_install :: all
27 $(NOECHO) umask 022; $(MOD_INSTALL) \
28- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
29- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
30 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
31 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
32 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
33@@ -2091,37 +2087,19 @@ pure_vendor_install :: all
34 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
35
36 doc_perl_install :: all
37- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
38- -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB)
39- -$(NOECHO) umask 022; $(DOC_INSTALL) \
40- "Module" "$(NAME)" \
41- "installed into" "$(INSTALLPRIVLIB)" \
42- LINKTYPE "$(LINKTYPE)" \
43- VERSION "$(VERSION)" \
44- EXE_FILES "$(EXE_FILES)" \
45- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
46
47 doc_site_install :: all
48- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
49- -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLARCHLIB)
50+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
51+ -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLSITEARCH)
52 -$(NOECHO) umask 02; $(DOC_INSTALL) \
53 "Module" "$(NAME)" \
54 "installed into" "$(INSTALLSITELIB)" \
55 LINKTYPE "$(LINKTYPE)" \
56 VERSION "$(VERSION)" \
57 EXE_FILES "$(EXE_FILES)" \
58- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
59+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
60
61 doc_vendor_install :: all
62- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
63- -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB)
64- -$(NOECHO) umask 022; $(DOC_INSTALL) \
65- "Module" "$(NAME)" \
66- "installed into" "$(INSTALLVENDORLIB)" \
67- LINKTYPE "$(LINKTYPE)" \
68- VERSION "$(VERSION)" \
69- EXE_FILES "$(EXE_FILES)" \
70- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
71
72 };
73
74@@ -2130,13 +2108,12 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
75 $(NOECHO) $(NOOP)
76
77 uninstall_from_perldirs ::
78- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
79
80 uninstall_from_sitedirs ::
81 $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
82
83 uninstall_from_vendordirs ::
84- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
85+
86 };
87
88 join("",@m);
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/patchlevel.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/patchlevel.diff
new file mode 100644
index 0000000000..0a8a467f78
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/patchlevel.diff
@@ -0,0 +1,30 @@
1From cf928101697efa4a46ada500c2f449caeb854fd4 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Sun, 15 May 2011 19:35:58 +0300
4Subject: List packaged patches in patchlevel.h
5
6Origin: vendor
7Bug-Debian: http://bugs.debian.org/567489
8
9The list of packaged patches is in patchlevel-debian.h, which is generated
10from the debian/patches/ directory when building the package.
11
12Patch-Name: debian/patchlevel.diff
13---
14 patchlevel.h | 3 +++
15 1 files changed, 3 insertions(+), 0 deletions(-)
16
17diff --git a/patchlevel.h b/patchlevel.h
18index 5dc2a53..1356595 100644
19--- a/patchlevel.h
20+++ b/patchlevel.h
21@@ -137,6 +137,9 @@ static const char * const local_patches[] = {
22 ,"uncommitted-changes"
23 #endif
24 PERL_GIT_UNPUSHED_COMMITS /* do not remove this line */
25+#ifdef DEBIAN
26+#include "patchlevel-debian.h"
27+#endif
28 ,NULL
29 };
30
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff
new file mode 100644
index 0000000000..98b1b501f5
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/perlivp.diff
@@ -0,0 +1,39 @@
1From 4c7e04f75c9513451d1622e5a6dd58c2c8377d81 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Fri, 9 Jan 2009 18:54:47 +0200
4Subject: Make perlivp skip include directories in /usr/local
5
6Bug-Debian: http://bugs.debian.org/510895
7
8On Sat, Jan 10, 2009 at 12:37:18AM +1100, Brendan O'Dea wrote:
9> On Wed, Jan 7, 2009 at 12:21 AM, Niko Tyni <ntyni@debian.org> wrote:
10
11> > We could create the directories in a postinst script, but I'm not sure
12> > I see the point. They will be created automatically when installing
13> > CPAN modules.
14>
15> The directories are intentionally not created, as this way they are
16> excluded from the search path at start-up, saving a bunch of wasted
17> stats at use/require time in the common case that the user has not
18> installed any local packages. As Niko points out, they will be
19> created as required.
20
21Signed-off-by: Niko Tyni <ntyni@debian.org>
22
23Patch-Name: debian/perlivp.diff
24---
25 utils/perlivp.PL | 1 +
26 1 files changed, 1 insertions(+), 0 deletions(-)
27
28diff --git a/utils/perlivp.PL b/utils/perlivp.PL
29index 6fcb670..1401cac 100644
30--- a/utils/perlivp.PL
31+++ b/utils/perlivp.PL
32@@ -142,6 +142,7 @@ my $INC_total = 0;
33 my $INC_there = 0;
34 foreach (@INC) {
35 next if $_ eq '.'; # skip -d test here
36+ next if m|/usr/local|; # not shipped on Debian
37 if (-d $_) {
38 print "## Perl \@INC directory `$_' exists.\n" if $opt{'v'};
39 $INC_there++;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/prefix_changes.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/prefix_changes.diff
new file mode 100644
index 0000000000..a1e17ce71e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/prefix_changes.diff
@@ -0,0 +1,118 @@
1From 148e2717682ce8c65475ffdeea84b3cdd1ab1649 Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Fiddle with *PREFIX and variables written to the makefile
5
6Fiddle with *PREFIX and variables written to the makefile so that
7install directories may be changed when make is run by passing
8PREFIX= to the "make install" command (used when packaging
9modules).
10
11Patch-Name: debian/prefix_changes.diff
12---
13 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | 12 ++++++------
14 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 3 +--
15 cpan/ExtUtils-MakeMaker/t/INST.t | 4 +---
16 cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | 10 +++++-----
17 4 files changed, 13 insertions(+), 16 deletions(-)
18
19diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
20index a38f274..93d3fe9 100644
21--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
22+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
23@@ -701,8 +701,6 @@ all POD files in MAN1PODS and MAN3PODS.
24 sub manifypods_target {
25 my($self) = shift;
26
27- my $man1pods = '';
28- my $man3pods = '';
29 my $dependencies = '';
30
31 # populate manXpods & dependencies:
32@@ -718,7 +716,7 @@ END
33 foreach my $section (qw(1 3)) {
34 my $pods = $self->{"MAN${section}PODS"};
35 push @man_cmds, $self->split_command(<<CMD, %$pods);
36- \$(NOECHO) \$(POD2MAN) --section=$section --perm_rw=\$(PERM_RW)
37+ \$(NOECHO) \$(POD2MAN) --section=\$(MAN${section}EXT) --perm_rw=\$(PERM_RW)
38 CMD
39 }
40
41@@ -1521,9 +1519,11 @@ sub init_INSTALL_from_PREFIX {
42 $self->{SITEPREFIX} ||= $sprefix;
43 $self->{VENDORPREFIX} ||= $vprefix;
44
45- # Lots of MM extension authors like to use $(PREFIX) so we
46- # put something sensible in there no matter what.
47- $self->{PREFIX} = '$('.uc $self->{INSTALLDIRS}.'PREFIX)';
48+ my $p = $self->{PREFIX} = $self->{PERLPREFIX};
49+ for my $t (qw/PERL SITE VENDOR/)
50+ {
51+ $self->{"${t}PREFIX"} =~ s!^\Q$p\E(?=/|$)!\$(PREFIX)!;
52+ }
53 }
54
55 my $arch = $Config{archname};
56diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
57index a16e2d0..c308c49 100644
58--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
59+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
60@@ -2981,8 +2981,7 @@ sub prefixify {
61 print STDERR " prefixify $var => $path\n" if $Verbose >= 2;
62 print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2;
63
64- if( $self->{ARGS}{PREFIX} &&
65- $path !~ s{^\Q$sprefix\E\b}{$rprefix}s )
66+ if( $path !~ s{^\Q$sprefix\E\b}{$rprefix}s && $self->{ARGS}{PREFIX} )
67 {
68
69 print STDERR " cannot prefix, using default.\n" if $Verbose >= 2;
70diff --git a/cpan/ExtUtils-MakeMaker/t/INST.t b/cpan/ExtUtils-MakeMaker/t/INST.t
71index 6aac294..28294f2 100644
72--- a/cpan/ExtUtils-MakeMaker/t/INST.t
73+++ b/cpan/ExtUtils-MakeMaker/t/INST.t
74@@ -61,9 +61,7 @@ isa_ok( $mm, 'ExtUtils::MakeMaker' );
75 is( $mm->{NAME}, 'Big::Dummy', 'NAME' );
76 is( $mm->{VERSION}, 0.01, 'VERSION' );
77
78-my $config_prefix = $Config{installprefixexp} || $Config{installprefix} ||
79- $Config{prefixexp} || $Config{prefix};
80-is( $mm->{PERLPREFIX}, $config_prefix, 'PERLPREFIX' );
81+is( $mm->{PERLPREFIX}, '$(PREFIX)', 'PERLPREFIX' );
82
83 is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' );
84
85diff --git a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
86index fbb18a3..8987569 100644
87--- a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
88+++ b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
89@@ -10,7 +10,7 @@ BEGIN {
90 }
91
92 use strict;
93-use Test::More tests => 52;
94+use Test::More tests => 47;
95 use MakeMaker::Test::Utils;
96 use MakeMaker::Test::Setup::BFD;
97 use ExtUtils::MakeMaker;
98@@ -58,16 +58,16 @@ like( $stdout->read, qr{
99 Writing\ MYMETA.yml\n
100 }x );
101
102-is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' );
103+#is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' );
104
105 isa_ok( $mm, 'ExtUtils::MakeMaker' );
106
107 is( $mm->{NAME}, 'Big::Dummy', 'NAME' );
108 is( $mm->{VERSION}, 0.01, 'VERSION' );
109
110-foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) {
111- unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ );
112-}
113+#foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) {
114+# unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ );
115+#}
116
117
118 my $PREFIX = File::Spec->catdir('foo', 'bar');
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/prune_libs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/prune_libs.diff
new file mode 100644
index 0000000000..bb05a945b3
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/prune_libs.diff
@@ -0,0 +1,38 @@
1From 063566907896ff32bea27897fa73cebbbd7bacce Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Fri, 18 Mar 2005 22:22:25 +1100
4Subject: Prune the list of libraries wanted to what we actually need.
5
6Bug-Debian: http://bugs.debian.org/128355
7
8We want to keep the dependencies on perl-base as small as possible,
9and some of the original list may be present on buildds (see Bug#128355).
10
11Patch-Name: debian/prune_libs.diff
12---
13 Configure | 5 ++---
14 1 files changed, 2 insertions(+), 3 deletions(-)
15
16diff --git a/Configure b/Configure
17index d9911f9..f59f75c 100755
18--- a/Configure
19+++ b/Configure
20@@ -1367,8 +1367,7 @@ libswanted_uselargefiles=''
21 : set usesocks on the Configure command line to enable socks.
22 : List of libraries we want.
23 : If anyone needs extra -lxxx, put those in a hint file.
24-libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun"
25-libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
26+libswanted='gdbm gdbm_compat db dl m c crypt'
27 : We probably want to search /usr/shlib before most other libraries.
28 : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
29 glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
30@@ -22308,7 +22307,7 @@ sunos*X4*)
31 ;;
32 *) case "$usedl" in
33 $define|true|[yY]*)
34- set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
35+ set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'`
36 shift
37 perllibs="$*"
38 ;;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/series b/meta/recipes-devtools/perl/perl-5.14.2/debian/series
new file mode 100644
index 0000000000..08adca5626
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/series
@@ -0,0 +1,40 @@
1debian/arm_thread_stress_timeout.diff
2debian/cpan_definstalldirs.diff
3debian/db_file_ver.diff
4debian/doc_info.diff
5debian/enc2xs_inc.diff
6debian/errno_ver.diff
7debian/libperl_embed_doc.diff
8fixes/respect_umask.diff
9debian/writable_site_dirs.diff
10debian/extutils_set_libperl_path.diff
11debian/no_packlist_perllocal.diff
12debian/prefix_changes.diff
13debian/fakeroot.diff
14debian/instmodsh_doc.diff
15debian/ld_run_path.diff
16debian/libnet_config_path.diff
17debian/m68k_thread_stress.diff
18debian/mod_paths.diff
19debian/module_build_man_extensions.diff
20debian/prune_libs.diff
21fixes/net_smtp_docs.diff
22debian/perlivp.diff
23debian/disable-zlib-bundling.diff
24debian/cpanplus_definstalldirs.diff
25debian/cpanplus_config_path.diff
26debian/deprecate-with-apt.diff
27fixes/hurd-ccflags.diff
28debian/squelch-locale-warnings.diff
29debian/skip-upstream-git-tests.diff
30fixes/extutils-cbuilder-cflags.diff
31fixes/module-build-home-directory.diff
32debian/patchlevel.diff
33fixes/h2ph-multiarch.diff
34fixes/index-tainting.diff
35debian/skip-kfreebsd-crash.diff
36fixes/document_makemaker_ccflags.diff
37fixes/sys-syslog-socket-timeout-kfreebsd.patch
38fixes/hurd-hints.diff
39fixes/pod_fixes.diff
40debian/find_html2text.diff
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-kfreebsd-crash.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-kfreebsd-crash.diff
new file mode 100644
index 0000000000..7992129a51
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-kfreebsd-crash.diff
@@ -0,0 +1,39 @@
1From ff2815399ad94915da2e63cb3c4bbd2d02dac4b2 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Fri, 5 Aug 2011 10:50:18 +0300
4Subject: Skip a crashing test case in t/op/threads.t on GNU/kFreeBSD
5
6Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=96272
7Bug-Debian: http://bugs.debian.org/628493
8
9The crash is not a regression in 5.14, it just gets triggered there by
10a new unrelated test case.
11
12Skip the test until the culprit is found.
13
14Patch-Name: debian/skip-kfreebsd-crash.diff
15---
16 t/op/threads.t | 4 ++++
17 1 files changed, 4 insertions(+), 0 deletions(-)
18
19diff --git a/t/op/threads.t b/t/op/threads.t
20index 24e84e4..6a91366 100644
21--- a/t/op/threads.t
22+++ b/t/op/threads.t
23@@ -342,6 +342,9 @@ threads->create(
24
25 EOI
26
27+SKIP: {
28+ skip "[perl #96272] avoid crash on GNU/kFreeBSD", 1
29+ if $^O eq 'gnukfreebsd';
30 # [perl #78494] Pipes shared between threads block when closed
31 watchdog 10;
32 {
33@@ -351,5 +354,6 @@ watchdog 10;
34 threads->create(sub { })->join;
35 ok(1, "Pipes shared between threads do not block when closed");
36 }
37+}
38
39 # EOF
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-upstream-git-tests.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-upstream-git-tests.diff
new file mode 100644
index 0000000000..a157bc7f60
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/skip-upstream-git-tests.diff
@@ -0,0 +1,59 @@
1From 2be2eed9148c38d3e982d3371f379ce77021aeb5 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Fri, 22 Apr 2011 11:15:32 +0300
4Subject: Skip tests specific to the upstream Git repository
5
6These tests fail if run from a different git repository than
7upstream. This complicates things needlessly for downstream packagers.
8
9Skip the tests altogether even if the .git directory exists.
10
11Patch-Name: debian/skip-upstream-git-tests.diff
12---
13 t/porting/authors.t | 3 ++-
14 t/porting/cmp_version.t | 3 ++-
15 t/porting/manifest.t | 3 ++-
16 3 files changed, 6 insertions(+), 3 deletions(-)
17
18diff --git a/t/porting/authors.t b/t/porting/authors.t
19index 28ca1ca..3c7f069 100644
20--- a/t/porting/authors.t
21+++ b/t/porting/authors.t
22@@ -9,7 +9,8 @@ BEGIN {
23 use strict;
24 use warnings;
25
26-if (! -d '.git' ) {
27+# Debian change: skip as we're probably in a different git repository
28+if (1 || ! -d '.git' ) {
29 print "1..0 # SKIP: not being run from a git checkout\n";
30 exit 0;
31 }
32diff --git a/t/porting/cmp_version.t b/t/porting/cmp_version.t
33index b3c677c..f89f2a7 100644
34--- a/t/porting/cmp_version.t
35+++ b/t/porting/cmp_version.t
36@@ -25,7 +25,8 @@ use File::Spec::Functions qw(rel2abs abs2rel catfile catdir curdir);
37 use Getopt::Std;
38 use Maintainers;
39
40-if (! -d '.git' ) {
41+# Debian change: skip as we're probably in a different git repository
42+if (1 || ! -d '.git' ) {
43 print "1..0 # SKIP: not being run from a git checkout\n";
44 exit 0;
45 }
46diff --git a/t/porting/manifest.t b/t/porting/manifest.t
47index 48dd3ac..b08126b 100644
48--- a/t/porting/manifest.t
49+++ b/t/porting/manifest.t
50@@ -59,7 +59,8 @@ SKIP: {
51
52 SKIP: {
53 chdir "..";
54- skip("not under git control", 3) unless -d '.git';
55+ # Debian change: skip as we're probably in a different git repository
56+ skip("not under git control", 3) unless 0 && -d '.git';
57 chomp(my @repo= grep { !/\.gitignore$/ } `git ls-files`);
58 skip("git ls-files didnt work",3)
59 if !@repo;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/squelch-locale-warnings.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/squelch-locale-warnings.diff
new file mode 100644
index 0000000000..71660b08ba
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/squelch-locale-warnings.diff
@@ -0,0 +1,55 @@
1From 718e9cbd59f0739fc9104af111e42fff66f927a7 Mon Sep 17 00:00:00 2001
2From: Niko Tyni <ntyni@debian.org>
3Date: Sun, 3 Oct 2010 21:36:17 +0300
4Subject: Squelch locale warnings in Debian package maintainer scripts
5
6Bug-Debian: http://bugs.debian.org/508764
7
8The system locales are rather frequently out of sync with the C library
9during package upgrades, causing a huge amount of useless Perl locale
10warnings. Squelch them when running package maintainer scripts, detected
11by the DPKG_RUNNING_VERSION environment variable.
12
13Any real locale problem will show up after the system upgrade too, and
14the warning will be triggered normally again at that point.
15
16Patch-Name: debian/squelch-locale-warnings.diff
17---
18 locale.c | 4 ++++
19 pod/perllocale.pod | 8 ++++++++
20 2 files changed, 12 insertions(+), 0 deletions(-)
21
22diff --git a/locale.c b/locale.c
23index 4631b86..94a0962 100644
24--- a/locale.c
25+++ b/locale.c
26@@ -359,6 +359,10 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
27 char *p;
28 const bool locwarn = (printwarn > 1 ||
29 (printwarn &&
30+
31+ /* Debian specific change - see http://bugs.debian.org/508764 */
32+ (!PerlEnv_getenv("DPKG_RUNNING_VERSION")) &&
33+
34 (!(p = PerlEnv_getenv("PERL_BADLANG")) || atoi(p))));
35
36 if (locwarn) {
37diff --git a/pod/perllocale.pod b/pod/perllocale.pod
38index 8926d8b..6c55889 100644
39--- a/pod/perllocale.pod
40+++ b/pod/perllocale.pod
41@@ -861,6 +861,14 @@ B<NOTE>: PERL_BADLANG only gives you a way to hide the warning message.
42 The message tells about some problem in your system's locale support,
43 and you should investigate what the problem is.
44
45+=item DPKG_RUNNING_VERSION
46+
47+On Debian systems, if the DPKG_RUNNING_VERSION environment variable is
48+set (to any value), the locale failure warnings will be suppressed just
49+like with a zero PERL_BADLANG setting. This is done to avoid floods
50+of spurious warnings during system upgrades.
51+See L<http://bugs.debian.org/508764>.
52+
53 =back
54
55 The following environment variables are not specific to Perl: They are
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/debian/writable_site_dirs.diff b/meta/recipes-devtools/perl/perl-5.14.2/debian/writable_site_dirs.diff
new file mode 100644
index 0000000000..a4fc32aec0
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/debian/writable_site_dirs.diff
@@ -0,0 +1,36 @@
1From 492e0d6b4e3e0d786fb88b9058d581f6466c4a3e Mon Sep 17 00:00:00 2001
2From: Brendan O'Dea <bod@debian.org>
3Date: Tue, 8 Mar 2005 19:30:38 +1100
4Subject: Set umask approproately for site install directories
5
6Policy requires group writable site directories
7
8Patch-Name: debian/writable_site_dirs.diff
9---
10 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 6 +++---
11 1 files changed, 3 insertions(+), 3 deletions(-)
12
13diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
14index 865d36d..4ee6b3f 100644
15--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
16+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
17@@ -2067,7 +2067,7 @@ pure_perl_install :: all
18
19
20 pure_site_install :: all
21- $(NOECHO) umask 022; $(MOD_INSTALL) \
22+ $(NOECHO) umask 02; $(MOD_INSTALL) \
23 read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
24 write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \
25 $(INST_LIB) $(DESTINSTALLSITELIB) \
26@@ -2103,8 +2103,8 @@ doc_perl_install :: all
27
28 doc_site_install :: all
29 $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
30- -$(NOECHO) umask 022; $(MKPATH) $(DESTINSTALLARCHLIB)
31- -$(NOECHO) umask 022; $(DOC_INSTALL) \
32+ -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLARCHLIB)
33+ -$(NOECHO) umask 02; $(DOC_INSTALL) \
34 "Module" "$(NAME)" \
35 "installed into" "$(INSTALLSITELIB)" \
36 LINKTYPE "$(LINKTYPE)" \
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/fix_bad_rpath.patch b/meta/recipes-devtools/perl/perl-5.14.2/fix_bad_rpath.patch
new file mode 100644
index 0000000000..69ac434779
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/fix_bad_rpath.patch
@@ -0,0 +1,24 @@
1Upstream-Status:Inappropriate [embedded specific]
2Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
32011/07/01
4
5Fix these Package QA warnings before they are converted into fetal errors:
6
7WARNING: QA Issue: package perl-module-compress contains bad RPATH /build_disk/poky_build/build0/tmp/sysroots/qemux86/usr/lib in file /build_disk/poky_build/build0/tmp/work/i586-poky-linux/perl-5.12.3-r1/packages-split/perl-module-compress/usr/lib/perl/5.12.3/auto/Compress/Raw/Zlib/Zlib.so
8
9This fixes this warning for perl recipe as well as libxml-parser-perl recipe.
10It is a fix to MakeMaker within perl, so all such perl recipes will get
11fixed with this perl fix.
12
13Index: perl-5.14.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
14===================================================================
15--- perl-5.14.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
16+++ perl-5.14.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
17@@ -55,6 +55,7 @@ sub _unix_os2_ext {
18 my($found) = 0;
19
20 # Debian-specific: don't use LD_RUN_PATH for standard dirs
21+ push(@libpath, "SYSROOTLIB");
22 $ld_run_path_seen{$_}++ for @libpath;
23
24 foreach my $thislib (split ' ', $potential_libs) {
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/generate-sh.patch b/meta/recipes-devtools/perl/perl-5.14.2/generate-sh.patch
new file mode 100644
index 0000000000..47f91c56d3
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/generate-sh.patch
@@ -0,0 +1,48 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Use the ld flags from the supplied configuration file. For sh we need the
4flags that specify to build PIC code so that the shared libraries work.
5
6Index: perl-5.8.8/Cross/generate_config_sh
7===================================================================
8--- perl-5.8.8.orig/Cross/generate_config_sh 2003-09-05 18:31:08.000000000 +1000
9+++ perl-5.8.8/Cross/generate_config_sh 2007-05-30 09:12:50.000000000 +1000
10@@ -19,10 +19,10 @@
11 $callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]];
12 $callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
13 $callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
14-$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
15-$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
16-$callbacks->{'ccflags'} = [\&simple_process, ["CFLAGS", "-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
17-$callbacks->{'ccflags_uselargefiles'} = [\&simple_process, ["CFLAGS", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
18+#$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
19+#$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
20+$callbacks->{'ccflags'} = [\&simple_process_insert, ["CFLAGS", "-fno-strict-aliasing -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
21+$callbacks->{'ccflags_uselargefiles'} = [\&simple_process_insert, ["CFLAGS", "-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
22 $callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
23 $callbacks->{'cpp'} = [\&simple_process, ["CCP", "arm-linux-cpp"]];
24 $callbacks->{'cppflags'} = [\&simple_process, ["CCPFLAGS", "-fno-strict-aliasing"]];
25@@ -105,6 +105,23 @@
26
27 }
28
29+# Insert env var into the variables value
30+sub simple_process_insert {
31+ my $key = shift;
32+ my $value = shift;
33+ my $envvar = $callbacks->{$key}->[1][0];
34+
35+ if ($ENV{$envvar}) {
36+ # Strip quotes from value
37+ $value =~ s/^\'//;
38+ $value =~ s/\'$//;
39+ # Remove -I/usr/local/... from the value
40+ $value =~ s#\W-I/usr/local/\w+\W# #g;
41+ # Prepend env var (OE setting) to value
42+ print("$key=\'$ENV{$envvar} $value\'\n");
43+ }
44+}
45+
46 sub library_munge {
47 my $key = shift;
48 my $value = shift;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/installperl.patch b/meta/recipes-devtools/perl/perl-5.14.2/installperl.patch
new file mode 100644
index 0000000000..456012376e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/installperl.patch
@@ -0,0 +1,17 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Index: perl-5.12.3/installperl
4===================================================================
5--- perl-5.12.3.orig/installperl
6+++ perl-5.12.3/installperl
7@@ -3,8 +3,8 @@
8 BEGIN {
9 require 5.004;
10 chdir '..' if !-d 'lib' and -d '../lib';
11- @INC = 'lib';
12- $ENV{PERL5LIB} = 'lib';
13+# @INC = 'lib';
14+# $ENV{PERL5LIB} = 'lib';
15
16 # This needs to be at BEGIN time, before any use of Config
17 require './install_lib.pl';
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/letgcc-find-errno.patch b/meta/recipes-devtools/perl/perl-5.14.2/letgcc-find-errno.patch
new file mode 100644
index 0000000000..5161e4c8b6
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/letgcc-find-errno.patch
@@ -0,0 +1,46 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3This removes all the logic that perl uses to locate an appropriate
4errno.h for the target. Instead we simple create a file that does
5
6 #include "errno.h"
7
8and use that as the file to parse. This is needed when using an
9external toolchain since perl will search in ${STAGING_INCDIR} for
10errno.h (when using gcc) and that isn't where it's located - its
11wherever the external toolchain keeps it's headers.
12
13Index: perl-5.12.3/ext/Errno/Errno_pm.PL
14===================================================================
15--- perl-5.12.3.orig/ext/Errno/Errno_pm.PL
16+++ perl-5.12.3/ext/Errno/Errno_pm.PL
17@@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp";
18 open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!";
19 select OUT;
20 my $file;
21-my @files = get_files();
22-if ($Config{gccversion} ne '' && $^O eq 'MSWin32') {
23+#my @files = get_files();
24+my @files = ("errno.h");
25+
26+if (1) {
27+ open INCS, '>includes.c' or
28+ die "Cannot open includes.c";
29+ print INCS qq[#include "errno.h"\n];
30+ close INCS;
31+ process_file('includes.c');
32+ unlink 'includes.c';
33+}
34+elsif ($Config{gccversion} ne '' && $^O eq 'MSWin32') {
35 # MinGW complains "warning: #pragma system_header ignored outside include
36 # file" if the header files are processed individually, so include them
37 # all in .c file and process that instead.
38@@ -53,7 +63,7 @@ sub process_file {
39 chomp($file = `cygpath -w "$file"`);
40 }
41
42- return unless defined $file and -f $file;
43+# return unless defined $file and -f $file;
44 # warn "Processing $file\n";
45
46 local *FH;
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/native-nopacklist.patch b/meta/recipes-devtools/perl/perl-5.14.2/native-nopacklist.patch
new file mode 100644
index 0000000000..389c3342fb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/native-nopacklist.patch
@@ -0,0 +1,82 @@
1Upstream-Status:Inappropriate [debian patch]
2
3Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files
4
5Index: perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
6===================================================================
7--- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
8+++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
9@@ -2047,8 +2047,6 @@ doc__install : doc_site_install
10
11 pure_perl_install :: all
12 $(NOECHO) $(MOD_INSTALL) \
13- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
14- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
15 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
16 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
17 $(INST_BIN) $(DESTINSTALLBIN) \
18@@ -2074,8 +2072,6 @@ pure_site_install :: all
19
20 pure_vendor_install :: all
21 $(NOECHO) $(MOD_INSTALL) \
22- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
23- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
24 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
25 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
26 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
27@@ -2084,37 +2080,19 @@ pure_vendor_install :: all
28 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
29
30 doc_perl_install :: all
31- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
32- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
33- -$(NOECHO) $(DOC_INSTALL) \
34- "Module" "$(NAME)" \
35- "installed into" "$(INSTALLPRIVLIB)" \
36- LINKTYPE "$(LINKTYPE)" \
37- VERSION "$(VERSION)" \
38- EXE_FILES "$(EXE_FILES)" \
39- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
40
41 doc_site_install :: all
42- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
43- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
44+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
45+ -$(NOECHO) $(MKPATH) $(DESTINSTALLSITEARCH)
46 -$(NOECHO) $(DOC_INSTALL) \
47 "Module" "$(NAME)" \
48 "installed into" "$(INSTALLSITELIB)" \
49 LINKTYPE "$(LINKTYPE)" \
50 VERSION "$(VERSION)" \
51 EXE_FILES "$(EXE_FILES)" \
52- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
53+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
54
55 doc_vendor_install :: all
56- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
57- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
58- -$(NOECHO) $(DOC_INSTALL) \
59- "Module" "$(NAME)" \
60- "installed into" "$(INSTALLVENDORLIB)" \
61- LINKTYPE "$(LINKTYPE)" \
62- VERSION "$(VERSION)" \
63- EXE_FILES "$(EXE_FILES)" \
64- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
65
66 };
67
68@@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIR
69 $(NOECHO) $(NOOP)
70
71 uninstall_from_perldirs ::
72- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
73
74 uninstall_from_sitedirs ::
75 $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
76
77 uninstall_from_vendordirs ::
78- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
79+
80 };
81
82 join("",@m);
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/native-perlinc.patch b/meta/recipes-devtools/perl/perl-5.14.2/native-perlinc.patch
new file mode 100644
index 0000000000..f0bb1f6596
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/native-perlinc.patch
@@ -0,0 +1,26 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm
4===================================================================
5--- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000
6+++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000
7@@ -1597,6 +1597,19 @@
8 $self->{PERL_LIB} ||= $Config{privlibexp};
9 $self->{PERL_ARCHLIB} ||= $Config{archlibexp};
10 $self->{PERL_INC} = $self->catdir("$self->{PERL_ARCHLIB}","CORE"); # wild guess for now
11+ # Check for environment override so we'll find the headers in the correct place
12+ if (defined $ENV{PERL_LIB})
13+ {
14+ $self->{PERL_LIB} = $ENV{PERL_LIB};
15+ }
16+ if (defined $ENV{PERL_ARCHLIB})
17+ {
18+ $self->{PERL_ARCHLIB} = $ENV{PERL_ARCHLIB};
19+ }
20+ if (defined $ENV{PERL_INC})
21+ {
22+ $self->{PERL_INC} = $ENV{PERL_INC};
23+ }
24 my $perl_h;
25
26 if (not -f ($perl_h = $self->catfile($self->{PERL_INC},"perl.h"))
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-configpm-switch.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-configpm-switch.patch
new file mode 100644
index 0000000000..c6cc15c93f
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-configpm-switch.patch
@@ -0,0 +1,47 @@
1Upstream-Status:Inappropriate [native]
2
3This patch is used for perl-native only. It enables the switching of
4configuration files between Config_heavy.pl and
5Config_heavy-target.pl by setting the environment variables
6PERLCONFIGTARGET - the later containing settings for the target while
7the former contains those for the host. This will allow cpan.bbclass
8to use the settings appropriate for the native and/or target builds
9as required. This also disables the use of the cache since the cached
10values would be valid for the host only.
11
12Index: perl-5.14.2/configpm
13===================================================================
14--- perl-5.14.2.orig/configpm
15+++ perl-5.14.2/configpm
16@@ -658,7 +658,7 @@ sub FETCH {
17 my($self, $key) = @_;
18
19 # check for cached value (which may be undef so we use exists not defined)
20- return exists $self->{$key} ? $self->{$key} : $self->fetch_string($key);
21+ return $self->fetch_string($key);
22 }
23
24 ENDOFEND
25@@ -816,7 +816,21 @@ $config_txt .= sprintf <<'ENDOFTIE', $fa
26 sub DESTROY { }
27
28 sub AUTOLOAD {
29- require 'Config_heavy.pl';
30+ my $cfgfile = 'Config_heavy.pl';
31+ if (defined $ENV{PERLCONFIGTARGET} and $ENV{PERLCONFIGTARGET} eq "yes")
32+ {
33+ $cfgfile = 'Config_heavy-target.pl';
34+ }
35+ if (defined $ENV{PERL_ARCHLIB})
36+ {
37+ push @INC, $ENV{PERL_ARCHLIB};
38+ require $cfgfile;
39+ pop @INC;
40+ }
41+ else
42+ {
43+ require $cfgfile;
44+ }
45 goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
46 die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
47 }
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh b/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh
new file mode 100755
index 0000000000..e72ce49f99
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-configure.sh
@@ -0,0 +1,43 @@
1#! /bin/sh
2
3#
4# Generate the common perl configuration
5# Needs to be run on a host that matches the bitsize of the target platform
6#
7
8echo sh Configure -des \
9 -Doptimize=-O2 \
10 -Dmyhostname=localhost \
11 -Dperladmin=root@localhost \
12 -Dcc=gcc \
13 -Dcf_by='Open Embedded' \
14 -Dinstallprefix=@DESTDIR@ \
15 -Dprefix=/usr \
16 -Dvendorprefix=/usr \
17 -Dsiteprefix=/usr \
18 -Dotherlibdirs=/usr/lib/perl5/5.12.3 \
19 -Duseshrplib \
20 -Dusethreads \
21 -Duseithreads \
22 -Duselargefiles \
23 -Ud_dosuid \
24 -Dd_semctl_semun \
25 -Ui_db \
26 -Ui_ndbm \
27 -Ui_gdbm \
28 -Di_shadow \
29 -Di_syslog \
30 -Dman3ext=3pm \
31 -Duseperlio \
32 -Dinstallusrbinperl \
33 -Ubincompat5005 \
34 -Uversiononly \
35 -Dpager='/usr/bin/less -isr'
36
37cp -f config.sh config.sh.COMMON
38
39TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#")
40
41sed -r -i config.sh.COMMON \
42 -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \
43 -e 's#'$TARGETOS'#@ARCH@#g'
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-dynloader.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-dynloader.patch
new file mode 100644
index 0000000000..035beba66a
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-dynloader.patch
@@ -0,0 +1,34 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Allow the location that .so files are searched for for dynamic
4loading to be changed via an environment variable. This is to allow
5us to load .so's from the host system while building for the target
6system.
7
8Update by Nitin A Kamble <nitin.a.kamble@intel.com> 2011/04/21
9
10Index: perl-5.14.2/dist/XSLoader/XSLoader_pm.PL
11===================================================================
12--- perl-5.14.2.orig/dist/XSLoader/XSLoader_pm.PL
13+++ perl-5.14.2/dist/XSLoader/XSLoader_pm.PL
14@@ -28,6 +28,20 @@ sub load {
15
16 my ($module, $modlibname) = caller();
17
18+ # OE: Allow env to form dynamic loader to look in a different place
19+ # This is so it finds the host .so files, not the targets
20+ if (defined $ENV{PERLHOSTLIB})
21+ {
22+ my $hostlib = $ENV{PERLHOSTLIB};
23+ print STDERR "*** Module name IN: $modlibname\n";
24+ ($p1, $p2, $p3, $p4, $p5) = $modlibname =~ m/(^(.*lib\w*\/)?)((perl\/[0-9\.]*\/)?)(.*)$/;
25+ print STDERR "*** p1: $p1 p3: $p3 p5: $p5\n";
26+ if ( $p1 ne "" ) {
27+ $modlibname = $hostlib.$p5;
28+ }
29+ print STDERR "*** Module name OUT: $modlibname\n";
30+ }
31+
32 if (@_) {
33 $module = $_[0];
34 } else {
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-enable-gdbm.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-enable-gdbm.patch
new file mode 100644
index 0000000000..aa83fca5ae
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-enable-gdbm.patch
@@ -0,0 +1,19 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3Index: perl-5.8.8/config_h.SH
4===================================================================
5--- perl-5.8.8.orig/config_h.SH 2005-11-01 02:13:05.000000000 +0800
6+++ perl-5.8.8/config_h.SH 2010-11-01 17:06:07.215219738 +0800
7@@ -709,6 +709,12 @@
8 */
9 #$i_float I_FLOAT /**/
10
11+/* I_GDBM:
12+ * This symbol, if defined, indicates that <gdbm.h> exists and should
13+ * be included.
14+ */
15+#$i_gdbm I_GDBM /**/
16+
17 /* I_LIMITS:
18 * This symbol, if defined, indicates to the C program that it should
19 * include <limits.h> to get definition of symbols like WORD_BIT or
diff --git a/meta/recipes-devtools/perl/perl-5.14.2/perl-moreconfig.patch b/meta/recipes-devtools/perl/perl-5.14.2/perl-moreconfig.patch
new file mode 100644
index 0000000000..59ce85a7a3
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.2/perl-moreconfig.patch
@@ -0,0 +1,18 @@
1Upstream-Status:Inappropriate [embedded specific]
2
3We need ld in the fake config library, but it's not included by default. So
4expand the number of items included. While this works it indicates that the
5rest of the config items are not being picked up and/or are being picked up
6from the host. More investigation needed.
7
8--- perl-5.8.8/configpm 2007/04/20 09:48:05 1.1
9+++ perl-5.8.8/configpm 2007/04/20 09:57:12
10@@ -2,7 +2,7 @@
11 use strict;
12 use vars qw(%Config $Config_SH_expanded);
13
14-my $how_many_common = 22;
15+my $how_many_common = 50;
16
17 # commonly used names to precache (and hence lookup fastest)
18 my %Common;