head	1.8;
access;
symbols
	old_old_old_old_RELEASE_4_9_0:1.7
	old_old_old_old_RELEASE_5_1_0:1.7
	old_old_old_old_RELEASE_4_8_0:1.7
	old_old_old_old_RELEASE_5_0_0:1.7
	old_old_old_old_RELEASE_4_7_0:1.7
	old_old_old_old_old_RELEASE_4_6_1:1.5
	old_old_old_old_old_RELEASE_4_6_0:1.5
	old_old_old_old_old_RELEASE_5_0_DP1:1.5
	old_old_old_old_old_RELEASE_4_5_0:1.5
	old_old_old_old_old_RELEASE_4_4_0:1.5
	old_old_old_old_old_RELEASE_4_3_0:1.5
	old_old_old_old_old_RELEASE_4_2_0:1.4
	old_old_old_old_old_RELEASE_4_1_1:1.4
	old_old_old_old_old_RELEASE_4_1_0:1.4
	old_old_old_old_old_RELEASE_3_5_0:1.4
	old_old_old_old_old_RELEASE_4_0_0:1.4
	old_old_old_old_old_RELEASE_3_4_0:1.4
	old_old_old_old_old_RELEASE_3_3_0:1.4
	old_old_old_old_old_RELEASE_3_2_0:1.4
	old_old_old_old_old_RELEASE_3_1_0:1.4
	old_old_old_old_old_RELEASE_2_2_8:1.4
	old_old_old_old_old_RELEASE_3_0_0:1.4
	old_old_old_old_old_RELEASE_2_2_7:1.3
	old_old_old_old_old_RELEASE_2_2_6:1.3
	old_old_old_old_old_RELEASE_2_2_5:1.3
	old_old_old_old_old_RELEASE_2_2_2:1.1;
locks; strict;
comment	@# @;


1.8
date	2003.10.27.19.48.03;	author tobez;	state dead;
branches;
next	1.7;

1.7
date	2002.07.21.17.09.12;	author tobez;	state Exp;
branches;
next	1.6;

1.6
date	2002.06.02.21.22.25;	author tobez;	state Exp;
branches;
next	1.5;

1.5
date	2001.03.22.15.17.46;	author markm;	state Exp;
branches;
next	1.4;

1.4
date	98.08.06.10.43.21;	author markm;	state Exp;
branches;
next	1.3;

1.3
date	97.09.22.18.21.54;	author markm;	state Exp;
branches;
next	1.2;

1.2
date	97.05.23.20.07.01;	author markm;	state dead;
branches;
next	1.1;

1.1
date	97.05.13.16.12.55;	author roberto;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Update to 5.8.1.

Also:

Make suidperl optional (ENABLE_SUIDPERL knob).  Switch to perlmalloc by
default, unless threaded perl is built, to improve performance.
Modernize pkg-plist (switch to SITE_PERL where possible).  Update WWW.

Many thanks to foxfair who prepared most of this update.
@
text
@$FreeBSD: ports/lang/perl5.8/files/patch-ae,v 1.7 2002/07/21 17:09:12 tobez Exp $

--- makedepend.SH.ORIG	Fri Jul 24 06:00:58 1998
+++ makedepend.SH	Thu Jul 30 17:08:37 1998
@@@@ -68,6 +68,7 @@@@
     case "$osname" in
     os2) ;;
     netbsd) ;;
+    freebsd) ;;
     *) $touch $firstmakefile ;;
     esac
 fi
@


1.7
log
@Update to 5.8.0 (after repocopy).
@
text
@d1 1
a1 1
$FreeBSD: ports/lang/perl5/files/patch-ae,v 1.6 2002/06/02 21:22:25 tobez Exp $
@


