debian/0000755000000000000000000000000012170537061007170 5ustar debian/source/0000755000000000000000000000000012163434450010470 5ustar debian/source/format0000644000000000000000000000001412163434450011676 0ustar 3.0 (quilt) debian/install0000644000000000000000000000012012163434450010552 0ustar Crypt /usr/share/php File /usr/share/php Math /usr/share/php Net /usr/share/php debian/watch0000644000000000000000000000016312170351450010215 0ustar version=3 options="uversionmangle=s/a/~alpha/i;s/b/~beta/i;s/rc/~rc/i" \ http://sf.net/phpseclib/phpseclib(.+).zip debian/rules0000755000000000000000000000041012170536661010250 0ustar #!/usr/bin/make -f %: dh $@ override_dh_installdeb: mv $(CURDIR)/debian/php-seclib/usr/share/php/Crypt/Blowfish.php \ $(CURDIR)/debian/php-seclib/usr/share/php/Crypt/Blowfish-phpseclib.php dh_installdeb get-orig-source: uscan --verbose --repack --rename debian/compat0000644000000000000000000000000212163434450010366 0ustar 9 debian/patches/0000755000000000000000000000000012170536661010624 5ustar debian/patches/Crypt_Blowfish_conflict.patch0000644000000000000000000000416712170536661016474 0ustar Description: Fix Crypt_Blowfish conflict Rename Crypt/Blowfish.php into Crypt/Blowfish-phpseclib.php so it can be co-installed with Crypt_Blowfish from PEAR (php-crypt-blowfish package). Author: David Prévot Bug: https://github.com/phpseclib/phpseclib/issues/125 Last-Update: 2013-06-29 --- a/Crypt/Blowfish.php +++ b/Crypt/Blowfish.php @@ -15,7 +15,7 @@ * Here's a short example of how to use this library: * * encrypt = new Crypt_Blowfish(); $this->encrypt_block_size = 8; break; case 'blowfish-ctr': if (!class_exists('Crypt_Blowfish')) { - require_once('Crypt/Blowfish.php'); + require_once('Crypt/Blowfish-phpseclib.php'); } $this->encrypt = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR); $this->encrypt_block_size = 8; @@ -1405,14 +1405,14 @@ break; case 'blowfish-cbc': if (!class_exists('Crypt_Blowfish')) { - require_once('Crypt/Blowfish.php'); + require_once('Crypt/Blowfish-phpseclib.php'); } $this->decrypt = new Crypt_Blowfish(); $this->decrypt_block_size = 8; break; case 'blowfish-ctr': if (!class_exists('Crypt_Blowfish')) { - require_once('Crypt/Blowfish.php'); + require_once('Crypt/Blowfish-phpseclib.php'); } $this->decrypt = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR); $this->decrypt_block_size = 8; debian/patches/series0000644000000000000000000000003612170536661012040 0ustar Crypt_Blowfish_conflict.patch debian/changelog0000644000000000000000000000115112170537021011034 0ustar phpseclib (0.3.5-2) unstable; urgency=low * Fix Crypt_Blowfish conflict * Revert "Replace and provide php-crypt-blowfish" -- David Prévot Sun, 14 Jul 2013 11:04:49 -0400 phpseclib (0.3.5-1) unstable; urgency=low * New upstream version * Use canonical Vcs- fields * Update Description: add Blowfish and Twofish * Replace and provide php-crypt-blowfish -- David Prévot Sat, 13 Jul 2013 17:57:40 -0400 phpseclib (0.3.1-1) unstable; urgency=low * Initial release. (Closes: #704700) -- David Prévot Thu, 04 Apr 2013 19:05:03 -0400 debian/control0000644000000000000000000000141112170536761010576 0ustar Source: phpseclib Section: php Priority: optional Maintainer: Debian PHP PEAR Maintainers Uploaders: David Prévot Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: http://phpseclib.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/pkg-php/phpseclib.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-php/phpseclib.git Package: php-seclib Architecture: all Depends: php5 | php5-cli, ${misc:Depends} Recommends: php5-mcrypt | php5-gmp Description: implementations of an arbitrary-precision integer arithmetic library The PHP Secure Communications Library are fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509 implementations. debian/copyright0000644000000000000000000000262012163434450011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: phpseclib Source: https://github.com/phpseclib/phpseclib Upstream-Contact: Jim Wigginton Files: * Copyright: 2006-2013, Jim Wigginton License: Expat Files: debian/* Copyright: 2013, David Prévot License: Expat License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.