perl: update to 5.10.0

This commit is contained in:
Juergen Daubert 2008-09-18 10:27:13 +02:00
parent f434ef8628
commit 238f1c4b04
5 changed files with 1966 additions and 1577 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1 @@
02f3956c90132b061bde08bb0615c822 perl-5.8.8-CVE-2005-3962.patch
565a8ae3144b4a695c0525fcb587476a perl-5.8.8-gcc42.patch
b8c118d4360846829beb30b02a6b91a7 perl-5.8.8.tar.gz
d2c39b002ebfd2c3c5dba589365c5a71 perl-5.10.0.tar.gz

View File

@ -1,19 +1,16 @@
# Description: Perl programming language
# URL: http://www.perl.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: db, gdbm
# Depends on: db gdbm
name=perl
version=5.8.8
release=3
source=(ftp://ftp.perl.org/pub/CPAN/src/$name-$version.tar.gz \
$name-$version-CVE-2005-3962.patch \
$name-$version-gcc42.patch)
version=5.10.0
release=1
source=(ftp://ftp.perl.org/pub/CPAN/src/$name-$version.tar.gz)
build() {
cd $name-$version
patch -p4 < $SRC/$name-$version-CVE-2005-3962.patch
patch -p1 < $SRC/$name-$version-gcc42.patch
./Configure -des \
-Dprefix=/usr \
-Darchname=linux \
@ -27,11 +24,13 @@ build() {
-Doptimize="$CFLAGS"
make
make DESTDIR=$PKG install
ln -sf perl$version $PKG/usr/bin/perl
ln -sf c2ph $PKG/usr/bin/pstruct
ln -sf s2p $PKG/usr/bin/psed
ln -sf c2ph.1pm $PKG/usr/man/man1/pstruct.1pm
ln -sf s2p.1pm $PKG/usr/man/man1/psed.1pm
find $PKG \
-iname 'TODO*' -or \
-iname 'Change*' -or \

View File

@ -1,16 +0,0 @@
===================================================================
RCS file: /usr/OpenBSD/cvs/src/gnu/usr.bin/perl/sv.c,v
retrieving revision 1.10
retrieving revision 1.12
diff -u -r1.10 -r1.12
--- src/gnu/usr.bin/perl/sv.c 2005/01/15 21:30:22 1.10
+++ src/gnu/usr.bin/perl/sv.c 2005/12/03 15:58:16 1.12
@@ -8541,7 +8541,7 @@
if (EXPECT_NUMBER(q, width)) {
if (*q == '$') {
++q;
- efix = width;
+ efix = width > PERL_INT_MAX ? PERL_INT_MAX : width;
} else {
goto gotwidth;
}

View File

@ -1,11 +0,0 @@
diff -Naur perl-5.8.8-orig/makedepend.SH perl-5.8.8/makedepend.SH
--- perl-5.8.8-orig/makedepend.SH 2006-10-01 20:05:40.000000000 -0600
+++ perl-5.8.8/makedepend.SH 2006-10-01 20:07:03.000000000 -0600
@@ -167,6 +167,7 @@
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \