[Pkg-owncloud-maintainers] Split phpseclib?

Mathieu Parent math.parent at gmail.com
Sat May 16 12:07:01 UTC 2015

Hello David,

phpseclib is provided upstream in two shapes: Composer (monolithic)
and PEAR (splitted, see PS).

Debian currently ships one binary package built from composer.

Some PEAR packages may depend on one particular package (this is
currently the case for php-horde-imp which recommends FIle_ASN1, and
for php-horde-mapi which depends on Math_BigInteger, see #785281).

There are three problems here:
1./ The PEAR calculated package name is weird:
phpseclib.sourceforge.net/File_ASN1 -> php-phpseclib-sourceforge-file-asn1

I will fix this in pkg-php-tools, to consider sourceforge.net like a
TLD (we'll have php-phpseclib-file-asn1).

This is #785446.

2./ The current package name from composer should be php-phpseclib
instead. I will file a bug about this.

3./ The php-phpseclib should "provide" all the libraries it ships.
This would be the proper fix for #785281.

Mathieu Parent

PS: Here are the splitted packages

$ sudo pear channel-add http://phpseclib.sourceforge.net/channel.xml
Adding Channel "phpseclib.sourceforge.net" succeeded

$ pear  list-all -c phpseclib
All packages [Channel phpseclib]:
Package                    Latest Local
phpseclib/Crypt_AES        0.3.10       Pure-PHP implementation of AES
phpseclib/Crypt_Base       0.3.10       Base class for symmetric key
cryptographic algorithms
phpseclib/Crypt_Blowfish   0.3.10       Pure-PHP implementation of Blowfish
phpseclib/Crypt_DES        0.3.10       Pure-PHP implementation of DES
phpseclib/Crypt_Hash       0.3.10       Pure-PHP implementations of
keyed-hash message authentication codes (HMACs) and various
cryptographic hashing functions
phpseclib/Crypt_Random     0.3.10       Random Number Generator
phpseclib/Crypt_RC4        0.3.10       Pure-PHP implementation of RC4
phpseclib/Crypt_Rijndael   0.3.10       Pure-PHP implementation of Rijndael
phpseclib/Crypt_RSA        0.3.10       Pure-PHP PKCS#1 (v2.1)
compliant implementation of RSA
phpseclib/Crypt_TripleDES  0.3.10       Pure-PHP implementation of Triple DES
phpseclib/Crypt_Twofish    0.3.10       Pure-PHP implementation of Twofish
phpseclib/File_ANSI        0.3.10       Pure-PHP ANSI decoder
phpseclib/File_ASN1        0.3.10       Pure-PHP ASN1 parser
phpseclib/File_X509        0.3.10       Pure-PHP X.509 encoder / decoder
phpseclib/Math_BigInteger  0.3.10       Pure-PHP arbitrary precision
integer arithmetic library
phpseclib/Net_SFTP         0.3.10       Pure-PHP implementation of SFTP
phpseclib/Net_SSH1         0.3.10       Pure-PHP implementation of SSHv1
phpseclib/Net_SSH2         0.3.10       Pure-PHP implementation of SSHv2
phpseclib/System_SSH_Agent 0.3.10       Pure-PHP ssh-agent client

More information about the Pkg-owncloud-maintainers mailing list