From owner-freebsd-stable@FreeBSD.ORG Sun Apr 19 11:36:09 2015 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D244EECC; Sun, 19 Apr 2015 11:36:09 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 64D48E18; Sun, 19 Apr 2015 11:36:09 +0000 (UTC) Received: by widdi4 with SMTP id di4so68088832wid.0; Sun, 19 Apr 2015 04:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=uAO/MIQAx3Q1Idvle/yEBpX/170EmVg2pxKqtSj7Xa8=; b=AmFFgY6Hhg7V2kvVIx9ICbYyOGdToQsxslND86LPSHHJjVFTUz4rVeun7y7oULsK1T LgD9gdo76hGENF3ovHFPrAr59PJCdw4gN534Pxe3kF6s3qgVQY7fOED8DZAUnd6rFY6t iUXwqmNOkFJEyPq3YQl7BYDlKjnZdcqznv/4/AjJjujG2znck2UrSPV1UAa2XpODC0i5 aWwMQdKyS2peyJF2qa1hzpwnb2effaNiOG+pwltM75CE7TDw0mzmxLRWprxy070yQq+G 3daMntaF7wNzEBaGkRUSYyBeyet5Q6NMi//qj5n0nGfjYHQor3fnsB9iWprgrr2jsXdo c6mQ== X-Received: by 10.180.104.34 with SMTP id gb2mr15911486wib.95.1429443367863; Sun, 19 Apr 2015 04:36:07 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id e10sm10700341wij.11.2015.04.19.04.36.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Apr 2015 04:36:07 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 19 Apr 2015 13:36:05 +0200 From: Baptiste Daroussin To: Dmitry Sivachenko Cc: ports@FreeBSD.org, current@FreeBSD.org, stable@FreeBSD.org Subject: Re: pkg 1.5.0 is out Message-ID: <20150419113605.GE960@ivaldir.etoilebsd.net> References: <20150414200459.GE39658@ivaldir.etoilebsd.net> <3F18CCA1-53B8-4590-9CD3-78FB63590D51@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u5E4XgoOPWr4PD9E" Content-Disposition: inline In-Reply-To: <3F18CCA1-53B8-4590-9CD3-78FB63590D51@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Apr 2015 11:36:10 -0000 --u5E4XgoOPWr4PD9E Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 19, 2015 at 02:22:15PM +0300, Dmitry Sivachenko wrote: >=20 > > On 14 =D0=B0=D0=BF=D1=80. 2015 =D0=B3., at 23:05, Baptiste Daroussin wrote: > >=20 > > Final pkg 1.5.0 has been released. > >=20 >=20 > Thank a lot for working on pkg! >=20 > >=20 > > For pkg 1.6.0 among other things and depending on the time, here is wha= t we do > > plan to work on: > > - > >=20 >=20 >=20 > What I really miss a lot is support for package "profiles": an ability to= build the same port with different OPTIONs combination. > For example: > minimal nginx version; > nginx version with passenger module (for puppet server) > nginx version with some other rare options turned on for custom applicati= on. >=20 > Right now I achieve this with manually renaming /var/db/ports/*/options f= iles and some manipulations in /usr/ports/packages/All. > But a framework to automatically handle this would be very useful. >=20 > Thanks. >=20 This is already supported on pkg side, the work needs to be done in ports s= ide, what you call profiles, I usually call it flavours but that is the same. Dependencies made on provides/requires allows to handle dependencies in thi= s: For example A can depend on nginx (whatever profile): so it requires "nginx" B can only depend on nginx-passenger: so it requires nginx-passenger nginx itself provides: nginx nginx-passenger provides: nginx and nginx-passenger that should do what you want unfortunatly that mean both nginx nginx-passen= ger both have one origin: www/nginx and this will break portupgrade/portmaster/tinderbox/poudriere (I can easily make poudriere fri= endly for that but I can't for the others). So most of the work is now on ports land (and maybe a couple of bug fixes in pkg) Best regards, Bapt --u5E4XgoOPWr4PD9E Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlUzkyUACgkQ8kTtMUmk6EyhnACePcqViIXH5vcnBh1NyQC2CofM rG4AoIxTOvXkgcDDEDICnCDgbWmnlhN4 =PPVO -----END PGP SIGNATURE----- --u5E4XgoOPWr4PD9E--