1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-16 15:57:04 +00:00
Files
poky/meta/recipes-devtools/perl/perl-5.14.3/perl-configure.sh
T
Kang Kai 5264982826 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>
2013-01-25 12:42:48 +00:00

44 lines
1.1 KiB
Bash
Executable File

#! /bin/sh
#
# Generate the common perl configuration
# Needs to be run on a host that matches the bitsize of the target platform
#
echo sh Configure -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.12.3 \
-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'
cp -f config.sh config.sh.COMMON
TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#")
sed -r -i config.sh.COMMON \
-e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \
-e 's#'$TARGETOS'#@ARCH@#g'