From owner-freebsd-ports@freebsd.org Mon Aug 15 14:56:32 2016 Return-Path: Delivered-To: freebsd-ports@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 C43D4BB96F9 for ; Mon, 15 Aug 2016 14:56:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AD8621B1B for ; Mon, 15 Aug 2016 14:56:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id A94C6BB96F8; Mon, 15 Aug 2016 14:56:32 +0000 (UTC) Delivered-To: ports@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 A8FA2BB96F7 for ; Mon, 15 Aug 2016 14:56:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7773C1B1A for ; Mon, 15 Aug 2016 14:56:32 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id EDEE1BDD5E; Mon, 15 Aug 2016 16:56:29 +0200 (CEST) Received: from atuin.in.mat.cc (global-5-13.nat-1.net.cam.ac.uk [131.111.5.13]) by prod2.absolight.net (Postfix) with ESMTPA id CA771BDD58; Mon, 15 Aug 2016 16:56:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id 20C19672E3D3; Mon, 15 Aug 2016 15:56:29 +0100 (BST) Date: Mon, 15 Aug 2016 15:56:28 +0200 From: Mathieu Arnold To: Miroslav Lachman <000.fbsd@quip.cz>, ports@FreeBSD.org Subject: Re: [HEADSUP] extracting LoadModule out of httpd.conf Message-ID: In-Reply-To: <57AB978F.3090800@quip.cz> References: <57AB978F.3090800@quip.cz> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="==========1F138523896A2B8DB028==========" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 14:56:32 -0000 --==========1F138523896A2B8DB028========== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline +--On 10 ao=C3=BBt 2016 23:07:27 +0200 Miroslav Lachman <000.fbsd@quip.cz> wrote: | So... LoadModule can be extracted from httpd.conf (and nothing else). | I am not sure if it should be one file for all modules or separate files | for each module. Keeping them all in one file is about the same as not splitting them out of httpd.conf, the problem is what I wrote in , quoting here for easier = reading: For example, say, the user uses the official packages: pkg install apache24 edit httpd.conf to enable a few extensions, like, say, ssl and socache_shmcb some updates are done to apache, some more extensions are now built with it pkg upgrade the new extensions are in not in httpd.conf, but they are in httpd.conf.sample, so, the user will have to go look around in the sample file (and know it exists) to get the new LoadModule lines into his httpd.conf. This is not good. Other example: pkg install mod_php56 I uncomment the LoadModule line in httpd.conf that mod_php56 magically added some time later, after php has been updated pkg upgrade the LoadModule php line is gone, or has been commented out, I'm not happy :-) With one LoadModule (it being commented or not) per file, using @sample, what the user comments or uncomments never gets changed. --=20 Mathieu Arnold --==========1F138523896A2B8DB028========== Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJXsdgcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85IseQP/ijPIB9YbjexM1pURYL6weMm dc1Pam6atJDqUlhqO9Ae7JxRI6XgL3o9r5CE21EGDCZGbLGtEr+MkPkQQNq+yU+i SQz4c9ZvU2lCi25md1bjQxE+kaRUFlCKlRmITkd2hy9ODokLH63M8xgqejsv4w1n fV0QM7NGG1+mS1Ydp5tZvzUqxeUKqN6285bJuV2sVVrF8NIAJfSGxN4bgEOpTOTJ JoUH2t6BjYa5tMf8t+yjqMcmj50przIRBajbhgredK6BOuZTFV+++IHDp0cs1nQ2 88hxF3A+IVLh+/xHQSgNnuymcML8qQ0OWPjrXa5wMGpt3yo1YunPQEEJ/Ls/OItY c8FgNniN04vcNyf9Cj/GdF3eI5d5HOY9mttI/9Z9mGdqj0/ipi5lQAVu4/HOd6RU 9aAlmTnarKNvDceGDvnFXkBSRgkP14D+r1CT4FE/fgbP4S7rFfmCg3n1GJMiunAA GcJBjoZG/TAUkbLArxmOXOkyNu5kN3kMROmKGhFE9qPg1dN10+NpW4T9Xzy5qdYs DnvmqR+EC3Jrvq8xjyotSQM/Rgm8ea2e2xpdy0yc7Is0hSUnWPvOkIr7ANVZLUqC nwg+8BoRhcyH3ydC8qRxh3hepYgUox2NK7zKkWJtTaGadcL32TNt+n0X2MPQs2j1 YJSeJx05KELzDU/ymSj3 =sZIQ -----END PGP SIGNATURE----- --==========1F138523896A2B8DB028==========--