From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2D76D1384B4 for ; Mon, 4 Jan 2016 16:12:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D100D21C005; Mon, 4 Jan 2016 16:11:57 +0000 (UTC) Received: from foo.stuge.se (foo.stuge.se [212.116.89.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 829C2E0881 for ; Mon, 4 Jan 2016 16:11:56 +0000 (UTC) Received: (qmail 30169 invoked by uid 501); 4 Jan 2016 16:11:53 -0000 Message-ID: <20160104161153.30168.qmail@stuge.se> Date: Mon, 4 Jan 2016 17:11:53 +0100 From: Peter Stuge To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] News item: Apache "-D PHP5" needs update to "-D PHP" Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <5689BC34.5000006@gentoo.org> <20160104114537.392b9971@shanghai.paradoxon.rec> <20160104144036.1083a3d1.mgorny@gentoo.org> <568A8DA4.8000901@gentoo.org> <20160104154245.27599.qmail@stuge.se> <568A9592.5090401@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <568A9592.5090401@gentoo.org> X-Archives-Salt: e55acdda-7f69-4e05-8784-e61def1fb3c5 X-Archives-Hash: a22fba97556b64af332cd49b9826efa7 Michael Orlitzky wrote: > >> If anyone has a concrete idea that works better, it's not too late to > >> change it. > > > > Add code to init script and service file to check the config before > > starting the program, and react if PHP5 is still set. > > Which init script? For Apache. > It's only "bad" to have PHP5 set if the user has installed > >=eselect-php-0.8.1, and run it at least once. So pkg_postinst for >=eselect-php-0.8.1 should say something, but ideally also the invocation - but I don't know if eselect-php is also code or only data managed by eselect? > You don't want to e.g. kill working php-5.x installations for people > who have apache keyworded ~arch. IMO that would be a much lesser evil than serving source in another case, as long as it is clear how to unkill (sed s,PHP5,PHP,) the setup. //Peter