ports/95580: superfluous dependensies

Vitaliy Romanyuk vitar at gmx.net
Mon Apr 10 10:50:20 UTC 2006


>Number:         95580
>Category:       ports
>Synopsis:       superfluous dependensies
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 10 10:50:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Vitaliy Romanyuk
>Release:        5-STABLE
>Organization:
Freelance ;-)
>Environment:
not needed
>Description:
There are too many superfluous dependencies onto software pieces that isn't true part of system but a part of "generic install" instead. In my case it's Apache but I'm sure that it isn't complete list.

AFAIK Apache installs during every install type (std/custom etc) when user says "enable httpd" but really it doesn't carries any system-level functions like sshd or inetd -- just "web-server", no more. And it can be easily replaced by number of  an alternates including ones that better for special cases (low-mem systems for example) -- like lighttpd or nginx.

But many ports (in my case it's PHP5) still refers to Apache modules-dir or Apache shared-dir or somewhat like that. And even tries to build Apache modules regardless of switches and parameters.
>How-To-Repeat:
#cd /usr/ports/lang/php5
#make -DWITHOUT_APACHE -EWITHOUT_APACHE -EWITH_APACHE=no {use as many variants as you like} install
#php -i
>Fix:
Review ports makefiles to avoid dependencies that really doesn't requred by original source
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list