Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 15:09:29 -0400 (EDT)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        Warner Losh <imp@village.org>
Cc:        Christopher Masto <chris@netmonger.net>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/gnu/usr.bin/perl Makefile 
Message-ID:  <Pine.BSF.4.21.0008111503020.98487-100000@pawn.primelocation.net>
In-Reply-To: <200008111857.MAA36439@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 Aug 2000, Warner Losh wrote:

> : If this change is not backed out, I think it is important to at least
> : come up with an easy way to get suidperl without building from source.
> : We should not force this limitation on casual users.
> 
> Causual users won't have setuid perl scripts.  I agree that we might
> want to have a package/port that will do this to make it easier for
> people that want it to add it to their system.  However, I don't have
> the time to do that and I really don't think there's a large demand
> for it.  If others want to send it to me, I'd commit it.
> 

I assume it is not acceptible to build suidperl but have it's mode 0000
(instead of 4511) by default (see below).

-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


Index: Makefile
===================================================================
RCS file: /home/ncvs/src/gnu/usr.bin/perl/suidperl/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	2000/06/25 14:48:16	1.16
+++ Makefile	2000/08/11 19:05:52
@@ -13,7 +13,11 @@
 LINKS=	${BINDIR}/${PROG} ${BINDIR}/sperl5 \
 	${BINDIR}/${PROG} ${BINDIR}/sperl${VERSION}
 BINOWN=	root
+.if defined(BUILD_SUIDPERL) && ${BUILD_SUIDPERL} == "true"
 BINMODE=4511
+.else
+BINMODE=0
+.endif
 
 CLEANFILES=	Config.pm perlmain.c \
 		autosplit ext.libs



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008111503020.98487-100000>