summaryrefslogtreecommitdiff
path: root/recipes/perl/perl-5.10.1/prune_libs.diff
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-09-20 16:22:21 +0400
committerRoman I Khimov <khimov@altell.ru>2010-09-23 09:49:26 +0400
commit5a52a7761eddaf8f83e7e8be27132df24d1196a9 (patch)
treec6cb61df2d73e2a91031592c0104bc12dd623bd1 /recipes/perl/perl-5.10.1/prune_libs.diff
parentef83636ae755045d8d740e9c3141dd394b0bb794 (diff)
perl 5.10.1: update patches to Debian's 5.10.1-14
* Debian's source package changed its format in 5.10.1-10, so we can't just apply one patch as it was with initial 5.10.1 release. * fixes CVE-2010-1974 * fixes MD5 on ARM * fixes several other bugs (see changelog from http://packages.debian.org/source/sid/perl) Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/perl/perl-5.10.1/prune_libs.diff')
-rw-r--r--recipes/perl/perl-5.10.1/prune_libs.diff36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/perl/perl-5.10.1/prune_libs.diff b/recipes/perl/perl-5.10.1/prune_libs.diff
new file mode 100644
index 0000000000..8a36eb1d70
--- /dev/null
+++ b/recipes/perl/perl-5.10.1/prune_libs.diff
@@ -0,0 +1,36 @@
+Subject: Prune the list of libraries wanted to what we actually need.
+Bug-Debian: http://bugs.debian.org/128355
+
+We want to keep the dependencies on perl-base as small as possible,
+and some of the original list may be present on buildds (see Bug#128355).
+
+
+---
+ Configure | 5 ++---
+ 1 files changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/Configure b/Configure
+index 01fa3c0..1fee5c1 100755
+--- a/Configure
++++ b/Configure
+@@ -1354,8 +1354,7 @@ libswanted_uselargefiles=''
+ : set usesocks on the Configure command line to enable socks.
+ : List of libraries we want.
+ : If anyone needs extra -lxxx, put those in a hint file.
+-libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun"
+-libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
++libswanted='gdbm gdbm_compat db dl m c crypt'
+ : We probably want to search /usr/shlib before most other libraries.
+ : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
+ glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
+@@ -22044,7 +22043,7 @@ sunos*X4*)
+ ;;
+ *) case "$usedl" in
+ $define|true|[yY]*)
+- set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
++ set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'`
+ shift
+ perllibs="$*"
+ ;;
+--
+tg: (daf8b46..) debian/prune_libs (depends on: upstream)