Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 10:41:53 GMT
From:      Vitaliy Romanyuk <vitar@gmx.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95580: superfluous dependensies
Message-ID:  <200604101041.k3AAfrK3084417@www.freebsd.org>
Resent-Message-ID: <200604101050.k3AAoG1H090104@freefall.freebsd.org>

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

>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:



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