Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 13:49:11 GMT
From:      Laurent Frigault <lfrigault@agneau.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95153: perl binary packages should be build with ENABLE_SUIDPERL
Message-ID:  <200603311349.k2VDnB7g012431@www.freebsd.org>
Resent-Message-ID: <200603311350.k2VDo6UI055226@freefall.freebsd.org>

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

>Number:         95153
>Category:       ports
>Synopsis:       perl binary packages should be build with ENABLE_SUIDPERL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 31 13:50:06 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Laurent Frigault
>Release:        5-STABLE, 6-STABLE
>Organization:
GalacSYS
>Environment:
FreeBSD obelix.bergerie.agneau.org 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #0: Thu Mar  2 11:02:16 CET 2006     lolo@obelix.bergerie.agneau.org:/usr/src/sys/i386/compile/OBELIX  i386

>Description:
Before FreeBSD 5.x, perl was part of the base system and sperl/suidperl was installed without the setuid bit. When some script need it, there was no need to rebuild it, a simple chmod was enough to use it.

Since FreeBSD 5.x, there is no more perl in the base system. As a result, when installing FreeBSD with software depending on perl (like imake/X) , the binary package get installed. Unfortunatly, the package is compiled without ENABLE_SUIDPERL and this force the re-installation of the port (with ENABLE_SUIDPERL) when we need it (sometimes with many ports to re-install when this occurs a long time after the original installation)

Why not building the perl binary package with ENABLE_SUIDPERL and installing the sperl/suidperl without the setuid bit ?

>How-To-Repeat:
install the perl5.8 package ...
>Fix:
build the perl binary package with ENABLE_SUIDPERL and install the sperl/suidperl without the setuid bit .

>Release-Note:
>Audit-Trail:
>Unformatted:



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