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

Bug#291223: ITP: libphp-clam -- PHP bindings for libclamav



On Thu, Jan 20, 2005 at 12:28:27AM +0000, Neil McGovern wrote:
> Apologies,
> http://software.fotopic.net will (I have been assured) contain more
> information about this package.

Sometime in the future, presumably.  They only mention php-imlib2 (which is
a weird typo for php-clam... <grin>)

> > > A small module that implements a limited subset of the libclamav API in
> > > order to scan buffers and files from within PHP.
> > 
> > Since this package is a C module, it should probably be named php4-clam (or
> > php4-clamav, more accurately) so that a php5-clamav can be made later. 
> > libphp-<foo> is typically reserved for library packages written in and for
> > PHP.
> 
> However, thsi package is verified in working on both php4 and php5.

Is the same binary suitable for use on PHP4 and PHP5?  I'm no PHP extension
guru, but I thought the ABIs were fairly different.

> What would be the best option in this case? php-clam/php-clamav?

For the source package, php-clamav would be suitable.  If the same binary
works on both PHP4 and PHP5, I'd say php-clamav would be suitable for the
binary package as well, otherwise php4-clamav and php5-clamav should be
appropriate.

- Matt

Attachment: signature.asc
Description: Digital signature


Reply to: