Date: Fri, 7 Mar 2014 10:45:16 +0100 From: =?utf-8?Q?=22=28=E3=83=84=29=22?= <endzed@gmail.com> To: Mark Felder <feld@FreeBSD.org> Cc: freebsd-pkg@freebsd.org Subject: Re: pkg upgrade conflict Message-ID: <2251E05E-C3C7-48C7-A0BA-60281CD8169B@gmail.com> In-Reply-To: <1394109774.16193.91292069.5503DEE2@webmail.messagingengine.com> References: <5943C298-6620-433E-A14D-9D1A5BB03B44@gmail.com> <1394039996.26987.90950985.3D7B5FE0@webmail.messagingengine.com> <2D9C227C-7C23-4199-A1FE-114EFAF59C04@gmail.com> <1394109774.16193.91292069.5503DEE2@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Le 6 mars 2014 à 13:42, Mark Felder <feld@FreeBSD.org> a écrit :
>> Beside this and since I need to build a repository for each box
>> specifics, i guess I'll soon need to build a repository per box... so I
>> wonder if it is possible to use a generic repository pkg definition that
>> include the hostname, i mean :
>>
>> today my repository definition contains
>>
>> poudriere: {
>> url :
>> "pkg+http://xyz.invalid/poudriere/${ABI}",
>> enabled : yes,
>> mirror_type : "SRV"
>> }
>>
>> is there a way to have something like this (already tried it, doesn't
>> work because ${HOST} env var is not expanded)
>>
>> poudriere: {
>> url :
>> "pkg+http://xyz.invalid/poudriere/${ABI}/${HOST}",
>> enabled : yes,
>> mirror_type : "SRV"
>> }
>>
>
> Well, the way I do it is have my main poudriere.d/make.conf and then
> poudriere.d/php53-make.conf. In this config file:
>
> # override php version from regular make.conf
> .undef DEFAULT_VERSIONS
> DEFAULT_VERSIONS=mysql=55 pgsql=92 apache=2.2 php=5.3
>
> Now I can build a php53 flavor:
>
> pouriere bulk -j 92amd64 -z php53 -f /path/to/ports.txt
>
> On my clients using the php53 repository:
>
> "pkg+http://xyz.invalid/poudriere/${ABI}-php53",
>
>
> Hope that helps!
That helps ! I even go deeper and use some sets (-z option) to solve this, one set for php53 and one for php54
Many thanks :-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2251E05E-C3C7-48C7-A0BA-60281CD8169B>
