perl: update to 5.10.0
This commit is contained in:
parent
f434ef8628
commit
238f1c4b04
3497
perl/.footprint
3497
perl/.footprint
File diff suppressed because it is too large
Load Diff
@ -1,3 +1 @@
|
|||||||
02f3956c90132b061bde08bb0615c822 perl-5.8.8-CVE-2005-3962.patch
|
d2c39b002ebfd2c3c5dba589365c5a71 perl-5.10.0.tar.gz
|
||||||
565a8ae3144b4a695c0525fcb587476a perl-5.8.8-gcc42.patch
|
|
||||||
b8c118d4360846829beb30b02a6b91a7 perl-5.8.8.tar.gz
|
|
||||||
|
15
perl/Pkgfile
15
perl/Pkgfile
@ -1,19 +1,16 @@
|
|||||||
# Description: Perl programming language
|
# Description: Perl programming language
|
||||||
# URL: http://www.perl.org/
|
# URL: http://www.perl.org/
|
||||||
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
||||||
# Depends on: db, gdbm
|
# Depends on: db gdbm
|
||||||
|
|
||||||
name=perl
|
name=perl
|
||||||
version=5.8.8
|
version=5.10.0
|
||||||
release=3
|
release=1
|
||||||
source=(ftp://ftp.perl.org/pub/CPAN/src/$name-$version.tar.gz \
|
source=(ftp://ftp.perl.org/pub/CPAN/src/$name-$version.tar.gz)
|
||||||
$name-$version-CVE-2005-3962.patch \
|
|
||||||
$name-$version-gcc42.patch)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
patch -p4 < $SRC/$name-$version-CVE-2005-3962.patch
|
|
||||||
patch -p1 < $SRC/$name-$version-gcc42.patch
|
|
||||||
./Configure -des \
|
./Configure -des \
|
||||||
-Dprefix=/usr \
|
-Dprefix=/usr \
|
||||||
-Darchname=linux \
|
-Darchname=linux \
|
||||||
@ -27,11 +24,13 @@ build() {
|
|||||||
-Doptimize="$CFLAGS"
|
-Doptimize="$CFLAGS"
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
ln -sf perl$version $PKG/usr/bin/perl
|
ln -sf perl$version $PKG/usr/bin/perl
|
||||||
ln -sf c2ph $PKG/usr/bin/pstruct
|
ln -sf c2ph $PKG/usr/bin/pstruct
|
||||||
ln -sf s2p $PKG/usr/bin/psed
|
ln -sf s2p $PKG/usr/bin/psed
|
||||||
ln -sf c2ph.1pm $PKG/usr/man/man1/pstruct.1pm
|
ln -sf c2ph.1pm $PKG/usr/man/man1/pstruct.1pm
|
||||||
ln -sf s2p.1pm $PKG/usr/man/man1/psed.1pm
|
ln -sf s2p.1pm $PKG/usr/man/man1/psed.1pm
|
||||||
|
|
||||||
find $PKG \
|
find $PKG \
|
||||||
-iname 'TODO*' -or \
|
-iname 'TODO*' -or \
|
||||||
-iname 'Change*' -or \
|
-iname 'Change*' -or \
|
||||||
|
@ -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;
|
|
||||||
}
|
|
@ -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#" \
|
|
Loading…
Reference in New Issue
Block a user