Date: Fri, 18 Jul 2014 10:14:51 -0400 From: Allan Jude <allanjude@freebsd.org> To: freebsd-doc@freebsd.org Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? Message-ID: <53C92BDB.1060503@freebsd.org> In-Reply-To: <53C928B3.50004@infracaninophile.co.uk> References: <CAG=rPVcyqq2072%2BgF_X91BocxykJB6%2BU0cMhaNexxfVFpVqUbA@mail.gmail.com> <CAJ-Vmo=p6-7KCL8C09O4dPq04pitW5wDbtsDAyz-u4Qtr7rpRA@mail.gmail.com> <CAGZBXN8-Gq1=w8SBHCw26ZX4a29KHBx%2B4FV9XGK1HJiCOGuJ9A@mail.gmail.com> <CAJ-Vmo=8uAXqmX8D%2BoP%2B63dHWVKN6cn8wBH0HNsVmUciNRF1BA@mail.gmail.com> <53C82EC4.8060304@gmail.com> <CAPS9%2BSuswkJNuwhT=o%2B7sBQpbaN0-jhnRK5drugqZw54%2BqzgzA@mail.gmail.com> <53C83EB4.2060202@infracaninophile.co.uk> <53C9229D.8090406@freebsd.org> <53C928B3.50004@infracaninophile.co.uk>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 in >> the pkg-message, this seems fairly easy for a beginner to do. >> > > Yes -- there's a significant amount of work to implement this. > > 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 with > 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. > > Hmmm.... although these packages would need enough smarts to distinguish > between an initial installation and an upgrade, and not change the > activation status of the package in the latter case. (This is a problem > 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.) > > Cheers, > > Matthew > > > So you mean like, a phpmyadmin-apache-config metapackage, that depends on apache and phpmyadmin, but installs an enabled, working config? -- Allan Jude [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C92BDB.1060503>
