head	1.8;
access;
symbols
	RELEASE_7_2_0:1.7
	old_RELEASE_7_1_0:1.7
	old_RELEASE_6_4_0:1.7
	old_RELEASE_5_EOL:1.7
	old_RELEASE_7_0_0:1.7
	old_RELEASE_6_3_0:1.7
	old_PRE_XORG_7:1.7
	old_RELEASE_4_EOL:1.6
	old_RELEASE_6_2_0:1.6
	old_RELEASE_6_1_0:1.6
	old_RELEASE_5_5_0:1.6
	old_RELEASE_6_0_0:1.6
	old_RELEASE_5_4_0:1.6
	old_RELEASE_4_11_0:1.6
	old_RELEASE_5_3_0:1.6
	old_RELEASE_4_10_0:1.6
	old_RELEASE_5_2_1:1.6
	old_RELEASE_5_2_0:1.6
	old_RELEASE_4_9_0:1.6
	old_RELEASE_5_1_0:1.6
	old_RELEASE_4_8_0:1.6
	old_RELEASE_5_0_0:1.6
	old_RELEASE_4_7_0:1.6
	old_RELEASE_4_6_2:1.5
	old_RELEASE_4_6_1:1.5
	old_RELEASE_4_6_0:1.5
	old_RELEASE_5_0_DP1:1.5
	old_RELEASE_4_5_0:1.5
	old_RELEASE_4_4_0:1.5
	old_RELEASE_4_3_0:1.5
	old_RELEASE_4_2_0:1.4
	old_RELEASE_4_1_1:1.4
	old_RELEASE_4_1_0:1.4
	old_RELEASE_3_5_0:1.4
	old_RELEASE_4_0_0:1.4
	old_RELEASE_3_4_0:1.4
	old_RELEASE_3_3_0:1.4
	old_RELEASE_3_2_0:1.4
	old_RELEASE_3_1_0:1.4
	old_RELEASE_2_2_8:1.4
	old_RELEASE_3_0_0:1.4
	old_RELEASE_2_2_7:1.3
	old_RELEASE_2_2_6:1.3
	old_RELEASE_2_2_5:1.3
	old_RELEASE_2_2_2:1.1;
locks; strict;
comment	@# @;


1.8
date	2009.06.08.14.56.32;	author skv;	state dead;
branches;
next	1.7;

1.7
date	2007.05.03.02.34.21;	author kan;	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
@Remove expired port lang/perl5.6
@
text
@--- makedepend.SH.orig	Wed Jul 30 18:46:59 2003
+++ makedepend.SH	Wed May  2 22:24:46 2007
@@@@ -73,6 +73,7 @@@@
     case "$osname" in
     os2) ;;
     netbsd) ;;
+    freebsd) ;;
     *) $touch $firstmakefile ;;
     esac
 fi
@@@@ -163,6 +164,7 @@@@
 	    -e '/^#.*<builtin>/d' \
 	    -e '/^#.*<built-in>/d' \
 	    -e '/^#.*<command line>/d' \
+	    -e '/^#.*<command-line>/d' \
 	    -e '/^#.*"-"/d' \
 	    -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
 	    -e 's/^[	 ]*#[	 ]*line/#/' \
@


1.7
log
@Filter out <command-line> from preprocessor output in makedepend.SH
to fix build with GCC 4.2.0.
@
text
@@


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 3
a3 5
$FreeBSD$

--- makedepend.SH.ORIG	Fri Jul 24 06:00:58 1998
+++ makedepend.SH	Thu Jul 30 17:08:37 1998
@@@@ -68,6 +68,7 @@@@
d11 8
@


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
@@
