php autodep generator (was: Re: Aktualne PHP powinno wymagać aktualnego pcre, problem z php-eaccelerator)
Elan Ruusamäe
glen at pld-linux.org
Thu Dec 3 08:44:21 CET 2009
On Wednesday 02 December 2009 12:18:14 Elan Ruusamäe wrote:
> On Wednesday 02 December 2009 12:08:35 Tomasz Pala wrote:
> > On Wed, Dec 02, 2009 at 11:54:13 +0200, Elan Ruusamäe wrote:
> > > goal is to write down deps in pkgs. too bad original spec developer
> > > didn't care writing down requirements. these are usually written in
> > > README files,
> >
> > You're kidding? Maybe we should enumerate such things like glibc or FHS
> > too, in case someone in future has a brilliant idea and splits something?
>
> glibc is enumerated.
>
> you're welcome to write php autodep generator.
>
> there's some unfinished work done @
> http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES.old/rpm-php-requires.php
now at
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm/rpm-php-requires.php
tested it now on cacti...
seems noautodep on pear(.*) likely needed, i.e to catch only extension deps.
and also mysql/pgsql/ldap as those are optional.
but what about the extension dep.
if main requirement is php 5.2.0, then extensions use virtual dep,
which could still result you incomplete installations as the php4 extension satisfy.
version the virtual dependencies too?
support only php5+? (in which means no more php4 supported in any pld distro branches)
$ find /home/glen/tmp/cacti-0.8.7e-root-glen -name '*.php' | ./rpm-php-requires.php
pear($path/$file/setup.php)
pear(include/top_header.php)
pear(include/bottom_footer.php)
pear(../lib/import.php)
pear(/etc/webapps/cacti/config.php)
pear(/usr/share/php/adodb/adodb.inc.php)
pear(../lib/data_query.php)
pear(../lib/tree.php)
pear(../lib/poller.php)
pear(../lib/template.php)
pear(../include/global.php)
pear(../lib/utility.php)
pear(0_8_to_0_8_1.php)
pear(0_8_1_to_0_8_2.php)
pear(0_8_2_to_0_8_2a.php)
pear(0_8_2a_to_0_8_3.php)
pear(0_8_3_to_0_8_4.php)
pear(0_8_4_to_0_8_5.php)
pear(0_8_5a_to_0_8_6.php)
pear(0_8_6_to_0_8_6a.php)
pear(0_8_6c_to_0_8_6d.php)
pear(0_8_6d_to_0_8_6e.php)
pear(0_8_6f_to_0_8_6g.php)
pear(0_8_6g_to_0_8_6h.php)
pear(0_8_6h_to_0_8_6i.php)
pear(0_8_6j_to_0_8_7.php)
pear(0_8_7_to_0_8_7a.php)
pear(0_8_7a_to_0_8_7b.php)
pear(0_8_7b_to_0_8_7c.php)
pear(0_8_7c_to_0_8_7d.php)
pear(0_8_7d_to_0_8_7e.php)
php-common >= 4:5.2.0
php(ftp)
php(gettext)
php(hash)
php(ldap)
php(mysql)
php(pcre)
php(posix)
php(session)
php(snmp)
php(sockets)
php(xml)
--
glen
More information about the pld-devel-en
mailing list