From owner-freebsd-pkg@freebsd.org Sat Jul 16 16:26:11 2016 Return-Path: Delivered-To: freebsd-pkg@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 B55FFB9B707 for ; Sat, 16 Jul 2016 16:26:11 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 1816B1857 for ; Sat, 16 Jul 2016 16:26:11 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-lf0-x232.google.com with SMTP id y184so17301314lfd.3 for ; Sat, 16 Jul 2016 09:26:11 -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-disposition:in-reply-to:user-agent; bh=4LK7fqBI8ujr3lGDaRA6sOYWnKhQkrzYChntTa3SyeI=; b=dDgWjSOvbteeDMPcD+oIdPoNdd9JByHbYik+WWBIEsaicjFi6OXgKfwilcBmnG8m7B VV2GI+whzHBzWdteMgDbgzfwMfxxWxk7tPxkWZ0zsAk3+IS8D9uRCOsH8n8eHMlupFEd fzXlCUCXZihIRsZtVz+/BNC/9XYpFWrjJNWc7Ayjl4QtKiplg0Fi9Iv13lTm72trIi3I sagt7lYazcFPZtf7VK007KJ5ZPBlp113nuU0EtHj4/vdGX4KNvrSY4xUgLXp+9lLUT/Q 8ETjqjM3B9jLWkS0fZkHQm6RahqJY6Pboi/dX+P9+td1rsvRVJZAbGpNcfuFAspUQg28 m4zA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=4LK7fqBI8ujr3lGDaRA6sOYWnKhQkrzYChntTa3SyeI=; b=XL76Kt6HhsnZApZIbVk64yP+YzxYfupsuSv/PhdqjmlUI3MWwqcl2PU1IJXtmCLcLp +MnLpSCjNyRo0ywkYulvLn26JjqHXqy41qQyJ8szfXw67IYPX/pSAehfH+cwc2VDpW+W LVV93xll9KCKtTlY4xPbL2ySmaFTJ/FNiJLkr0dJZ7o2mU3WPKEUPwrUE9bLVAhTPjcg hrCDFQh/kD5kIC2N4AaoFCCZV2y5oH2jH+cjPELN4zzgXfykCLrUAJb7fm7UfEiPsuVR N72Qw/KP5LtBgZyBYdmGQJm1tZrpDqhFLflYe5EEZBgH0k9dDU6KYEUrGAPiGH8FSXqQ wABg== X-Gm-Message-State: ALyK8tIqQywdxrXNQbzAH1P3xfc2qGX48TQj5PyJmtOOAKe772s+6t+zyUuy2Tp/q0GOwQ== X-Received: by 10.25.216.168 with SMTP id r40mr12998434lfi.122.1468686368797; Sat, 16 Jul 2016 09:26:08 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id 29sm2793974lfu.43.2016.07.16.09.26.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jul 2016 09:26:07 -0700 (PDT) Sender: Baptiste Daroussin Date: Sat, 16 Jul 2016 18:26:05 +0200 From: Baptiste Daroussin To: Atomic Beef Cc: freebsd-pkg@freebsd.org Subject: Re: State of Provides/Requires Message-ID: <20160716162605.flotxo3hdohla35z@ivaldir.etoilebsd.net> References: <20160716151339.lvco3nmctrrk6h7s@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wrrfgfoe6unnednm" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.22 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: Sat, 16 Jul 2016 16:26:11 -0000 --wrrfgfoe6unnednm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 16, 2016 at 12:00:15PM -0400, Atomic Beef wrote: > On Sat, Jul 16, 2016 at 11:13 AM, Baptiste Daroussin > wrote: >=20 > > Provides/Requires has been added in pkg around 1.4 (iirc) > > > > They are not perfect and we would prefer to use what we call flexible > > dependencies instead. that said flexible dependencies are not any close= to > > be > > implemented. So I think we should use current provides/requires mechani= sm > > in the > > mean time. > > > > To use them the only issue in on the ports tree itself > > > > Best regards, > > Bapt > > > What are the differences between flexible dependencies and the current > provides/requires implementation? What needs to be done to the ports tree > to allow for the use of provides/requires? Current provides/requires are basic keywords that should exactly match Flexible dependencies is a formula like php > 9 < 9.5, libmysql.so.X; gmake =3D 12 All the current form of dependencies (shlibs, provides/requires, regular de= ps) can be expressed in a single form without the need of special treatment. To implements in ports the goal is to add everywhere in the ports things informations that will be exposed in the manifest as provides: [ X, Y, Z] and a way to express when requiring X, the default build package will be li= bX but will not be registered as a deps because the requires line in the manif= est will handle the deps. Noone really started working on the port side. Bapt --wrrfgfoe6unnednm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXimAbAAoJEGOJi9zxtz5a9+EQANvK4s6DtUjSVxJyQrwec/ra xbZ29AF/tPDFXN4qBEfphbF9+Qxmt8UkyB6j1J5CC/ZuxbYz2XBlk3kAz9TRZod1 SorABl5sXm285S/rIhHdicOy2VySl4SGz/gGp5HY3RM8JdA8TsF+FHBXlZnkE7Ia 4+9nl5P4OcteGAVBQzi+VYfpS8uqskDiKd0EB7KXxnfLLsM87OmHGoVGmEee0u4/ XsSzl+RGsIQE2Uo7LRWXtpZ3KNSLrLZlmi8it6MbFzg+/7K/eORo71uHjR8FwwdP RJjDLR+38/MPZ5nyAiz4AnF77P9vDMmtYMMIn1aqj89rtMMrvoZ/aX9DAUU32HrF 0GUj0bUVHSFeHix/ruJy5CW73A0tmxy9VmM8pCUB9Aiz2/WuVSoQcIcRI21S9JQM 1SihsrXbNbuMNVb90BW2G/h2LSUWEhRIKpQK9gdyEqmU/7dUdg2OJNsqKHCb93Sq twU6RaloRWwN6ZJlEYZ2+4SRDYy6WArvvD9JpupDVPNbVSPvt8yHjCj5wfoxaJ5k IViOF75SG5OC11JX0wl5EKI5ol1f2Hun4jgPgtsln6GYqUQ1SMbgehf4lrZavT9b 1/VCXJUIMPZd0F9lb2HBfy3mbbHcuhLWAONN0ZC57moLkG8EqkbueJ0JOpb4f27D 7HwbPme95H6A71lyR+eh =BpiK -----END PGP SIGNATURE----- --wrrfgfoe6unnednm--