summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2013-01-21 16:57:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-25 12:42:48 +0000
commit526498282688c6e110727c9184efd1b69997c9db (patch)
tree96f2869b1983b070fc4bbd72eeb31aa1f9d5149c /meta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh
parente80f02a93b1c717e6bc7001a05c773290ca68992 (diff)
downloadpoky-526498282688c6e110727c9184efd1b69997c9db.tar.gz
perl: update to 5.14.3
There is a securty issue: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-5195 Update perl to 5.14.3 to resolve this problem. Patches hurd-ccflags.diff, h2ph-multiarch.diff, index-tainting.diff and hurd-hints.diff have been merged, so remove them from SRC_URI. Update patches config.sh and Makefile.SH.patch with new PV. [Yocto 3701] (From OE-Core rev: b1fd25e05308cabb56afe1d4276470bf7380ea59) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh')
-rwxr-xr-xmeta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh b/meta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh
new file mode 100755
index 0000000000..e72ce49f99
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.14.3/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'