Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jun 1997 17:35:07 -0700
From:      pius@ienet.com
To:        freebsd-ports@freebsd.org
Subject:   perl5.004 port doesn't install suidperl on FreeBSD 2.1.7?
Message-ID:  <199706040035.RAA01736@iago.ienet.com>

next in thread | raw e-mail | index | archive | help

Is there any reason why the perl5 port shouldn't install suidperl
on FreeBSD 2.1 systems anymore (as of the 5.004 port)? It used to
be installed on previous versions of the port.

Here's a patch to ports/lang/perl5/patches/patch-ac that'll cause
suidperl to be installed on 2.1 systems as well:

--- patch-ac.orig	Sat May 31 22:33:59 1997
+++ patch-ac	Tue Jun  3 14:51:49 1997
@@ -1,6 +1,14 @@
---- hints/freebsd.sh.orig	Thu Apr 24 01:01:37 1997
-+++ hints/freebsd.sh	Fri May 23 21:06:35 1997
-@@ -76,12 +76,18 @@
+--- hints/freebsd.sh.orig	Wed Apr 23 16:01:37 1997
++++ hints/freebsd.sh	Tue Jun  3 14:29:50 1997
+@@ -63,6 +63,7 @@
+ 	d_setreuid='define'
+ 	d_setegid='undef'
+ 	d_seteuid='undef'
++	d_dosuid='define'
+ 	test -r ./broken-db.msg && . ./broken-db.msg
+ 	;;
+ #
+@@ -76,12 +77,18 @@
  	d_setreuid='define'
  	d_setegid='undef'
  	d_seteuid='undef'

This is a patch for a patch - so it may be hard to read. Basically,
the only difference is that d_dosuid='define' is added for the 2.1
case. This was maybe forgotten when the port was recently updated.

Regards,
Pius



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706040035.RAA01736>