1.6
log
@Put SITEARCH and SITELIB paths in front of ARCHLIB and PRIVLIB in the
@@INC array. This takes care of the infamous problem of updating the
packages already in the perl distribution. With this change, no tricks
are any longer necessary for such p5 ports, except the usual tweaking of
INSTALLDIRS in Makefile.PL. This last one can also be taken care of by
an appropriate BSDPAN modifications, but until we have the `natural'
@@INC order in the 4.X base system perl, it is meaningless.

Do not include iconv.h and do not link with libiconv. Iconv is not used
by perl in any way currently, but it used to link it if found.

Fix perl on freebsd/sparc64.

PR:		33212 (iconv), 37605 (iconv), 38813 (sparc64)
Reported by:	Vivek Khera <khera@@kciLink.com> (iconv),
		Martin Nilsson <martin@@gneto.com> (iconv)
Submitted by:	jake (sparc64)
@
text
@d1 1
a1 1
$FreeBSD$
@


1.5
log
@Upgrade this to perl5.6.0 for _knowledgeable_  folks in STABLE who
really want it.

This is still marked FORBIDDEN as there may be all sorts of horrible
incompatabilities with the perl5 in "base", but folks who are willing
to override this and experiment are welcome.

Consider this to be only partially supported. I'll happily commit
patches and fixes, but I don't want to answer too many questions.

Sorry!
@
text
@d1 2
@


1.4
log
@Update to Perl 5.005_01.
@
text
@d3 1
a3 2
@@@@ -67,6 +67,7 @@@@
     # to be out of date.  I don't know if OS/2 has touch, so do this:
d6 1
@


1.3
log
@Patch to make this compile on 2.2.1
@
text
@d1 3
a3 3
--- makedepend.SH.orig  Mon Sep  8 21:27:36 1997
+++ makedepend.SH       Mon Sep  8 21:29:04 1997
@@@@ -60,6 +60,7 @@@@
@


1.2
log
@Upgrade to Perl5.004. SUID Perl Works for 3.0-current and 2.2.2!
@
text
@d1 10
a10 42
--- perl.h.old	Tue May  6 12:22:21 1997
+++ perl.h	Tue May  6 12:26:50 1997
@@@@ -223,6 +223,15 @@@@
 #   include <sys/param.h>
 #endif
 
+/* needed for IAMSUID case for 4.4BSD systems 
+ * XXX there should probably be a Configure variable
+ */
+
+#ifdef I_SYS_PARAM
+#if (defined (BSD) && (BSD >= 199306))
+#   include <sys/mount.h>
+#endif /* !BSD */
+#endif /* !I_SYS_PARAM */
 
 /* Use all the "standard" definitions? */
 #if defined(STANDARD_C) && defined(I_STDLIB)
--- perl.c.old	Sun Apr 27 15:04:13 1997
+++ perl.c	Tue May  6 12:27:40 1997
@@@@ -1912,6 +1912,20 @@@@
 		croak("Can't swap uid and euid");	/* really paranoid */
 	    if (Stat(SvPVX(GvSV(curcop->cop_filegv)),&tmpstatbuf) < 0)
 		croak("Permission denied");	/* testing full pathname here */
+#if (defined(BSD) && (BSD >= 199306))
+#ifdef IAMSUID
+        {
+            struct statfs stfs;
+
+            if (fstatfs(fileno(rsfp),&stfs) < 0)
+                croak("Can't statfs filesystem of script \"%s\"",origfilename);
+
+            if (stfs.f_flags & MNT_NOSUID)
+                croak("Permission denied");
+        }
+#endif /* IAMSUID */
+#endif /* BSD */
+
 	    if (tmpstatbuf.st_dev != statbuf.st_dev ||
 		tmpstatbuf.st_ino != statbuf.st_ino) {
 		(void)PerlIO_close(rsfp);

@


1.1
log
@This is the Perl5 equivalent of the MNT_NOSUID patch that was put into
/usr/bin/perl a while ago. It works with 5.003 and 5.004-tobe.

I can't test it on freefall (I don't have a setuid script to play with)
but it works at home. I'll test on thud later.

Every setuid script found on a partition mounted "nosuid" will not be executed
and "Permission Denied" will be displayed.

It won't be in soo-to-be-released 5.004 because it is not a FreeBSD speciific
problem but it will be dealt with in 5.004_01 (maintenance release).

Obtained from: Jrg's patch (edited for Perl5 by me).
@
text
@@
