Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 15:01:23 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-doc@freebsd.org
Subject:   Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg?
Message-ID:  <53C928B3.50004@infracaninophile.co.uk>
In-Reply-To: <53C9229D.8090406@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--9bWHXAOP29J68wOmcuvIJGluJFH4a1Nf1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 07/18/14 14:35, Allan Jude wrote:
> We could obviously do the same for nginx, create an includes directory =
etc.
>=20
> 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.
>=20

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




--9bWHXAOP29J68wOmcuvIJGluJFH4a1Nf1
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
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJ8BAEBCgBmBQJTySi7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw
MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTnMEwQAIFxX/okp/CZ7pl/nUD+g9Jv
0vJ2SvS8PYQfLJ9PUkTVtaVWn7gQtvVRGUH4+Ua1pO0Bfhz/3DtpQrRDzqldVLwQ
UD1fvhda8MXDKkodjElXM0vlgXzb28XR/Ws7M+GGCtSBA2akNlBTOcljPt5iB3Bd
TFqo5iMjcMgEf5cZl0uyd/3vGvXkNADoyogVenfzgu8BnLntiLWLiowtBfIa1KEV
xv+H7mlfx2fwr+tWmC0SvAeVtAj20lr/OU13sblRypsGxwlDWjcbvDf+f2hg81fv
vbJDtGCQkLAhZR6kogG2+DTUqKW071clSbpPacE4tAhO5632enxgVTHnXMUPvwEP
iTcBOk86788G7ZLRI7lFjn8rQBW9eG8BuqrMh00UtM4RSxLttAKFCcSHGFBJte1z
D4Zn42AEJubt9pP3zcdeqJjzniDA6t++cv5sI+Sq1Pj4PRyEJ/KneRMEoOMa55og
3g7AilHfusGAHroiF9KMr6plcYX2sC/Goa+3Qv4Nmy6juQqAt0BBmgBjNVFcUzIU
iP8g+dCFW3UtvSTfLgpVr4KtyfDKtwDlzTdm4j7okFa7IzIX7MCbDTliTMQYyJvx
JOoDiXVEKzpk4gsRdnr1FA3xEFGVkCWYkM7BkVrPY0oUrAU4Io2KL2KjF5I5Qmmu
QkMjC022dQMrD0Dp/6Se
=zpHV
-----END PGP SIGNATURE-----

--9bWHXAOP29J68wOmcuvIJGluJFH4a1Nf1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C928B3.50004>