From andre.albsmeier@mchp.siemens.de  Sat Oct 14 11:16:51 2000
Return-Path: <andre.albsmeier@mchp.siemens.de>
Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131])
	by hub.freebsd.org (Postfix) with ESMTP id 2C1D337B503
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Oct 2000 11:16:50 -0700 (PDT)
Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11])
	by goliath.siemens.de (8.11.0/8.11.0) with ESMTP id e9EIGmq01158
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Oct 2000 20:16:48 +0200 (MET DST)
Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7])
	by mail2.siemens.de (8.11.0/8.11.0) with ESMTP id e9EIGme09446
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Oct 2000 20:16:48 +0200 (MET DST)
Received: (from localhost)
	by curry.mchp.siemens.de (8.11.1/8.11.1) id e9EIGmq07367
	for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Oct 2000 20:16:48 +0200 (CEST)
Message-Id: <200010141816.e9EIGmm68483@curry.mchp.siemens.de>
Date: Sat, 14 Oct 2000 20:16:48 +0200 (CEST)
From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ENABLE_SUIDPERL not documented in make.conf of -STABLE
X-Send-Pr-Version: 3.2

>Number:         21991
>Category:       conf
>Synopsis:       ENABLE_SUIDPERL not documented in make.conf of -STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    markm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 14 11:20:00 PDT 2000
>Closed-Date:    Fri Nov 10 02:42:19 PST 2000
>Last-Modified:  Fri Nov 10 02:43:38 PST 2000
>Originator:     Andre Albsmeier
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
>Environment:

FreeBSD 4.1.1-STABLE

>Description:

The installation of suidperl is now controlled with ENABLE_SUIDPERL
and not NOSUIDPERL.

>How-To-Repeat:

vi /usr/src/gnu/usr.bin/perl/suidperl/Makefile 

>Fix:

This, or something similar...

--- etc/defaults/make.conf.ORI	Sat Oct 14 20:10:25 2000
+++ etc/defaults/make.conf	Sat Oct 14 20:12:52 2000
@@ -71,7 +71,7 @@
 #NOPERL=	true	# To avoid building perl
 #NOPROFILE=	true	# Avoid compiling profiled libraries
 #NOSECURE=	true	# do not build crypto code in secure/ subdir
-#NOSUIDPERL=	true	# To avoid building the suid perl
+#ENABLE_SUIDPERL=true	# Turn setuid bit on for suidperl
 #NOSHARE=	true	# do not go into the share subdir
 #NOUUCP=	true	# do not build uucp related programs
 #

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->markm 
Responsible-Changed-By: johan 
Responsible-Changed-When: Sat Oct 14 14:45:46 PDT 2000 
Responsible-Changed-Why:  
Over to perl maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21991 

From: hmo@sep.hamburg.com
To: freebsd-gnats-submit@FreeBSD.org, andre.albsmeier@mchp.siemens.de
Cc:  
Subject: Re: conf/21991: ENABLE_SUIDPERL not documented in make.c
Date: Thu, 26 Oct 2000 06:24:48 +0200 (CEST)

 >   Fix
 >          
 >This, or something similar...
 >
 >--- etc/defaults/make.conf.ORI  Sat Oct 14 20:10:25 2000
 >+++ etc/defaults/make.conf      Sat Oct 14 20:12:52 2000
 >@@ -71,7 +71,7 @@
 > #NOPERL=       true    # To avoid building perl
 > #NOPROFILE=    true    # Avoid compiling profiled libraries
 > #NOSECURE=     true    # do not build crypto code in secure/ subdir
 >-#NOSUIDPERL=   true    # To avoid building the suid perl
 >+#ENABLE_SUIDPERL=true  # Turn setuid bit on for suidperl
 > #NOSHARE=      true    # do not go into the share subdir
 > #NOUUCP=       true    # do not build uucp related programs
 > #
 >
 
 This should be fixed in src/gnu/usr.bin/perl/suidperl/Makefile to keep
 the naming of options consistent:
 
 --- src/gnu/usr.bin/perl/suidperl/Makefile.ORIG	Thu Oct  5 20:56:16 2000
 +++ src/gnu/usr.bin/perl/suidperl/Makefile	Thu Oct 26 06:18:43 2000
 @@ -13,10 +13,10 @@
  LINKS=	${BINDIR}/${PROG} ${BINDIR}/sperl5 \
  	${BINDIR}/${PROG} ${BINDIR}/sperl${VERSION}
  BINOWN=	root
 -.if defined(ENABLE_SUIDPERL) && ${ENABLE_SUIDPERL} == "true"
 -BINMODE=4511
 -.else
 +.if defined(NOSUIDPERL) && ${NOSUIDPERL} == "true"
  BINMODE=511
 +.else
 +BINMODE=4511
  .endif
  
  CLEANFILES=	Config.pm perlmain.c \
 
 Greetings,
 Helge
 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Fri Nov 10 02:42:19 PST 2000 
State-Changed-Why:  
Fixed in src/etc/defaults/make.conf,v 1.97.2.25. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21991 
>Unformatted:
