[php-maint] Status of php-idn (removal suggestion)

Raphael Geissert geissert at debian.org
Sat Nov 7 19:40:13 UTC 2009


Hi,

2009/11/7 Micha Lenk <micha at debian.org>:
>
> Apparently upstream of php-idn (http://php-idn.bayour.com/) is dead:
> Last release was in November 2006.

I don't know what the status of Turbo is, but he is upstream and/or
was the Debian maintainer.

> An alternative provider of the
> functions idn_to_ascii() and idn_to_utf8() appears to be supplied by the
> PHP extension intl in the (official?) PECL repository:
> http://php.net/manual/en/ref.intl.idn.php

But it is still missing some of the functions provided by php-idn
$ grep PHP_FUNCTION idn.c
PHP_FUNCTION(idn_prep_name)
PHP_FUNCTION(idn_prep_kerberos5)
PHP_FUNCTION(idn_prep_node)
PHP_FUNCTION(idn_prep_resource)
PHP_FUNCTION(idn_prep_plain)
PHP_FUNCTION(idn_prep_trace)
PHP_FUNCTION(idn_prep_sasl)
PHP_FUNCTION(idn_prep_iscsi)
PHP_FUNCTION(idn_punycode_encode)
PHP_FUNCTION(idn_punycode_decode)
PHP_FUNCTION(idn_to_ascii)
PHP_FUNCTION(idn_to_utf8)
PHP_FUNCTION(idn_to_unicode)
PHP_FUNCTION(tld_check)
PHP_FUNCTION(tld_get)
PHP_FUNCTION(tld_get_table)

Not sure if any function other than _to_ascii and _to_utf8 are used, though.

>
> I suggest the removal of the package php-idn once PHP 5.3 and a package
> for the intl extension is available. For convenience, a transitional
> package php5-idn depending on the suggested intl extension package might
> be needed.
>

If somebody is willing to step up to package and maintain the intl
extension, php-idn could be removed and the transition between the two
started. No matter whether php 5.2.x or 5.3.x is shipped in squeeze,
the intl extension is very likely to get its own package (php5-intl)
so there's only one transition to be planned.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net



More information about the pkg-php-maint mailing list