Re: Use of /usr/share/php in RPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/06/09 06:51, Remi Collet wrote:
Hi,

/usr/share/php is provided by PHP and included in include_dir defaut value.

So this seems a good place to store "class" file.

But I think we need a Guidelines

1/ to not allow direct use of /usr/share/php

=>  use a sub-folder

Ex :
- php-oauth use /usr/share/php/oauth =>  ok
- php-xmpphp use /usr/share/php/xmpphp =>  ok

See reviews :
- php-hkit
Review https://bugzilla.redhat.com/show_bug.cgi?id=505358
approved but use /usr/share/php

- php-PHPMailer
Review pending https://bugzilla.redhat.com/show_bug.cgi?id=505356

- php-captchaphp
Review pending https://bugzilla.redhat.com/show_bug.cgi?id=505354



2/ to not allow install for Web application

A web application must install under /usr/share/<appname>

php-laconica seems to be a web-app installed under /usr/share/php


Comments before I propose a draft ?

Agreed on both points.

Also take SELinux considerations into account; a similar thread got started on fedora-devel-list recently:

https://www.redhat.com/archives/fedora-devel-list/2009-June/msg01350.html

Paul.

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux