Re: Policy/thoughts on running/bundling C binaries with PHP package?

From: Date: Sun, 18 Dec 2005 19:25:13 +0000
Subject: Re: Policy/thoughts on running/bundling C binaries with PHP package?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-40769@lists.php.net to get a copy of this message
Hello Keith, From Thursday, December 15, 2005, 9:48:50 PM, you wrote: KPJ> I'm going to propose a Net_CDDB package soon which is used to access the KPJ> FreeDB.org audio-cd database to get audio-cd songs names/artist/cd info. KPJ> for a CD in your cd-drive. In order to do this I need to be able to KPJ> read the table of contents from the cd-drive. As far as I know I can't KPJ> do this with just PHP. Just make a code to access FreeDB base and provide a way to plugin extensions to be written in future (like Auth package) for various cd tools. KPJ> The best thought I have so far (other ideas?) is to use an external KPJ> program like 'cd-discid' (http://lly.org/~rcw/cd-discid/) to read the KPJ> TOC and return the info. to the PHP script. My thoughts are this: KPJ> Check if the cd-discid program is actually installed (which KPJ> cd-discid) KPJ> If it is, execute that one, otherwise, run a bundled executable KPJ> (Can I bundle executables with PEAR packages? License is GPL, author KPJ> said its fine to do this) GPL is too limitive to be used as PEAR library. If you want - make it LGPL, but it will be much more appreciated if you'll make it PHP or BSD, so people can use parts of it in closed source applications. KPJ> If I can bundle executables with the PEAR package, where do they get KPJ> placed? Pear extension directory or in the packages directory or...? Executables distriutes by PEAR is a good reason to write an exploit or too for PEAR installer. :-p t --

« previous php.pear.dev (#40769) next »