tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: make php to multi packages
Hi,
In message <Z5Aby5yre_j8k9QA%exadelic.gatalith.at@localhost>
on Tue, 21 Jan 2025 23:12:27 +0100,
Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> Thank you! That must have been a huge effort.
>
> I browsed the patch and have some questions:
>
> 1. How is etc/php.ini handled?
It is basically same as now except PKG_SYSCONFSUBDIR is set to php??.
# pkg_add php83-posix-8.3.16.tgz
php83-posix-8.3.16: copying /usr/pkg/share/examples/php83/posix.ini to /usr/pkg/etc/php83/php.d/posix.ini
# ls -lR /usr/pkg/etc/php83
total 152
drwxr-xr-x 2 root wheel 512 Jan 21 23:57 php.d
-rw-r--r-- 1 root wheel 73484 Jan 21 23:55 php.ini
/usr/pkg/etc/php83/php.d:
total 8
-rw-r--r-- 1 root wheel 36 Jan 21 23:57 posix.ini
> 2. I think we need to set CONFLICTS=php-[0-9]* in each phpXY package
>
> 3. Is there a useful value for SUPERSEDES, perhaps also php-[0-9]*?
> (That will help with upgrades with pkgin.)
Sure.
> 4. Are there any particular steps an admin must do after installing
> the new packages?
Mainly directory changes:
${PREFIX}/etc/php => ${PREFIX}/etc/php83
${PREFIX}/share/php => ${PREFIX}/share/php83
${PREFIX}/lib/httpd/mod_php8 => ${PREFIX}/lib/httpd/mod_php83
Best regards.
--
Takahiro Kambe <taca%NetBSD.org@localhost>
Home |
Main Index |
Thread Index |
Old Index