aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.10
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2009-02-16 06:42:37 +0800
committerskv <skv@FreeBSD.org>2009-02-16 06:42:37 +0800
commit9e38c9599eb64bd7662f82de9da2b7bc3bbf6abd (patch)
treefdd675b844bdbb4df0ea53149578af953a08536f /lang/perl5.10
parent35e0a6f1aa2a9b40b2b8de9f374863b5d414ffac (diff)
downloadfreebsd-ports-gnome-9e38c9599eb64bd7662f82de9da2b7bc3bbf6abd.tar.gz
freebsd-ports-gnome-9e38c9599eb64bd7662f82de9da2b7bc3bbf6abd.tar.zst
freebsd-ports-gnome-9e38c9599eb64bd7662f82de9da2b7bc3bbf6abd.zip
* Fix suidperl functionality. [1]
* Update BSDPAN. PR: ports/131434 [1] Submitted by: William Olson <wolson xx gmail.com> [1]
Diffstat (limited to 'lang/perl5.10')
-rw-r--r--lang/perl5.10/Makefile4
-rw-r--r--lang/perl5.10/distinfo6
-rw-r--r--lang/perl5.10/files/patch-perl.c9
3 files changed, 15 insertions, 4 deletions
diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile
index 3f49e3ead10e..f425efe1bc89 100644
--- a/lang/perl5.10/Makefile
+++ b/lang/perl5.10/Makefile
@@ -7,6 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
+PORTREVISION= 1
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN \
${MASTER_SITE_LOCAL:S/$/:local/} \
@@ -14,7 +15,7 @@ MASTER_SITES= CPAN \
MASTER_SITE_SUBDIR= ../../src \
skv/:local
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- BSDPAN-${PERL_VER}${EXTRACT_SUFX}:local
+ BSDPAN-${BSDPAN_VERSION}${EXTRACT_SUFX}:local
DIST_SUBDIR= perl
PATCH_SITES= ${MASTER_SITE_LOCAL:S!$!skv/!} \
@@ -141,6 +142,7 @@ BSDPAN_FILES= BSDPAN.pm BSDPAN/Override.pm Config.pm \
ExtUtils/MM_Unix.pm \
ExtUtils/MakeMaker.pm \
ExtUtils/Packlist.pm
+BSDPAN_VERSION= ${PORTVERSION}_1
BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-${PORTVERSION}
PKGINSTALL= ${WRKDIR}/pkg-install
diff --git a/lang/perl5.10/distinfo b/lang/perl5.10/distinfo
index 72d3a55a7304..103bfc957d80 100644
--- a/lang/perl5.10/distinfo
+++ b/lang/perl5.10/distinfo
@@ -1,9 +1,9 @@
MD5 (perl/perl-5.8.9.tar.bz2) = 1cb52a76ce77fa300218da96577793ec
SHA256 (perl/perl-5.8.9.tar.bz2) = 1097fbcd48ceccb2bc735d119c9db399a02a8ab9f7dc53e29e47e6a8d0d72e79
SIZE (perl/perl-5.8.9.tar.bz2) = 11121414
-MD5 (perl/BSDPAN-5.8.9.tar.bz2) = 9479989b30c6b8a09e95130d57b4f482
-SHA256 (perl/BSDPAN-5.8.9.tar.bz2) = 6bc43a3586c5c4a545ebb969397582ef62d3a199809273992529e52ac533e741
-SIZE (perl/BSDPAN-5.8.9.tar.bz2) = 8171
+MD5 (perl/BSDPAN-5.8.9_1.tar.bz2) = 445ebe73908a4b37d5c627eb0904954d
+SHA256 (perl/BSDPAN-5.8.9_1.tar.bz2) = 9839daff312ff84174085c55ce378710c7615d1a4830381eb4e6790d5c49434d
+SIZE (perl/BSDPAN-5.8.9_1.tar.bz2) = 8199
MD5 (perl/defined-or-5.8.9.bz2) = af0d3d86f437547bedb2d99539ba7a6e
SHA256 (perl/defined-or-5.8.9.bz2) = 021b46afd429f5c56b76195565394f1e74770681c5ad98f98936ad2cab58bda4
SIZE (perl/defined-or-5.8.9.bz2) = 36178
diff --git a/lang/perl5.10/files/patch-perl.c b/lang/perl5.10/files/patch-perl.c
index e9cd514c8868..8e91bd68b9e6 100644
--- a/lang/perl5.10/files/patch-perl.c
+++ b/lang/perl5.10/files/patch-perl.c
@@ -1,5 +1,14 @@
--- perl.c
+++ perl.c
+@@ -3724,7 +3724,7 @@
+ * perl with that fd as it has always done.
+ */
+ }
+- if (*suidscript) {
++ if (*suidscript != TRUE) {
+ Perl_croak(aTHX_ "suidperl needs (suid) fd script\n");
+ }
+ #else /* IAMSUID */
@@ -4882,6 +4882,28 @@
incpush(APPLLIB_EXP, TRUE, TRUE, TRUE, TRUE);
#endif