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 =E0 13:42, Mark Felder <feld@FreeBSD.org> a =E9crit : >> 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 : >>=20 >> today my repository definition contains=20 >>=20 >> poudriere: {=20 >> url : >> "pkg+http://xyz.invalid/poudriere/${ABI}", >> enabled : yes, >> mirror_type : "SRV" >> } >>=20 >> is there a way to have something like this (already tried it, doesn't >> work because ${HOST} env var is not expanded) >>=20 >> poudriere: {=20 >> url : >> "pkg+http://xyz.invalid/poudriere/${ABI}/${HOST}", >> enabled : yes, >> mirror_type : "SRV" >> } >>=20 >=20 > 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: >=20 > # override php version from regular make.conf > .undef DEFAULT_VERSIONS > DEFAULT_VERSIONS=3Dmysql=3D55 pgsql=3D92 apache=3D2.2 php=3D5.3 >=20 > Now I can build a php53 flavor: >=20 > pouriere bulk -j 92amd64 -z php53 -f /path/to/ports.txt >=20 > On my clients using the php53 repository: >=20 > "pkg+http://xyz.invalid/poudriere/${ABI}-php53", >=20 >=20 > 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>