From owner-freebsd-pkg@FreeBSD.ORG Fri Mar 7 09:45:21 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1440C0; Fri, 7 Mar 2014 09:45:21 +0000 (UTC) Received: from mail-ee0-x230.google.com (mail-ee0-x230.google.com [IPv6:2a00:1450:4013:c00::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 58F0F77B; Fri, 7 Mar 2014 09:45:21 +0000 (UTC) Received: by mail-ee0-f48.google.com with SMTP id e51so1624543eek.7 for ; Fri, 07 Mar 2014 01:45:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=GgVk+CwcsCr3xayoAKE/+Aq+wu1E+C3IRxpimxknIWI=; b=s8gFi3sc9C8SxgFqmM+S9KJYcbz6hK6pRKid3jE8v9/KHYtQJpVjuYXP91D6vWcFCA PpvgVXmuIgRw0hq7cmSA8PpxfOAVXUlKqlFzeyRlBtTmvjlB7OE4hq6HqptFRoTiku1E SQKDOsJ7/XTyt3HGpb5fm7qACPsr2OKyc3LjRaexQFLFq/AARQ4Hj10264FdskGjDJlY 5haZ8r4NFEJEWeeIys607FMJT6WFRit4xOP/eWK0lxYQ89qkuEMVWZpMUgBNl1sUvwpx Xj1RxLC/oJJLHccsOHF7L1eWOKQtGmnJlNK6MURPQ+yDijcCOMrOhAnvZ8tpM+xDg+7W oQsg== X-Received: by 10.14.202.136 with SMTP id d8mr17909924eeo.46.1394185519665; Fri, 07 Mar 2014 01:45:19 -0800 (PST) Received: from dynamic.wline.6rd.res.cust.swisscom.ch ([2a02:120b:2c3b:a650:ed79:a663:e2bd:c38d]) by mx.google.com with ESMTPSA id q44sm4633408eez.1.2014.03.07.01.45.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Mar 2014 01:45:18 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: pkg upgrade conflict From: =?utf-8?Q?=22=28=E3=83=84=29=22?= In-Reply-To: <1394109774.16193.91292069.5503DEE2@webmail.messagingengine.com> Date: Fri, 7 Mar 2014 10:45:16 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <2251E05E-C3C7-48C7-A0BA-60281CD8169B@gmail.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> To: Mark Felder X-Mailer: Apple Mail (2.1874) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2014 09:45:22 -0000 Le 6 mars 2014 =E0 13:42, Mark Felder 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 :-)