[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages with httpd needs



On Tue, Nov 27, 2007 at 12:27:42PM -0800, Steve Langasek wrote:
> 
>  Package: phpgroupware
>  Depends: apache2 | apache | httpd, php5 | php5-cgi | libapache2-mod-php5 [...]
> 
> This doesn't force you to install apache.  It just requires that you have
> apache and php installed, which by default is going to pull in apache2 and
> libapache2-mod-php5 if the dependency isn't previously satisfied.  (The php
> depends in this particular example are strange; it should probably depend
> either on "php5" alone, which is a metapackage.  But that doesn't change the
> argument.)
> 
Actually, your statement (about requiring apache) is not strictly true.
Lots of packages which are not apache provide httpd:

for i in `apt-cache search httpd |cut -f1 -d' '` ; do [ `apt-cache show $i| grep '^Provides:.*httpd' |wc -l` -gt 0 ] &&  apt-cache show $i |grep "^Package\|^Provides" && echo "---------"; done

Regards,

-Roberto
-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: