tech-pkg archive

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

Re: Prefixing PHP packages with ${PHP_PKG_PREFIX}



On Mon, Aug 31, 2015 at 03:05:57PM -0400, Greg Troxel wrote:
> 
> Thomas Klausner <wiz%NetBSD.org@localhost> writes:
> 
> > On Tue, Sep 01, 2015 at 12:59:49AM +0900, Takahiro Kambe wrote:
> >> 	www/ap-php
> >> 	www/ap2-suphp
> >
> > These look like prime examples of what should have a prefix -- or in
> > this case, perhaps even two (apache + php).
> 
> Agreed in theory.  Do we have support for multiple prefixes?   We'd have
> www/ap-php and taht would generate
> 
> ap22-php55
> ap24-php55
> ap22-php56
> ap24-php56

this is already the case (from official bulk builds):
/pub/pkgsrc/packages/NetBSD/i386/6.0_2015Q2/All>ls ap*-php*
ap22-php54-5.4.44.tgz     ap22-php56-5.6.12.tgz     ap24-php55-5.5.28.tgz
ap22-php55-5.5.28.tgz     ap24-php54-5.4.44.tgz     ap24-php56-5.6.12.tgz

When I looked, suphp doens't need the prefix because it doens't
have php as dependancy:
antioche:/home/ftp/pub/pkgsrc/packages/NetBSD/i386/6.0_2015Q2/All>pkg_info ap22-suphp-0.7.2.tgz 
Information for ap22-suphp-0.7.2.tgz:

Comment:
SuEXEC-like wrapper for PHP scripts

Requires:
apr>=1.5.0
apr-util>=1.5.3nb2

Description:

(I guess it just calls the php executable, but it not linked against any php
library).

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index