ports/95153: perl binary packages should be build with ENABLE_SUIDPERL
Laurent Frigault
lfrigault at agneau.org
Fri Mar 31 13:50:17 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list