From owner-freebsd-doc@FreeBSD.ORG Fri Jul 18 14:14:26 2014 Return-Path: Delivered-To: freebsd-doc@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 3904CAD for ; Fri, 18 Jul 2014 14:14:26 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id EDA92290F for ; Fri, 18 Jul 2014 14:14:25 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id E9B661157F for ; Fri, 18 Jul 2014 14:14:24 +0000 (UTC) Message-ID: <53C92BDB.1060503@freebsd.org> Date: Fri, 18 Jul 2014 10:14:51 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: <53C82EC4.8060304@gmail.com> <53C83EB4.2060202@infracaninophile.co.uk> <53C9229D.8090406@freebsd.org> <53C928B3.50004@infracaninophile.co.uk> In-Reply-To: <53C928B3.50004@infracaninophile.co.uk> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 14:14:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2014-07-18 10:01, Matthew Seaman wrote: > On 07/18/14 14:35, Allan Jude wrote: >> We could obviously do the same for nginx, create an includes directory= etc. >> >> Then we'd have to teach the package infrastructure to understand which= >> web server you are using, and each port would need a template for each= >> web server. And again, we'd not want it on by default, so we'd install= >> phpmyadmin.conf.sample, and the user would have to copy it to >> phpmyadmin.conf to enable it. As long as we give them the cp command i= n >> the pkg-message, this seems fairly easy for a beginner to do. >> >=20 > Yes -- there's a significant amount of work to implement this. >=20 > You're not really getting the idea about these packages. We don't want= > to install sample files or make the users go through any more hoops wit= h > these 'config' packages specifically. The whole point is instant > gratification. Unlike the Linux setups where this sort of > auto-enablement is standard, because we'd have standard packages -- > exactly the same as the current apache or nginx packages -- which don't= > enable anything by default, you still have control. If you want the > software installed but not enabled, don't install the packages with the= > pre-canned configuration stuff. >=20 > Hmmm.... although these packages would need enough smarts to distinguis= h > between an initial installation and an upgrade, and not change the > activation status of the package in the latter case. (This is a proble= m > with pkg_tools, since it's idea of 'upgrade' is 'delete and reinstall',= > but pkg(8) knows the difference. September 1st cannot come soon enough= =2E) >=20 > Cheers, >=20 > Matthew >=20 >=20 >=20 So you mean like, a phpmyadmin-apache-config metapackage, that depends on apache and phpmyadmin, but installs an enabled, working config? --=20 Allan Jude --6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTySvdAAoJEJrBFpNRJZKfa7YQALTcdOZ9zkohZM5O7r83JntN 2+Rt2SKppTmZwRfj7uX/q0VRkAEHW7DPGvgt+Xl4qiejtHm3ax+qF+Pfh2Ybbf49 grJdYt7SA2NMthk6HaZxNQ80i1dD9jr8sXq8wUzQaphf5/QkNHwxrmHHgIBJhNfa hLTLyGHaSOajNo+hucZqasNV2bLeSmBLa3t05aRymMsUcW2MX4l9EzwT0xyjxg1Y sUSUJeBz8iMsBa4kYf4U/AjZI/Dx4lHMPWnZU8cdc9obcjUOxe2wHo5fLdsD6g9p qS5X/gw3B7F3O8076HpfGpgkzAal9d+RESwIKQSwSXzdSOd4CP6rpComSOhYcFyb ie8ov5ZEAGMDBqUTSgbUoQZBM754Zs0roI7IwE8dsKwNGWVXcPjvvNDPYkdHw2Ag za5UcFJAqxSQM0rPNtDplK1RTNjiMj7GQbpjY27OElZDrOY5+nUIgXb0SXX8J/mo qPz2JBSU4rYknIWO/sAS9JmE78yIMxToO9vjwCgshVthZEtmmrpf5eIkhy5VCYps gKKqXDtiiJQ1usX/LQkgg40cNeQbfazigVSWbv0pCMuktOqGdKR1OdICWFMlmv55 9Bm+GnHXF/eWvQL1I6gNZbRkDU8Q9WsA5YnjzQKHkXpWlhQL4JOUJ1anPOnZzGEQ 7rcmFNxJ/CiWUGHEPniR =WKsd -----END PGP SIGNATURE----- --6D0xxrRhrIF5ef6WMOQBmi7XBR1qiJSWe--