From owner-freebsd-ports@FreeBSD.ORG Tue Jun 26 09:03:44 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8F80B106564A for ; Tue, 26 Jun 2012 09:03:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E28828FC1E for ; Tue, 26 Jun 2012 09:03:43 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q5Q93dR6034269 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 26 Jun 2012 10:03:39 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q5Q93dR6034269 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1340701419; bh=f1jt7ARbVJYhWwRNbQ1t8Q6IQ4DICXDfqmd+Sd0idUE=; h=Date:From:To:Subject:References:In-Reply-To:Cc:Content-Type: Message-ID:Mime-Version; b=UagTUo3Jnt2eOyqdtLBbcMM7MCAUIdVg0SK2/6RiWbzFExKGMqwbrObT5VxsPKBGG 4ooAyg9x8CnHKd4IKiii8pmeVXfJfXfhSq/gPNIPTuHJVtmStqgNEsgWNSarFRXXZP wstVP7OvvzHP9fJjvH0W2IHJQbnukwoXwpmMXgG4= Message-ID: <4FE97AE1.9080109@infracaninophile.co.uk> Date: Tue, 26 Jun 2012 10:03:29 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4FE8E4A4.9070507@gmail.com> <20120626065732.GH41054@ithaqua.etoilebsd.net> <20120626092645.Horde.HytQbVNNcXdP6WQ1aMtjoMA@webmail.df.eu> <4FE96BA0.6040005@infracaninophile.co.uk> <4FE97008.2060501@netfence.it> In-Reply-To: <4FE97008.2060501@netfence.it> X-Enigmail-Version: 1.4.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5B777A740D880CC86A1288A7" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Port system "problems" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 09:03:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5B777A740D880CC86A1288A7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 26/06/2012 09:17, Andrea Venturoli wrote: > On 06/26/12 09:58, Matthew Seaman wrote: >> On 26/06/2012 08:26, Marcus von Appen wrote: >>>>> 1. Ports are not modular >> >>>> What do you mean by modular? if you are speaking about subpackages i= t >>>> is coming, >>>> but it takes time >> >>> I hope, we are not talking about some Debian-like approach here >>> (foo-bin, >>> foo-dev, foo-doc, ....). >> >> Actually, yes -- that's pretty much exactly what we're talking about >> here. Why do you feel subpackages would be a bad thing? >=20 > Can I share my 2c? >=20 > Because it will just multiply be three the number of ports each of us > has to install/maintain/upgrade/etc... Yes, it will multiply the number of ports. By three is about right, given that most ports will only have port-docs and port-examples sub-ports. However, first of all, you are assuming that the effort required to install each of those sub-ports is the same as it is to install a single port now. That is simply not the case. If you want to install the foo/bar port, then (as now) you'ld essentially[+] -- # cd ${PORTSDIR}/foo/bar # make # make install but you'ld end up with bar-0.99, bar-doc-0.99 and bar-examples-0.99 installed. Unless you have a setting like NOPORTDOCS or NOPORTEXAMPLES (probably controlled by a dialogue menu like any other options) which means you don't get the associated -docs or -examples sub-ports. That's no real change in terms of what you'ld have to do compared to now.= The difference is that if you install from packages, you now have the opportunity not to install docs or examples. Secondly, that's just one example of how sub-ports should work, and docs/examples will be special-cased given their ubiquity. Most sub-ports would be controlled by port OPTIONS dialogues. A typical example would involve client-server apps -- so mysqlNN-server becomes a sub-port of mysqlNN-client. You get to check a box saying 'install the server as well as the client' when you go to install mysqlNN. Similarly all those php5-XYZ modules become sub-ports of lang/php5. The big difference being that the port and all its sub-ports are compiled in one step, and just packaged separately. Which is probably less work overall that the current situation with ports and slave-ports. Cheers, Matthew [+] Or more likely you'ld use portupgrade or portmaster or similar to run these steps for you. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig5B777A740D880CC86A1288A7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/peusACgkQ8Mjk52CukIymKQCePv85Kh87Io9byEfxeQqTPxOk OSYAnRDtw6zYzybrz351keci47b6SEcu =9aOn -----END PGP SIGNATURE----- --------------enig5B777A740D880CC86A1288A7--