From owner-freebsd-ports@freebsd.org Sat Apr 8 22:00:05 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1B36D3538A for ; Sat, 8 Apr 2017 22:00:05 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B1228DE0 for ; Sat, 8 Apr 2017 22:00:05 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id AD79AD35389; Sat, 8 Apr 2017 22:00:05 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AD1ADD35388 for ; Sat, 8 Apr 2017 22:00:05 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90AA6DDF for ; Sat, 8 Apr 2017 22:00:05 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by freefall.freebsd.org (Postfix, from userid 1235) id B9F756B5E; Sat, 8 Apr 2017 22:00:04 +0000 (UTC) Date: Sun, 9 Apr 2017 00:00:04 +0200 From: Baptiste Daroussin To: ports@freebsd.org Subject: flavors and subpackages Message-ID: <20170408220004.ixq4unwpzpk4n5ia@ivaldir.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="caf7cxoshny5jpoc" Content-Disposition: inline User-Agent: NeoMutt/20170306 (1.8.0) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2017 22:00:05 -0000 --caf7cxoshny5jpoc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, I have started to merge subpackages and flavors to the ports tree. While for subpackages I'm only committing for now modifications of bsd.port.mk that needs to be made in preparation for proper subpackages For flavours, I have a working patch for a first easy step which should cover for examples all the py2/py3 mess we have now https://reviews.freebsd.org/D10327 basically if a port can have multiple variation then it just have to define FLAVORS= foo bar Committing the infrastructure part will not break anything but actually using it in ports will break portmaster, portupgrade, synth, poudriere and others which should be easily fixable on each end I haven't yet written a patch for poudriere but I plan to do it as soon as I can. For others I will let their maintainers doing it In my opinion it should be used with a proper policy from portmgr. If I take the python as an example: we should imho provide flavors for major version of the languages, meaning py27 and py35 right now, but not for all possible version of the languages. only libs should provide flavors, end user programs should not. Best regards, Bapt --caf7cxoshny5jpoc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAljpXWEACgkQY4mL3PG3 PloLyw/9GM5jLaVJgO5MWy88UCKPYlYbbwP8lMoPH365e9l7+c+0q1Q+1HpLULyb Ef9tXkxTI7hNZoUfmBtjGFMeDWm20sN0hwQUt0tqRbo/ikHG/u6ZcybD7XXphyX1 4Kki+4uoGY4k7ceNKH57O7a7tJrqGQW+bB2u/nx2ERT/whjgddFxjWklZVCfuZYZ /pQz3UdwyVk3/v+h9lJvK3w88kSrsUdKUEuiNAOJE72lZGdZmYsUJTSunVrodabU ricO8gEo6CS/S+ZuZyh5tLwKfTJFWnYuBLzz5VsuuAko7Gjx2HLojRXlgIe+CGpP M3w7tdk80bRxWpWuJTNCw48w0GT15NP1YvGXyx0mjAugooErO/ZMpmI9tUYuSl/E 0kSE2xm4Wf3KQ0qNXXr/78DCfDdJkKUzSCxZdqqnhHEDisMvenVzfswlqb/eD9Ue UXArXVUoKulrtA6E0zecjGP4W/l3QewgJnSYhmIYliKbnoXpz7SYbw54Sh5OmIWf Sn/2vp5W3cQJdLwFY/vi3oRYnEG5fY2Q2s3M1gHBWNWVGzZF/rL/81OSo2uVto70 9eRgDcIzsIWOda8+mrJCL20VbvQRsozpObtPrQBSE6HWP0MY/4IxLseCafTufCLz 2b6BI5x1svIm6U1gz+rQ+BLjmaZedb+SCKOyBqtTE+craMNkFHo= =ItM5 -----END PGP SIGNATURE----- --caf7cxoshny5jpoc--