From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 663A81581E7 for ; Mon, 22 Apr 2024 14:46:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8FF7EE29E1; Mon, 22 Apr 2024 14:46:49 +0000 (UTC) Received: from uriel.iewc.co.za (uriel.iewc.co.za [IPv6:2c0f:f720:0:3::9a49:2248]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4CCB4E29CF for ; Mon, 22 Apr 2024 14:46:48 +0000 (UTC) Received: from [154.73.32.4] (helo=tauri.local.uls.co.za) by uriel.iewc.co.za with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1ryuwP-000000007zW-081i for gentoo-dev@lists.gentoo.org; Mon, 22 Apr 2024 16:46:45 +0200 Received: from [192.168.42.21] by tauri.local.uls.co.za with esmtp (Exim 4.97.1) (envelope-from ) id 1ryuwN-000000003xK-2Dwi for gentoo-dev@lists.gentoo.org; Mon, 22 Apr 2024 16:46:43 +0200 Message-ID: Date: Mon, 22 Apr 2024 16:46:43 +0200 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-GB To: gentoo development From: Jaco Kroon Subject: [gentoo-dev] default php-ext status Autocrypt: add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3tUdUfCDqVjipCzHmLZ+xMisfn yX9aTVI3FUIs8UiqM5xlxqfuCnDrKBJjQs3uvmd6cyhPRmnsjase48RoO84Ckjbp/HVu0+1+ 6vgiPjbe4xk7Ehkw1mfSxb79ABEBAAHCwF8EGAEIAAkFAlXtplYCGwwACgkQCC3Esa/37p7u XwgAjpFzUj+GMmo8ZeYwHH6YfNZQV+hfesr7tqlZn5DhQXJgT2NF6qh5Vn8TcFPR4JZiVIkF o0je7c8FJe34Aqex/H9R8LxvhENX/YOtq5+PqZj59y9G9+0FFZ1CyguTDC845zuJnnR5A0lw FARZaL8T7e6UGphtiT0NdR7EXnJ/alvtsnsNudtvFnKtigYvtw2wthW6CLvwrFjsuiXPjVUX 825zQUnBHnrED6vG67UG4z5cQ4uY/LcSNsqBsoj6/wsT0pnqdibhCWmgFimOsSRgaF7qsVtg TWyQDTjH643+qYbJJdH91LASRLrenRCgpCXgzNWAMX6PJlqLrNX1Ye4CQw== Organization: Ultimate Linux Solutions (Pty) Ltd Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-report: Relay access (uriel.iewc.co.za). X-Archives-Salt: 1bb64930-1326-456a-acab-424c9422031d X-Archives-Hash: e4f7d162c2fdab7a418071e7af2d2afc Hi All, For PHP modules that's getting installed, by default they all link ext/${modulename}.ini into ext-active/ such that all modules by default is active for all SAPIs. Short of INSTALL_MASK, is there way to better control for sysadmins? If I rm the symlinks, on next remerge they restore themselves: plastiekpoot [16:43:09] /etc/php (master) # ls -lah */ext-active/xdebug.ini lrwxrwxrwx 1 root root 17 Apr 22 15:36 apache2-php8.1/ext-active/xdebug.ini -> ../ext/xdebug.ini lrwxrwxrwx 1 root root 17 Apr 22 15:36 cli-php8.1/ext-active/xdebug.ini -> ../ext/xdebug.ini lrwxrwxrwx 1 root root 17 Apr 22 15:36 fpm-php8.1/ext-active/xdebug.ini -> ../ext/xdebug.ini plastiekpoot [16:43:15] /etc/php (master) # rm apache2-php8.1/ext-active/xdebug.ini plastiekpoot [16:43:21] /etc/php (master) # emerge -av xdebug ... plastiekpoot [16:43:52] /etc/php (master) # ls -lah */ext-active/xdebug.ini lrwxrwxrwx 1 root root 17 Apr 22 16:43 apache2-php8.1/ext-active/xdebug.ini -> ../ext/xdebug.ini lrwxrwxrwx 1 root root 17 Apr 22 16:43 cli-php8.1/ext-active/xdebug.ini -> ../ext/xdebug.ini lrwxrwxrwx 1 root root 17 Apr 22 16:43 fpm-php8.1/ext-active/xdebug.ini -> ../ext/xdebug.ini Which in my *opinion* is not desirable behaviour, but I'm open for discussion. xdebug.mode = off by default, but the extension still gets loaded. Not sure if there is a sensible "solution", further expanding USE flags certainly is not a desirable option, so perhaps INSTALL_MASK (per-package env) is the best solution ... ? Kind regards, Jaco