From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-php/File_Iterator/File_Iterator-1.3.4.ebuild | 19 + dev-php/File_Iterator/File_Iterator-1.4.2.ebuild | 32 + dev-php/File_Iterator/File_Iterator-1.4.3.ebuild | 32 + .../File_Iterator/File_Iterator-2.0.2-r1.ebuild | 32 + dev-php/File_Iterator/File_Iterator-2.0.2.ebuild | 32 + dev-php/File_Iterator/Manifest | 4 + dev-php/File_Iterator/files/autoload-2.0.2.php | 15 + dev-php/File_Iterator/files/autoload.php | 15 + dev-php/File_Iterator/files/channel.xml | 16 + dev-php/File_Iterator/metadata.xml | 12 + dev-php/PEAR-Archive_Tar/Manifest | 4 + .../PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.5.ebuild | 31 + .../PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.7.ebuild | 31 + .../PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.8.ebuild | 31 + .../PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.9.ebuild | 31 + dev-php/PEAR-Archive_Tar/metadata.xml | 12 + dev-php/PEAR-Auth_SASL/Manifest | 1 + dev-php/PEAR-Auth_SASL/PEAR-Auth_SASL-1.1.0.ebuild | 14 + dev-php/PEAR-Auth_SASL/metadata.xml | 12 + dev-php/PEAR-Cache/Manifest | 1 + dev-php/PEAR-Cache/PEAR-Cache-1.5.6-r2.ebuild | 23 + dev-php/PEAR-Cache/metadata.xml | 9 + dev-php/PEAR-Cache_Lite/Manifest | 2 + .../PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.2.ebuild | 21 + .../PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.3.ebuild | 21 + dev-php/PEAR-Cache_Lite/metadata.xml | 9 + dev-php/PEAR-Config/Manifest | 1 + .../PEAR-Config-2.0.0_pre20140323-r1.ebuild | 30 + dev-php/PEAR-Config/metadata.xml | 9 + dev-php/PEAR-Console_CommandLine/Manifest | 1 + .../PEAR-Console_CommandLine-1.2.2.ebuild | 53 ++ dev-php/PEAR-Console_CommandLine/metadata.xml | 13 + dev-php/PEAR-Console_Getargs/Manifest | 1 + .../PEAR-Console_Getargs-1.4.0.ebuild | 20 + dev-php/PEAR-Console_Getargs/metadata.xml | 9 + dev-php/PEAR-Console_Getopt/Manifest | 2 + .../PEAR-Console_Getopt-1.4.1-r1.ebuild | 26 + .../PEAR-Console_Getopt-1.4.3.ebuild | 26 + dev-php/PEAR-Console_Getopt/metadata.xml | 12 + dev-php/PEAR-Console_Table/Manifest | 2 + .../PEAR-Console_Table-1.3.0-r1.ebuild | 18 + .../PEAR-Console_Table-1.3.1.ebuild | 24 + dev-php/PEAR-Console_Table/metadata.xml | 12 + dev-php/PEAR-Crypt_CHAP/Manifest | 1 + .../PEAR-Crypt_CHAP-1.5.0-r3.ebuild | 30 + .../files/CHAP-1.5.0-constructor.patch | 65 ++ dev-php/PEAR-Crypt_CHAP/metadata.xml | 9 + dev-php/PEAR-Crypt_GPG/Manifest | 3 + dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild | 49 ++ dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild | 47 ++ dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild | 47 ++ .../files/fix-unit-tests-with-new-gpg.patch | 55 ++ dev-php/PEAR-Crypt_GPG/metadata.xml | 17 + dev-php/PEAR-Crypt_HMAC/Manifest | 1 + .../PEAR-Crypt_HMAC-1.0.1-r2.ebuild | 26 + dev-php/PEAR-Crypt_HMAC/files/HMAC-1.0.1.patch | 57 ++ dev-php/PEAR-Crypt_HMAC/metadata.xml | 9 + dev-php/PEAR-Crypt_HMAC2/Manifest | 1 + .../PEAR-Crypt_HMAC2-1.0.0-r1.ebuild | 27 + dev-php/PEAR-Crypt_HMAC2/metadata.xml | 9 + dev-php/PEAR-DB/Manifest | 3 + dev-php/PEAR-DB/PEAR-DB-1.10.0.ebuild | 27 + dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild | 27 + dev-php/PEAR-DB/PEAR-DB-1.9.3.ebuild | 27 + dev-php/PEAR-DB/metadata.xml | 9 + dev-php/PEAR-DB_DataObject/Manifest | 1 + .../PEAR-DB_DataObject-1.11.5-r1.ebuild | 31 + dev-php/PEAR-DB_DataObject/metadata.xml | 9 + dev-php/PEAR-Date/Manifest | 1 + dev-php/PEAR-Date/PEAR-Date-1.5.0_alpha4-r1.ebuild | 16 + dev-php/PEAR-Date/metadata.xml | 9 + dev-php/PEAR-Exception/Manifest | 1 + dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild | 29 + dev-php/PEAR-Exception/metadata.xml | 13 + dev-php/PEAR-File/Manifest | 1 + dev-php/PEAR-File/PEAR-File-1.4.1-r1.ebuild | 19 + dev-php/PEAR-File/metadata.xml | 9 + dev-php/PEAR-File_Archive/Manifest | 1 + .../PEAR-File_Archive-1.5.5-r1.ebuild | 33 + dev-php/PEAR-File_Archive/metadata.xml | 12 + dev-php/PEAR-File_Find/Manifest | 1 + dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild | 46 ++ dev-php/PEAR-File_Find/metadata.xml | 13 + dev-php/PEAR-File_Fortune/Manifest | 1 + .../PEAR-File_Fortune-1.0.0-r1.ebuild | 21 + dev-php/PEAR-File_Fortune/metadata.xml | 9 + dev-php/PEAR-File_Gettext/Manifest | 1 + .../PEAR-File_Gettext-0.4.2-r1.ebuild | 14 + .../files/File_Gettext-0.4.2-construct.patch | 67 ++ dev-php/PEAR-File_Gettext/metadata.xml | 9 + dev-php/PEAR-File_SMBPasswd/Manifest | 1 + .../PEAR-File_SMBPasswd-1.0.3-r1.ebuild | 20 + dev-php/PEAR-File_SMBPasswd/metadata.xml | 9 + dev-php/PEAR-HTML_AJAX/Manifest | 1 + dev-php/PEAR-HTML_AJAX/PEAR-HTML_AJAX-0.5.8.ebuild | 21 + dev-php/PEAR-HTML_AJAX/metadata.xml | 12 + dev-php/PEAR-HTML_CSS/Manifest | 1 + .../PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild | 28 + .../files/HTML_CSS-1.5.4-fix-tests.patch | 112 ++++ dev-php/PEAR-HTML_CSS/metadata.xml | 9 + dev-php/PEAR-HTML_Common/Manifest | 1 + .../PEAR-HTML_Common-1.2.5-r1.ebuild | 18 + dev-php/PEAR-HTML_Common/metadata.xml | 9 + dev-php/PEAR-HTML_Common2/Manifest | 2 + .../PEAR-HTML_Common2-2.1.1.ebuild | 18 + .../PEAR-HTML_Common2-2.1.2.ebuild | 18 + dev-php/PEAR-HTML_Common2/metadata.xml | 9 + dev-php/PEAR-HTML_Javascript/Manifest | 1 + .../PEAR-HTML_Javascript-1.1.2-r1.ebuild | 19 + dev-php/PEAR-HTML_Javascript/metadata.xml | 12 + dev-php/PEAR-HTML_QuickForm2/Manifest | 2 + .../PEAR-HTML_QuickForm2-2.0.2-r1.ebuild | 22 + .../PEAR-HTML_QuickForm2-2.1.0.ebuild | 22 + dev-php/PEAR-HTML_QuickForm2/metadata.xml | 9 + dev-php/PEAR-HTML_Table/Manifest | 1 + .../PEAR-HTML_Table-1.8.4-r1.ebuild | 23 + dev-php/PEAR-HTML_Table/metadata.xml | 9 + dev-php/PEAR-HTML_Table_Matrix/Manifest | 1 + .../PEAR-HTML_Table_Matrix-1.0.10-r1.ebuild | 17 + dev-php/PEAR-HTML_Table_Matrix/metadata.xml | 9 + dev-php/PEAR-HTML_Template_Flexy/Manifest | 1 + .../PEAR-HTML_Template_Flexy-1.3.13.ebuild | 19 + .../files/1.3.13-postrelease-fixes.patch | 55 ++ dev-php/PEAR-HTML_Template_Flexy/metadata.xml | 12 + dev-php/PEAR-HTML_Template_Sigma/Manifest | 1 + .../PEAR-HTML_Template_Sigma-1.3.0-r1.ebuild | 21 + .../files/HTML_Template_Sigma-1.3.0-php7.patch | 42 ++ dev-php/PEAR-HTML_Template_Sigma/metadata.xml | 9 + dev-php/PEAR-HTTP/Manifest | 1 + dev-php/PEAR-HTTP/PEAR-HTTP-1.4.1-r3.ebuild | 24 + dev-php/PEAR-HTTP/metadata.xml | 9 + dev-php/PEAR-HTTP_Header/Manifest | 1 + .../PEAR-HTTP_Header-1.2.1-r2.ebuild | 23 + dev-php/PEAR-HTTP_Header/metadata.xml | 12 + dev-php/PEAR-HTTP_Request2/Manifest | 1 + .../PEAR-HTTP_Request2-2.3.0-r1.ebuild | 33 + dev-php/PEAR-HTTP_Request2/metadata.xml | 18 + dev-php/PEAR-HTTP_Session2/Manifest | 1 + .../PEAR-HTTP_Session2-0.7.3-r2.ebuild | 22 + dev-php/PEAR-HTTP_Session2/metadata.xml | 9 + dev-php/PEAR-Image_Color2/Manifest | 1 + .../PEAR-Image_Color2-0.1.5-r1.ebuild | 29 + dev-php/PEAR-Image_Color2/metadata.xml | 9 + dev-php/PEAR-Image_GraphViz/Manifest | 1 + .../PEAR-Image_GraphViz-1.3.0_p20151104.ebuild | 27 + .../files/Image_GraphViz-1.3.0-constructor.patch | 55 ++ dev-php/PEAR-Image_GraphViz/metadata.xml | 9 + dev-php/PEAR-Image_IPTC/Manifest | 1 + .../PEAR-Image_IPTC-1.0.2-r2.ebuild | 18 + dev-php/PEAR-Image_IPTC/metadata.xml | 9 + dev-php/PEAR-Image_Text/Manifest | 1 + .../PEAR-Image_Text-0.7.0-r1.ebuild | 21 + dev-php/PEAR-Image_Text/metadata.xml | 9 + dev-php/PEAR-Log/Manifest | 2 + dev-php/PEAR-Log/PEAR-Log-1.13.1.ebuild | 48 ++ dev-php/PEAR-Log/PEAR-Log-1.13.2.ebuild | 48 ++ dev-php/PEAR-Log/metadata.xml | 12 + dev-php/PEAR-MDB/Manifest | 1 + dev-php/PEAR-MDB/PEAR-MDB-1.3.0-r2.ebuild | 14 + dev-php/PEAR-MDB/metadata.xml | 9 + dev-php/PEAR-MDB2/Manifest | 1 + dev-php/PEAR-MDB2/PEAR-MDB2-2.5.0_beta5-r2.ebuild | 26 + dev-php/PEAR-MDB2/metadata.xml | 12 + dev-php/PEAR-MDB2_Driver_mssql/Manifest | 1 + .../PEAR-MDB2_Driver_mssql-1.5.0_beta4-r1.ebuild | 17 + dev-php/PEAR-MDB2_Driver_mssql/metadata.xml | 12 + dev-php/PEAR-MDB2_Driver_mysqli/Manifest | 1 + .../PEAR-MDB2_Driver_mysqli-1.5.0_beta4-r1.ebuild | 17 + dev-php/PEAR-MDB2_Driver_mysqli/metadata.xml | 12 + dev-php/PEAR-MDB2_Driver_oci8/Manifest | 1 + .../PEAR-MDB2_Driver_oci8-1.5.0_beta4-r1.ebuild | 17 + dev-php/PEAR-MDB2_Driver_oci8/metadata.xml | 12 + dev-php/PEAR-MDB2_Driver_pgsql/Manifest | 1 + .../PEAR-MDB2_Driver_pgsql-1.5.0_beta4-r1.ebuild | 17 + dev-php/PEAR-MDB2_Driver_pgsql/metadata.xml | 12 + dev-php/PEAR-MIME_Type/Manifest | 1 + dev-php/PEAR-MIME_Type/PEAR-MIME_Type-1.4.1.ebuild | 21 + dev-php/PEAR-MIME_Type/metadata.xml | 12 + dev-php/PEAR-Mail/Manifest | 1 + dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild | 21 + dev-php/PEAR-Mail/metadata.xml | 12 + dev-php/PEAR-Mail_Mime/Manifest | 4 + .../PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.2-r1.ebuild | 24 + .../PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.4.ebuild | 26 + .../PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.6.ebuild | 26 + .../PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.7.ebuild | 26 + dev-php/PEAR-Mail_Mime/metadata.xml | 13 + dev-php/PEAR-Mail_mimeDecode/Manifest | 1 + .../PEAR-Mail_mimeDecode-1.5.6-r2.ebuild | 20 + dev-php/PEAR-Mail_mimeDecode/metadata.xml | 12 + dev-php/PEAR-Math_BigInteger/Manifest | 1 + .../PEAR-Math_BigInteger-1.0.3-r1.ebuild | 28 + dev-php/PEAR-Math_BigInteger/metadata.xml | 13 + dev-php/PEAR-Net_DNS/Manifest | 1 + dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7-r1.ebuild | 12 + dev-php/PEAR-Net_DNS/metadata.xml | 9 + dev-php/PEAR-Net_DNS2/Manifest | 1 + dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.4.ebuild | 16 + dev-php/PEAR-Net_DNS2/metadata.xml | 12 + dev-php/PEAR-Net_DNSBL/Manifest | 1 + .../PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild | 30 + dev-php/PEAR-Net_DNSBL/metadata.xml | 13 + dev-php/PEAR-Net_IDNA2/Manifest | 1 + dev-php/PEAR-Net_IDNA2/PEAR-Net_IDNA2-0.2.0.ebuild | 14 + dev-php/PEAR-Net_IDNA2/metadata.xml | 12 + dev-php/PEAR-Net_IPv4/Manifest | 2 + .../PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.4-r1.ebuild | 15 + dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.5.ebuild | 13 + dev-php/PEAR-Net_IPv4/files/remove_globals.patch | 96 +++ dev-php/PEAR-Net_IPv4/metadata.xml | 9 + dev-php/PEAR-Net_IPv6/Manifest | 1 + .../PEAR-Net_IPv6/PEAR-Net_IPv6-1.3.0_beta4.ebuild | 22 + dev-php/PEAR-Net_IPv6/metadata.xml | 12 + dev-php/PEAR-Net_LDAP2/Manifest | 1 + .../PEAR-Net_LDAP2/PEAR-Net_LDAP2-2.2.0-r1.ebuild | 31 + dev-php/PEAR-Net_LDAP2/metadata.xml | 12 + dev-php/PEAR-Net_LDAP3/Manifest | 1 + .../PEAR-Net_LDAP3-1.0.5_pre20160405.ebuild | 24 + dev-php/PEAR-Net_LDAP3/metadata.xml | 9 + dev-php/PEAR-Net_POP3/Manifest | 1 + .../PEAR-Net_POP3/PEAR-Net_POP3-1.3.8-r1.ebuild | 16 + dev-php/PEAR-Net_POP3/metadata.xml | 9 + dev-php/PEAR-Net_Ping/Manifest | 1 + .../PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild | 27 + dev-php/PEAR-Net_Ping/metadata.xml | 13 + dev-php/PEAR-Net_SMTP/Manifest | 4 + .../PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.2-r3.ebuild | 30 + dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.3.ebuild | 30 + dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.8.1.ebuild | 29 + dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.0.ebuild | 29 + dev-php/PEAR-Net_SMTP/metadata.xml | 17 + dev-php/PEAR-Net_Sieve/Manifest | 2 + .../PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.2-r1.ebuild | 28 + dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.4.ebuild | 28 + dev-php/PEAR-Net_Sieve/metadata.xml | 16 + dev-php/PEAR-Net_SmartIRC/Manifest | 4 + .../PEAR-Net_SmartIRC-1.1.10-r1.ebuild | 34 + .../PEAR-Net_SmartIRC-1.1.12.ebuild | 24 + .../PEAR-Net_SmartIRC-1.1.13.ebuild | 24 + .../PEAR-Net_SmartIRC-1.1.14.ebuild | 24 + dev-php/PEAR-Net_SmartIRC/metadata.xml | 13 + dev-php/PEAR-Net_Socket/Manifest | 1 + .../PEAR-Net_Socket/PEAR-Net_Socket-1.2.2.ebuild | 14 + dev-php/PEAR-Net_Socket/metadata.xml | 13 + dev-php/PEAR-Net_Traceroute/Manifest | 1 + .../PEAR-Net_Traceroute-0.21.3-r1.ebuild | 25 + dev-php/PEAR-Net_Traceroute/metadata.xml | 9 + dev-php/PEAR-Net_URL/Manifest | 1 + dev-php/PEAR-Net_URL/PEAR-Net_URL-1.0.15-r1.ebuild | 21 + dev-php/PEAR-Net_URL/metadata.xml | 9 + dev-php/PEAR-Net_URL2/Manifest | 1 + .../PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild | 14 + dev-php/PEAR-Net_URL2/metadata.xml | 12 + dev-php/PEAR-Net_UserAgent_Detect/Manifest | 1 + .../PEAR-Net_UserAgent_Detect-2.5.2-r1.ebuild | 21 + dev-php/PEAR-Net_UserAgent_Detect/metadata.xml | 9 + dev-php/PEAR-Numbers_Words/Manifest | 2 + .../PEAR-Numbers_Words-0.18.1-r1.ebuild | 33 + .../PEAR-Numbers_Words-0.18.2.ebuild | 23 + dev-php/PEAR-Numbers_Words/metadata.xml | 13 + dev-php/PEAR-OLE/Manifest | 1 + dev-php/PEAR-OLE/PEAR-OLE-1.0.0_rc3.ebuild | 15 + dev-php/PEAR-OLE/metadata.xml | 13 + dev-php/PEAR-PEAR/Manifest | 4 + dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild | 177 +++++ dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild | 177 +++++ dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild | 177 +++++ dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild | 177 +++++ .../files/gentoo-libtool-mismatch-fix-v2.patch | 15 + dev-php/PEAR-PEAR/files/pear.conf-r2 | 2 + dev-php/PEAR-PEAR/metadata.xml | 12 + dev-php/PEAR-PEAR_PackageFileManager/Manifest | 1 + .../PEAR-PEAR_PackageFileManager-1.7.2-r2.ebuild | 17 + dev-php/PEAR-PEAR_PackageFileManager/metadata.xml | 12 + dev-php/PEAR-PEAR_PackageFileManager2/Manifest | 1 + .../PEAR-PEAR_PackageFileManager2-1.0.4-r2.ebuild | 16 + dev-php/PEAR-PEAR_PackageFileManager2/metadata.xml | 12 + .../PEAR-PEAR_PackageFileManager_Plugins/Manifest | 1 + ...PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild | 16 + .../metadata.xml | 12 + dev-php/PEAR-PHP_Beautifier/Manifest | 1 + .../PEAR-PHP_Beautifier-0.1.15-r2.ebuild | 44 ++ .../files/use_default_error_reporting.patch | 44 ++ dev-php/PEAR-PHP_Beautifier/metadata.xml | 19 + dev-php/PEAR-PHP_Debug/Manifest | 1 + .../PEAR-PHP_Debug/PEAR-PHP_Debug-1.0.3-r3.ebuild | 21 + dev-php/PEAR-PHP_Debug/metadata.xml | 9 + dev-php/PEAR-Pager/Manifest | 1 + dev-php/PEAR-Pager/PEAR-Pager-2.5.1.ebuild | 15 + dev-php/PEAR-Pager/metadata.xml | 13 + dev-php/PEAR-Services_JSON/Manifest | 1 + .../PEAR-Services_JSON-1.0.3-r1.ebuild | 19 + .../files/JSON-1.0.3-constructor.patch | 42 ++ .../files/JSON-1.0.3-upstream-typo.patch | 20 + dev-php/PEAR-Services_JSON/metadata.xml | 9 + dev-php/PEAR-Services_TinyURL/Manifest | 1 + .../PEAR-Services_TinyURL-0.1.2-r1.ebuild | 15 + dev-php/PEAR-Services_TinyURL/metadata.xml | 9 + dev-php/PEAR-Services_W3C_CSSValidator/Manifest | 1 + .../PEAR-Services_W3C_CSSValidator-0.2.3.ebuild | 27 + .../PEAR-Services_W3C_CSSValidator/metadata.xml | 13 + dev-php/PEAR-Spreadsheet_Excel_Writer/Manifest | 1 + .../PEAR-Spreadsheet_Excel_Writer-0.9.4.ebuild | 14 + dev-php/PEAR-Spreadsheet_Excel_Writer/metadata.xml | 9 + dev-php/PEAR-Structures_Graph/Manifest | 1 + .../PEAR-Structures_Graph-1.1.1-r1.ebuild | 26 + dev-php/PEAR-Structures_Graph/metadata.xml | 12 + dev-php/PEAR-System_Command/Manifest | 1 + .../PEAR-System_Command-1.0.8-r1.ebuild | 27 + dev-php/PEAR-System_Command/metadata.xml | 13 + dev-php/PEAR-Text_CAPTCHA/Manifest | 1 + .../PEAR-Text_CAPTCHA-1.0.2-r1.ebuild | 27 + dev-php/PEAR-Text_CAPTCHA/metadata.xml | 12 + dev-php/PEAR-Text_CAPTCHA_Numeral/Manifest | 1 + .../PEAR-Text_CAPTCHA_Numeral-1.3.2-r1.ebuild | 21 + dev-php/PEAR-Text_CAPTCHA_Numeral/metadata.xml | 9 + dev-php/PEAR-Text_Figlet/Manifest | 1 + .../PEAR-Text_Figlet-1.0.2-r1.ebuild | 44 ++ dev-php/PEAR-Text_Figlet/metadata.xml | 13 + dev-php/PEAR-Text_Highlighter/Manifest | 2 + .../PEAR-Text_Highlighter-0.7.3-r1.ebuild | 33 + .../PEAR-Text_Highlighter-0.8.0.ebuild | 20 + dev-php/PEAR-Text_Highlighter/metadata.xml | 12 + dev-php/PEAR-Text_Password/Manifest | 1 + .../PEAR-Text_Password-1.2.1.ebuild | 30 + dev-php/PEAR-Text_Password/metadata.xml | 13 + dev-php/PEAR-Text_Wiki/Manifest | 2 + .../PEAR-Text_Wiki-1.2.2_p20170904.ebuild | 28 + dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.3.ebuild | 20 + dev-php/PEAR-Text_Wiki/metadata.xml | 12 + dev-php/PEAR-Text_Wiki_BBCode/Manifest | 1 + .../PEAR-Text_Wiki_BBCode-0.0.4-r3.ebuild | 21 + dev-php/PEAR-Text_Wiki_BBCode/metadata.xml | 9 + dev-php/PEAR-Text_Wiki_Mediawiki/Manifest | 1 + ...PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild | 27 + .../files/0.2.0-constructor.patch | 36 + dev-php/PEAR-Text_Wiki_Mediawiki/metadata.xml | 9 + dev-php/PEAR-Validate/Manifest | 1 + .../PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild | 23 + .../PEAR-Validate/files/0.8.5-fix-test-php7.patch | 19 + dev-php/PEAR-Validate/metadata.xml | 9 + dev-php/PEAR-Var_Dump/Manifest | 1 + .../PEAR-Var_Dump/PEAR-Var_Dump-1.0.4-r3.ebuild | 33 + dev-php/PEAR-Var_Dump/metadata.xml | 12 + dev-php/PEAR-VersionControl_SVN/Manifest | 2 + .../PEAR-VersionControl_SVN-0.5.2-r1.ebuild | 20 + .../PEAR-VersionControl_SVN-0.5.2_p20180314.ebuild | 29 + dev-php/PEAR-VersionControl_SVN/metadata.xml | 9 + dev-php/PEAR-XML_Parser/Manifest | 2 + .../PEAR-XML_Parser-1.3.7-r1.ebuild | 17 + .../PEAR-XML_Parser/PEAR-XML_Parser-1.3.8.ebuild | 17 + dev-php/PEAR-XML_Parser/metadata.xml | 9 + dev-php/PEAR-XML_RSS/Manifest | 2 + dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0.ebuild | 17 + .../PEAR-XML_RSS/PEAR-XML_RSS-1.1.0_alpha1.ebuild | 30 + dev-php/PEAR-XML_RSS/metadata.xml | 13 + dev-php/PEAR-XML_Serializer/Manifest | 1 + .../PEAR-XML_Serializer-0.21.0-r1.ebuild | 31 + dev-php/PEAR-XML_Serializer/metadata.xml | 12 + dev-php/PEAR-XML_Util/Manifest | 4 + dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.2.ebuild | 29 + dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.3.ebuild | 29 + dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.4.ebuild | 29 + dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild | 50 ++ dev-php/PEAR-XML_Util/metadata.xml | 12 + dev-php/PHPMailer/Manifest | 2 + dev-php/PHPMailer/PHPMailer-5.2.28.ebuild | 64 ++ dev-php/PHPMailer/PHPMailer-6.1.6.ebuild | 73 ++ dev-php/PHPMailer/metadata.xml | 16 + dev-php/PHP_CodeCoverage/Manifest | 2 + .../PHP_CodeCoverage-4.0.7-r2.ebuild | 45 ++ .../PHP_CodeCoverage-7.0.10-r1.ebuild | 66 ++ dev-php/PHP_CodeCoverage/files/autoload-7.0.10.php | 17 + dev-php/PHP_CodeCoverage/files/autoload.php | 59 ++ dev-php/PHP_CodeCoverage/metadata.xml | 12 + dev-php/PHP_CodeSniffer/Manifest | 1 + .../PHP_CodeSniffer/PHP_CodeSniffer-3.5.4.ebuild | 53 ++ dev-php/PHP_CodeSniffer/metadata.xml | 12 + dev-php/PHP_Timer/Manifest | 3 + dev-php/PHP_Timer/PHP_Timer-1.0.5.ebuild | 18 + dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild | 31 + dev-php/PHP_Timer/PHP_Timer-2.1.2-r1.ebuild | 31 + dev-php/PHP_Timer/files/autoload-2.1.2.php | 15 + dev-php/PHP_Timer/files/autoload.php | 13 + dev-php/PHP_Timer/files/channel.xml | 16 + dev-php/PHP_Timer/metadata.xml | 12 + dev-php/PHP_TokenStream/Manifest | 2 + .../PHP_TokenStream-1.4.11-r1.ebuild | 33 + .../PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild | 54 ++ dev-php/PHP_TokenStream/files/autoload-3.1.1.php | 47 ++ dev-php/PHP_TokenStream/files/autoload.php | 15 + dev-php/PHP_TokenStream/metadata.xml | 12 + dev-php/SabreAMF/Manifest | 1 + dev-php/SabreAMF/SabreAMF-1.5.0.ebuild | 29 + dev-php/SabreAMF/files/autoload.php | 8 + dev-php/SabreAMF/metadata.xml | 12 + dev-php/Text_Template/Manifest | 2 + dev-php/Text_Template/Text_Template-1.1.1.ebuild | 21 + dev-php/Text_Template/Text_Template-1.2.1.ebuild | 31 + dev-php/Text_Template/files/autoload.php | 13 + dev-php/Text_Template/files/channel.xml | 16 + dev-php/Text_Template/metadata.xml | 12 + dev-php/YAML/Manifest | 1 + dev-php/YAML/YAML-1.0.6-r3.ebuild | 26 + dev-php/YAML/files/channel.xml | 16 + dev-php/YAML/metadata.xml | 12 + dev-php/adodb/Manifest | 3 + dev-php/adodb/adodb-5.20.14.ebuild | 40 ++ dev-php/adodb/adodb-5.20.15.ebuild | 40 ++ dev-php/adodb/adodb-5.20.17.ebuild | 40 ++ dev-php/adodb/metadata.xml | 17 + dev-php/agavi/Manifest | 1 + dev-php/agavi/agavi-1.0.8.ebuild | 39 ++ dev-php/agavi/files/agavi-executable | 14 + dev-php/agavi/metadata.xml | 19 + dev-php/awl/Manifest | 1 + dev-php/awl/awl-0.61.ebuild | 33 + dev-php/awl/metadata.xml | 21 + dev-php/ca-bundle/Manifest | 1 + dev-php/ca-bundle/ca-bundle-1.1.3.ebuild | 22 + dev-php/ca-bundle/files/autoload.php | 8 + dev-php/ca-bundle/metadata.xml | 25 + dev-php/cli-prompt/Manifest | 2 + dev-php/cli-prompt/cli-prompt-1.0.0.ebuild | 22 + dev-php/cli-prompt/cli-prompt-1.0.3.ebuild | 22 + dev-php/cli-prompt/files/autoload.php | 8 + dev-php/cli-prompt/metadata.xml | 23 + dev-php/composer/Manifest | 5 + dev-php/composer/composer-1.10.1.ebuild | 48 ++ dev-php/composer/composer-1.10.5.ebuild | 48 ++ dev-php/composer/composer-1.10.6.ebuild | 48 ++ dev-php/composer/composer-1.10.7.ebuild | 48 ++ dev-php/composer/composer-1.9.3.ebuild | 48 ++ dev-php/composer/files/autoload-r1.php | 28 + dev-php/composer/metadata.xml | 24 + dev-php/cphplib/Manifest | 1 + dev-php/cphplib/cphplib-0.51-r1.ebuild | 29 + dev-php/cphplib/files/constructor.patch | 42 ++ dev-php/cphplib/metadata.xml | 12 + dev-php/doctrine-instantiator/Manifest | 4 + .../doctrine-instantiator-1.0.5.ebuild | 27 + .../doctrine-instantiator-1.1.0.ebuild | 27 + .../doctrine-instantiator-1.3.0.ebuild | 27 + .../doctrine-instantiator-1.3.1.ebuild | 27 + dev-php/doctrine-instantiator/files/autoload.php | 8 + dev-php/doctrine-instantiator/metadata.xml | 12 + dev-php/doctrine/Manifest | 4 + dev-php/doctrine/doctrine-1.2.5.ebuild | 25 + dev-php/doctrine/doctrine-2.4.6.ebuild | 24 + dev-php/doctrine/doctrine-2.6.1.ebuild | 29 + dev-php/doctrine/doctrine-2.6.4.ebuild | 29 + dev-php/doctrine/metadata.xml | 12 + dev-php/fedora-autoloader/Manifest | 3 + .../fedora-autoloader-0.2.1.ebuild | 32 + .../fedora-autoloader-1.0.0.ebuild | 34 + .../fedora-autoloader-1.0.1.ebuild | 34 + dev-php/fedora-autoloader/metadata.xml | 23 + dev-php/geos-php/Manifest | 1 + dev-php/geos-php/geos-php-1.0.0.ebuild | 31 + dev-php/geos-php/metadata.xml | 9 + dev-php/igbinary/Manifest | 2 + dev-php/igbinary/igbinary-3.0.1.ebuild | 26 + dev-php/igbinary/igbinary-3.1.2.ebuild | 26 + dev-php/igbinary/metadata.xml | 12 + dev-php/jpgraph/Manifest | 2 + dev-php/jpgraph/files/gentoo_ttf_dir.patch | 31 + dev-php/jpgraph/jpgraph-4.0.2.ebuild | 63 ++ dev-php/jpgraph/jpgraph-4.2.0.ebuild | 63 ++ dev-php/jpgraph/metadata.xml | 9 + dev-php/json-schema/Manifest | 3 + dev-php/json-schema/files/autoload.php | 10 + dev-php/json-schema/json-schema-5.2.10.ebuild | 40 ++ dev-php/json-schema/json-schema-5.2.8.ebuild | 40 ++ dev-php/json-schema/json-schema-5.2.9.ebuild | 40 ++ dev-php/json-schema/metadata.xml | 23 + dev-php/jsonlint/Manifest | 2 + dev-php/jsonlint/files/autoload.php | 8 + dev-php/jsonlint/jsonlint-1.7.1.ebuild | 40 ++ dev-php/jsonlint/jsonlint-1.7.2.ebuild | 40 ++ dev-php/jsonlint/metadata.xml | 22 + dev-php/libchart/Manifest | 1 + dev-php/libchart/libchart-1.3.ebuild | 31 + dev-php/libchart/metadata.xml | 12 + dev-php/libvirt-php/Manifest | 2 + .../libvirt-php/files/remove-imagick-check.patch | 12 + dev-php/libvirt-php/libvirt-php-0.5.4.ebuild | 66 ++ dev-php/libvirt-php/libvirt-php-0.5.5.ebuild | 66 ++ dev-php/libvirt-php/libvirt-php-9999.ebuild | 65 ++ dev-php/libvirt-php/metadata.xml | 13 + dev-php/maxmind-db-reader/Manifest | 2 + .../maxmind-db-reader-1.4.1.ebuild | 78 +++ .../maxmind-db-reader-1.6.0.ebuild | 78 +++ dev-php/maxmind-db-reader/metadata.xml | 21 + dev-php/metadata.xml | 40 ++ dev-php/mmslib/Manifest | 1 + dev-php/mmslib/metadata.xml | 9 + dev-php/mmslib/mmslib-0.97.ebuild | 24 + dev-php/mockery/Manifest | 1 + dev-php/mockery/files/channel.xml | 16 + dev-php/mockery/metadata.xml | 12 + dev-php/mockery/mockery-0.9.0-r1.ebuild | 20 + dev-php/myclabs-deepcopy/Manifest | 3 + dev-php/myclabs-deepcopy/files/autoload.php | 8 + dev-php/myclabs-deepcopy/metadata.xml | 12 + .../myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild | 27 + .../myclabs-deepcopy/myclabs-deepcopy-1.6.1.ebuild | 27 + .../myclabs-deepcopy/myclabs-deepcopy-1.9.4.ebuild | 27 + dev-php/onphp/Manifest | 2 + dev-php/onphp/metadata.xml | 9 + dev-php/onphp/onphp-1.0.11_pre20141124.ebuild | 32 + dev-php/pear/metadata.xml | 9 + dev-php/pear/pear-1.10.1-r1.ebuild | 16 + dev-php/pear/pear-1.10.3.ebuild | 16 + dev-php/pecl-amqp/Manifest | 1 + dev-php/pecl-amqp/metadata.xml | 9 + dev-php/pecl-amqp/pecl-amqp-1.10.2.ebuild | 24 + dev-php/pecl-apcu/Manifest | 1 + dev-php/pecl-apcu/metadata.xml | 15 + dev-php/pecl-apcu/pecl-apcu-5.1.18.ebuild | 67 ++ dev-php/pecl-apcu_bc/Manifest | 2 + dev-php/pecl-apcu_bc/metadata.xml | 9 + dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.4-r1.ebuild | 44 ++ dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild | 44 ++ dev-php/pecl-crack/Manifest | 1 + dev-php/pecl-crack/files/0.4-php7.patch | 356 ++++++++++ dev-php/pecl-crack/files/fix-pecl-bug-5765.patch | 11 + dev-php/pecl-crack/files/fix-php-5-4-support.patch | 30 + dev-php/pecl-crack/metadata.xml | 9 + dev-php/pecl-crack/pecl-crack-0.4-r7.ebuild | 28 + dev-php/pecl-dbase/Manifest | 1 + dev-php/pecl-dbase/metadata.xml | 9 + dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild | 44 ++ dev-php/pecl-dio/Manifest | 1 + dev-php/pecl-dio/metadata.xml | 9 + dev-php/pecl-dio/pecl-dio-0.1.0-r1.ebuild | 24 + dev-php/pecl-eio/Manifest | 1 + dev-php/pecl-eio/metadata.xml | 13 + dev-php/pecl-eio/pecl-eio-2.0.4.ebuild | 24 + dev-php/pecl-event/Manifest | 1 + .../files/pecl-event-2.5.3-no-sockets.patch | 12 + dev-php/pecl-event/metadata.xml | 16 + dev-php/pecl-event/pecl-event-2.5.3-r1.ebuild | 60 ++ dev-php/pecl-event/pecl-event-2.5.3.ebuild | 56 ++ dev-php/pecl-geoip/Manifest | 1 + .../pecl-geoip/files/fix-failing-tests-1.1.1.patch | 46 ++ dev-php/pecl-geoip/metadata.xml | 9 + dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild | 22 + dev-php/pecl-gnupg/Manifest | 1 + .../files/1.3.2/01-large_file_system.patch | 9 + dev-php/pecl-gnupg/metadata.xml | 9 + dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild | 33 + dev-php/pecl-http/Manifest | 2 + dev-php/pecl-http/metadata.xml | 9 + dev-php/pecl-http/pecl-http-3.2.1.ebuild | 75 +++ dev-php/pecl-http/pecl-http-3.2.3.ebuild | 76 +++ dev-php/pecl-imagick/Manifest | 1 + dev-php/pecl-imagick/metadata.xml | 13 + dev-php/pecl-imagick/pecl-imagick-3.4.4.ebuild | 26 + dev-php/pecl-lzf/Manifest | 2 + dev-php/pecl-lzf/metadata.xml | 9 + dev-php/pecl-lzf/pecl-lzf-1.6.7.ebuild | 19 + dev-php/pecl-lzf/pecl-lzf-1.6.8.ebuild | 19 + dev-php/pecl-mailparse/Manifest | 1 + dev-php/pecl-mailparse/metadata.xml | 9 + dev-php/pecl-mailparse/pecl-mailparse-3.0.4.ebuild | 28 + dev-php/pecl-mcrypt/Manifest | 3 + dev-php/pecl-mcrypt/metadata.xml | 13 + dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild | 29 + dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild | 30 + dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild | 30 + dev-php/pecl-memcache/Manifest | 1 + dev-php/pecl-memcache/metadata.xml | 9 + dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild | 46 ++ dev-php/pecl-memcached/Manifest | 2 + dev-php/pecl-memcached/metadata.xml | 19 + .../pecl-memcached/pecl-memcached-3.1.3-r1.ebuild | 76 +++ .../pecl-memcached/pecl-memcached-3.1.5-r1.ebuild | 59 ++ dev-php/pecl-mongodb/Manifest | 4 + dev-php/pecl-mongodb/metadata.xml | 9 + dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild | 41 ++ dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild | 40 ++ dev-php/pecl-mongodb/pecl-mongodb-1.5.5.ebuild | 41 ++ dev-php/pecl-mongodb/pecl-mongodb-1.6.0.ebuild | 56 ++ dev-php/pecl-mongodb/pecl-mongodb-1.7.4.ebuild | 55 ++ dev-php/pecl-ncurses/Manifest | 2 + .../files/pecl-ncurses-1.0.2-php7.3.patch | 175 +++++ dev-php/pecl-ncurses/metadata.xml | 9 + dev-php/pecl-ncurses/pecl-ncurses-1.0.2-r5.ebuild | 23 + dev-php/pecl-oauth/Manifest | 1 + dev-php/pecl-oauth/metadata.xml | 9 + dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild | 35 + dev-php/pecl-pam/Manifest | 1 + dev-php/pecl-pam/files/1.0.3-php7.patch | 118 ++++ dev-php/pecl-pam/metadata.xml | 9 + dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild | 41 ++ dev-php/pecl-propro/Manifest | 1 + dev-php/pecl-propro/metadata.xml | 9 + dev-php/pecl-propro/pecl-propro-2.1.0.ebuild | 40 ++ dev-php/pecl-ps/Manifest | 1 + dev-php/pecl-ps/metadata.xml | 9 + dev-php/pecl-ps/pecl-ps-1.4.1.ebuild | 49 ++ dev-php/pecl-radius/Manifest | 1 + dev-php/pecl-radius/metadata.xml | 9 + .../pecl-radius/pecl-radius-1.4.0_beta1-r2.ebuild | 31 + dev-php/pecl-raphf/Manifest | 2 + dev-php/pecl-raphf/metadata.xml | 9 + dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild | 43 ++ dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild | 40 ++ dev-php/pecl-redis/Manifest | 3 + dev-php/pecl-redis/metadata.xml | 13 + dev-php/pecl-redis/pecl-redis-5.1.1.ebuild | 52 ++ dev-php/pecl-redis/pecl-redis-5.2.1.ebuild | 52 ++ dev-php/pecl-redis/pecl-redis-5.2.2.ebuild | 52 ++ dev-php/pecl-rrd/Manifest | 1 + dev-php/pecl-rrd/metadata.xml | 9 + dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild | 58 ++ dev-php/pecl-ssh2/Manifest | 2 + .../files/pecl-ssh2-1.1.2-fix-php7-port.patch | 746 +++++++++++++++++++++ ...1.1.2-fix-php_url-fields-usage-for-php7-3.patch | 302 +++++++++ dev-php/pecl-ssh2/metadata.xml | 9 + dev-php/pecl-ssh2/pecl-ssh2-1.1.2.ebuild | 35 + dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild | 33 + dev-php/pecl-ssh2/pecl-ssh2-9999.ebuild | 20 + dev-php/pecl-stomp/Manifest | 1 + dev-php/pecl-stomp/metadata.xml | 9 + dev-php/pecl-stomp/pecl-stomp-2.0.2-r1.ebuild | 29 + dev-php/pecl-taint/Manifest | 2 + dev-php/pecl-taint/metadata.xml | 12 + dev-php/pecl-taint/pecl-taint-2.0.5.ebuild | 19 + dev-php/pecl-taint/pecl-taint-2.0.6.ebuild | 19 + dev-php/pecl-timezonedb/Manifest | 2 + dev-php/pecl-timezonedb/metadata.xml | 17 + .../pecl-timezonedb/pecl-timezonedb-2019.3.ebuild | 19 + .../pecl-timezonedb/pecl-timezonedb-2020.1.ebuild | 19 + dev-php/pecl-translit/Manifest | 1 + dev-php/pecl-translit/metadata.xml | 12 + dev-php/pecl-translit/pecl-translit-0.6.3.ebuild | 30 + dev-php/pecl-uploadprogress/Manifest | 1 + dev-php/pecl-uploadprogress/metadata.xml | 19 + .../pecl-uploadprogress-1.1.3-r1.ebuild | 20 + dev-php/pecl-uuid/Manifest | 1 + dev-php/pecl-uuid/metadata.xml | 9 + dev-php/pecl-uuid/pecl-uuid-1.1.0.ebuild | 23 + dev-php/pecl-xdiff/Manifest | 1 + dev-php/pecl-xdiff/metadata.xml | 12 + dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild | 50 ++ dev-php/pecl-yaml/Manifest | 1 + dev-php/pecl-yaml/metadata.xml | 9 + dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild | 44 ++ dev-php/pecl-yaz/Manifest | 1 + dev-php/pecl-yaz/metadata.xml | 9 + dev-php/pecl-yaz/pecl-yaz-1.2.3.ebuild | 28 + dev-php/pecl-zmq/Manifest | 1 + .../pecl-zmq-1.1.3-php7-3-compatibility.patch | 265 ++++++++ dev-php/pecl-zmq/metadata.xml | 12 + dev-php/pecl-zmq/pecl-zmq-1.1.3-r2.ebuild | 25 + dev-php/pecl-zmq/pecl-zmq-9999.ebuild | 26 + dev-php/phar-io-manifest/Manifest | 1 + dev-php/phar-io-manifest/files/autoload.php | 62 ++ dev-php/phar-io-manifest/metadata.xml | 12 + .../phar-io-manifest/phar-io-manifest-1.0.3.ebuild | 27 + dev-php/phar-io-version/Manifest | 1 + dev-php/phar-io-version/files/autoload.php | 6 + dev-php/phar-io-version/metadata.xml | 12 + .../phar-io-version/phar-io-version-2.0.1.ebuild | 25 + dev-php/phar-utils/Manifest | 3 + dev-php/phar-utils/files/autoload.php | 8 + dev-php/phar-utils/metadata.xml | 22 + dev-php/phar-utils/phar-utils-1.0.0.ebuild | 22 + dev-php/phar-utils/phar-utils-1.0.1.ebuild | 22 + dev-php/phar-utils/phar-utils-1.1.0.ebuild | 22 + dev-php/phing/Manifest | 1 + dev-php/phing/files/autoload.php | 14 + dev-php/phing/metadata.xml | 18 + dev-php/phing/phing-2.16.1.ebuild | 57 ++ dev-php/php-codebrowser/Manifest | 1 + dev-php/php-codebrowser/files/channel.xml | 16 + dev-php/php-codebrowser/metadata.xml | 12 + .../php-codebrowser-1.0.2-r1.ebuild | 44 ++ dev-php/php-redmine-api/Manifest | 2 + dev-php/php-redmine-api/metadata.xml | 16 + .../php-redmine-api/php-redmine-api-1.5.16.ebuild | 35 + .../php-redmine-api/php-redmine-api-1.5.9.ebuild | 35 + dev-php/phpDocumentor/Manifest | 1 + dev-php/phpDocumentor/metadata.xml | 12 + dev-php/phpDocumentor/phpDocumentor-2.9.0.ebuild | 28 + dev-php/phpcov/Manifest | 1 + dev-php/phpcov/metadata.xml | 12 + dev-php/phpcov/phpcov-5.0.0.ebuild | 29 + dev-php/phpdepend/Manifest | 1 + dev-php/phpdepend/files/autoload.php | 19 + dev-php/phpdepend/metadata.xml | 15 + dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild | 46 ++ dev-php/phpdocumentor-reflection-common/Manifest | 1 + .../files/autoload.php | 8 + .../phpdocumentor-reflection-common/metadata.xml | 12 + .../phpdocumentor-reflection-common-1.0.ebuild | 27 + dev-php/phpdocumentor-reflection-docblock/Manifest | 1 + .../files/autoload.php | 14 + .../phpdocumentor-reflection-docblock/metadata.xml | 12 + .../phpdocumentor-reflection-docblock-3.1.1.ebuild | 30 + dev-php/phpdocumentor-type-resolver/Manifest | 1 + .../phpdocumentor-type-resolver/files/autoload.php | 8 + dev-php/phpdocumentor-type-resolver/metadata.xml | 12 + .../phpdocumentor-type-resolver-0.2.1.ebuild | 28 + dev-php/phpmd/Manifest | 1 + dev-php/phpmd/files/autoload.php | 14 + dev-php/phpmd/metadata.xml | 12 + dev-php/phpmd/phpmd-2.6.0.ebuild | 38 ++ dev-php/phpspec-prophecy/Manifest | 5 + dev-php/phpspec-prophecy/files/autoload-1.10.0.php | 15 + dev-php/phpspec-prophecy/files/autoload.php | 15 + dev-php/phpspec-prophecy/metadata.xml | 12 + .../phpspec-prophecy-1.10.0.ebuild | 31 + .../phpspec-prophecy-1.10.1.ebuild | 31 + .../phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild | 31 + .../phpspec-prophecy/phpspec-prophecy-1.8.0.ebuild | 31 + .../phpspec-prophecy/phpspec-prophecy-1.9.0.ebuild | 31 + dev-php/phptal/Manifest | 1 + dev-php/phptal/metadata.xml | 9 + dev-php/phptal/phptal-1.3.1.ebuild | 36 + dev-php/phpunit-mock-objects/Manifest | 1 + dev-php/phpunit-mock-objects/files/autoload.php | 61 ++ dev-php/phpunit-mock-objects/metadata.xml | 12 + .../phpunit-mock-objects-3.4.3-r1.ebuild | 28 + .../phpunit-mock-objects-3.4.3.ebuild | 28 + dev-php/phpunit/Manifest | 6 + dev-php/phpunit/files/autoload-8.5.0.php | 254 +++++++ dev-php/phpunit/files/autoload.php | 170 +++++ dev-php/phpunit/metadata.xml | 12 + dev-php/phpunit/phpunit-5.7.15-r3.ebuild | 53 ++ dev-php/phpunit/phpunit-8.5.0.ebuild | 69 ++ dev-php/phpunit/phpunit-8.5.1.ebuild | 69 ++ dev-php/phpunit/phpunit-8.5.2.ebuild | 69 ++ dev-php/phpunit/phpunit-8.5.4.ebuild | 69 ++ dev-php/phpunit/phpunit-8.5.5.ebuild | 69 ++ dev-php/psr-log/Manifest | 4 + dev-php/psr-log/files/autoload.php | 8 + dev-php/psr-log/metadata.xml | 25 + dev-php/psr-log/psr-log-1.0.2.ebuild | 24 + dev-php/psr-log/psr-log-1.1.0.ebuild | 24 + dev-php/psr-log/psr-log-1.1.2.ebuild | 24 + dev-php/psr-log/psr-log-1.1.3.ebuild | 24 + dev-php/realpath_turbo/Manifest | 1 + dev-php/realpath_turbo/metadata.xml | 16 + dev-php/realpath_turbo/realpath_turbo-2.0.0.ebuild | 28 + dev-php/recaptcha/Manifest | 1 + dev-php/recaptcha/metadata.xml | 12 + dev-php/recaptcha/recaptcha-1.2.1.ebuild | 35 + .../sebastian-code-unit-reverse-lookup/Manifest | 1 + .../files/autoload.php | 13 + .../metadata.xml | 12 + ...sebastian-code-unit-reverse-lookup-1.0.1.ebuild | 26 + dev-php/sebastian-comparator/Manifest | 2 + dev-php/sebastian-comparator/files/autoload.php | 32 + dev-php/sebastian-comparator/metadata.xml | 12 + .../sebastian-comparator-1.2.4.ebuild | 28 + .../sebastian-comparator-3.0.2.ebuild | 30 + dev-php/sebastian-diff/Manifest | 2 + dev-php/sebastian-diff/files/autoload-3.0.2.php | 28 + dev-php/sebastian-diff/files/autoload.php | 20 + dev-php/sebastian-diff/metadata.xml | 12 + .../sebastian-diff/sebastian-diff-1.4.1-r1.ebuild | 26 + dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild | 26 + dev-php/sebastian-environment/Manifest | 2 + .../sebastian-environment/files/autoload-4.2.3.php | 15 + dev-php/sebastian-environment/files/autoload.php | 14 + dev-php/sebastian-environment/metadata.xml | 12 + .../sebastian-environment-2.0.0.ebuild | 26 + .../sebastian-environment-4.2.3.ebuild | 26 + dev-php/sebastian-exporter/Manifest | 2 + dev-php/sebastian-exporter/files/autoload.php | 17 + dev-php/sebastian-exporter/metadata.xml | 12 + .../sebastian-exporter-2.0.0.ebuild | 27 + .../sebastian-exporter-3.1.2.ebuild | 27 + dev-php/sebastian-global-state/Manifest | 2 + .../files/autoload-3.0.0.php | 25 + dev-php/sebastian-global-state/files/autoload.php | 18 + dev-php/sebastian-global-state/metadata.xml | 12 + .../sebastian-global-state-1.1.1.ebuild | 26 + .../sebastian-global-state-3.0.0.ebuild | 30 + dev-php/sebastian-object-enumerator/Manifest | 2 + .../files/autoload-3.0.3.php | 20 + .../sebastian-object-enumerator/files/autoload.php | 19 + dev-php/sebastian-object-enumerator/metadata.xml | 12 + .../sebastian-object-enumerator-2.0.1.ebuild | 27 + .../sebastian-object-enumerator-3.0.3.ebuild | 29 + dev-php/sebastian-object-reflector/Manifest | 1 + .../sebastian-object-reflector/files/autoload.php | 15 + dev-php/sebastian-object-reflector/metadata.xml | 12 + .../sebastian-object-reflector-1.1.1.ebuild | 26 + dev-php/sebastian-recursion-context/Manifest | 2 + .../sebastian-recursion-context/files/autoload.php | 15 + dev-php/sebastian-recursion-context/metadata.xml | 12 + .../sebastian-recursion-context-2.0.0.ebuild | 26 + .../sebastian-recursion-context-3.0.0.ebuild | 26 + dev-php/sebastian-resource-operations/Manifest | 2 + .../files/autoload.php | 13 + dev-php/sebastian-resource-operations/metadata.xml | 12 + .../sebastian-resource-operations-1.0.0.ebuild | 27 + .../sebastian-resource-operations-2.0.1.ebuild | 27 + dev-php/sebastian-type/Manifest | 1 + dev-php/sebastian-type/files/autoload.php | 24 + dev-php/sebastian-type/metadata.xml | 12 + dev-php/sebastian-type/sebastian-type-1.1.3.ebuild | 26 + dev-php/sebastian-version/Manifest | 1 + dev-php/sebastian-version/files/autoload.php | 13 + dev-php/sebastian-version/metadata.xml | 12 + .../sebastian-version-2.0.1.ebuild | 27 + dev-php/securimage/Manifest | 1 + dev-php/securimage/metadata.xml | 6 + dev-php/securimage/securimage-3.6.5.ebuild | 28 + dev-php/semver/Manifest | 2 + dev-php/semver/files/autoload.php | 8 + dev-php/semver/metadata.xml | 22 + dev-php/semver/semver-1.4.2.ebuild | 24 + dev-php/semver/semver-1.5.1.ebuild | 24 + dev-php/simpletest/Manifest | 1 + dev-php/simpletest/metadata.xml | 12 + dev-php/simpletest/simpletest-1.1.7.ebuild | 24 + dev-php/smarty/Manifest | 2 + dev-php/smarty/metadata.xml | 22 + dev-php/smarty/smarty-3.1.33.ebuild | 46 ++ dev-php/spdx-licenses/Manifest | 4 + dev-php/spdx-licenses/files/autoload.php | 8 + dev-php/spdx-licenses/metadata.xml | 22 + dev-php/spdx-licenses/spdx-licenses-1.2.0.ebuild | 22 + .../spdx-licenses/spdx-licenses-1.4.0-r1.ebuild | 25 + dev-php/spdx-licenses/spdx-licenses-1.5.0.ebuild | 25 + dev-php/spdx-licenses/spdx-licenses-1.5.3.ebuild | 25 + dev-php/stringparser_bbcode/Manifest | 1 + dev-php/stringparser_bbcode/metadata.xml | 9 + .../stringparser_bbcode-0.3.3-r1.ebuild | 23 + dev-php/swoole-async/Manifest | 2 + dev-php/swoole-async/metadata.xml | 9 + dev-php/swoole-async/swoole-async-4.4.12.ebuild | 51 ++ dev-php/swoole-async/swoole-async-4.4.16.ebuild | 51 ++ dev-php/swoole/Manifest | 6 + dev-php/swoole/metadata.xml | 12 + dev-php/swoole/swoole-4.2.13.ebuild | 69 ++ dev-php/swoole/swoole-4.4.12.ebuild | 74 ++ dev-php/swoole/swoole-4.4.14.ebuild | 74 ++ dev-php/swoole/swoole-4.4.15.ebuild | 74 ++ dev-php/swoole/swoole-4.4.16.ebuild | 74 ++ dev-php/swoole/swoole-4.4.19.ebuild | 74 ++ dev-php/symfony-config/Manifest | 1 + dev-php/symfony-config/files/autoload.php | 20 + dev-php/symfony-config/metadata.xml | 25 + .../symfony-config/symfony-config-2.8.20.ebuild | 40 ++ dev-php/symfony-console/Manifest | 5 + dev-php/symfony-console/files/autoload.php | 16 + dev-php/symfony-console/metadata.xml | 23 + .../symfony-console-2.7.9-r1.ebuild | 28 + .../symfony-console/symfony-console-2.8.43.ebuild | 28 + .../symfony-console/symfony-console-2.8.48.ebuild | 28 + .../symfony-console/symfony-console-2.8.50.ebuild | 28 + .../symfony-console/symfony-console-2.8.52.ebuild | 28 + dev-php/symfony-dependency-injection/Manifest | 2 + .../files/autoload.php | 15 + dev-php/symfony-dependency-injection/metadata.xml | 23 + .../symfony-dependency-injection-2.8.20.ebuild | 45 ++ .../symfony-dependency-injection-2.8.50.ebuild | 45 ++ dev-php/symfony-event-dispatcher/Manifest | 2 + .../symfony-event-dispatcher/files/autoload.php | 14 + dev-php/symfony-event-dispatcher/metadata.xml | 24 + .../symfony-event-dispatcher-2.1.0-r1.ebuild | 42 ++ .../symfony-event-dispatcher-2.8.50.ebuild | 42 ++ dev-php/symfony-filesystem/Manifest | 2 + dev-php/symfony-filesystem/files/autoload.php | 8 + dev-php/symfony-filesystem/metadata.xml | 22 + .../symfony-filesystem-3.4.28.ebuild | 39 ++ .../symfony-filesystem-3.4.36.ebuild | 39 ++ dev-php/symfony-finder/Manifest | 3 + dev-php/symfony-finder/files/autoload.php | 8 + .../files/skip-file-time-sort-tests.patch | 24 + ...y-finder-3.4.28-skip-file-time-sort-tests.patch | 20 + dev-php/symfony-finder/metadata.xml | 23 + dev-php/symfony-finder/symfony-finder-3.2.8.ebuild | 40 ++ .../symfony-finder/symfony-finder-3.4.28.ebuild | 40 ++ .../symfony-finder/symfony-finder-3.4.38.ebuild | 40 ++ dev-php/symfony-process/Manifest | 2 + dev-php/symfony-process/files/autoload.php | 9 + dev-php/symfony-process/metadata.xml | 22 + .../symfony-process/symfony-process-3.4.29.ebuild | 43 ++ .../symfony-process/symfony-process-3.4.38.ebuild | 43 ++ dev-php/symfony-yaml/Manifest | 1 + dev-php/symfony-yaml/files/autoload.php | 8 + dev-php/symfony-yaml/metadata.xml | 22 + dev-php/symfony-yaml/symfony-yaml-2.1.0.ebuild | 41 ++ dev-php/tcpdf/Manifest | 2 + dev-php/tcpdf/metadata.xml | 12 + dev-php/tcpdf/tcpdf-6.2.25.ebuild | 37 + dev-php/tcpdf/tcpdf-6.2.26.ebuild | 37 + dev-php/theseer-tokenizer/Manifest | 2 + dev-php/theseer-tokenizer/files/autoload.php | 20 + dev-php/theseer-tokenizer/metadata.xml | 12 + .../theseer-tokenizer-1.1.0.ebuild | 36 + .../theseer-tokenizer-1.1.3.ebuild | 36 + dev-php/twig/Manifest | 2 + dev-php/twig/files/Autoloader.php | 18 + dev-php/twig/metadata.xml | 16 + dev-php/twig/twig-1.40.1-r1.ebuild | 49 ++ dev-php/twig/twig-1.42.3-r1.ebuild | 49 ++ dev-php/twig/twig-1.42.3.ebuild | 49 ++ dev-php/webmozart-assert/Manifest | 2 + dev-php/webmozart-assert/files/autoload.php | 8 + dev-php/webmozart-assert/metadata.xml | 12 + .../webmozart-assert/webmozart-assert-1.2.0.ebuild | 26 + .../webmozart-assert/webmozart-assert-1.4.0.ebuild | 26 + dev-php/xdebug-client/Manifest | 3 + dev-php/xdebug-client/metadata.xml | 9 + dev-php/xdebug-client/xdebug-client-2.9.4.ebuild | 40 ++ dev-php/xdebug-client/xdebug-client-2.9.5.ebuild | 40 ++ dev-php/xdebug-client/xdebug-client-2.9.6.ebuild | 40 ++ dev-php/xdebug-handler/Manifest | 3 + dev-php/xdebug-handler/files/autoload.php | 8 + dev-php/xdebug-handler/metadata.xml | 16 + dev-php/xdebug-handler/xdebug-handler-1.3.0.ebuild | 23 + dev-php/xdebug-handler/xdebug-handler-1.3.1.ebuild | 23 + dev-php/xdebug-handler/xdebug-handler-1.4.1.ebuild | 23 + dev-php/xdebug/Manifest | 3 + dev-php/xdebug/files/2.6.0-xdebug.ini | 54 ++ dev-php/xdebug/metadata.xml | 9 + dev-php/xdebug/xdebug-2.9.4.ebuild | 42 ++ dev-php/xdebug/xdebug-2.9.5.ebuild | 42 ++ dev-php/xdebug/xdebug-2.9.6.ebuild | 42 ++ dev-php/xhprof/Manifest | 2 + dev-php/xhprof/metadata.xml | 15 + dev-php/xhprof/xhprof-0.9.10.ebuild | 23 + dev-php/xhprof/xhprof-2.1.4.ebuild | 18 + 930 files changed, 20609 insertions(+) create mode 100644 dev-php/File_Iterator/File_Iterator-1.3.4.ebuild create mode 100644 dev-php/File_Iterator/File_Iterator-1.4.2.ebuild create mode 100644 dev-php/File_Iterator/File_Iterator-1.4.3.ebuild create mode 100644 dev-php/File_Iterator/File_Iterator-2.0.2-r1.ebuild create mode 100644 dev-php/File_Iterator/File_Iterator-2.0.2.ebuild create mode 100644 dev-php/File_Iterator/Manifest create mode 100644 dev-php/File_Iterator/files/autoload-2.0.2.php create mode 100644 dev-php/File_Iterator/files/autoload.php create mode 100644 dev-php/File_Iterator/files/channel.xml create mode 100644 dev-php/File_Iterator/metadata.xml create mode 100644 dev-php/PEAR-Archive_Tar/Manifest create mode 100644 dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.5.ebuild create mode 100644 dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.7.ebuild create mode 100644 dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.8.ebuild create mode 100644 dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.9.ebuild create mode 100644 dev-php/PEAR-Archive_Tar/metadata.xml create mode 100644 dev-php/PEAR-Auth_SASL/Manifest create mode 100644 dev-php/PEAR-Auth_SASL/PEAR-Auth_SASL-1.1.0.ebuild create mode 100644 dev-php/PEAR-Auth_SASL/metadata.xml create mode 100644 dev-php/PEAR-Cache/Manifest create mode 100644 dev-php/PEAR-Cache/PEAR-Cache-1.5.6-r2.ebuild create mode 100644 dev-php/PEAR-Cache/metadata.xml create mode 100644 dev-php/PEAR-Cache_Lite/Manifest create mode 100644 dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.2.ebuild create mode 100644 dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.3.ebuild create mode 100644 dev-php/PEAR-Cache_Lite/metadata.xml create mode 100644 dev-php/PEAR-Config/Manifest create mode 100644 dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild create mode 100644 dev-php/PEAR-Config/metadata.xml create mode 100644 dev-php/PEAR-Console_CommandLine/Manifest create mode 100644 dev-php/PEAR-Console_CommandLine/PEAR-Console_CommandLine-1.2.2.ebuild create mode 100644 dev-php/PEAR-Console_CommandLine/metadata.xml create mode 100644 dev-php/PEAR-Console_Getargs/Manifest create mode 100644 dev-php/PEAR-Console_Getargs/PEAR-Console_Getargs-1.4.0.ebuild create mode 100644 dev-php/PEAR-Console_Getargs/metadata.xml create mode 100644 dev-php/PEAR-Console_Getopt/Manifest create mode 100644 dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.1-r1.ebuild create mode 100644 dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.3.ebuild create mode 100644 dev-php/PEAR-Console_Getopt/metadata.xml create mode 100644 dev-php/PEAR-Console_Table/Manifest create mode 100644 dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0-r1.ebuild create mode 100644 dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.1.ebuild create mode 100644 dev-php/PEAR-Console_Table/metadata.xml create mode 100644 dev-php/PEAR-Crypt_CHAP/Manifest create mode 100644 dev-php/PEAR-Crypt_CHAP/PEAR-Crypt_CHAP-1.5.0-r3.ebuild create mode 100644 dev-php/PEAR-Crypt_CHAP/files/CHAP-1.5.0-constructor.patch create mode 100644 dev-php/PEAR-Crypt_CHAP/metadata.xml create mode 100644 dev-php/PEAR-Crypt_GPG/Manifest create mode 100644 dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild create mode 100644 dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild create mode 100644 dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild create mode 100644 dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch create mode 100644 dev-php/PEAR-Crypt_GPG/metadata.xml create mode 100644 dev-php/PEAR-Crypt_HMAC/Manifest create mode 100644 dev-php/PEAR-Crypt_HMAC/PEAR-Crypt_HMAC-1.0.1-r2.ebuild create mode 100644 dev-php/PEAR-Crypt_HMAC/files/HMAC-1.0.1.patch create mode 100644 dev-php/PEAR-Crypt_HMAC/metadata.xml create mode 100644 dev-php/PEAR-Crypt_HMAC2/Manifest create mode 100644 dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild create mode 100644 dev-php/PEAR-Crypt_HMAC2/metadata.xml create mode 100644 dev-php/PEAR-DB/Manifest create mode 100644 dev-php/PEAR-DB/PEAR-DB-1.10.0.ebuild create mode 100644 dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild create mode 100644 dev-php/PEAR-DB/PEAR-DB-1.9.3.ebuild create mode 100644 dev-php/PEAR-DB/metadata.xml create mode 100644 dev-php/PEAR-DB_DataObject/Manifest create mode 100644 dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild create mode 100644 dev-php/PEAR-DB_DataObject/metadata.xml create mode 100644 dev-php/PEAR-Date/Manifest create mode 100644 dev-php/PEAR-Date/PEAR-Date-1.5.0_alpha4-r1.ebuild create mode 100644 dev-php/PEAR-Date/metadata.xml create mode 100644 dev-php/PEAR-Exception/Manifest create mode 100644 dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild create mode 100644 dev-php/PEAR-Exception/metadata.xml create mode 100644 dev-php/PEAR-File/Manifest create mode 100644 dev-php/PEAR-File/PEAR-File-1.4.1-r1.ebuild create mode 100644 dev-php/PEAR-File/metadata.xml create mode 100644 dev-php/PEAR-File_Archive/Manifest create mode 100644 dev-php/PEAR-File_Archive/PEAR-File_Archive-1.5.5-r1.ebuild create mode 100644 dev-php/PEAR-File_Archive/metadata.xml create mode 100644 dev-php/PEAR-File_Find/Manifest create mode 100644 dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild create mode 100644 dev-php/PEAR-File_Find/metadata.xml create mode 100644 dev-php/PEAR-File_Fortune/Manifest create mode 100644 dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild create mode 100644 dev-php/PEAR-File_Fortune/metadata.xml create mode 100644 dev-php/PEAR-File_Gettext/Manifest create mode 100644 dev-php/PEAR-File_Gettext/PEAR-File_Gettext-0.4.2-r1.ebuild create mode 100644 dev-php/PEAR-File_Gettext/files/File_Gettext-0.4.2-construct.patch create mode 100644 dev-php/PEAR-File_Gettext/metadata.xml create mode 100644 dev-php/PEAR-File_SMBPasswd/Manifest create mode 100644 dev-php/PEAR-File_SMBPasswd/PEAR-File_SMBPasswd-1.0.3-r1.ebuild create mode 100644 dev-php/PEAR-File_SMBPasswd/metadata.xml create mode 100644 dev-php/PEAR-HTML_AJAX/Manifest create mode 100644 dev-php/PEAR-HTML_AJAX/PEAR-HTML_AJAX-0.5.8.ebuild create mode 100644 dev-php/PEAR-HTML_AJAX/metadata.xml create mode 100644 dev-php/PEAR-HTML_CSS/Manifest create mode 100644 dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild create mode 100644 dev-php/PEAR-HTML_CSS/files/HTML_CSS-1.5.4-fix-tests.patch create mode 100644 dev-php/PEAR-HTML_CSS/metadata.xml create mode 100644 dev-php/PEAR-HTML_Common/Manifest create mode 100644 dev-php/PEAR-HTML_Common/PEAR-HTML_Common-1.2.5-r1.ebuild create mode 100644 dev-php/PEAR-HTML_Common/metadata.xml create mode 100644 dev-php/PEAR-HTML_Common2/Manifest create mode 100644 dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.1.ebuild create mode 100644 dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.2.ebuild create mode 100644 dev-php/PEAR-HTML_Common2/metadata.xml create mode 100644 dev-php/PEAR-HTML_Javascript/Manifest create mode 100644 dev-php/PEAR-HTML_Javascript/PEAR-HTML_Javascript-1.1.2-r1.ebuild create mode 100644 dev-php/PEAR-HTML_Javascript/metadata.xml create mode 100644 dev-php/PEAR-HTML_QuickForm2/Manifest create mode 100644 dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.0.2-r1.ebuild create mode 100644 dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.1.0.ebuild create mode 100644 dev-php/PEAR-HTML_QuickForm2/metadata.xml create mode 100644 dev-php/PEAR-HTML_Table/Manifest create mode 100644 dev-php/PEAR-HTML_Table/PEAR-HTML_Table-1.8.4-r1.ebuild create mode 100644 dev-php/PEAR-HTML_Table/metadata.xml create mode 100644 dev-php/PEAR-HTML_Table_Matrix/Manifest create mode 100644 dev-php/PEAR-HTML_Table_Matrix/PEAR-HTML_Table_Matrix-1.0.10-r1.ebuild create mode 100644 dev-php/PEAR-HTML_Table_Matrix/metadata.xml create mode 100644 dev-php/PEAR-HTML_Template_Flexy/Manifest create mode 100644 dev-php/PEAR-HTML_Template_Flexy/PEAR-HTML_Template_Flexy-1.3.13.ebuild create mode 100644 dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch create mode 100644 dev-php/PEAR-HTML_Template_Flexy/metadata.xml create mode 100644 dev-php/PEAR-HTML_Template_Sigma/Manifest create mode 100644 dev-php/PEAR-HTML_Template_Sigma/PEAR-HTML_Template_Sigma-1.3.0-r1.ebuild create mode 100644 dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch create mode 100644 dev-php/PEAR-HTML_Template_Sigma/metadata.xml create mode 100644 dev-php/PEAR-HTTP/Manifest create mode 100644 dev-php/PEAR-HTTP/PEAR-HTTP-1.4.1-r3.ebuild create mode 100644 dev-php/PEAR-HTTP/metadata.xml create mode 100644 dev-php/PEAR-HTTP_Header/Manifest create mode 100644 dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild create mode 100644 dev-php/PEAR-HTTP_Header/metadata.xml create mode 100644 dev-php/PEAR-HTTP_Request2/Manifest create mode 100644 dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.3.0-r1.ebuild create mode 100644 dev-php/PEAR-HTTP_Request2/metadata.xml create mode 100644 dev-php/PEAR-HTTP_Session2/Manifest create mode 100644 dev-php/PEAR-HTTP_Session2/PEAR-HTTP_Session2-0.7.3-r2.ebuild create mode 100644 dev-php/PEAR-HTTP_Session2/metadata.xml create mode 100644 dev-php/PEAR-Image_Color2/Manifest create mode 100644 dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild create mode 100644 dev-php/PEAR-Image_Color2/metadata.xml create mode 100644 dev-php/PEAR-Image_GraphViz/Manifest create mode 100644 dev-php/PEAR-Image_GraphViz/PEAR-Image_GraphViz-1.3.0_p20151104.ebuild create mode 100644 dev-php/PEAR-Image_GraphViz/files/Image_GraphViz-1.3.0-constructor.patch create mode 100644 dev-php/PEAR-Image_GraphViz/metadata.xml create mode 100644 dev-php/PEAR-Image_IPTC/Manifest create mode 100644 dev-php/PEAR-Image_IPTC/PEAR-Image_IPTC-1.0.2-r2.ebuild create mode 100644 dev-php/PEAR-Image_IPTC/metadata.xml create mode 100644 dev-php/PEAR-Image_Text/Manifest create mode 100644 dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0-r1.ebuild create mode 100644 dev-php/PEAR-Image_Text/metadata.xml create mode 100644 dev-php/PEAR-Log/Manifest create mode 100644 dev-php/PEAR-Log/PEAR-Log-1.13.1.ebuild create mode 100644 dev-php/PEAR-Log/PEAR-Log-1.13.2.ebuild create mode 100644 dev-php/PEAR-Log/metadata.xml create mode 100644 dev-php/PEAR-MDB/Manifest create mode 100644 dev-php/PEAR-MDB/PEAR-MDB-1.3.0-r2.ebuild create mode 100644 dev-php/PEAR-MDB/metadata.xml create mode 100644 dev-php/PEAR-MDB2/Manifest create mode 100644 dev-php/PEAR-MDB2/PEAR-MDB2-2.5.0_beta5-r2.ebuild create mode 100644 dev-php/PEAR-MDB2/metadata.xml create mode 100644 dev-php/PEAR-MDB2_Driver_mssql/Manifest create mode 100644 dev-php/PEAR-MDB2_Driver_mssql/PEAR-MDB2_Driver_mssql-1.5.0_beta4-r1.ebuild create mode 100644 dev-php/PEAR-MDB2_Driver_mssql/metadata.xml create mode 100644 dev-php/PEAR-MDB2_Driver_mysqli/Manifest create mode 100644 dev-php/PEAR-MDB2_Driver_mysqli/PEAR-MDB2_Driver_mysqli-1.5.0_beta4-r1.ebuild create mode 100644 dev-php/PEAR-MDB2_Driver_mysqli/metadata.xml create mode 100644 dev-php/PEAR-MDB2_Driver_oci8/Manifest create mode 100644 dev-php/PEAR-MDB2_Driver_oci8/PEAR-MDB2_Driver_oci8-1.5.0_beta4-r1.ebuild create mode 100644 dev-php/PEAR-MDB2_Driver_oci8/metadata.xml create mode 100644 dev-php/PEAR-MDB2_Driver_pgsql/Manifest create mode 100644 dev-php/PEAR-MDB2_Driver_pgsql/PEAR-MDB2_Driver_pgsql-1.5.0_beta4-r1.ebuild create mode 100644 dev-php/PEAR-MDB2_Driver_pgsql/metadata.xml create mode 100644 dev-php/PEAR-MIME_Type/Manifest create mode 100644 dev-php/PEAR-MIME_Type/PEAR-MIME_Type-1.4.1.ebuild create mode 100644 dev-php/PEAR-MIME_Type/metadata.xml create mode 100644 dev-php/PEAR-Mail/Manifest create mode 100644 dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild create mode 100644 dev-php/PEAR-Mail/metadata.xml create mode 100644 dev-php/PEAR-Mail_Mime/Manifest create mode 100644 dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.2-r1.ebuild create mode 100644 dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.4.ebuild create mode 100644 dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.6.ebuild create mode 100644 dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.7.ebuild create mode 100644 dev-php/PEAR-Mail_Mime/metadata.xml create mode 100644 dev-php/PEAR-Mail_mimeDecode/Manifest create mode 100644 dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild create mode 100644 dev-php/PEAR-Mail_mimeDecode/metadata.xml create mode 100644 dev-php/PEAR-Math_BigInteger/Manifest create mode 100644 dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3-r1.ebuild create mode 100644 dev-php/PEAR-Math_BigInteger/metadata.xml create mode 100644 dev-php/PEAR-Net_DNS/Manifest create mode 100644 dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7-r1.ebuild create mode 100644 dev-php/PEAR-Net_DNS/metadata.xml create mode 100644 dev-php/PEAR-Net_DNS2/Manifest create mode 100644 dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.4.ebuild create mode 100644 dev-php/PEAR-Net_DNS2/metadata.xml create mode 100644 dev-php/PEAR-Net_DNSBL/Manifest create mode 100644 dev-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild create mode 100644 dev-php/PEAR-Net_DNSBL/metadata.xml create mode 100644 dev-php/PEAR-Net_IDNA2/Manifest create mode 100644 dev-php/PEAR-Net_IDNA2/PEAR-Net_IDNA2-0.2.0.ebuild create mode 100644 dev-php/PEAR-Net_IDNA2/metadata.xml create mode 100644 dev-php/PEAR-Net_IPv4/Manifest create mode 100644 dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.4-r1.ebuild create mode 100644 dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.5.ebuild create mode 100644 dev-php/PEAR-Net_IPv4/files/remove_globals.patch create mode 100644 dev-php/PEAR-Net_IPv4/metadata.xml create mode 100644 dev-php/PEAR-Net_IPv6/Manifest create mode 100644 dev-php/PEAR-Net_IPv6/PEAR-Net_IPv6-1.3.0_beta4.ebuild create mode 100644 dev-php/PEAR-Net_IPv6/metadata.xml create mode 100644 dev-php/PEAR-Net_LDAP2/Manifest create mode 100644 dev-php/PEAR-Net_LDAP2/PEAR-Net_LDAP2-2.2.0-r1.ebuild create mode 100644 dev-php/PEAR-Net_LDAP2/metadata.xml create mode 100644 dev-php/PEAR-Net_LDAP3/Manifest create mode 100644 dev-php/PEAR-Net_LDAP3/PEAR-Net_LDAP3-1.0.5_pre20160405.ebuild create mode 100644 dev-php/PEAR-Net_LDAP3/metadata.xml create mode 100644 dev-php/PEAR-Net_POP3/Manifest create mode 100644 dev-php/PEAR-Net_POP3/PEAR-Net_POP3-1.3.8-r1.ebuild create mode 100644 dev-php/PEAR-Net_POP3/metadata.xml create mode 100644 dev-php/PEAR-Net_Ping/Manifest create mode 100644 dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild create mode 100644 dev-php/PEAR-Net_Ping/metadata.xml create mode 100644 dev-php/PEAR-Net_SMTP/Manifest create mode 100644 dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.2-r3.ebuild create mode 100644 dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.3.ebuild create mode 100644 dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.8.1.ebuild create mode 100644 dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.0.ebuild create mode 100644 dev-php/PEAR-Net_SMTP/metadata.xml create mode 100644 dev-php/PEAR-Net_Sieve/Manifest create mode 100644 dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.2-r1.ebuild create mode 100644 dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.4.ebuild create mode 100644 dev-php/PEAR-Net_Sieve/metadata.xml create mode 100644 dev-php/PEAR-Net_SmartIRC/Manifest create mode 100644 dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.10-r1.ebuild create mode 100644 dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.12.ebuild create mode 100644 dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.13.ebuild create mode 100644 dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.14.ebuild create mode 100644 dev-php/PEAR-Net_SmartIRC/metadata.xml create mode 100644 dev-php/PEAR-Net_Socket/Manifest create mode 100644 dev-php/PEAR-Net_Socket/PEAR-Net_Socket-1.2.2.ebuild create mode 100644 dev-php/PEAR-Net_Socket/metadata.xml create mode 100644 dev-php/PEAR-Net_Traceroute/Manifest create mode 100644 dev-php/PEAR-Net_Traceroute/PEAR-Net_Traceroute-0.21.3-r1.ebuild create mode 100644 dev-php/PEAR-Net_Traceroute/metadata.xml create mode 100644 dev-php/PEAR-Net_URL/Manifest create mode 100644 dev-php/PEAR-Net_URL/PEAR-Net_URL-1.0.15-r1.ebuild create mode 100644 dev-php/PEAR-Net_URL/metadata.xml create mode 100644 dev-php/PEAR-Net_URL2/Manifest create mode 100644 dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild create mode 100644 dev-php/PEAR-Net_URL2/metadata.xml create mode 100644 dev-php/PEAR-Net_UserAgent_Detect/Manifest create mode 100644 dev-php/PEAR-Net_UserAgent_Detect/PEAR-Net_UserAgent_Detect-2.5.2-r1.ebuild create mode 100644 dev-php/PEAR-Net_UserAgent_Detect/metadata.xml create mode 100644 dev-php/PEAR-Numbers_Words/Manifest create mode 100644 dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.1-r1.ebuild create mode 100644 dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.2.ebuild create mode 100644 dev-php/PEAR-Numbers_Words/metadata.xml create mode 100644 dev-php/PEAR-OLE/Manifest create mode 100644 dev-php/PEAR-OLE/PEAR-OLE-1.0.0_rc3.ebuild create mode 100644 dev-php/PEAR-OLE/metadata.xml create mode 100644 dev-php/PEAR-PEAR/Manifest create mode 100644 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild create mode 100644 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild create mode 100644 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild create mode 100644 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild create mode 100644 dev-php/PEAR-PEAR/files/gentoo-libtool-mismatch-fix-v2.patch create mode 100644 dev-php/PEAR-PEAR/files/pear.conf-r2 create mode 100644 dev-php/PEAR-PEAR/metadata.xml create mode 100644 dev-php/PEAR-PEAR_PackageFileManager/Manifest create mode 100644 dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r2.ebuild create mode 100644 dev-php/PEAR-PEAR_PackageFileManager/metadata.xml create mode 100644 dev-php/PEAR-PEAR_PackageFileManager2/Manifest create mode 100644 dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r2.ebuild create mode 100644 dev-php/PEAR-PEAR_PackageFileManager2/metadata.xml create mode 100644 dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest create mode 100644 dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild create mode 100644 dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml create mode 100644 dev-php/PEAR-PHP_Beautifier/Manifest create mode 100644 dev-php/PEAR-PHP_Beautifier/PEAR-PHP_Beautifier-0.1.15-r2.ebuild create mode 100644 dev-php/PEAR-PHP_Beautifier/files/use_default_error_reporting.patch create mode 100644 dev-php/PEAR-PHP_Beautifier/metadata.xml create mode 100644 dev-php/PEAR-PHP_Debug/Manifest create mode 100644 dev-php/PEAR-PHP_Debug/PEAR-PHP_Debug-1.0.3-r3.ebuild create mode 100644 dev-php/PEAR-PHP_Debug/metadata.xml create mode 100644 dev-php/PEAR-Pager/Manifest create mode 100644 dev-php/PEAR-Pager/PEAR-Pager-2.5.1.ebuild create mode 100644 dev-php/PEAR-Pager/metadata.xml create mode 100644 dev-php/PEAR-Services_JSON/Manifest create mode 100644 dev-php/PEAR-Services_JSON/PEAR-Services_JSON-1.0.3-r1.ebuild create mode 100644 dev-php/PEAR-Services_JSON/files/JSON-1.0.3-constructor.patch create mode 100644 dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch create mode 100644 dev-php/PEAR-Services_JSON/metadata.xml create mode 100644 dev-php/PEAR-Services_TinyURL/Manifest create mode 100644 dev-php/PEAR-Services_TinyURL/PEAR-Services_TinyURL-0.1.2-r1.ebuild create mode 100644 dev-php/PEAR-Services_TinyURL/metadata.xml create mode 100644 dev-php/PEAR-Services_W3C_CSSValidator/Manifest create mode 100644 dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.3.ebuild create mode 100644 dev-php/PEAR-Services_W3C_CSSValidator/metadata.xml create mode 100644 dev-php/PEAR-Spreadsheet_Excel_Writer/Manifest create mode 100644 dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.4.ebuild create mode 100644 dev-php/PEAR-Spreadsheet_Excel_Writer/metadata.xml create mode 100644 dev-php/PEAR-Structures_Graph/Manifest create mode 100644 dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild create mode 100644 dev-php/PEAR-Structures_Graph/metadata.xml create mode 100644 dev-php/PEAR-System_Command/Manifest create mode 100644 dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild create mode 100644 dev-php/PEAR-System_Command/metadata.xml create mode 100644 dev-php/PEAR-Text_CAPTCHA/Manifest create mode 100644 dev-php/PEAR-Text_CAPTCHA/PEAR-Text_CAPTCHA-1.0.2-r1.ebuild create mode 100644 dev-php/PEAR-Text_CAPTCHA/metadata.xml create mode 100644 dev-php/PEAR-Text_CAPTCHA_Numeral/Manifest create mode 100644 dev-php/PEAR-Text_CAPTCHA_Numeral/PEAR-Text_CAPTCHA_Numeral-1.3.2-r1.ebuild create mode 100644 dev-php/PEAR-Text_CAPTCHA_Numeral/metadata.xml create mode 100644 dev-php/PEAR-Text_Figlet/Manifest create mode 100644 dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild create mode 100644 dev-php/PEAR-Text_Figlet/metadata.xml create mode 100644 dev-php/PEAR-Text_Highlighter/Manifest create mode 100644 dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.7.3-r1.ebuild create mode 100644 dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.8.0.ebuild create mode 100644 dev-php/PEAR-Text_Highlighter/metadata.xml create mode 100644 dev-php/PEAR-Text_Password/Manifest create mode 100644 dev-php/PEAR-Text_Password/PEAR-Text_Password-1.2.1.ebuild create mode 100644 dev-php/PEAR-Text_Password/metadata.xml create mode 100644 dev-php/PEAR-Text_Wiki/Manifest create mode 100644 dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.2_p20170904.ebuild create mode 100644 dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.3.ebuild create mode 100644 dev-php/PEAR-Text_Wiki/metadata.xml create mode 100644 dev-php/PEAR-Text_Wiki_BBCode/Manifest create mode 100644 dev-php/PEAR-Text_Wiki_BBCode/PEAR-Text_Wiki_BBCode-0.0.4-r3.ebuild create mode 100644 dev-php/PEAR-Text_Wiki_BBCode/metadata.xml create mode 100644 dev-php/PEAR-Text_Wiki_Mediawiki/Manifest create mode 100644 dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild create mode 100644 dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch create mode 100644 dev-php/PEAR-Text_Wiki_Mediawiki/metadata.xml create mode 100644 dev-php/PEAR-Validate/Manifest create mode 100644 dev-php/PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild create mode 100644 dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch create mode 100644 dev-php/PEAR-Validate/metadata.xml create mode 100644 dev-php/PEAR-Var_Dump/Manifest create mode 100644 dev-php/PEAR-Var_Dump/PEAR-Var_Dump-1.0.4-r3.ebuild create mode 100644 dev-php/PEAR-Var_Dump/metadata.xml create mode 100644 dev-php/PEAR-VersionControl_SVN/Manifest create mode 100644 dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2-r1.ebuild create mode 100644 dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2_p20180314.ebuild create mode 100644 dev-php/PEAR-VersionControl_SVN/metadata.xml create mode 100644 dev-php/PEAR-XML_Parser/Manifest create mode 100644 dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.7-r1.ebuild create mode 100644 dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.8.ebuild create mode 100644 dev-php/PEAR-XML_Parser/metadata.xml create mode 100644 dev-php/PEAR-XML_RSS/Manifest create mode 100644 dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0.ebuild create mode 100644 dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0_alpha1.ebuild create mode 100644 dev-php/PEAR-XML_RSS/metadata.xml create mode 100644 dev-php/PEAR-XML_Serializer/Manifest create mode 100644 dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild create mode 100644 dev-php/PEAR-XML_Serializer/metadata.xml create mode 100644 dev-php/PEAR-XML_Util/Manifest create mode 100644 dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.2.ebuild create mode 100644 dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.3.ebuild create mode 100644 dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.4.ebuild create mode 100644 dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild create mode 100644 dev-php/PEAR-XML_Util/metadata.xml create mode 100644 dev-php/PHPMailer/Manifest create mode 100644 dev-php/PHPMailer/PHPMailer-5.2.28.ebuild create mode 100644 dev-php/PHPMailer/PHPMailer-6.1.6.ebuild create mode 100644 dev-php/PHPMailer/metadata.xml create mode 100644 dev-php/PHP_CodeCoverage/Manifest create mode 100644 dev-php/PHP_CodeCoverage/PHP_CodeCoverage-4.0.7-r2.ebuild create mode 100644 dev-php/PHP_CodeCoverage/PHP_CodeCoverage-7.0.10-r1.ebuild create mode 100644 dev-php/PHP_CodeCoverage/files/autoload-7.0.10.php create mode 100644 dev-php/PHP_CodeCoverage/files/autoload.php create mode 100644 dev-php/PHP_CodeCoverage/metadata.xml create mode 100644 dev-php/PHP_CodeSniffer/Manifest create mode 100644 dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.4.ebuild create mode 100644 dev-php/PHP_CodeSniffer/metadata.xml create mode 100644 dev-php/PHP_Timer/Manifest create mode 100644 dev-php/PHP_Timer/PHP_Timer-1.0.5.ebuild create mode 100644 dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild create mode 100644 dev-php/PHP_Timer/PHP_Timer-2.1.2-r1.ebuild create mode 100644 dev-php/PHP_Timer/files/autoload-2.1.2.php create mode 100644 dev-php/PHP_Timer/files/autoload.php create mode 100644 dev-php/PHP_Timer/files/channel.xml create mode 100644 dev-php/PHP_Timer/metadata.xml create mode 100644 dev-php/PHP_TokenStream/Manifest create mode 100644 dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild create mode 100644 dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild create mode 100644 dev-php/PHP_TokenStream/files/autoload-3.1.1.php create mode 100644 dev-php/PHP_TokenStream/files/autoload.php create mode 100644 dev-php/PHP_TokenStream/metadata.xml create mode 100644 dev-php/SabreAMF/Manifest create mode 100644 dev-php/SabreAMF/SabreAMF-1.5.0.ebuild create mode 100644 dev-php/SabreAMF/files/autoload.php create mode 100644 dev-php/SabreAMF/metadata.xml create mode 100644 dev-php/Text_Template/Manifest create mode 100644 dev-php/Text_Template/Text_Template-1.1.1.ebuild create mode 100644 dev-php/Text_Template/Text_Template-1.2.1.ebuild create mode 100644 dev-php/Text_Template/files/autoload.php create mode 100644 dev-php/Text_Template/files/channel.xml create mode 100644 dev-php/Text_Template/metadata.xml create mode 100644 dev-php/YAML/Manifest create mode 100644 dev-php/YAML/YAML-1.0.6-r3.ebuild create mode 100644 dev-php/YAML/files/channel.xml create mode 100644 dev-php/YAML/metadata.xml create mode 100644 dev-php/adodb/Manifest create mode 100644 dev-php/adodb/adodb-5.20.14.ebuild create mode 100644 dev-php/adodb/adodb-5.20.15.ebuild create mode 100644 dev-php/adodb/adodb-5.20.17.ebuild create mode 100644 dev-php/adodb/metadata.xml create mode 100644 dev-php/agavi/Manifest create mode 100644 dev-php/agavi/agavi-1.0.8.ebuild create mode 100644 dev-php/agavi/files/agavi-executable create mode 100644 dev-php/agavi/metadata.xml create mode 100644 dev-php/awl/Manifest create mode 100644 dev-php/awl/awl-0.61.ebuild create mode 100644 dev-php/awl/metadata.xml create mode 100644 dev-php/ca-bundle/Manifest create mode 100644 dev-php/ca-bundle/ca-bundle-1.1.3.ebuild create mode 100644 dev-php/ca-bundle/files/autoload.php create mode 100644 dev-php/ca-bundle/metadata.xml create mode 100644 dev-php/cli-prompt/Manifest create mode 100644 dev-php/cli-prompt/cli-prompt-1.0.0.ebuild create mode 100644 dev-php/cli-prompt/cli-prompt-1.0.3.ebuild create mode 100644 dev-php/cli-prompt/files/autoload.php create mode 100644 dev-php/cli-prompt/metadata.xml create mode 100644 dev-php/composer/Manifest create mode 100644 dev-php/composer/composer-1.10.1.ebuild create mode 100644 dev-php/composer/composer-1.10.5.ebuild create mode 100644 dev-php/composer/composer-1.10.6.ebuild create mode 100644 dev-php/composer/composer-1.10.7.ebuild create mode 100644 dev-php/composer/composer-1.9.3.ebuild create mode 100644 dev-php/composer/files/autoload-r1.php create mode 100644 dev-php/composer/metadata.xml create mode 100644 dev-php/cphplib/Manifest create mode 100644 dev-php/cphplib/cphplib-0.51-r1.ebuild create mode 100644 dev-php/cphplib/files/constructor.patch create mode 100644 dev-php/cphplib/metadata.xml create mode 100644 dev-php/doctrine-instantiator/Manifest create mode 100644 dev-php/doctrine-instantiator/doctrine-instantiator-1.0.5.ebuild create mode 100644 dev-php/doctrine-instantiator/doctrine-instantiator-1.1.0.ebuild create mode 100644 dev-php/doctrine-instantiator/doctrine-instantiator-1.3.0.ebuild create mode 100644 dev-php/doctrine-instantiator/doctrine-instantiator-1.3.1.ebuild create mode 100644 dev-php/doctrine-instantiator/files/autoload.php create mode 100644 dev-php/doctrine-instantiator/metadata.xml create mode 100644 dev-php/doctrine/Manifest create mode 100644 dev-php/doctrine/doctrine-1.2.5.ebuild create mode 100644 dev-php/doctrine/doctrine-2.4.6.ebuild create mode 100644 dev-php/doctrine/doctrine-2.6.1.ebuild create mode 100644 dev-php/doctrine/doctrine-2.6.4.ebuild create mode 100644 dev-php/doctrine/metadata.xml create mode 100644 dev-php/fedora-autoloader/Manifest create mode 100644 dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild create mode 100644 dev-php/fedora-autoloader/fedora-autoloader-1.0.0.ebuild create mode 100644 dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild create mode 100644 dev-php/fedora-autoloader/metadata.xml create mode 100644 dev-php/geos-php/Manifest create mode 100644 dev-php/geos-php/geos-php-1.0.0.ebuild create mode 100644 dev-php/geos-php/metadata.xml create mode 100644 dev-php/igbinary/Manifest create mode 100644 dev-php/igbinary/igbinary-3.0.1.ebuild create mode 100644 dev-php/igbinary/igbinary-3.1.2.ebuild create mode 100644 dev-php/igbinary/metadata.xml create mode 100644 dev-php/jpgraph/Manifest create mode 100644 dev-php/jpgraph/files/gentoo_ttf_dir.patch create mode 100644 dev-php/jpgraph/jpgraph-4.0.2.ebuild create mode 100644 dev-php/jpgraph/jpgraph-4.2.0.ebuild create mode 100644 dev-php/jpgraph/metadata.xml create mode 100644 dev-php/json-schema/Manifest create mode 100644 dev-php/json-schema/files/autoload.php create mode 100644 dev-php/json-schema/json-schema-5.2.10.ebuild create mode 100644 dev-php/json-schema/json-schema-5.2.8.ebuild create mode 100644 dev-php/json-schema/json-schema-5.2.9.ebuild create mode 100644 dev-php/json-schema/metadata.xml create mode 100644 dev-php/jsonlint/Manifest create mode 100644 dev-php/jsonlint/files/autoload.php create mode 100644 dev-php/jsonlint/jsonlint-1.7.1.ebuild create mode 100644 dev-php/jsonlint/jsonlint-1.7.2.ebuild create mode 100644 dev-php/jsonlint/metadata.xml create mode 100644 dev-php/libchart/Manifest create mode 100644 dev-php/libchart/libchart-1.3.ebuild create mode 100644 dev-php/libchart/metadata.xml create mode 100644 dev-php/libvirt-php/Manifest create mode 100644 dev-php/libvirt-php/files/remove-imagick-check.patch create mode 100644 dev-php/libvirt-php/libvirt-php-0.5.4.ebuild create mode 100644 dev-php/libvirt-php/libvirt-php-0.5.5.ebuild create mode 100644 dev-php/libvirt-php/libvirt-php-9999.ebuild create mode 100644 dev-php/libvirt-php/metadata.xml create mode 100644 dev-php/maxmind-db-reader/Manifest create mode 100644 dev-php/maxmind-db-reader/maxmind-db-reader-1.4.1.ebuild create mode 100644 dev-php/maxmind-db-reader/maxmind-db-reader-1.6.0.ebuild create mode 100644 dev-php/maxmind-db-reader/metadata.xml create mode 100644 dev-php/metadata.xml create mode 100644 dev-php/mmslib/Manifest create mode 100644 dev-php/mmslib/metadata.xml create mode 100644 dev-php/mmslib/mmslib-0.97.ebuild create mode 100644 dev-php/mockery/Manifest create mode 100644 dev-php/mockery/files/channel.xml create mode 100644 dev-php/mockery/metadata.xml create mode 100644 dev-php/mockery/mockery-0.9.0-r1.ebuild create mode 100644 dev-php/myclabs-deepcopy/Manifest create mode 100644 dev-php/myclabs-deepcopy/files/autoload.php create mode 100644 dev-php/myclabs-deepcopy/metadata.xml create mode 100644 dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild create mode 100644 dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.1.ebuild create mode 100644 dev-php/myclabs-deepcopy/myclabs-deepcopy-1.9.4.ebuild create mode 100644 dev-php/onphp/Manifest create mode 100644 dev-php/onphp/metadata.xml create mode 100644 dev-php/onphp/onphp-1.0.11_pre20141124.ebuild create mode 100644 dev-php/pear/metadata.xml create mode 100644 dev-php/pear/pear-1.10.1-r1.ebuild create mode 100644 dev-php/pear/pear-1.10.3.ebuild create mode 100644 dev-php/pecl-amqp/Manifest create mode 100644 dev-php/pecl-amqp/metadata.xml create mode 100644 dev-php/pecl-amqp/pecl-amqp-1.10.2.ebuild create mode 100644 dev-php/pecl-apcu/Manifest create mode 100644 dev-php/pecl-apcu/metadata.xml create mode 100644 dev-php/pecl-apcu/pecl-apcu-5.1.18.ebuild create mode 100644 dev-php/pecl-apcu_bc/Manifest create mode 100644 dev-php/pecl-apcu_bc/metadata.xml create mode 100644 dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.4-r1.ebuild create mode 100644 dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild create mode 100644 dev-php/pecl-crack/Manifest create mode 100644 dev-php/pecl-crack/files/0.4-php7.patch create mode 100644 dev-php/pecl-crack/files/fix-pecl-bug-5765.patch create mode 100644 dev-php/pecl-crack/files/fix-php-5-4-support.patch create mode 100644 dev-php/pecl-crack/metadata.xml create mode 100644 dev-php/pecl-crack/pecl-crack-0.4-r7.ebuild create mode 100644 dev-php/pecl-dbase/Manifest create mode 100644 dev-php/pecl-dbase/metadata.xml create mode 100644 dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild create mode 100644 dev-php/pecl-dio/Manifest create mode 100644 dev-php/pecl-dio/metadata.xml create mode 100644 dev-php/pecl-dio/pecl-dio-0.1.0-r1.ebuild create mode 100644 dev-php/pecl-eio/Manifest create mode 100644 dev-php/pecl-eio/metadata.xml create mode 100644 dev-php/pecl-eio/pecl-eio-2.0.4.ebuild create mode 100644 dev-php/pecl-event/Manifest create mode 100644 dev-php/pecl-event/files/pecl-event-2.5.3-no-sockets.patch create mode 100644 dev-php/pecl-event/metadata.xml create mode 100644 dev-php/pecl-event/pecl-event-2.5.3-r1.ebuild create mode 100644 dev-php/pecl-event/pecl-event-2.5.3.ebuild create mode 100644 dev-php/pecl-geoip/Manifest create mode 100644 dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch create mode 100644 dev-php/pecl-geoip/metadata.xml create mode 100644 dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild create mode 100644 dev-php/pecl-gnupg/Manifest create mode 100644 dev-php/pecl-gnupg/files/1.3.2/01-large_file_system.patch create mode 100644 dev-php/pecl-gnupg/metadata.xml create mode 100644 dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild create mode 100644 dev-php/pecl-http/Manifest create mode 100644 dev-php/pecl-http/metadata.xml create mode 100644 dev-php/pecl-http/pecl-http-3.2.1.ebuild create mode 100644 dev-php/pecl-http/pecl-http-3.2.3.ebuild create mode 100644 dev-php/pecl-imagick/Manifest create mode 100644 dev-php/pecl-imagick/metadata.xml create mode 100644 dev-php/pecl-imagick/pecl-imagick-3.4.4.ebuild create mode 100644 dev-php/pecl-lzf/Manifest create mode 100644 dev-php/pecl-lzf/metadata.xml create mode 100644 dev-php/pecl-lzf/pecl-lzf-1.6.7.ebuild create mode 100644 dev-php/pecl-lzf/pecl-lzf-1.6.8.ebuild create mode 100644 dev-php/pecl-mailparse/Manifest create mode 100644 dev-php/pecl-mailparse/metadata.xml create mode 100644 dev-php/pecl-mailparse/pecl-mailparse-3.0.4.ebuild create mode 100644 dev-php/pecl-mcrypt/Manifest create mode 100644 dev-php/pecl-mcrypt/metadata.xml create mode 100644 dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild create mode 100644 dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild create mode 100644 dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild create mode 100644 dev-php/pecl-memcache/Manifest create mode 100644 dev-php/pecl-memcache/metadata.xml create mode 100644 dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild create mode 100644 dev-php/pecl-memcached/Manifest create mode 100644 dev-php/pecl-memcached/metadata.xml create mode 100644 dev-php/pecl-memcached/pecl-memcached-3.1.3-r1.ebuild create mode 100644 dev-php/pecl-memcached/pecl-memcached-3.1.5-r1.ebuild create mode 100644 dev-php/pecl-mongodb/Manifest create mode 100644 dev-php/pecl-mongodb/metadata.xml create mode 100644 dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild create mode 100644 dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild create mode 100644 dev-php/pecl-mongodb/pecl-mongodb-1.5.5.ebuild create mode 100644 dev-php/pecl-mongodb/pecl-mongodb-1.6.0.ebuild create mode 100644 dev-php/pecl-mongodb/pecl-mongodb-1.7.4.ebuild create mode 100644 dev-php/pecl-ncurses/Manifest create mode 100644 dev-php/pecl-ncurses/files/pecl-ncurses-1.0.2-php7.3.patch create mode 100644 dev-php/pecl-ncurses/metadata.xml create mode 100644 dev-php/pecl-ncurses/pecl-ncurses-1.0.2-r5.ebuild create mode 100644 dev-php/pecl-oauth/Manifest create mode 100644 dev-php/pecl-oauth/metadata.xml create mode 100644 dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild create mode 100644 dev-php/pecl-pam/Manifest create mode 100644 dev-php/pecl-pam/files/1.0.3-php7.patch create mode 100644 dev-php/pecl-pam/metadata.xml create mode 100644 dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild create mode 100644 dev-php/pecl-propro/Manifest create mode 100644 dev-php/pecl-propro/metadata.xml create mode 100644 dev-php/pecl-propro/pecl-propro-2.1.0.ebuild create mode 100644 dev-php/pecl-ps/Manifest create mode 100644 dev-php/pecl-ps/metadata.xml create mode 100644 dev-php/pecl-ps/pecl-ps-1.4.1.ebuild create mode 100644 dev-php/pecl-radius/Manifest create mode 100644 dev-php/pecl-radius/metadata.xml create mode 100644 dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r2.ebuild create mode 100644 dev-php/pecl-raphf/Manifest create mode 100644 dev-php/pecl-raphf/metadata.xml create mode 100644 dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild create mode 100644 dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild create mode 100644 dev-php/pecl-redis/Manifest create mode 100644 dev-php/pecl-redis/metadata.xml create mode 100644 dev-php/pecl-redis/pecl-redis-5.1.1.ebuild create mode 100644 dev-php/pecl-redis/pecl-redis-5.2.1.ebuild create mode 100644 dev-php/pecl-redis/pecl-redis-5.2.2.ebuild create mode 100644 dev-php/pecl-rrd/Manifest create mode 100644 dev-php/pecl-rrd/metadata.xml create mode 100644 dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild create mode 100644 dev-php/pecl-ssh2/Manifest create mode 100644 dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php7-port.patch create mode 100644 dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php_url-fields-usage-for-php7-3.patch create mode 100644 dev-php/pecl-ssh2/metadata.xml create mode 100644 dev-php/pecl-ssh2/pecl-ssh2-1.1.2.ebuild create mode 100644 dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild create mode 100644 dev-php/pecl-ssh2/pecl-ssh2-9999.ebuild create mode 100644 dev-php/pecl-stomp/Manifest create mode 100644 dev-php/pecl-stomp/metadata.xml create mode 100644 dev-php/pecl-stomp/pecl-stomp-2.0.2-r1.ebuild create mode 100644 dev-php/pecl-taint/Manifest create mode 100644 dev-php/pecl-taint/metadata.xml create mode 100644 dev-php/pecl-taint/pecl-taint-2.0.5.ebuild create mode 100644 dev-php/pecl-taint/pecl-taint-2.0.6.ebuild create mode 100644 dev-php/pecl-timezonedb/Manifest create mode 100644 dev-php/pecl-timezonedb/metadata.xml create mode 100644 dev-php/pecl-timezonedb/pecl-timezonedb-2019.3.ebuild create mode 100644 dev-php/pecl-timezonedb/pecl-timezonedb-2020.1.ebuild create mode 100644 dev-php/pecl-translit/Manifest create mode 100644 dev-php/pecl-translit/metadata.xml create mode 100644 dev-php/pecl-translit/pecl-translit-0.6.3.ebuild create mode 100644 dev-php/pecl-uploadprogress/Manifest create mode 100644 dev-php/pecl-uploadprogress/metadata.xml create mode 100644 dev-php/pecl-uploadprogress/pecl-uploadprogress-1.1.3-r1.ebuild create mode 100644 dev-php/pecl-uuid/Manifest create mode 100644 dev-php/pecl-uuid/metadata.xml create mode 100644 dev-php/pecl-uuid/pecl-uuid-1.1.0.ebuild create mode 100644 dev-php/pecl-xdiff/Manifest create mode 100644 dev-php/pecl-xdiff/metadata.xml create mode 100644 dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild create mode 100644 dev-php/pecl-yaml/Manifest create mode 100644 dev-php/pecl-yaml/metadata.xml create mode 100644 dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild create mode 100644 dev-php/pecl-yaz/Manifest create mode 100644 dev-php/pecl-yaz/metadata.xml create mode 100644 dev-php/pecl-yaz/pecl-yaz-1.2.3.ebuild create mode 100644 dev-php/pecl-zmq/Manifest create mode 100644 dev-php/pecl-zmq/files/pecl-zmq-1.1.3-php7-3-compatibility.patch create mode 100644 dev-php/pecl-zmq/metadata.xml create mode 100644 dev-php/pecl-zmq/pecl-zmq-1.1.3-r2.ebuild create mode 100644 dev-php/pecl-zmq/pecl-zmq-9999.ebuild create mode 100644 dev-php/phar-io-manifest/Manifest create mode 100644 dev-php/phar-io-manifest/files/autoload.php create mode 100644 dev-php/phar-io-manifest/metadata.xml create mode 100644 dev-php/phar-io-manifest/phar-io-manifest-1.0.3.ebuild create mode 100644 dev-php/phar-io-version/Manifest create mode 100644 dev-php/phar-io-version/files/autoload.php create mode 100644 dev-php/phar-io-version/metadata.xml create mode 100644 dev-php/phar-io-version/phar-io-version-2.0.1.ebuild create mode 100644 dev-php/phar-utils/Manifest create mode 100644 dev-php/phar-utils/files/autoload.php create mode 100644 dev-php/phar-utils/metadata.xml create mode 100644 dev-php/phar-utils/phar-utils-1.0.0.ebuild create mode 100644 dev-php/phar-utils/phar-utils-1.0.1.ebuild create mode 100644 dev-php/phar-utils/phar-utils-1.1.0.ebuild create mode 100644 dev-php/phing/Manifest create mode 100644 dev-php/phing/files/autoload.php create mode 100644 dev-php/phing/metadata.xml create mode 100644 dev-php/phing/phing-2.16.1.ebuild create mode 100644 dev-php/php-codebrowser/Manifest create mode 100644 dev-php/php-codebrowser/files/channel.xml create mode 100644 dev-php/php-codebrowser/metadata.xml create mode 100644 dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild create mode 100644 dev-php/php-redmine-api/Manifest create mode 100644 dev-php/php-redmine-api/metadata.xml create mode 100644 dev-php/php-redmine-api/php-redmine-api-1.5.16.ebuild create mode 100644 dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild create mode 100644 dev-php/phpDocumentor/Manifest create mode 100644 dev-php/phpDocumentor/metadata.xml create mode 100644 dev-php/phpDocumentor/phpDocumentor-2.9.0.ebuild create mode 100644 dev-php/phpcov/Manifest create mode 100644 dev-php/phpcov/metadata.xml create mode 100644 dev-php/phpcov/phpcov-5.0.0.ebuild create mode 100644 dev-php/phpdepend/Manifest create mode 100644 dev-php/phpdepend/files/autoload.php create mode 100644 dev-php/phpdepend/metadata.xml create mode 100644 dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild create mode 100644 dev-php/phpdocumentor-reflection-common/Manifest create mode 100644 dev-php/phpdocumentor-reflection-common/files/autoload.php create mode 100644 dev-php/phpdocumentor-reflection-common/metadata.xml create mode 100644 dev-php/phpdocumentor-reflection-common/phpdocumentor-reflection-common-1.0.ebuild create mode 100644 dev-php/phpdocumentor-reflection-docblock/Manifest create mode 100644 dev-php/phpdocumentor-reflection-docblock/files/autoload.php create mode 100644 dev-php/phpdocumentor-reflection-docblock/metadata.xml create mode 100644 dev-php/phpdocumentor-reflection-docblock/phpdocumentor-reflection-docblock-3.1.1.ebuild create mode 100644 dev-php/phpdocumentor-type-resolver/Manifest create mode 100644 dev-php/phpdocumentor-type-resolver/files/autoload.php create mode 100644 dev-php/phpdocumentor-type-resolver/metadata.xml create mode 100644 dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild create mode 100644 dev-php/phpmd/Manifest create mode 100644 dev-php/phpmd/files/autoload.php create mode 100644 dev-php/phpmd/metadata.xml create mode 100644 dev-php/phpmd/phpmd-2.6.0.ebuild create mode 100644 dev-php/phpspec-prophecy/Manifest create mode 100644 dev-php/phpspec-prophecy/files/autoload-1.10.0.php create mode 100644 dev-php/phpspec-prophecy/files/autoload.php create mode 100644 dev-php/phpspec-prophecy/metadata.xml create mode 100644 dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild create mode 100644 dev-php/phpspec-prophecy/phpspec-prophecy-1.10.1.ebuild create mode 100644 dev-php/phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild create mode 100644 dev-php/phpspec-prophecy/phpspec-prophecy-1.8.0.ebuild create mode 100644 dev-php/phpspec-prophecy/phpspec-prophecy-1.9.0.ebuild create mode 100644 dev-php/phptal/Manifest create mode 100644 dev-php/phptal/metadata.xml create mode 100644 dev-php/phptal/phptal-1.3.1.ebuild create mode 100644 dev-php/phpunit-mock-objects/Manifest create mode 100644 dev-php/phpunit-mock-objects/files/autoload.php create mode 100644 dev-php/phpunit-mock-objects/metadata.xml create mode 100644 dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3-r1.ebuild create mode 100644 dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3.ebuild create mode 100644 dev-php/phpunit/Manifest create mode 100644 dev-php/phpunit/files/autoload-8.5.0.php create mode 100644 dev-php/phpunit/files/autoload.php create mode 100644 dev-php/phpunit/metadata.xml create mode 100644 dev-php/phpunit/phpunit-5.7.15-r3.ebuild create mode 100644 dev-php/phpunit/phpunit-8.5.0.ebuild create mode 100644 dev-php/phpunit/phpunit-8.5.1.ebuild create mode 100644 dev-php/phpunit/phpunit-8.5.2.ebuild create mode 100644 dev-php/phpunit/phpunit-8.5.4.ebuild create mode 100644 dev-php/phpunit/phpunit-8.5.5.ebuild create mode 100644 dev-php/psr-log/Manifest create mode 100644 dev-php/psr-log/files/autoload.php create mode 100644 dev-php/psr-log/metadata.xml create mode 100644 dev-php/psr-log/psr-log-1.0.2.ebuild create mode 100644 dev-php/psr-log/psr-log-1.1.0.ebuild create mode 100644 dev-php/psr-log/psr-log-1.1.2.ebuild create mode 100644 dev-php/psr-log/psr-log-1.1.3.ebuild create mode 100644 dev-php/realpath_turbo/Manifest create mode 100644 dev-php/realpath_turbo/metadata.xml create mode 100644 dev-php/realpath_turbo/realpath_turbo-2.0.0.ebuild create mode 100644 dev-php/recaptcha/Manifest create mode 100644 dev-php/recaptcha/metadata.xml create mode 100644 dev-php/recaptcha/recaptcha-1.2.1.ebuild create mode 100644 dev-php/sebastian-code-unit-reverse-lookup/Manifest create mode 100644 dev-php/sebastian-code-unit-reverse-lookup/files/autoload.php create mode 100644 dev-php/sebastian-code-unit-reverse-lookup/metadata.xml create mode 100644 dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.1.ebuild create mode 100644 dev-php/sebastian-comparator/Manifest create mode 100644 dev-php/sebastian-comparator/files/autoload.php create mode 100644 dev-php/sebastian-comparator/metadata.xml create mode 100644 dev-php/sebastian-comparator/sebastian-comparator-1.2.4.ebuild create mode 100644 dev-php/sebastian-comparator/sebastian-comparator-3.0.2.ebuild create mode 100644 dev-php/sebastian-diff/Manifest create mode 100644 dev-php/sebastian-diff/files/autoload-3.0.2.php create mode 100644 dev-php/sebastian-diff/files/autoload.php create mode 100644 dev-php/sebastian-diff/metadata.xml create mode 100644 dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild create mode 100644 dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild create mode 100644 dev-php/sebastian-environment/Manifest create mode 100644 dev-php/sebastian-environment/files/autoload-4.2.3.php create mode 100644 dev-php/sebastian-environment/files/autoload.php create mode 100644 dev-php/sebastian-environment/metadata.xml create mode 100644 dev-php/sebastian-environment/sebastian-environment-2.0.0.ebuild create mode 100644 dev-php/sebastian-environment/sebastian-environment-4.2.3.ebuild create mode 100644 dev-php/sebastian-exporter/Manifest create mode 100644 dev-php/sebastian-exporter/files/autoload.php create mode 100644 dev-php/sebastian-exporter/metadata.xml create mode 100644 dev-php/sebastian-exporter/sebastian-exporter-2.0.0.ebuild create mode 100644 dev-php/sebastian-exporter/sebastian-exporter-3.1.2.ebuild create mode 100644 dev-php/sebastian-global-state/Manifest create mode 100644 dev-php/sebastian-global-state/files/autoload-3.0.0.php create mode 100644 dev-php/sebastian-global-state/files/autoload.php create mode 100644 dev-php/sebastian-global-state/metadata.xml create mode 100644 dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild create mode 100644 dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild create mode 100644 dev-php/sebastian-object-enumerator/Manifest create mode 100644 dev-php/sebastian-object-enumerator/files/autoload-3.0.3.php create mode 100644 dev-php/sebastian-object-enumerator/files/autoload.php create mode 100644 dev-php/sebastian-object-enumerator/metadata.xml create mode 100644 dev-php/sebastian-object-enumerator/sebastian-object-enumerator-2.0.1.ebuild create mode 100644 dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild create mode 100644 dev-php/sebastian-object-reflector/Manifest create mode 100644 dev-php/sebastian-object-reflector/files/autoload.php create mode 100644 dev-php/sebastian-object-reflector/metadata.xml create mode 100644 dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.1.ebuild create mode 100644 dev-php/sebastian-recursion-context/Manifest create mode 100644 dev-php/sebastian-recursion-context/files/autoload.php create mode 100644 dev-php/sebastian-recursion-context/metadata.xml create mode 100644 dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild create mode 100644 dev-php/sebastian-recursion-context/sebastian-recursion-context-3.0.0.ebuild create mode 100644 dev-php/sebastian-resource-operations/Manifest create mode 100644 dev-php/sebastian-resource-operations/files/autoload.php create mode 100644 dev-php/sebastian-resource-operations/metadata.xml create mode 100644 dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild create mode 100644 dev-php/sebastian-resource-operations/sebastian-resource-operations-2.0.1.ebuild create mode 100644 dev-php/sebastian-type/Manifest create mode 100644 dev-php/sebastian-type/files/autoload.php create mode 100644 dev-php/sebastian-type/metadata.xml create mode 100644 dev-php/sebastian-type/sebastian-type-1.1.3.ebuild create mode 100644 dev-php/sebastian-version/Manifest create mode 100644 dev-php/sebastian-version/files/autoload.php create mode 100644 dev-php/sebastian-version/metadata.xml create mode 100644 dev-php/sebastian-version/sebastian-version-2.0.1.ebuild create mode 100644 dev-php/securimage/Manifest create mode 100644 dev-php/securimage/metadata.xml create mode 100644 dev-php/securimage/securimage-3.6.5.ebuild create mode 100644 dev-php/semver/Manifest create mode 100644 dev-php/semver/files/autoload.php create mode 100644 dev-php/semver/metadata.xml create mode 100644 dev-php/semver/semver-1.4.2.ebuild create mode 100644 dev-php/semver/semver-1.5.1.ebuild create mode 100644 dev-php/simpletest/Manifest create mode 100644 dev-php/simpletest/metadata.xml create mode 100644 dev-php/simpletest/simpletest-1.1.7.ebuild create mode 100644 dev-php/smarty/Manifest create mode 100644 dev-php/smarty/metadata.xml create mode 100644 dev-php/smarty/smarty-3.1.33.ebuild create mode 100644 dev-php/spdx-licenses/Manifest create mode 100644 dev-php/spdx-licenses/files/autoload.php create mode 100644 dev-php/spdx-licenses/metadata.xml create mode 100644 dev-php/spdx-licenses/spdx-licenses-1.2.0.ebuild create mode 100644 dev-php/spdx-licenses/spdx-licenses-1.4.0-r1.ebuild create mode 100644 dev-php/spdx-licenses/spdx-licenses-1.5.0.ebuild create mode 100644 dev-php/spdx-licenses/spdx-licenses-1.5.3.ebuild create mode 100644 dev-php/stringparser_bbcode/Manifest create mode 100644 dev-php/stringparser_bbcode/metadata.xml create mode 100644 dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3-r1.ebuild create mode 100644 dev-php/swoole-async/Manifest create mode 100644 dev-php/swoole-async/metadata.xml create mode 100644 dev-php/swoole-async/swoole-async-4.4.12.ebuild create mode 100644 dev-php/swoole-async/swoole-async-4.4.16.ebuild create mode 100644 dev-php/swoole/Manifest create mode 100644 dev-php/swoole/metadata.xml create mode 100644 dev-php/swoole/swoole-4.2.13.ebuild create mode 100644 dev-php/swoole/swoole-4.4.12.ebuild create mode 100644 dev-php/swoole/swoole-4.4.14.ebuild create mode 100644 dev-php/swoole/swoole-4.4.15.ebuild create mode 100644 dev-php/swoole/swoole-4.4.16.ebuild create mode 100644 dev-php/swoole/swoole-4.4.19.ebuild create mode 100644 dev-php/symfony-config/Manifest create mode 100644 dev-php/symfony-config/files/autoload.php create mode 100644 dev-php/symfony-config/metadata.xml create mode 100644 dev-php/symfony-config/symfony-config-2.8.20.ebuild create mode 100644 dev-php/symfony-console/Manifest create mode 100644 dev-php/symfony-console/files/autoload.php create mode 100644 dev-php/symfony-console/metadata.xml create mode 100644 dev-php/symfony-console/symfony-console-2.7.9-r1.ebuild create mode 100644 dev-php/symfony-console/symfony-console-2.8.43.ebuild create mode 100644 dev-php/symfony-console/symfony-console-2.8.48.ebuild create mode 100644 dev-php/symfony-console/symfony-console-2.8.50.ebuild create mode 100644 dev-php/symfony-console/symfony-console-2.8.52.ebuild create mode 100644 dev-php/symfony-dependency-injection/Manifest create mode 100644 dev-php/symfony-dependency-injection/files/autoload.php create mode 100644 dev-php/symfony-dependency-injection/metadata.xml create mode 100644 dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.20.ebuild create mode 100644 dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.50.ebuild create mode 100644 dev-php/symfony-event-dispatcher/Manifest create mode 100644 dev-php/symfony-event-dispatcher/files/autoload.php create mode 100644 dev-php/symfony-event-dispatcher/metadata.xml create mode 100644 dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild create mode 100644 dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild create mode 100644 dev-php/symfony-filesystem/Manifest create mode 100644 dev-php/symfony-filesystem/files/autoload.php create mode 100644 dev-php/symfony-filesystem/metadata.xml create mode 100644 dev-php/symfony-filesystem/symfony-filesystem-3.4.28.ebuild create mode 100644 dev-php/symfony-filesystem/symfony-filesystem-3.4.36.ebuild create mode 100644 dev-php/symfony-finder/Manifest create mode 100644 dev-php/symfony-finder/files/autoload.php create mode 100644 dev-php/symfony-finder/files/skip-file-time-sort-tests.patch create mode 100644 dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch create mode 100644 dev-php/symfony-finder/metadata.xml create mode 100644 dev-php/symfony-finder/symfony-finder-3.2.8.ebuild create mode 100644 dev-php/symfony-finder/symfony-finder-3.4.28.ebuild create mode 100644 dev-php/symfony-finder/symfony-finder-3.4.38.ebuild create mode 100644 dev-php/symfony-process/Manifest create mode 100644 dev-php/symfony-process/files/autoload.php create mode 100644 dev-php/symfony-process/metadata.xml create mode 100644 dev-php/symfony-process/symfony-process-3.4.29.ebuild create mode 100644 dev-php/symfony-process/symfony-process-3.4.38.ebuild create mode 100644 dev-php/symfony-yaml/Manifest create mode 100644 dev-php/symfony-yaml/files/autoload.php create mode 100644 dev-php/symfony-yaml/metadata.xml create mode 100644 dev-php/symfony-yaml/symfony-yaml-2.1.0.ebuild create mode 100644 dev-php/tcpdf/Manifest create mode 100644 dev-php/tcpdf/metadata.xml create mode 100644 dev-php/tcpdf/tcpdf-6.2.25.ebuild create mode 100644 dev-php/tcpdf/tcpdf-6.2.26.ebuild create mode 100644 dev-php/theseer-tokenizer/Manifest create mode 100644 dev-php/theseer-tokenizer/files/autoload.php create mode 100644 dev-php/theseer-tokenizer/metadata.xml create mode 100644 dev-php/theseer-tokenizer/theseer-tokenizer-1.1.0.ebuild create mode 100644 dev-php/theseer-tokenizer/theseer-tokenizer-1.1.3.ebuild create mode 100644 dev-php/twig/Manifest create mode 100644 dev-php/twig/files/Autoloader.php create mode 100644 dev-php/twig/metadata.xml create mode 100644 dev-php/twig/twig-1.40.1-r1.ebuild create mode 100644 dev-php/twig/twig-1.42.3-r1.ebuild create mode 100644 dev-php/twig/twig-1.42.3.ebuild create mode 100644 dev-php/webmozart-assert/Manifest create mode 100644 dev-php/webmozart-assert/files/autoload.php create mode 100644 dev-php/webmozart-assert/metadata.xml create mode 100644 dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild create mode 100644 dev-php/webmozart-assert/webmozart-assert-1.4.0.ebuild create mode 100644 dev-php/xdebug-client/Manifest create mode 100644 dev-php/xdebug-client/metadata.xml create mode 100644 dev-php/xdebug-client/xdebug-client-2.9.4.ebuild create mode 100644 dev-php/xdebug-client/xdebug-client-2.9.5.ebuild create mode 100644 dev-php/xdebug-client/xdebug-client-2.9.6.ebuild create mode 100644 dev-php/xdebug-handler/Manifest create mode 100644 dev-php/xdebug-handler/files/autoload.php create mode 100644 dev-php/xdebug-handler/metadata.xml create mode 100644 dev-php/xdebug-handler/xdebug-handler-1.3.0.ebuild create mode 100644 dev-php/xdebug-handler/xdebug-handler-1.3.1.ebuild create mode 100644 dev-php/xdebug-handler/xdebug-handler-1.4.1.ebuild create mode 100644 dev-php/xdebug/Manifest create mode 100644 dev-php/xdebug/files/2.6.0-xdebug.ini create mode 100644 dev-php/xdebug/metadata.xml create mode 100644 dev-php/xdebug/xdebug-2.9.4.ebuild create mode 100644 dev-php/xdebug/xdebug-2.9.5.ebuild create mode 100644 dev-php/xdebug/xdebug-2.9.6.ebuild create mode 100644 dev-php/xhprof/Manifest create mode 100644 dev-php/xhprof/metadata.xml create mode 100644 dev-php/xhprof/xhprof-0.9.10.ebuild create mode 100644 dev-php/xhprof/xhprof-2.1.4.ebuild (limited to 'dev-php') diff --git a/dev-php/File_Iterator/File_Iterator-1.3.4.ebuild b/dev-php/File_Iterator/File_Iterator-1.3.4.ebuild new file mode 100644 index 000000000000..78a56a955c63 --- /dev/null +++ b/dev-php/File_Iterator/File_Iterator-1.3.4.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_PEAR_DOMAIN="pear.phpunit.de" +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_PKG_NAME="File_Iterator" +inherit php-pear-r2 + +DESCRIPTION="FilterIterator implementation that filters files based on a list of suffixes" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="" +HOMEPAGE="https://github.com/sebastianbergmann/php-file-iterator + https://phpunit.de" +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" +DOCS=( ChangeLog.markdown README.markdown ) diff --git a/dev-php/File_Iterator/File_Iterator-1.4.2.ebuild b/dev-php/File_Iterator/File_Iterator-1.4.2.ebuild new file mode 100644 index 000000000000..5a99e1487807 --- /dev/null +++ b/dev-php/File_Iterator/File_Iterator-1.4.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="php-file-iterator" + +DESCRIPTION="FilterIterator implementation that filters files based on criteria" +HOMEPAGE="https://github.com/sebastianbergmann/php-file-iterator + https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/File/Iterator + doins -r src/* + doins "${FILESDIR}/autoload.php" +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/File/Iterator/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/File_Iterator/File_Iterator-1.4.3.ebuild b/dev-php/File_Iterator/File_Iterator-1.4.3.ebuild new file mode 100644 index 000000000000..9068f6072639 --- /dev/null +++ b/dev-php/File_Iterator/File_Iterator-1.4.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="php-file-iterator" + +DESCRIPTION="FilterIterator implementation that filters files based on criteria" +HOMEPAGE="https://github.com/sebastianbergmann/php-file-iterator + https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/File/Iterator + doins -r src/* + doins "${FILESDIR}/autoload.php" +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/File/Iterator/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/File_Iterator/File_Iterator-2.0.2-r1.ebuild b/dev-php/File_Iterator/File_Iterator-2.0.2-r1.ebuild new file mode 100644 index 000000000000..b2508d50cec0 --- /dev/null +++ b/dev-php/File_Iterator/File_Iterator-2.0.2-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="php-file-iterator" + +DESCRIPTION="FilterIterator implementation that filters files based on criteria" +HOMEPAGE="https://github.com/sebastianbergmann/php-file-iterator + https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/File/Iterator + doins -r src/* + newins "${FILESDIR}/autoload-2.0.2.php" autoload.php +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/File/Iterator/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/File_Iterator/File_Iterator-2.0.2.ebuild b/dev-php/File_Iterator/File_Iterator-2.0.2.ebuild new file mode 100644 index 000000000000..95a6e0b5b8e7 --- /dev/null +++ b/dev-php/File_Iterator/File_Iterator-2.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="php-file-iterator" + +DESCRIPTION="FilterIterator implementation that filters files based on criteria" +HOMEPAGE="https://github.com/sebastianbergmann/php-file-iterator + https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/File/Iterator + doins -r src/* + doins "${FILESDIR}/autoload.php" +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/File/Iterator/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/File_Iterator/Manifest b/dev-php/File_Iterator/Manifest new file mode 100644 index 000000000000..8095864454b0 --- /dev/null +++ b/dev-php/File_Iterator/Manifest @@ -0,0 +1,4 @@ +DIST File_Iterator-1.3.4.tgz 5199 BLAKE2B 75da70ad638230dd231947e3af26c2570eff367328d2e541fb1228ba531c0f249c931a9185f977dce9e17846e1e9b8b1f9f8d21219291e637b2eaf7805dcf360 SHA512 7117e0e56a9bc533d9f93556366a8026d1e5a9a3894c05551adef6c1e6cd556c1ebf6b96bd98279cb92077b3d8f8d7b7e42f446b39895850e573d0ec511392be +DIST File_Iterator-1.4.2.tar.gz 4141 BLAKE2B 4c8d9847fa198d444571acdf777020b76e87e09506038c7d7ce732b97c149149bcf22dc25d0af36f041b7930673b05f940df8211c29829e0fed2b3dcfae0ba05 SHA512 295943681853c858e3e1c336c030338c61a74169bd2a619da6fca8c43611e587c6f626fa92799d614bcb0a1f86bbb39895b20f2a389107cedb9660a7e792a243 +DIST File_Iterator-1.4.3.tar.gz 4140 BLAKE2B 89274c6f9b561dbc732d0b81f06b7c34d267ea31d1deb5977eaa16852d87442183221ed6789fd5e09b80ef96811df2ff8ef5da5c764703f5e7a2d5289f582527 SHA512 cea906d6028d9c2dbbb5486198adbecbca87f8b4dcbe12f72b9732ac29cf8eb868a23af7a5bcf2de55e0040a077ab55b016e773d5145f987f7e3f9671ad3ea28 +DIST File_Iterator-2.0.2.tar.gz 7239 BLAKE2B af2cc29d087bd597b10fd1d22a35c906deca70eb79bbcbb52ca3d8c408cbe8887233b69ba7f9c37fe639ff7d544d1109609a0b2e59c5f49bb286aee3e3f3f2d1 SHA512 2f1acee0358e03bd831d0228dfd2fc65848f7105e0dabb6cf81890d8549e3f39037a01bed2357316a27bb863955c1f51d56770c0ea733f5389d8e47f30050687 diff --git a/dev-php/File_Iterator/files/autoload-2.0.2.php b/dev-php/File_Iterator/files/autoload-2.0.2.php new file mode 100644 index 000000000000..746fefa88809 --- /dev/null +++ b/dev-php/File_Iterator/files/autoload-2.0.2.php @@ -0,0 +1,15 @@ + '/Facade.php', + 'sebastianbergmann\\fileiterator\\factory' => '/Factory.php', + 'sebastianbergmann\\fileiterator\\iterator' => '/Iterator.php', + ], + __DIR__ +); diff --git a/dev-php/File_Iterator/files/autoload.php b/dev-php/File_Iterator/files/autoload.php new file mode 100644 index 000000000000..71372f0a8bbe --- /dev/null +++ b/dev-php/File_Iterator/files/autoload.php @@ -0,0 +1,15 @@ + '/Iterator.php', + 'file_iterator_facade' => '/Facade.php', + 'file_iterator_factory' => '/Factory.php', + ), + __DIR__ +); diff --git a/dev-php/File_Iterator/files/channel.xml b/dev-php/File_Iterator/files/channel.xml new file mode 100644 index 000000000000..91bb6786f543 --- /dev/null +++ b/dev-php/File_Iterator/files/channel.xml @@ -0,0 +1,16 @@ + + + pear.phpunit.de + PHPUnit PEAR Channel + phpunit + + + + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + + + + \ No newline at end of file diff --git a/dev-php/File_Iterator/metadata.xml b/dev-php/File_Iterator/metadata.xml new file mode 100644 index 000000000000..e3348aad4d4c --- /dev/null +++ b/dev-php/File_Iterator/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/php-file-iterator + + gentoo-staging + diff --git a/dev-php/PEAR-Archive_Tar/Manifest b/dev-php/PEAR-Archive_Tar/Manifest new file mode 100644 index 000000000000..abdc038e47d2 --- /dev/null +++ b/dev-php/PEAR-Archive_Tar/Manifest @@ -0,0 +1,4 @@ +DIST Archive_Tar-1.4.5.tgz 20919 BLAKE2B 506b2fae8f99634cf40ecff9c5ec695c101f4e14ae867795851a7e238a62c2611581aaab1cc0e9a9354184b20ba141f29ae3998881e7ebf777c596e5dc251577 SHA512 7a7e16e37b0c7112a77333ed2c4d0a0ae57cc1e971191c79b1858227b46f967aee915757a81bdfef3a9487a53b81a99bfbe84f78a346671fe44ac9f1f203a358 +DIST Archive_Tar-1.4.7.tgz 21134 BLAKE2B 15bc4e7f74a61062d10fa69bb826bbf92dbee6fc3f45da32a2b25964f3e042c0559e0614be13592b68cdea0a819315f43c4331d9dc90e94dd3c773f38c379e99 SHA512 e496fdcb1e7a2bbbc4aae88bae5793b0da6e7e7ee0ebbab78de14279cc3a5b7a2ec30d1424c3977ba6e4edd4780c0cb8dcf4288a7495252e28c560b8781d5b75 +DIST Archive_Tar-1.4.8.tgz 21236 BLAKE2B fded2febc840bdcfd072e4ff44b3002078899c01a3aa3110cd5b54fbb1695e856f5faad447330d174e4b3b73e515d15de7a700c6a0e588f7e038b79e09f02362 SHA512 b4fe4944a6f261de0c9e28aeee7f50fc7220400c6abad3093c81b1b3b98cbb179abb17b53e90071af6f2fb0f13dfabb24a51d826f4bc632631f1e60e038728e1 +DIST Archive_Tar-1.4.9.tgz 21343 BLAKE2B c951a909c151c4582841692dfd85068031ac80f7925b562c408ab8d454fbf693b8dfc046137150ee5ea5e452a669c2f25a8017c5e623ef095fa81e799451f50a SHA512 c0cce8213926aa9fde07bf46d77015b2dfbfe878cf386df43fcd4cf346b4ffdb2587676cfb69fc917cc31b63507c33702938a22aeb26e16b5ea27039c525c4e1 diff --git a/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.5.ebuild b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.5.ebuild new file mode 100644 index 000000000000..b4314c0f2407 --- /dev/null +++ b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Tar file management class" +HOMEPAGE="https://pear.php.net/package/Archive_Tar" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +# bzip2 and zlib are needed for compressed tarballs, and there's one +# call to preg_match to test paths against a pattern of files and +# directories that will be ignored. +RDEPEND="dev-lang/php:*[bzip2,pcre(+),zlib]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Archive + + dodoc docs/* +} diff --git a/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.7.ebuild b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.7.ebuild new file mode 100644 index 000000000000..ec77b9463d55 --- /dev/null +++ b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Tar file management class" +HOMEPAGE="https://pear.php.net/package/Archive_Tar" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +# bzip2 and zlib are needed for compressed tarballs, and there's one +# call to preg_match to test paths against a pattern of files and +# directories that will be ignored. +RDEPEND="dev-lang/php:*[bzip2,pcre(+),zlib]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Archive + + dodoc docs/* +} diff --git a/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.8.ebuild b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.8.ebuild new file mode 100644 index 000000000000..ec77b9463d55 --- /dev/null +++ b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.8.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Tar file management class" +HOMEPAGE="https://pear.php.net/package/Archive_Tar" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +# bzip2 and zlib are needed for compressed tarballs, and there's one +# call to preg_match to test paths against a pattern of files and +# directories that will be ignored. +RDEPEND="dev-lang/php:*[bzip2,pcre(+),zlib]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Archive + + dodoc docs/* +} diff --git a/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.9.ebuild b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.9.ebuild new file mode 100644 index 000000000000..b4314c0f2407 --- /dev/null +++ b/dev-php/PEAR-Archive_Tar/PEAR-Archive_Tar-1.4.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Tar file management class" +HOMEPAGE="https://pear.php.net/package/Archive_Tar" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +# bzip2 and zlib are needed for compressed tarballs, and there's one +# call to preg_match to test paths against a pattern of files and +# directories that will be ignored. +RDEPEND="dev-lang/php:*[bzip2,pcre(+),zlib]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Archive + + dodoc docs/* +} diff --git a/dev-php/PEAR-Archive_Tar/metadata.xml b/dev-php/PEAR-Archive_Tar/metadata.xml new file mode 100644 index 000000000000..3b500f1553f6 --- /dev/null +++ b/dev-php/PEAR-Archive_Tar/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Archive_Tar + + gentoo-staging + diff --git a/dev-php/PEAR-Auth_SASL/Manifest b/dev-php/PEAR-Auth_SASL/Manifest new file mode 100644 index 000000000000..d45b685f653c --- /dev/null +++ b/dev-php/PEAR-Auth_SASL/Manifest @@ -0,0 +1 @@ +DIST Auth_SASL-1.1.0.tgz 9380 BLAKE2B ab04812883b5b1a88fe1440f23e206e39676807c69bc029e81e539eb5588a4fa15bcb6f867f109a5eb86d0758bf9fb4f30664a8fdac7aee59a0426f5da6e6dbf SHA512 446ffa37fe7669d3993613167b07fb173c2e17664dcfb56d96a889b4a0cb2c83cc73d307aee15fc8fa7e666502835c15d09c32d8a491060bdd23c9093346bc40 diff --git a/dev-php/PEAR-Auth_SASL/PEAR-Auth_SASL-1.1.0.ebuild b/dev-php/PEAR-Auth_SASL/PEAR-Auth_SASL-1.1.0.ebuild new file mode 100644 index 000000000000..57a5366aab6d --- /dev/null +++ b/dev-php/PEAR-Auth_SASL/PEAR-Auth_SASL-1.1.0.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Abstraction of various SASL mechanism responses" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1" diff --git a/dev-php/PEAR-Auth_SASL/metadata.xml b/dev-php/PEAR-Auth_SASL/metadata.xml new file mode 100644 index 000000000000..ef4d6de38c9a --- /dev/null +++ b/dev-php/PEAR-Auth_SASL/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Auth_SASL + + gentoo-staging + diff --git a/dev-php/PEAR-Cache/Manifest b/dev-php/PEAR-Cache/Manifest new file mode 100644 index 000000000000..2aebf8de6968 --- /dev/null +++ b/dev-php/PEAR-Cache/Manifest @@ -0,0 +1 @@ +DIST Cache-1.5.6.tgz 31384 BLAKE2B 08a9a1bdb913d434bc979d9a21c45c36cad03763554226291924cffba462c2b52cf4266972e616ac7f3cf09c605ee1a56337070058f494187d6bbf14812fc235 SHA512 6c42901d9a462c803ff349650519fdb705bc56bebf1d106bd0796e35bf3ee6b4e1f783a3af022f024d9473a7e75eb14ff1954decc0a4c133817a8ed65e42f29a diff --git a/dev-php/PEAR-Cache/PEAR-Cache-1.5.6-r2.ebuild b/dev-php/PEAR-Cache/PEAR-Cache-1.5.6-r2.ebuild new file mode 100644 index 000000000000..b8d1392509c8 --- /dev/null +++ b/dev-php/PEAR-Cache/PEAR-Cache-1.5.6-r2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Framework for caching of arbitrary data" + +LICENSE="PHP-2.02" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +src_install() { + insinto /usr/share/php + doins Cache.php + # HTTP_Request is deprecated and superceeded upstream, bypassing + insinto /usr/share/php/Cache + doins -r Application.php Container Container.php Error.php Function.php Graphics.php OutputCompression.php Output.php + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/PEAR-Cache/metadata.xml b/dev-php/PEAR-Cache/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Cache/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Cache_Lite/Manifest b/dev-php/PEAR-Cache_Lite/Manifest new file mode 100644 index 000000000000..107fa5095c68 --- /dev/null +++ b/dev-php/PEAR-Cache_Lite/Manifest @@ -0,0 +1,2 @@ +DIST Cache_Lite-1.8.2.tgz 33873 BLAKE2B 0b5a21550fe6eb33242e97b135a7e2532fb0a3a047dfb3e858bf6a6bdc21e991007e4787764561baa9a165fdebd159caa33c14c822a29374be4081d07a63c858 SHA512 dfb3c2dadd0ca60cc62ad71fd6fc51c0665901b4370207dfeb1f0f56e9db4fb24724d22f2939f67d8aa044e1b465483c40ec34fb3bcc5e12031d4dd1e05953b4 +DIST Cache_Lite-1.8.3.tgz 34036 BLAKE2B ca0b404371d370c7aeda2c83805d9f0c7c864063ffe597a277f123fd1de991e0e1c15e134ffa674bd387cc1d3cbb09eed047c7f10b8fbc755c0c8749483b2d01 SHA512 700376dd33afd0b1ed812d0d3dbdc14ad5523b3b181ac64ef0d56b62040c3d7bc9f234b3dae8013876a902f21da8dc92b1de41cea11aa428036bcc6e96166e65 diff --git a/dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.2.ebuild b/dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.2.ebuild new file mode 100644 index 000000000000..468533acd109 --- /dev/null +++ b/dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.2.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit php-pear-r2 + +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +DESCRIPTION="Fast and safe little cache system" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1" +DEPEND="test? ( ${RDEPEND} )" +DOCS=( README.md TODO docs/technical docs/examples ) + +src_test() { + peardev run-tests -r || die +} diff --git a/dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.3.ebuild b/dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.3.ebuild new file mode 100644 index 000000000000..8e86b80d4732 --- /dev/null +++ b/dev-php/PEAR-Cache_Lite/PEAR-Cache_Lite-1.8.3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit php-pear-r2 + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +DESCRIPTION="Fast and safe little cache system" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1" +DEPEND="test? ( ${RDEPEND} )" +DOCS=( README.md TODO docs/technical docs/examples ) + +src_test() { + peardev run-tests -r || die +} diff --git a/dev-php/PEAR-Cache_Lite/metadata.xml b/dev-php/PEAR-Cache_Lite/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Cache_Lite/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Config/Manifest b/dev-php/PEAR-Config/Manifest new file mode 100644 index 000000000000..490f5af63c62 --- /dev/null +++ b/dev-php/PEAR-Config/Manifest @@ -0,0 +1 @@ +DIST Config-2.0.0_pre20140323.tar.gz 34309 BLAKE2B 4c9af6b488f874f58a54a6051a41dbbfd04d2ca042089ce1433b5a11ec2e3e7d35c0b4a08bae7cb5081a7da0d5d08c5f14e982178e1cc409194f80cc46cd4e32 SHA512 7056724cde7d39f5a2ac69c8e2dffd0ff57cb8caba6f014b5cb2a3b047946ca160fb4c30c01cf1986286d885893c9e0f504cee8920b46324987f707b5408be24 diff --git a/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild b/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild new file mode 100644 index 000000000000..441cc05883f8 --- /dev/null +++ b/dev-php/PEAR-Config/PEAR-Config-2.0.0_pre20140323-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 vcs-snapshot + +DESCRIPTION="Provides multiple methods for configuration manipulation" +LICENSE="PHP-2.02" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test xml" +RESTRICT="!test? ( test )" +RDEPEND="xml? ( dev-php/PEAR-XML_Parser dev-php/PEAR-XML_Util )" +DEPEND="test? ( ${RDEPEND} )" +SRC_URI="https://github.com/pear/Config/archive/606a24034ad80f9d6ccb5a8b698b702b392e4674.tar.gz -> ${PEAR_P}.tar.gz" +DOCS=( docs/TODO ) +HTML_DOCS=( docs/Apache.php docs/IniCommented.php docs/IniFromScratch.php ) + +src_prepare() { + # Move snapshot location to where the eclass expects + mv "${S}/package.xml" "${WORKDIR}/package.xml" || die + sed -i 's/&new/new/' test/phpt_test.php.inc || die + sed -i 's/& new/ new/' test/bug6441.phpt || die + eapply_user +} + +src_test() { + pear run-tests test || die "Tests failed" +} diff --git a/dev-php/PEAR-Config/metadata.xml b/dev-php/PEAR-Config/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Config/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Console_CommandLine/Manifest b/dev-php/PEAR-Console_CommandLine/Manifest new file mode 100644 index 000000000000..08a0a05aec75 --- /dev/null +++ b/dev-php/PEAR-Console_CommandLine/Manifest @@ -0,0 +1 @@ +DIST Console_CommandLine-1.2.2.tgz 40705 BLAKE2B 1cf2fd7ffdafe1b6e683d40e24c07bc12c9e41469e42595f40778f0bfef30457b32f80b966835a690724e29216348be0fb3f98a83947459d48f728896a5a056a SHA512 05dbde123d0d4fdbba2a959f4bea3b115e3629060a268d25a3007c2ee5a3530b8ebbd8c7d124a6c9d012cafa19f41690a888943a6c1e2e5ec1b9d83fa821d603 diff --git a/dev-php/PEAR-Console_CommandLine/PEAR-Console_CommandLine-1.2.2.ebuild b/dev-php/PEAR-Console_CommandLine/PEAR-Console_CommandLine-1.2.2.ebuild new file mode 100644 index 000000000000..d3788c8cdeb3 --- /dev/null +++ b/dev-php/PEAR-Console_CommandLine/PEAR-Console_CommandLine-1.2.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A full-featured command-line options and arguments parser" +HOMEPAGE="https://pear.php.net/package/Console_CommandLine" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm hppa ~ia64 ppc ppc64 sparc x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +# Only needs PEAR_Exception (not yet packaged) -- not all of PEAR-PEAR. +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" + +# Beware, the test suite really needs PEAR-PEAR. +DEPEND="test? ( ${RDEPEND} )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # There's one occurrence of @data_dir@ that needs to be replaced + # This location just has to agree with where we put the "data" + # directory during src_install(). + default + sed -i "s|@data_dir@|${EPREFIX}/usr/share|" \ + Console/CommandLine/XmlParser.php || die +} + +src_install() { + use examples && dodoc -r docs/examples + + insinto "/usr/share/${MY_PN}" + doins -r data + + insinto /usr/share/php + doins -r Console +} + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Console_CommandLine/metadata.xml b/dev-php/PEAR-Console_CommandLine/metadata.xml new file mode 100644 index 000000000000..dbb5af8423e3 --- /dev/null +++ b/dev-php/PEAR-Console_CommandLine/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Console_CommandLine + Console_CommandLine + + gentoo-staging + diff --git a/dev-php/PEAR-Console_Getargs/Manifest b/dev-php/PEAR-Console_Getargs/Manifest new file mode 100644 index 000000000000..26707a5cf28a --- /dev/null +++ b/dev-php/PEAR-Console_Getargs/Manifest @@ -0,0 +1 @@ +DIST Console_Getargs-1.4.0.tgz 18267 BLAKE2B c0aab73414a0b6dec9818faa2eae4a4f54d70168d089bb64497599e88f4b8ff86e4195e3705a75bece25f6c7d1054759b846be75f7fc749f1d50b4447ad9ec50 SHA512 927777f48599f64e2cdb05b80a473741718493e9efc20988f2993e6b092852f1432e2e9732c1470f7d580fc7e4000d563b7915a94305fe572b7f6dc27da0858e diff --git a/dev-php/PEAR-Console_Getargs/PEAR-Console_Getargs-1.4.0.ebuild b/dev-php/PEAR-Console_Getargs/PEAR-Console_Getargs-1.4.0.ebuild new file mode 100644 index 000000000000..5a186bc0478f --- /dev/null +++ b/dev-php/PEAR-Console_Getargs/PEAR-Console_Getargs-1.4.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit php-pear-r2 + +DESCRIPTION="A command-line arguments parser" + +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-php/phpunit )" + +src_test() { + phpunit tests/ || die +} diff --git a/dev-php/PEAR-Console_Getargs/metadata.xml b/dev-php/PEAR-Console_Getargs/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Console_Getargs/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Console_Getopt/Manifest b/dev-php/PEAR-Console_Getopt/Manifest new file mode 100644 index 000000000000..508f8fc1e759 --- /dev/null +++ b/dev-php/PEAR-Console_Getopt/Manifest @@ -0,0 +1,2 @@ +DIST Console_Getopt-1.4.1.tgz 5580 BLAKE2B 514d44cfd2bb7c8bcda49df2b6ba4dafc77184557f58f52c02c6a136e335639e65b7c10f5659dad9d7a87e946d60947121cb5f35a72b6d29fbb3efa3e535283b SHA512 cbf12a72b33424935f019b17ae8fa55289eae77d3845dcfcbbc1c47b71111992d2c0eb837b0f262ce644809c3cc06ad0c2bb04aa1b6ec89a1e3122f327114dbd +DIST Console_Getopt-1.4.3.tgz 5789 BLAKE2B 641432105696e93160fd6a3ade4ee8c1bd7780cc502668266485d8c747fc8ceb97ce70ebdab8f61a739a4bf8267bfc936f0c9fd51b408add680a2288d49e0412 SHA512 7803e063576e9dac6833064b5a1479d22ca31c2a8ef8036ae530271e4e824fedb94e54d63266be8929f90f8df745b3ada7185dc98319b331f8dc5e9cac5445a0 diff --git a/dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.1-r1.ebuild b/dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.1-r1.ebuild new file mode 100644 index 000000000000..3a0c69449f47 --- /dev/null +++ b/dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Command-line option parser" +HOMEPAGE="https://pear.php.net/package/Console_Getopt" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*" +PDEPEND="dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Console +} diff --git a/dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.3.ebuild b/dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.3.ebuild new file mode 100644 index 000000000000..1f5d8be072f4 --- /dev/null +++ b/dev-php/PEAR-Console_Getopt/PEAR-Console_Getopt-1.4.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Command-line option parser" +HOMEPAGE="https://pear.php.net/package/Console_Getopt" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*" +PDEPEND="dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Console +} diff --git a/dev-php/PEAR-Console_Getopt/metadata.xml b/dev-php/PEAR-Console_Getopt/metadata.xml new file mode 100644 index 000000000000..0059b9071e53 --- /dev/null +++ b/dev-php/PEAR-Console_Getopt/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Console_Getopt + + gentoo-staging + diff --git a/dev-php/PEAR-Console_Table/Manifest b/dev-php/PEAR-Console_Table/Manifest new file mode 100644 index 000000000000..86e0192a2d93 --- /dev/null +++ b/dev-php/PEAR-Console_Table/Manifest @@ -0,0 +1,2 @@ +DIST Console_Table-1.3.0.tgz 11391 BLAKE2B 25cbb72f2fa23026320840eb3e3b85f08dfc6a90ae9a613ec3e7251b407fc971c0a8aad3ac6bccbb9cd99066aca30249373539b8758fed58b0d1fc53898fc71b SHA512 83227ce8e55ae38cdf91b7097879a3406898064d1c047c5a94c6cadc46cbeeea51c43d135e6aadfbdb38fa080a1b27a1d4cea1c36ff9eb3e14dc4b04de334c11 +DIST Console_Table-1.3.1.tgz 11492 BLAKE2B bff94b2ae1b6d23eaf9a60deee4e78ee3467eff9d53c1d6ac8330347647b54700d4b3cf30be84c071afc34a4517b3135f6b18011418ea5dfc0e2841da1a30874 SHA512 abac68c20bb670b29f405625edff0330ce5af51763a50ee7482c3ab9d39c7335134d77c0f1a94ce4914c2f454d493a685841e07628eb2aa58cc66617521b6a65 diff --git a/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0-r1.ebuild b/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0-r1.ebuild new file mode 100644 index 000000000000..7f52dbd5d651 --- /dev/null +++ b/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.0-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Class that makes it easy to build console style tables" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" + +src_install() { + insinto /usr/share/php/Console + doins Table.php + php-pear-r2_install_packagexml +} diff --git a/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.1.ebuild b/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.1.ebuild new file mode 100644 index 000000000000..fe0e497cf0c0 --- /dev/null +++ b/dev-php/PEAR-Console_Table/PEAR-Console_Table-1.3.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="Class that makes it easy to build console style tables" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +BDEPEND="test? ( dev-php/pear )" + +src_install() { + insinto /usr/share/php/Console + doins Table.php + php-pear-r2_install_packagexml +} + +src_test() { + pear run-tests tests || die "Tests failed" +} diff --git a/dev-php/PEAR-Console_Table/metadata.xml b/dev-php/PEAR-Console_Table/metadata.xml new file mode 100644 index 000000000000..b08d897b51ab --- /dev/null +++ b/dev-php/PEAR-Console_Table/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Console_Table + + gentoo-staging + diff --git a/dev-php/PEAR-Crypt_CHAP/Manifest b/dev-php/PEAR-Crypt_CHAP/Manifest new file mode 100644 index 000000000000..014b6ca8f7d0 --- /dev/null +++ b/dev-php/PEAR-Crypt_CHAP/Manifest @@ -0,0 +1 @@ +DIST Crypt_CHAP-1.5.0.tgz 5549 BLAKE2B 7b79e311d36a7c59b4838f5d0bfda1a39792519f53e036fb2f500130cd9265280fb2e2fb31683d95dee283875fe738746b19c78fc80fa0fd965e19f431d032ac SHA512 44cdfdf0bc857b3992c2635945374033112d972cdefeac8a45810f5b79a6a532de67fc5e9a06f2ec4b3ce4df62e300451d0f4078b4f8ecc9805dca5c08f6aa95 diff --git a/dev-php/PEAR-Crypt_CHAP/PEAR-Crypt_CHAP-1.5.0-r3.ebuild b/dev-php/PEAR-Crypt_CHAP/PEAR-Crypt_CHAP-1.5.0-r3.ebuild new file mode 100644 index 000000000000..316e144e79a8 --- /dev/null +++ b/dev-php/PEAR-Crypt_CHAP/PEAR-Crypt_CHAP-1.5.0-r3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="Generating CHAP packets" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +# Crypt_CHAP_MSv1 needs mcrypt which is gone in 7.2+ +RDEPEND="|| ( ( dev-php/pecl-mcrypt >=dev-lang/php-7.2:*[hash(+)] ) + generateChallenge(); ++ } ++ + /** + * Constructor + * +@@ -160,7 +172,19 @@ + * @var bool + */ + var $flags = 1; +- ++ ++ /** ++ * Constructor ++ * ++ * Loads the hash extension ++ * @return void ++ */ ++ function __construct() ++ { ++ parent::__construct(); ++ $this->loadExtension('hash'); ++ } ++ + /** + * Constructor + * +@@ -412,6 +436,19 @@ + /** + * Constructor + * ++ * Generates the 16 Bytes peer and authentication challenge ++ * @return void ++ */ ++ function __construct() ++ { ++ parent::__construct(); ++ $this->generateChallenge('peerChallenge', 16); ++ $this->generateChallenge('authChallenge', 16); ++ } ++ ++ /** ++ * Constructor ++ * + * Generates the 16 Bytes peer and authentication challenge + * @return void + */ diff --git a/dev-php/PEAR-Crypt_CHAP/metadata.xml b/dev-php/PEAR-Crypt_CHAP/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Crypt_CHAP/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Crypt_GPG/Manifest b/dev-php/PEAR-Crypt_GPG/Manifest new file mode 100644 index 000000000000..56adfac25354 --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/Manifest @@ -0,0 +1,3 @@ +DIST Crypt_GPG-1.6.2.tgz 346709 BLAKE2B abced2fe8c909f06690c38884506ce03df4c5ef3ef460aafce65ea9405c6974f8af320fd5a07a7967b45421a9a67aa27026c28ef7eb1402ffefba527007a33ae SHA512 9d954d96b4e461c75f79ce9bc701d062e3f19671690228e6e0ce5265733ac1de9c06520f9f750348f3c37f01ccb79720574b2d2f371e69c8a25ae6e1bc18aabd +DIST Crypt_GPG-1.6.3.tgz 346999 BLAKE2B 8402ef382a6393972a3fda7370fbd37dec19d0ebabb6b316d35783538dbc01746476977d7dc3da487876201cd678964d9572dc67a43911319b1b614004a3c909 SHA512 f1ad2560a43a1e8f5a33269bc4ae4067e19e5325fdbd8d2fc55f6cb8aad89258df45fbecedd93a21749f33024c819f07399580b1a4760f5740f26043109dc396 +DIST Crypt_GPG-1.6.4.tgz 346390 BLAKE2B 22e9e9d893f96bb3c3dc538b168a35366d2b699e92bf832370223879e90e8018cfd3b736e099807fdcc897b7569a40af66e72f011eaeb7400477053b7838409d SHA512 3eee39702abe97fc322e5976ebe8a7f7ba07bc950d22aa6636cadf38b0bd9c6c6316d7be35f21a8d0e8dfdb66a76db33121edb34736869d31ae89b03468cf470 diff --git a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild new file mode 100644 index 000000000000..dfc934dcbed9 --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_PV="${PV/_/}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)" +HOMEPAGE="https://pear.php.net/package/Crypt_GPG" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 arm hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="app-crypt/gnupg + dev-lang/php:*[posix,unicode] + dev-php/PEAR-Console_CommandLine + dev-php/PEAR-Exception" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/fix-unit-tests-with-new-gpg.patch" ) + +src_prepare() { + default + sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die + sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die + sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die +} + +src_install() { + dodoc README.md + dobin scripts/crypt-gpg-pinentry + + insinto "/usr/share/${MY_PN}" + doins -r data + + insinto /usr/share/php + doins -r Crypt +} + +src_test() { + phpunit tests/ || die "test suite failed" +} diff --git a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild new file mode 100644 index 000000000000..46eb948e97d4 --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_PV="${PV/_/}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)" +HOMEPAGE="https://pear.php.net/package/Crypt_GPG" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="app-crypt/gnupg + dev-lang/php:*[posix,unicode] + dev-php/PEAR-Console_CommandLine + dev-php/PEAR-Exception" +BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die + sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die + sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die +} + +src_install() { + dodoc README.md + dobin scripts/crypt-gpg-pinentry + + insinto "/usr/share/${MY_PN}" + doins -r data + + insinto /usr/share/php + doins -r Crypt +} + +src_test() { + phpunit tests/ || die "test suite failed" +} diff --git a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild new file mode 100644 index 000000000000..46eb948e97d4 --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_PV="${PV/_/}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)" +HOMEPAGE="https://pear.php.net/package/Crypt_GPG" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="app-crypt/gnupg + dev-lang/php:*[posix,unicode] + dev-php/PEAR-Console_CommandLine + dev-php/PEAR-Exception" +BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die + sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die + sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die +} + +src_install() { + dodoc README.md + dobin scripts/crypt-gpg-pinentry + + insinto "/usr/share/${MY_PN}" + doins -r data + + insinto /usr/share/php + doins -r Crypt +} + +src_test() { + phpunit tests/ || die "test suite failed" +} diff --git a/dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch b/dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch new file mode 100644 index 000000000000..8e49a2f263fb --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/files/fix-unit-tests-with-new-gpg.patch @@ -0,0 +1,55 @@ +From 14a884dd5127141929ef7a58185c298e92602c40 Mon Sep 17 00:00:00 2001 +From: Aleksander Machniak +Date: Sat, 16 Sep 2017 13:05:37 +0200 +Subject: [PATCH] Fix Bug #21242: PHPUnit tests fail sometimes while deleting + S.gpg-agent.extra + +--- + tests/TestCase.php | 20 ++++++++++++++------ + 1 file changed, 14 insertions(+), 6 deletions(-) + +diff --git a/tests/TestCase.php b/tests/TestCase.php +index b91ea7d..1ad8028 100644 +--- a/tests/TestCase.php ++++ b/tests/TestCase.php +@@ -583,7 +583,10 @@ private function _tearDownKeyring() + $iterator = new DirectoryIterator($dirname); + foreach ($iterator as $file) { + if (!$file->isDot()) { +- unlink($dirname . '/' . $file->getFilename()); ++ $filename = $dirname . '/' . $file->getFilename(); ++ if (file_exists($filename)) { ++ unlink($filename); ++ } + } + } + rmdir($dirname); +@@ -595,7 +598,10 @@ private function _tearDownKeyring() + + foreach ($iterator as $file) { + if (!$file->isDot()) { +- unlink($homedir . '/' . $file->getFilename()); ++ $filename = $homedir . '/' . $file->getFilename(); ++ if (file_exists($filename)) { ++ unlink($filename); ++ } + } + } + +@@ -614,10 +620,12 @@ private function _tearDownTempdir() + foreach ($iterator as $file) { + if (!$file->isDot()) { + $filename = $this->getTempFilename($file->getFilename()); +- if (is_dir($filename)) { +- rmdir($filename); +- } else { +- unlink($filename); ++ if (file_exists($filename)) { ++ if (is_dir($filename)) { ++ rmdir($filename); ++ } else { ++ unlink($filename); ++ } + } + } + } diff --git a/dev-php/PEAR-Crypt_GPG/metadata.xml b/dev-php/PEAR-Crypt_GPG/metadata.xml new file mode 100644 index 000000000000..d8b10c1d2c20 --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/metadata.xml @@ -0,0 +1,17 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + + pear/Crypt_GPG + Crypt_GPG + + gentoo-staging + diff --git a/dev-php/PEAR-Crypt_HMAC/Manifest b/dev-php/PEAR-Crypt_HMAC/Manifest new file mode 100644 index 000000000000..97e9b2edf7c1 --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC/Manifest @@ -0,0 +1 @@ +DIST Crypt_HMAC-1.0.1.tgz 2149 BLAKE2B a95f145101cbd9f089948ac62d47b9a449a8cac328636987b49903c07c714c007309b294dd3a16fb5f5cf5bacf00c6e502fd8e29584803c99bff2bf61c5dec0a SHA512 5fb873d9d2e14f18f729e102b0295aaafef53bb150322f4a75d87f6d5ffd3e8829d424ee7285950d92c3408756b40b9ac7fe5123a73cefb341e4224f049bcb18 diff --git a/dev-php/PEAR-Crypt_HMAC/PEAR-Crypt_HMAC-1.0.1-r2.ebuild b/dev-php/PEAR-Crypt_HMAC/PEAR-Crypt_HMAC-1.0.1-r2.ebuild new file mode 100644 index 000000000000..4b3cd7392992 --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC/PEAR-Crypt_HMAC-1.0.1-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Calculates RFC 2104 compliant hashes" +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" +PATCHES=( "${FILESDIR}/HMAC-1.0.1.patch" ) + +src_test() { + ln -s . Crypt || die + peardev run-tests tests || die +} + +src_install() { + insinto /usr/share/php/Crypt + doins HMAC.php + php-pear-r2_install_packagexml +} diff --git a/dev-php/PEAR-Crypt_HMAC/files/HMAC-1.0.1.patch b/dev-php/PEAR-Crypt_HMAC/files/HMAC-1.0.1.patch new file mode 100644 index 000000000000..efa9d96bdedf --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC/files/HMAC-1.0.1.patch @@ -0,0 +1,57 @@ +diff -aurN a/HMAC.php b/HMAC.php +--- a/HMAC.php 2005-02-20 14:24:14.000000000 -0500 ++++ b/HMAC.php 2018-02-13 14:03:59.421976960 -0500 +@@ -68,8 +68,21 @@ + * @access private + */ + var $_pack; +- +- ++ ++ /** ++ * Constructor ++ * Pass method as first parameter ++ * ++ * @param string $key Key to use for hash ++ * @param string $func Hash function used for the calculation ++ * @return void ++ * @access public ++ */ ++ function __construct($key, $func = 'md5') ++ { ++ $this->Crypt_HMAC($key, $func); ++ } ++ + /** + * Constructor + * Pass method as first parameter +diff -aurN a/tests/HMAC_001.phpt b/tests/HMAC_001.phpt +--- a/tests/HMAC_001.phpt 1969-12-31 19:00:00.000000000 -0500 ++++ b/tests/HMAC_001.phpt 2018-02-13 14:00:47.899812172 -0500 +@@ -0,0 +1,26 @@ ++--TEST-- ++RFC 2104 Test Vectors ++--DESCRIPTION-- ++This test file implements the three test vectors as described in ++RFC 2104 (https://www.ietf.org/rfc/rfc2104.txt) ++--FILE-- ++hash('Hi There')."\n"; ++ ++ $key = 'Jefe'; ++ $crypt->setKey($key); ++ echo $crypt->hash('what do ya want for nothing?')."\n"; ++ ++ $key = str_repeat(chr(0xaa), 16); ++ $data = str_repeat(chr(0xdd), 50); ++ $crypt->setKey($key); ++ echo $crypt->hash($data)."\n"; ++?> ++--EXPECT-- ++9294727a3638bb1c13f48ef8158bfc9d ++750c783e6ab0b503eaa86e310a5db738 ++56be34521d144c88dbb8c733f0e8b3f6 diff --git a/dev-php/PEAR-Crypt_HMAC/metadata.xml b/dev-php/PEAR-Crypt_HMAC/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Crypt_HMAC2/Manifest b/dev-php/PEAR-Crypt_HMAC2/Manifest new file mode 100644 index 000000000000..23ea237f682d --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC2/Manifest @@ -0,0 +1 @@ +DIST Crypt_HMAC2-1.0.0.tgz 8129 BLAKE2B 5e0754b683c1e930af42591a066b137e8ec4633eac10897361d923c84a3d70d327d224909c982b08d3d38ad5c810eb2a94c7d9bcdc41fddc44555e83587e2fca SHA512 0c3bd71ba8c2bf086ca703732fb3ee2471797ea486dbc863acbb5d07426395a65b8c794473ac4b1c1b85e954e27b79361116bee0a36f4b78edd780ea6c06bfca diff --git a/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild b/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild new file mode 100644 index 000000000000..5c3b4c4f0cbd --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Implementation of Hashed Message Authentication Code for PHP5" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR dev-php/phpunit )" +HTML_DOCS=( docs/intro.xml ) + +src_test() { + phpunit tests || die +} + +pkg_postinst() { + if ! has_version "dev-lang/php[hash]" ; then + elog "${PN} can use the hash extension when enabled to extend the range" + elog "of cryptographic hash functions beyond the natively implemented MD5 and SHA1." + elog "Recompile dev-lang/php with USE=\"hash\" if you want these features." + fi +} diff --git a/dev-php/PEAR-Crypt_HMAC2/metadata.xml b/dev-php/PEAR-Crypt_HMAC2/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC2/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-DB/Manifest b/dev-php/PEAR-DB/Manifest new file mode 100644 index 000000000000..b36141385aa0 --- /dev/null +++ b/dev-php/PEAR-DB/Manifest @@ -0,0 +1,3 @@ +DIST DB-1.10.0.tgz 132485 BLAKE2B 10ddf37984f33effb913c9e307b8543af56e344863fea8fde01cfd4684b829353f0799dff6413cffff711418bf7e8cb7f5855bf6f312d41d92db55d363784796 SHA512 01855d0e26b4463fac1f3f9c84c7f3fed62c9087cdd95843340f6250fbd63f4d33f7e958d3f3895f9c2fa568015e86e660393a578c764fa0d39b36a6394dc48a +DIST DB-1.9.2.tgz 133795 BLAKE2B 8b37b010145efd10a2b551392988a810c35b9a8c794eb0e162056fcded104276b19e97afb91149f1814f9f838a0db579a76578fb80d96d0574e5b7714d77aa91 SHA512 126bbbb847a24c20731f1e5f4a549e9d7e0651a760f10c49cfc7550f80dd8b05f3560bc80110bcaab9e79dcbb714c6113948f14a727f7f4087a23178b3db0afa +DIST DB-1.9.3.tgz 132290 BLAKE2B 8970697ac66bc9fe7f8c374431c59627133401e5b591fb3fc95ffc3a6ebb8cfe7e93982178e092eefc79d91657992eb539fc7211a237e3fe7407c75c7013831f SHA512 3fe98f97307818f65c0eaf291169fd13533a4d484d34d7fa7aa82580f6ec3d89b984292f173da2cf896f5f15531db9bde2be981e5a7679cc00c48aa2f9cc1142 diff --git a/dev-php/PEAR-DB/PEAR-DB-1.10.0.ebuild b/dev-php/PEAR-DB/PEAR-DB-1.10.0.ebuild new file mode 100644 index 000000000000..f30eacc52464 --- /dev/null +++ b/dev-php/PEAR-DB/PEAR-DB-1.10.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +DESCRIPTION="Database abstraction layer for PHP" +LICENSE="PHP-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +DOCS=( doc/TESTERS doc/IDEAS doc/MAINTAINERS doc/STATUS ) + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR, and also + # a working version of the cli SAPI eselected. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild b/dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild new file mode 100644 index 000000000000..39a7348a4e3a --- /dev/null +++ b/dev-php/PEAR-DB/PEAR-DB-1.9.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" + +DESCRIPTION="Database abstraction layer for PHP" +LICENSE="PHP-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +DOCS=( doc/TESTERS doc/IDEAS doc/MAINTAINERS doc/STATUS ) + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR, and also + # a working version of the cli SAPI eselected. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-DB/PEAR-DB-1.9.3.ebuild b/dev-php/PEAR-DB/PEAR-DB-1.9.3.ebuild new file mode 100644 index 000000000000..4ffad08d1fe3 --- /dev/null +++ b/dev-php/PEAR-DB/PEAR-DB-1.9.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +DESCRIPTION="Database abstraction layer for PHP" +LICENSE="PHP-3" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +DOCS=( doc/TESTERS doc/IDEAS doc/MAINTAINERS doc/STATUS ) + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR, and also + # a working version of the cli SAPI eselected. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-DB/metadata.xml b/dev-php/PEAR-DB/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-DB/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-DB_DataObject/Manifest b/dev-php/PEAR-DB_DataObject/Manifest new file mode 100644 index 000000000000..092de377d0d3 --- /dev/null +++ b/dev-php/PEAR-DB_DataObject/Manifest @@ -0,0 +1 @@ +DIST DB_DataObject-1.11.5.tgz 83878 BLAKE2B 0d73cde628a61e208c665546d15b4e7f4203c04dd4c5e7cc86c36ca46b60d8fcd28643b2ff720b940d1fb4fc86fdee650fec784cbda7885a31c9c120d90edbeb SHA512 bc8c5d0994fba78c6f8137682da87018e7660ceb39f5583aabf424509bf0ab263b8f32f6676821acaf69ed991778ad85f5f3fc156799c0811b2ec39546688bc6 diff --git a/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild b/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild new file mode 100644 index 000000000000..aa8425ee51f0 --- /dev/null +++ b/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.11.5-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DESCRIPTION="SQL builder and data modeling layer" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="minimal" + +# The MDB2/DB dependencies are listed as "optional," but really, you +# need one or the other. Prefer the newer MDB2 to the deprecated DB. +DEPEND="" +RDEPEND="|| ( dev-php/PEAR-MDB2 dev-php/PEAR-DB ) + dev-php/PEAR-Date + !minimal? ( dev-php/PEAR-Validate )" +DOCS=( docs/example.ini ) + +src_prepare() { + # Don't install this batch file -- it winds up in ${EPREFIX}/usr/bin. + # Delete the line that mentions it from package.xml. + sed -e '/DB_DataObject_createTables\.bat/d' \ + -i "${WORKDIR}/package.xml" \ + || die "failed to remove batch file from package.xml" + + eapply_user +} diff --git a/dev-php/PEAR-DB_DataObject/metadata.xml b/dev-php/PEAR-DB_DataObject/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-DB_DataObject/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Date/Manifest b/dev-php/PEAR-Date/Manifest new file mode 100644 index 000000000000..e991581a0522 --- /dev/null +++ b/dev-php/PEAR-Date/Manifest @@ -0,0 +1 @@ +DIST Date-1.5.0a4.tgz 222378 BLAKE2B aeca1d84c0cdbb55ed5ac9f6ce7819f7666085a1dbf610990e4afb07be78fed1cabbadd770ffceea97c37eb4ffccf44d18fd84646b6918cd5f5fa12f97d2c951 SHA512 91f80cbb78b8cf24fdc2e4423e7e018da736507136bcf68a61dc8a0f130d44f5937e1ddf39b45189cb08e0d17a4c0295d407920a2b25ba8029517e96a071b65b diff --git a/dev-php/PEAR-Date/PEAR-Date-1.5.0_alpha4-r1.ebuild b/dev-php/PEAR-Date/PEAR-Date-1.5.0_alpha4-r1.ebuild new file mode 100644 index 000000000000..071bed4607e7 --- /dev/null +++ b/dev-php/PEAR-Date/PEAR-Date-1.5.0_alpha4-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PEAR_PV=${PV/_alpha/a} +inherit php-pear-r2 + +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" + +DESCRIPTION="Date and Time Zone classes" +LICENSE="BSD" +SLOT="0" +IUSE="" +DOCS=( README docs/TODO ) +HTML_DOCS=( docs/examples/example.php ) diff --git a/dev-php/PEAR-Date/metadata.xml b/dev-php/PEAR-Date/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Date/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Exception/Manifest b/dev-php/PEAR-Exception/Manifest new file mode 100644 index 000000000000..56d9fbc6fd89 --- /dev/null +++ b/dev-php/PEAR-Exception/Manifest @@ -0,0 +1 @@ +DIST PEAR_Exception-1.0.0.tgz 5270 BLAKE2B f6f6874083fcef2453e1d07e1ee3e900e4f7d18eca8e9a9eda9891492dd3fc1e31eb13944031e82044f976f1070463a3b099a8223d2dabb2da109bb123997f5a SHA512 f2078186fdad6c6ca59ac462a24f7f9689bea08d30f786acb7779d52cd433e490c752ba0a263067d869151b0c051cded327cb3477a039c5de68c854bff002b58 diff --git a/dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild b/dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild new file mode 100644 index 000000000000..efec088e7ab4 --- /dev/null +++ b/dev-php/PEAR-Exception/PEAR-Exception-1.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/-/_}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The PEAR Exception base class" +HOMEPAGE="https://pear.php.net/package/PEAR_Exception" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND="dev-lang/php:* + !<=dev-php/PEAR-PEAR-1.10.3-r1" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r PEAR +} + +src_test() { + phpunit tests || die "test suite failed" +} diff --git a/dev-php/PEAR-Exception/metadata.xml b/dev-php/PEAR-Exception/metadata.xml new file mode 100644 index 000000000000..1e95c43ee6a0 --- /dev/null +++ b/dev-php/PEAR-Exception/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/pear_exception + PEAR_Exception + + gentoo-staging + diff --git a/dev-php/PEAR-File/Manifest b/dev-php/PEAR-File/Manifest new file mode 100644 index 000000000000..9387e3bd7c7d --- /dev/null +++ b/dev-php/PEAR-File/Manifest @@ -0,0 +1 @@ +DIST File-1.4.1.tgz 8164 BLAKE2B f57a70b6cdd469c152f7beb2dffe0b278ae0eb71c412729a15b8d2a9dfef1b2bb303d96930bba64bfc1d4f2972a4f64087f972fc0367fef67e6b88c29e56a78a SHA512 78dbe4f80296f3c16df89de2f0d332b442d4787be4f7a3bb78259b0e0a0eb719bbadecba6571609ea6b6a488124ff36b6de08061e88268d5f2805fb8a3be05b0 diff --git a/dev-php/PEAR-File/PEAR-File-1.4.1-r1.ebuild b/dev-php/PEAR-File/PEAR-File-1.4.1-r1.ebuild new file mode 100644 index 000000000000..04c7b1490393 --- /dev/null +++ b/dev-php/PEAR-File/PEAR-File-1.4.1-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Common file and directory routines" + +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +src_test() { + peardev run-tests -r tests || die +} diff --git a/dev-php/PEAR-File/metadata.xml b/dev-php/PEAR-File/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-File/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-File_Archive/Manifest b/dev-php/PEAR-File_Archive/Manifest new file mode 100644 index 000000000000..897fbc24c16a --- /dev/null +++ b/dev-php/PEAR-File_Archive/Manifest @@ -0,0 +1 @@ +DIST File_Archive-1.5.5.tgz 62598 BLAKE2B 8aa82e244f01c2ae6b5761fd4db9eca0ef32dbdfcbf3ab107936eac5ff4d48f875312c691232ca2bf259f6701863c16c3b137488bf0f33960ae9fde80ce0b3b8 SHA512 528449e59e0853bbd73e2d7cb14cd11748e68abe889781f0476c6206e0d15e1c4b0b457172d88e73f7bb31cde3b6612ab3e86d8862322e0921e00db331f1d1e1 diff --git a/dev-php/PEAR-File_Archive/PEAR-File_Archive-1.5.5-r1.ebuild b/dev-php/PEAR-File_Archive/PEAR-File_Archive-1.5.5-r1.ebuild new file mode 100644 index 000000000000..029d427fb5f5 --- /dev/null +++ b/dev-php/PEAR-File_Archive/PEAR-File_Archive-1.5.5-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Easily manipulate archives in PHP" +HOMEPAGE="https://pear.php.net/package/File_Archive" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="minimal" + +RDEPEND="dev-lang/php[bzip2,zlib] + dev-php/PEAR-MIME_Type + dev-php/PEAR-PEAR + !minimal? ( + dev-php/PEAR-Mail_Mime + dev-php/PEAR-Mail + dev-php/PEAR-Cache_Lite + )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc README + + insinto /usr/share/php + doins -r File +} diff --git a/dev-php/PEAR-File_Archive/metadata.xml b/dev-php/PEAR-File_Archive/metadata.xml new file mode 100644 index 000000000000..8f074c0f5103 --- /dev/null +++ b/dev-php/PEAR-File_Archive/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + File_Archive + + gentoo-staging + diff --git a/dev-php/PEAR-File_Find/Manifest b/dev-php/PEAR-File_Find/Manifest new file mode 100644 index 000000000000..18e16094dcee --- /dev/null +++ b/dev-php/PEAR-File_Find/Manifest @@ -0,0 +1 @@ +DIST File_Find-1.3.3.tgz 8212 BLAKE2B be45210efcf1aad52df123dd141f1a8ea62321a25cb460da4384456baeff13b51f8850f44e08cb75baa350e7b2a1419b27d89dd5a81f58a7302ab93c95c274a3 SHA512 f912e1f680c5869380791979bd33dabce0e95e40a84ee188052b2be8280de806fd117c11d66b98b7072724ecd9d57203ee5a32fe35705c337e73393fec075bb0 diff --git a/dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild b/dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild new file mode 100644 index 000000000000..d0ca871cb2f0 --- /dev/null +++ b/dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A class that facillitates the search of filesystems" +HOMEPAGE="https://pear.php.net/package/File_Find" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# Really only needs PEAR-Exception at runtime. +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + eapply_user + + # Without this sed, the test suite will try (and fail) to mess + # around in /tmp. + sed -i "s~'/tmp'~'${T}'~" tests/setup.php \ + || die 'failed to fix temporary directory in tests/setup.php' +} + +src_install() { + insinto /usr/share/php + doins -r File +} + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-File_Find/metadata.xml b/dev-php/PEAR-File_Find/metadata.xml new file mode 100644 index 000000000000..a959ed99fb2c --- /dev/null +++ b/dev-php/PEAR-File_Find/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/File_Find + File_Find + + gentoo-staging + diff --git a/dev-php/PEAR-File_Fortune/Manifest b/dev-php/PEAR-File_Fortune/Manifest new file mode 100644 index 000000000000..ceb8f9e59f14 --- /dev/null +++ b/dev-php/PEAR-File_Fortune/Manifest @@ -0,0 +1 @@ +DIST File_Fortune-1.0.0.tgz 14508 BLAKE2B df783a063df6d48692518955f8f1a6306b0e67021c0d3cf6a336ce643a907a5f89578c759f44c9ea36debac28d3819065c2763d5ff8f6c6f63ecd0ea13a68e29 SHA512 4f996e7c6efb339944cdd1cea75400a7539708661b2783fc1126697a12692b3db7a104550da8007fae4e0ac374c2c047a4c90dfa0d2c3424b84f4e1b61ae43ac diff --git a/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild b/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild new file mode 100644 index 000000000000..21dbe5d6c163 --- /dev/null +++ b/dev-php/PEAR-File_Fortune/PEAR-File_Fortune-1.0.0-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Interface for reading from and writing to fortune files" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-lang/php-5.1.4:*" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_test() { + phpunit tests || die +} diff --git a/dev-php/PEAR-File_Fortune/metadata.xml b/dev-php/PEAR-File_Fortune/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-File_Fortune/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-File_Gettext/Manifest b/dev-php/PEAR-File_Gettext/Manifest new file mode 100644 index 000000000000..ebf5d3abba5b --- /dev/null +++ b/dev-php/PEAR-File_Gettext/Manifest @@ -0,0 +1 @@ +DIST File_Gettext-0.4.2.tgz 7307 BLAKE2B f1eae4724c62a44515107a0e4cb89aa7abff8f856c5f11a90f6b78dc4e5601cc024e64e8ae0344c3433ffc5355e2dbb9d7e3cc745001ad2098a073bbca0a97da SHA512 cc56430076485d90afca548c78650a2ada4eb8df7e0a58458eded2dca222466aba91d982fb0103e6b63fc4c8140c3ac4c2a4a7c3c77fbc7740922a8b4e33c6a9 diff --git a/dev-php/PEAR-File_Gettext/PEAR-File_Gettext-0.4.2-r1.ebuild b/dev-php/PEAR-File_Gettext/PEAR-File_Gettext-0.4.2-r1.ebuild new file mode 100644 index 000000000000..f4911dcef80e --- /dev/null +++ b/dev-php/PEAR-File_Gettext/PEAR-File_Gettext-0.4.2-r1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="GNU Gettext file parser" + +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" +PATCHES=( "${FILESDIR/File_Gettext-0.4.2-construct.patch}" ) diff --git a/dev-php/PEAR-File_Gettext/files/File_Gettext-0.4.2-construct.patch b/dev-php/PEAR-File_Gettext/files/File_Gettext-0.4.2-construct.patch new file mode 100644 index 000000000000..3527814485ab --- /dev/null +++ b/dev-php/PEAR-File_Gettext/files/File_Gettext-0.4.2-construct.patch @@ -0,0 +1,67 @@ +diff -aurN a/File/Gettext/MO.php b/File/Gettext/MO.php +--- a/File/Gettext/MO.php 2012-03-03 22:00:49.000000000 -0500 ++++ b/File/Gettext/MO.php 2018-02-16 15:15:17.725027132 -0500 +@@ -60,6 +60,10 @@ + * @access public + * @return object File_Gettext_MO + */ ++ function __construct($file = '') ++ { ++ $this->file = $file; ++ } + function File_Gettext_MO($file = '') + { + $this->file = $file; +diff -aurN a/File/Gettext/PO.php b/File/Gettext/PO.php +--- a/File/Gettext/PO.php 2012-03-03 22:00:49.000000000 -0500 ++++ b/File/Gettext/PO.php 2018-02-16 15:14:57.997419162 -0500 +@@ -42,6 +42,10 @@ + * @access public + * @return object File_Gettext_PO + */ ++ function __construct($file = '') ++ { ++ $this->file = $file; ++ } + function File_Gettext_PO($file = '') + { + $this->file = $file; +diff -aurN a/File/Gettext.php b/File/Gettext.php +--- a/File/Gettext.php 2012-03-03 22:00:49.000000000 -0500 ++++ b/File/Gettext.php 2018-02-16 15:14:27.629022634 -0500 +@@ -85,7 +85,7 @@ + return File_Gettext::raiseError($php_errormsg); + } + $class = 'File_Gettext_' . $format; +- $obref = &new $class($file); ++ $obref = new $class($file); + return $obref; + } + +@@ -110,7 +110,7 @@ + + include_once 'File/Gettext/PO.php'; + +- $PO = &new File_Gettext_PO($pofile); ++ $PO = new File_Gettext_PO($pofile); + if (true !== ($e = $PO->load())) { + return $e; + } +@@ -247,7 +247,7 @@ + function &toMO() + { + include_once 'File/Gettext/MO.php'; +- $MO = &new File_Gettext_MO; ++ $MO = new File_Gettext_MO; + $MO->fromArray($this->toArray()); + return $MO; + } +@@ -261,7 +261,7 @@ + function &toPO() + { + include_once 'File/Gettext/PO.php'; +- $PO = &new File_Gettext_PO; ++ $PO = new File_Gettext_PO; + $PO->fromArray($this->toArray()); + return $PO; + } diff --git a/dev-php/PEAR-File_Gettext/metadata.xml b/dev-php/PEAR-File_Gettext/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-File_Gettext/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-File_SMBPasswd/Manifest b/dev-php/PEAR-File_SMBPasswd/Manifest new file mode 100644 index 000000000000..5e74418443f3 --- /dev/null +++ b/dev-php/PEAR-File_SMBPasswd/Manifest @@ -0,0 +1 @@ +DIST File_SMBPasswd-1.0.3.tgz 5251 BLAKE2B e102bee8628dfe521ad3a4b212694a306c2bcedd869e1a4203fc1280f73cf6b42a95ce0940f36e583db1d1b18260f0eb9e73cd86be2f2cb51fbf9c47a0334b8d SHA512 49c8293ec4de0b20a9a9d80cc1175693cf9846979eeb2e77b08b48da57d214f02ebcd8ed51738222640c94eccadd5bbf0d5c8a3904c9aefb42308632ffb07a0b diff --git a/dev-php/PEAR-File_SMBPasswd/PEAR-File_SMBPasswd-1.0.3-r1.ebuild b/dev-php/PEAR-File_SMBPasswd/PEAR-File_SMBPasswd-1.0.3-r1.ebuild new file mode 100644 index 000000000000..71ede40c90f9 --- /dev/null +++ b/dev-php/PEAR-File_SMBPasswd/PEAR-File_SMBPasswd-1.0.3-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit php-pear-r2 + +DESCRIPTION="Class for managing SAMBA style password files" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +RDEPEND=">=dev-lang/php-5.3:* + >=dev-php/PEAR-Crypt_CHAP-1.0.0" + +src_install() { + insinto /usr/share/php/File + doins SMBPasswd.php + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/PEAR-File_SMBPasswd/metadata.xml b/dev-php/PEAR-File_SMBPasswd/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-File_SMBPasswd/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_AJAX/Manifest b/dev-php/PEAR-HTML_AJAX/Manifest new file mode 100644 index 000000000000..8dd112092eb5 --- /dev/null +++ b/dev-php/PEAR-HTML_AJAX/Manifest @@ -0,0 +1 @@ +DIST HTML_AJAX-0.5.8.tgz 140357 BLAKE2B f1cab1cd49ff711267c76437eca6cb7f482118de186722003bb66354cae5b7df9a5ceae8e335ac3a018fd626c74637503d7f9f32a91dde58639b51cd7da6d869 SHA512 3a10f516c6fe16d98d31290bd29a80a10fa830429a529b0cf6d03009f56d56d906e786b3f304b1c94b98e96290057cc74f3373acdd352fcf74f9616962ff9ce8 diff --git a/dev-php/PEAR-HTML_AJAX/PEAR-HTML_AJAX-0.5.8.ebuild b/dev-php/PEAR-HTML_AJAX/PEAR-HTML_AJAX-0.5.8.ebuild new file mode 100644 index 000000000000..af6dbf718849 --- /dev/null +++ b/dev-php/PEAR-HTML_AJAX/PEAR-HTML_AJAX-0.5.8.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN#PEAR-}" +DESCRIPTION="PHP and JavaScript AJAX library" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +HOMEPAGE="https://pear.php.net/package/HTML_AJAX/" +SRC_URI="http://download.pear.php.net/package/${MY_PN}-${PV}.tgz" +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + insinto /usr/share/php + doins -r HTML + insinto "/usr/share/php/data/${MY_PN}" + doins -r js +} diff --git a/dev-php/PEAR-HTML_AJAX/metadata.xml b/dev-php/PEAR-HTML_AJAX/metadata.xml new file mode 100644 index 000000000000..4c36c510e89e --- /dev/null +++ b/dev-php/PEAR-HTML_AJAX/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + HTML_AJAX + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_CSS/Manifest b/dev-php/PEAR-HTML_CSS/Manifest new file mode 100644 index 000000000000..f95544841c83 --- /dev/null +++ b/dev-php/PEAR-HTML_CSS/Manifest @@ -0,0 +1 @@ +DIST HTML_CSS-1.5.4.tgz 45553 BLAKE2B 8fef3897bb577a1c12c7dd96ea4d15de5c1b46b40546b23b7262eaaf99db83c988631639a4f4e9b7a344ec02642e49c01c3afc9858f01ccd8c8e77cb39a75008 SHA512 d9418f5fe62dff27f39a0be80378444db6f9636323dd4a85fc1173cb799aa4e74656a55a1179bfc40a926d6ac3c3d67dde378ac49c2c19468e4541e2302c3afa diff --git a/dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild b/dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild new file mode 100644 index 000000000000..60fa3779c978 --- /dev/null +++ b/dev-php/PEAR-HTML_CSS/PEAR-HTML_CSS-1.5.4-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Provides a simple interface for generating a stylesheet declaration" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal test" +RESTRICT="!test? ( test )" +RDEPEND=">=dev-php/PEAR-HTML_Common-1.2.4 + !minimal? ( >=dev-php/PEAR-Services_W3C_CSSValidator-0.1.0 )" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-3.7 )" +PATCHES=( "${FILESDIR}/HTML_CSS-1.5.4-fix-tests.patch" ) + +src_prepare() { + mkdir HTML || die + mv CSS CSS.php HTML || die + default +} + +src_test() { + ln -s ../HTML tests/HTML || die + phpunit tests/AllTests.php || die +} diff --git a/dev-php/PEAR-HTML_CSS/files/HTML_CSS-1.5.4-fix-tests.patch b/dev-php/PEAR-HTML_CSS/files/HTML_CSS-1.5.4-fix-tests.patch new file mode 100644 index 000000000000..410ad7593ec3 --- /dev/null +++ b/dev-php/PEAR-HTML_CSS/files/HTML_CSS-1.5.4-fix-tests.patch @@ -0,0 +1,112 @@ +diff -aurN a/tests/AllTests.php b/tests/AllTests.php +--- a/tests/AllTests.php 1970-01-01 04:13:26.000000000 -0500 ++++ b/tests/AllTests.php 2018-02-16 16:28:52.565010362 -0500 +@@ -24,7 +24,6 @@ + + require_once 'HTML_CSS_TestSuite_Standard.php'; + require_once 'HTML_CSS_TestSuite_Output.php'; +-require_once 'HTML_CSS_TestSuite_Bugs.php'; + + /** + * Class for running all test suites for HTML_CSS package. +@@ -79,7 +78,6 @@ + $suite = new PHPUnit_Framework_TestSuite('HTML_CSS Test Suite'); + $suite->addTestSuite('HTML_CSS_TestSuite_Standard'); + $suite->addTestSuite('HTML_CSS_TestSuite_Output'); +- $suite->addTestSuite('HTML_CSS_TestSuite_Bugs'); + return $suite; + } + +@@ -126,4 +124,4 @@ + if (PHPUnit_MAIN_METHOD == 'HTML_CSS_AllTests::main') { + HTML_CSS_AllTests::main(); + } +-?> +\ No newline at end of file ++?> +diff -aurN a/tests/HTML_CSS_TestSuite_Output.php b/tests/HTML_CSS_TestSuite_Output.php +--- a/tests/HTML_CSS_TestSuite_Output.php 1970-01-01 04:13:26.000000000 -0500 ++++ b/tests/HTML_CSS_TestSuite_Output.php 2018-02-16 16:36:35.283820690 -0500 +@@ -18,7 +18,6 @@ + + require_once "PHPUnit/Framework/TestCase.php"; + require_once "PHPUnit/Framework/TestSuite.php"; +-require_once "PHPUnit/Extensions/OutputTestCase.php"; + + require_once 'HTML/CSS.php'; + require_once 'PEAR.php'; +@@ -34,7 +33,7 @@ + * @link http://pear.php.net/package/HTML_CSS + * @since File available since Release 1.5.2 + */ +-class HTML_CSS_TestSuite_Output extends PHPUnit_Extensions_OutputTestCase ++class HTML_CSS_TestSuite_Output extends PHPUnit_Framework_TestCase + { + /** + * A CSS object +@@ -70,7 +69,12 @@ + + $this->css = new HTML_CSS($attrs, $prefs); + +- $this->setOutputCallback(array(&$this, 'normalizeOutput')); ++ $this->setOutputCallback(array($this, 'normalizeOutput')); ++ } ++ ++ protected function normalizeOutput($buffer) ++ { ++ return str_replace("\r", '', $buffer); + } + + /** +@@ -153,4 +157,4 @@ + if (PHPUnit_MAIN_METHOD == "HTML_CSS_TestSuite_Output::main") { + HTML_CSS_TestSuite_Output::main(); + } +-?> +\ No newline at end of file ++?> +diff -aurN a/tests/HTML_CSS_TestSuite_Standard.php b/tests/HTML_CSS_TestSuite_Standard.php +--- a/tests/HTML_CSS_TestSuite_Standard.php 1970-01-01 04:13:26.000000000 -0500 ++++ b/tests/HTML_CSS_TestSuite_Standard.php 2018-02-16 16:47:01.837374212 -0500 +@@ -117,12 +117,10 @@ + */ + public function catchError($error, $code, $level) + { +- $this->assertType(PHPUnit_Framework_Constraint_IsType::TYPE_OBJECT, $error); +- if ($error instanceof PEAR_Error) { +- $this->assertEquals($error->getCode(), $code); +- $user_info = $error->getUserInfo(); +- $this->assertEquals($user_info['level'], $level); +- } ++ $this->assertInstanceOf(PEAR_Error::class, $error); ++ $this->assertEquals($error->getCode(), $code); ++ $user_info = $error->getUserInfo(); ++ $this->assertEquals($user_info['level'], $level); + } + + /** +@@ -724,7 +722,7 @@ + $css_data = array($fn, $strcss); + $messages = array(); + +- $stub = $this->getMock('HTML_CSS', array('validate')); ++ $stub = $this->createMock(HTML_CSS::class); + $stub->expects($this->any()) + ->method('validate') + ->will($this->returnValue(true)); +@@ -1578,7 +1576,7 @@ + $this->catchError($r, HTML_CSS_ERROR_INVALID_INPUT, 'exception'); + + // validate +- $stub = $this->getMock('HTML_CSS', array('validate')); ++ $stub = $this->createMock(HTML_CSS::class); + $stub->expects($this->any()) + ->method('validate') + ->will($this->returnCallback(array(&$this, 'cbMockValidator'))); +@@ -1680,4 +1678,4 @@ + if (PHPUnit_MAIN_METHOD == "HTML_CSS_TestSuite_Standard::main") { + HTML_CSS_TestSuite_Standard::main(); + } +-?> +\ No newline at end of file ++?> diff --git a/dev-php/PEAR-HTML_CSS/metadata.xml b/dev-php/PEAR-HTML_CSS/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-HTML_CSS/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_Common/Manifest b/dev-php/PEAR-HTML_Common/Manifest new file mode 100644 index 000000000000..3b33e4a5460f --- /dev/null +++ b/dev-php/PEAR-HTML_Common/Manifest @@ -0,0 +1 @@ +DIST HTML_Common-1.2.5.tgz 4585 BLAKE2B c09e9a98333ca98c2f69a483ebc037b9a8c6c8925d5afd10febd0345462553d4493003565dd1185182c611d2bd77980d4712c0d959c03ba7e98d0715ff6ee2d5 SHA512 f30f60f6a5071c264c9892b78236ecd89330f35196f0d16a75f44b0366b378737fb722a27ff2b4c410b4d8c4aaeca75a7e754dbc99c2bfa63b3a2d67bf70db93 diff --git a/dev-php/PEAR-HTML_Common/PEAR-HTML_Common-1.2.5-r1.ebuild b/dev-php/PEAR-HTML_Common/PEAR-HTML_Common-1.2.5-r1.ebuild new file mode 100644 index 000000000000..fd84f17b12f0 --- /dev/null +++ b/dev-php/PEAR-HTML_Common/PEAR-HTML_Common-1.2.5-r1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Base class for other HTML classes" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +src_install() { + insinto /usr/share/php/HTML + doins Common.php + php-pear-r2_install_packagexml +} diff --git a/dev-php/PEAR-HTML_Common/metadata.xml b/dev-php/PEAR-HTML_Common/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTML_Common/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_Common2/Manifest b/dev-php/PEAR-HTML_Common2/Manifest new file mode 100644 index 000000000000..4180039c6214 --- /dev/null +++ b/dev-php/PEAR-HTML_Common2/Manifest @@ -0,0 +1,2 @@ +DIST HTML_Common2-2.1.1.tgz 8664 BLAKE2B 2422d0d32f1ff55bf0e40cda5460d3e891cb9bc27001b8d72b7f52d43a2ed6ed2507593a780819550aa11b9aaff75b286995d013cf3e74051abb8700b9f96ac1 SHA512 3fc868c0c5d69a542d205cf853f8993fe6849eec58b35b080db44a7a788b19dfdc9cd669d269ddab70f37edcde763d1beff4c60f2befc2cf2548f63197634124 +DIST HTML_Common2-2.1.2.tgz 8579 BLAKE2B 43d71ca1010e3cb4d73f25417b601872485f9c8990cb3117d112a84f2eca67437687d423146c1f67f8053116d4aef04b4859982805c7009047a682385878dc8e SHA512 f6082e44578dfa063f4f1a896ea477c485122e3d2cc89764c16ee76c3153d60276cbc290b4f3b8c18536aaeffb6797b9c56b8b0f2ffe1ef953fe02a5fb32b864 diff --git a/dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.1.ebuild b/dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.1.ebuild new file mode 100644 index 000000000000..f11b8a2f0e47 --- /dev/null +++ b/dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.1.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Abstract base class for HTML classes (PHP5 port of PEAR-HTML_Common package)" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/phpunit )" + +src_test() { + phpunit tests/AllTests.php || die +} diff --git a/dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.2.ebuild b/dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.2.ebuild new file mode 100644 index 000000000000..821e6e7c7feb --- /dev/null +++ b/dev-php/PEAR-HTML_Common2/PEAR-HTML_Common2-2.1.2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="Abstract base class for HTML classes (PHP5 port of PEAR-HTML_Common package)" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/phpunit )" + +src_test() { + phpunit tests/AllTests.php || die +} diff --git a/dev-php/PEAR-HTML_Common2/metadata.xml b/dev-php/PEAR-HTML_Common2/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTML_Common2/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_Javascript/Manifest b/dev-php/PEAR-HTML_Javascript/Manifest new file mode 100644 index 000000000000..383d2956c798 --- /dev/null +++ b/dev-php/PEAR-HTML_Javascript/Manifest @@ -0,0 +1 @@ +DIST HTML_Javascript-1.1.2.tgz 8620 BLAKE2B ea7eb4296b97ec6f2c0f3d32d3cce367bd8472d13dcf1c6d04dbaec2a649f9bcd85b3f913a4c384ba43c983d33fb7ac10aa8b28983c488f7662efb4708bcf4f8 SHA512 2ac6732f9156af318be8d17d1aa9c0040e5367faf29d6e968740d2fc9ab5806b3a08ee1b33f1c1fd618768a1c50ec67b8ffae6975dda7aa77234ef22e0ff8545 diff --git a/dev-php/PEAR-HTML_Javascript/PEAR-HTML_Javascript-1.1.2-r1.ebuild b/dev-php/PEAR-HTML_Javascript/PEAR-HTML_Javascript-1.1.2-r1.ebuild new file mode 100644 index 000000000000..1d9005db15d3 --- /dev/null +++ b/dev-php/PEAR-HTML_Javascript/PEAR-HTML_Javascript-1.1.2-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +IUSE="" +DESCRIPTION="Provides an interface for creating simple JS scripts within PHP" +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" + +src_install() { + insinto /usr/share/php/HTML + doins -r Javascript Javascript.php + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/PEAR-HTML_Javascript/metadata.xml b/dev-php/PEAR-HTML_Javascript/metadata.xml new file mode 100644 index 000000000000..f20ba3b50d2e --- /dev/null +++ b/dev-php/PEAR-HTML_Javascript/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + HTML_Javascript + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_QuickForm2/Manifest b/dev-php/PEAR-HTML_QuickForm2/Manifest new file mode 100644 index 000000000000..b5f16341ae65 --- /dev/null +++ b/dev-php/PEAR-HTML_QuickForm2/Manifest @@ -0,0 +1,2 @@ +DIST HTML_QuickForm2-2.0.2.tgz 179063 BLAKE2B f1309099d481417cb906a0dbae39264e7e5b90c1a91b959fd33afea2ef35fb84f767301f225bd939bf36ced397b0ef81f615195b2426d8b3428cb64bc6d007dd SHA512 37988f09837286343069be5d249476e7fcb08d937f391bc2f6868a5fdaa31ddb1cced60b909ad690283ae65f48148f7928bebefa483f553d1a6bb3a51fbb0d03 +DIST HTML_QuickForm2-2.1.0.tgz 177215 BLAKE2B f80483bad59d7f860455123084ea37fc5180a1f86231ab74c61e278c6f5b4a71f80c9f3ae5457fcadc107b2554000b51e6dd4acacc8db5123ca6492fcf9505c4 SHA512 260cd07e7d95674d3f5090e54a33bb3e5a77063d3d2c84dc885bc67739dc29b23d7f6d45319b8b1d3f5729ec13c8c6206d06f91378635ba74e11468f609aba45 diff --git a/dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.0.2-r1.ebuild b/dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.0.2-r1.ebuild new file mode 100644 index 000000000000..1fbe4adaf476 --- /dev/null +++ b/dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.0.2-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Creating, validating, processing HTML forms methods (PHP5 optimize)" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +DEPEND=">=dev-lang/php-5.2.0:*" +RDEPEND="${DEPEND} + >=dev-php/PEAR-HTML_Common2-2.0.0" + +src_install() { + HTML_DOCS=( data/quickform.css data/js ) + use examples && HTML_DOCS+=( docs/examples ) + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.1.0.ebuild b/dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.1.0.ebuild new file mode 100644 index 000000000000..6ed791780ee4 --- /dev/null +++ b/dev-php/PEAR-HTML_QuickForm2/PEAR-HTML_QuickForm2-2.1.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="Creating, validating, processing HTML forms methods (PHP5 optimize)" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +DEPEND=">=dev-lang/php-5.2.0:*" +RDEPEND="${DEPEND} + >=dev-php/PEAR-HTML_Common2-2.1.0" + +src_install() { + HTML_DOCS=( data/quickform.css data/js ) + use examples && HTML_DOCS+=( docs/examples ) + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-HTML_QuickForm2/metadata.xml b/dev-php/PEAR-HTML_QuickForm2/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTML_QuickForm2/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_Table/Manifest b/dev-php/PEAR-HTML_Table/Manifest new file mode 100644 index 000000000000..38e724bebe61 --- /dev/null +++ b/dev-php/PEAR-HTML_Table/Manifest @@ -0,0 +1 @@ +DIST HTML_Table-1.8.4.tgz 16440 BLAKE2B 0dd3a9e7a184fbbab157e1372f753ed7b3b54e90753f7eb4564f0aaa61bc42183b82b2807d84c1214463e74dcf0c9c14a5f905f0c3eef1f772d70cb179416b9f SHA512 98091827a1cb29c5c13ad05081c2deb39d1c3caa84182837e36dd96371f518f1897b271e3c4682e085b2905df78ae202bbb4d7e9528d440ae6c37e801c326068 diff --git a/dev-php/PEAR-HTML_Table/PEAR-HTML_Table-1.8.4-r1.ebuild b/dev-php/PEAR-HTML_Table/PEAR-HTML_Table-1.8.4-r1.ebuild new file mode 100644 index 000000000000..fbf07f50fd05 --- /dev/null +++ b/dev-php/PEAR-HTML_Table/PEAR-HTML_Table-1.8.4-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Makes the design of HTML tables easy, flexible, reusable and efficient" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( >=dev-php/PEAR-PEAR-1.5.0 + >=dev-php/PEAR-HTML_Common-1.2.3 )" +RDEPEND=">=dev-php/PEAR-HTML_Common-1.2.3" +HTML_DOCS=( docs/Table_example1.php docs/Table_example2.php ) + +src_test() { + peardev run-tests -r || die +} diff --git a/dev-php/PEAR-HTML_Table/metadata.xml b/dev-php/PEAR-HTML_Table/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTML_Table/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_Table_Matrix/Manifest b/dev-php/PEAR-HTML_Table_Matrix/Manifest new file mode 100644 index 000000000000..b593bee490a4 --- /dev/null +++ b/dev-php/PEAR-HTML_Table_Matrix/Manifest @@ -0,0 +1 @@ +DIST HTML_Table_Matrix-1.0.10.tgz 7837 BLAKE2B 6540d2cbf8aa7e50a21181c48f58466d4173488c3c6ff730b37ba4b43f01b59905ae2881f2dc3bbf7b5789e758c6a175b8750e091e8f6b56e1f3be31dfffe8a4 SHA512 61abbdaa1fba65e9c7073932d25e24337d6fda31360cdb58345e01fbb625707295ab39ecddc74e122584c7862bdbcd86114f576a11d015a123964984a4433416 diff --git a/dev-php/PEAR-HTML_Table_Matrix/PEAR-HTML_Table_Matrix-1.0.10-r1.ebuild b/dev-php/PEAR-HTML_Table_Matrix/PEAR-HTML_Table_Matrix-1.0.10-r1.ebuild new file mode 100644 index 000000000000..fd46f455f411 --- /dev/null +++ b/dev-php/PEAR-HTML_Table_Matrix/PEAR-HTML_Table_Matrix-1.0.10-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Autofill a table with data" + +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86" +IUSE="" +RDEPEND=">=dev-php/PEAR-HTML_Table-1.5-r1 + >=dev-php/PEAR-Numbers_Words-0.13.1-r1" + +HTML_DOCS=( examples/HTML_Table_Matrix_example.php ) diff --git a/dev-php/PEAR-HTML_Table_Matrix/metadata.xml b/dev-php/PEAR-HTML_Table_Matrix/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTML_Table_Matrix/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_Template_Flexy/Manifest b/dev-php/PEAR-HTML_Template_Flexy/Manifest new file mode 100644 index 000000000000..8fb97034beb0 --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Flexy/Manifest @@ -0,0 +1 @@ +DIST HTML_Template_Flexy-1.3.13.tgz 213779 BLAKE2B 3e5cf6657095d86bc8910c4e57c33bc943cf135b2d655b29f65aee997f946b2f1b3eaad445d1f529ae2a80c0c6420c76bf5c560a57e3ff5791964f92ce0fd85b SHA512 c99257c6f5451dbd2176251295f425950e359b2c0e76c1627718b4306ac12417eee697882250b4b5571397d8e47d6b3110770d66ebc91d021cb66064b86b5ad2 diff --git a/dev-php/PEAR-HTML_Template_Flexy/PEAR-HTML_Template_Flexy-1.3.13.ebuild b/dev-php/PEAR-HTML_Template_Flexy/PEAR-HTML_Template_Flexy-1.3.13.ebuild new file mode 100644 index 000000000000..9f308a78ce55 --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Flexy/PEAR-HTML_Template_Flexy-1.3.13.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="An extremely powerful Tokenizer driven Template engine" +LICENSE="PHP-2.02" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="minimal" +RDEPEND="!minimal? ( >=dev-php/PEAR-HTML_Javascript-1.1.0-r1 + dev-php/PEAR-File_Gettext )" + +src_prepare() { + local PATCHES=( "${FILESDIR}/${PV}-postrelease-fixes.patch" ) + default +} diff --git a/dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch b/dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch new file mode 100644 index 000000000000..d5079c1526bc --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Flexy/files/1.3.13-postrelease-fixes.patch @@ -0,0 +1,55 @@ +--- a/HTML/Template/Flexy.php 2016/05/26 03:59:27 339237 ++++ a/HTML/Template/Flexy.php 2016/05/26 04:01:15 339238 +@@ -241,7 +241,7 @@ + * @param array $options (Optional) + */ + +- function HTML_Template_Flexy( $options=array() ) ++ function __construct( $options=array() ) + { + + $baseoptions = array(); +@@ -288,6 +288,7 @@ + $ret = false; + foreach ($dirs as $tmplDir) { + if (@!file_exists($tmplDir . DIRECTORY_SEPARATOR .$file)) { ++ $this->debug("skip no file: $tmplDir/$file"); + continue; + } + +@@ -296,10 +297,12 @@ + "
{$this->currentTemplate }
{$tmplDir}" . DIRECTORY_SEPARATOR . $file, + HTML_TEMPLATE_FLEXY_ERROR_INVALIDARGS , HTML_TEMPLATE_FLEXY_ERROR_DIE); + } +- ++ $this->debug("found file: $tmplDir/$file"); + $ret = $tmplDir; + + } ++ $this->debug("using file: $ret/$file"); ++ + return $ret; + + } +--- a/HTML/Template/Flexy/Compiler.php 2015/03/02 22:50:57 336027 ++++ a/HTML/Template/Flexy/Compiler.php 2016/05/26 04:01:15 339238 +@@ -90,7 +90,7 @@ + * @return string to compile (if not using a file as the source) + * @access public + */ +- function compile(&$flexy,$string = false) ++ function compile($flexy,$string = false) + { + echo "No compiler implemented!"; + } +--- a/HTML/Template/Flexy/Element.php 2016/05/26 03:59:27 339237 ++++ a/HTML/Template/Flexy/Element.php 2016/05/26 04:01:15 339238 +@@ -127,7 +127,7 @@ + * or HTML attributes name="value" pairs + * @access public + */ +- function HTML_Template_Flexy_Element($tag='', $attributes=null) ++ function __construct($tag='', $attributes=null) + { + + $this->tag = strtolower($tag); diff --git a/dev-php/PEAR-HTML_Template_Flexy/metadata.xml b/dev-php/PEAR-HTML_Template_Flexy/metadata.xml new file mode 100644 index 000000000000..3dc4ea734773 --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Flexy/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + HTML_Template_Flexy + + gentoo-staging + diff --git a/dev-php/PEAR-HTML_Template_Sigma/Manifest b/dev-php/PEAR-HTML_Template_Sigma/Manifest new file mode 100644 index 000000000000..1cc708b4a051 --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Sigma/Manifest @@ -0,0 +1 @@ +DIST HTML_Template_Sigma-1.3.0.tgz 30185 BLAKE2B 62d91d803a088c45c662191cc4fe544d2ef694577a3250a5bc19bc7b41640fc695be95c075c8c3f53e3ebc03fa7d9d38135d607c408ff3d6cb0f1ad11855b740 SHA512 586068325a3320e2778131c1da98d6179d2385d2d73308b0ea1e8df3e0de23f869e03d74454752631998ef3411d8e8b37feab93c6c7b9f51ae4bedb48155e3ed diff --git a/dev-php/PEAR-HTML_Template_Sigma/PEAR-HTML_Template_Sigma-1.3.0-r1.ebuild b/dev-php/PEAR-HTML_Template_Sigma/PEAR-HTML_Template_Sigma-1.3.0-r1.ebuild new file mode 100644 index 000000000000..658dc509fdff --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Sigma/PEAR-HTML_Template_Sigma-1.3.0-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="An implementation of Integrated Templates API with template 'compilation' added" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[ctype]" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" +PATCHES=( "${FILESDIR}/HTML_Template_Sigma-1.3.0-php7.patch" ) + +src_test() { + phpunit tests/AllTests.php || die +} diff --git a/dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch b/dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch new file mode 100644 index 000000000000..ffb95e208467 --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Sigma/files/HTML_Template_Sigma-1.3.0-php7.patch @@ -0,0 +1,42 @@ +diff -aurN a/HTML/Template/Sigma.php b/HTML/Template/Sigma.php +--- a/HTML/Template/Sigma.php 2014-01-13 04:33:52.000000000 -0500 ++++ b/HTML/Template/Sigma.php 2018-02-19 09:29:52.995013991 -0500 +@@ -384,6 +384,26 @@ + * + * @see setRoot(), setCacheRoot() + */ ++ function __construct($root = '', $cacheRoot = '') ++ { ++ // the class is inherited from PEAR to be able to use $this->setErrorHandling() ++ parent::__construct(); ++ $this->variablesRegExp = '@' . $this->openingDelimiter . '(' . $this->variablenameRegExp . ')' . ++ '(:(' . $this->functionnameRegExp . '))?' . $this->closingDelimiter . '@sm'; ++ $this->removeVariablesRegExp = '@' . $this->openingDelimiter . '\s*(' . $this->variablenameRegExp . ')\s*' ++ . $this->closingDelimiter . '@sm'; ++ $this->blockRegExp = '@(.*)@sm'; ++ $this->functionRegExp = '@' . $this->functionPrefix . '(' . $this->functionnameRegExp . ')\s*\(@sm'; ++ $this->setRoot($root); ++ $this->setCacheRoot($cacheRoot); ++ ++ $this->setCallbackFunction('h', array(&$this, '_htmlspecialchars')); ++ $this->setCallbackFunction('e', array(&$this, '_htmlentities')); ++ $this->setCallbackFunction('u', 'urlencode'); ++ $this->setCallbackFunction('r', 'rawurlencode'); ++ $this->setCallbackFunction('j', array(&$this, '_jsEscape')); ++ } + function HTML_Template_Sigma($root = '', $cacheRoot = '') + { + // the class is inherited from PEAR to be able to use $this->setErrorHandling() +diff -aurN a/tests/AllTests.php b/tests/AllTests.php +--- a/tests/AllTests.php 2014-01-13 04:33:52.000000000 -0500 ++++ b/tests/AllTests.php 2018-02-19 09:37:14.071972780 -0500 +@@ -24,8 +24,6 @@ + define('PHPUnit_MAIN_METHOD', 'HTML_Template_Sigma_AllTests::main'); + } + +-require_once 'PHPUnit/Autoload.php'; +- + /** + * Class for file / directory manipulation from PEAR package + */ diff --git a/dev-php/PEAR-HTML_Template_Sigma/metadata.xml b/dev-php/PEAR-HTML_Template_Sigma/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTML_Template_Sigma/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTTP/Manifest b/dev-php/PEAR-HTTP/Manifest new file mode 100644 index 000000000000..d2088f54cd99 --- /dev/null +++ b/dev-php/PEAR-HTTP/Manifest @@ -0,0 +1 @@ +DIST HTTP-1.4.1.tgz 8635 BLAKE2B 2d834adcd5f5f2123f0d477bcb1b8189312d7fd8e2ff8e23f23a12ce762dbcda359ac61b192b58f60749c527c0545c3ef321a9610f3fbb0eacd3545e42f86e6b SHA512 60f9ef88eea358e83942213c9643ed7a635822c0963b79221eabb1000e126e5a79e4c6b3901c83c53ad1734ac6b774d355328a8d94087faee544af9bdc20f71c diff --git a/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.1-r3.ebuild b/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.1-r3.ebuild new file mode 100644 index 000000000000..292a9fb26149 --- /dev/null +++ b/dev-php/PEAR-HTTP/PEAR-HTTP-1.4.1-r3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 eutils + +DESCRIPTION="Miscellaneous HTTP utilities" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +src_prepare() { + # fix nasty DOS linebreaks + edos2unix HTTP.php + default +} + +src_test() { + pear run-tests tests || die "Tests failed" +} diff --git a/dev-php/PEAR-HTTP/metadata.xml b/dev-php/PEAR-HTTP/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTTP/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-HTTP_Header/Manifest b/dev-php/PEAR-HTTP_Header/Manifest new file mode 100644 index 000000000000..9c2409c8c589 --- /dev/null +++ b/dev-php/PEAR-HTTP_Header/Manifest @@ -0,0 +1 @@ +DIST HTTP_Header-1.2.1.tgz 10682 BLAKE2B ae8545326899f30c528e45e16735fb6da4ad2da3f066cd62df74fc0561085869d8d4b9ea82fe763095d87a5da1844682bd0f89676c89bebd1cb3f489a5d29ba9 SHA512 3d4245c99445042c6fb8ac8133be742f5009de8fa10e7104f0558ef091ba449c201fe0727d9714470e0d2d0cf8d8639c3d9b08801cb0cfff2d3d6e457364e137 diff --git a/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild b/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild new file mode 100644 index 000000000000..0469c6ce3388 --- /dev/null +++ b/dev-php/PEAR-HTTP_Header/PEAR-HTTP_Header-1.2.1-r2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="${P/PEAR-/}" + +DESCRIPTION="Handle and modify HTTP headers and status codes in PHP" +HOMEPAGE="https://pear.php.net/package/HTTP_Header" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RDEPEND="dev-lang/php:* + dev-php/PEAR-HTTP" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r HTTP +} diff --git a/dev-php/PEAR-HTTP_Header/metadata.xml b/dev-php/PEAR-HTTP_Header/metadata.xml new file mode 100644 index 000000000000..23c02637434e --- /dev/null +++ b/dev-php/PEAR-HTTP_Header/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + HTTP_Header + + gentoo-staging + diff --git a/dev-php/PEAR-HTTP_Request2/Manifest b/dev-php/PEAR-HTTP_Request2/Manifest new file mode 100644 index 000000000000..d8db0d0742b6 --- /dev/null +++ b/dev-php/PEAR-HTTP_Request2/Manifest @@ -0,0 +1 @@ +DIST HTTP_Request2-2.3.0.tgz 119717 BLAKE2B f12972b2423258016f4f4ef8888b5aa1d56bb47146cc6e21f74edfd2e3cd8ae69a1830b4a203990e1346554f2a6e9538e8d5feae27cceadc8465b018dd34ff37 SHA512 52fc2768f3c5afe6fd4505d427255e467b5b7cac8a4116cbabc3f1c0ffe6f1bd061a9c9b31de2ebbd4a7844ae73085ab0d52adf905dce28eb31197117657d77b diff --git a/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.3.0-r1.ebuild b/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.3.0-r1.ebuild new file mode 100644 index 000000000000..7efaf9fa5aa5 --- /dev/null +++ b/dev-php/PEAR-HTTP_Request2/PEAR-HTTP_Request2-2.3.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Provides an easy way to perform HTTP requests" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86" +IUSE="+curl +fileinfo +ssl test +zlib" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[curl?,fileinfo?,ssl?,zlib?] +>=dev-php/PEAR-Net_URL2-2.2.0" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_prepare() { + sed -i "s~@data_dir@~${EPREFIX}/usr/share/php/data~" HTTP/Request2/CookieJar.php || die + default +} + +src_test() { + phpunit tests || die +} + +src_install() { + php-pear-r2_src_install + insinto "/usr/share/php/data/${PHP_PEAR_PKG_NAME}" + doins data/* +} diff --git a/dev-php/PEAR-HTTP_Request2/metadata.xml b/dev-php/PEAR-HTTP_Request2/metadata.xml new file mode 100644 index 000000000000..ca3f38b70344 --- /dev/null +++ b/dev-php/PEAR-HTTP_Request2/metadata.xml @@ -0,0 +1,18 @@ + + + + + php-bugs@gentoo.org + PHP + + PHP5 rewrite of HTTP_Request package. + Provides an easy way to perform HTTP requests. + + + Force dev-lang/php to be compiled with curl extension + Force dev-lang/php to be compiled with fileinfo extension + Force dev-lang/php to be compiled with ssl extension + Force dev-lang/php to be compiled with zlib extension + + gentoo-staging + diff --git a/dev-php/PEAR-HTTP_Session2/Manifest b/dev-php/PEAR-HTTP_Session2/Manifest new file mode 100644 index 000000000000..4979db5f5b1e --- /dev/null +++ b/dev-php/PEAR-HTTP_Session2/Manifest @@ -0,0 +1 @@ +DIST HTTP_Session2-0.7.3.tgz 16362 BLAKE2B a4f2329adcc8df3434518245010487d8e0e4346359b4576f2c68b8a3533e20ee9a9013ea0d2c632d62b1eda2472665f3080c3deb8f73e9f9a66b087a1aac7adb SHA512 ad598f1b4ca84310c339afe31f45aafc4b8245716be39e220cd9a62ea64f1a0aef0872b0a9b076ecc7f0d9fad4a4fa7dada7b4c46c2eddf4f26a9f5ef2c759c2 diff --git a/dev-php/PEAR-HTTP_Session2/PEAR-HTTP_Session2-0.7.3-r2.ebuild b/dev-php/PEAR-HTTP_Session2/PEAR-HTTP_Session2-0.7.3-r2.ebuild new file mode 100644 index 000000000000..12786ba2a7fc --- /dev/null +++ b/dev-php/PEAR-HTTP_Session2/PEAR-HTTP_Session2-0.7.3-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Wraps PHP's session functions providing extras like db storage for session data" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal test" +RESTRICT="!test? ( test )" + +RDEPEND="!minimal? ( >=dev-php/PEAR-MDB2-2.4.1 + >=dev-php/PEAR-DB-1.7.11 )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +src_test() { + pear run-tests tests || die "Tests failed" +} diff --git a/dev-php/PEAR-HTTP_Session2/metadata.xml b/dev-php/PEAR-HTTP_Session2/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-HTTP_Session2/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Image_Color2/Manifest b/dev-php/PEAR-Image_Color2/Manifest new file mode 100644 index 000000000000..3c8e770941d9 --- /dev/null +++ b/dev-php/PEAR-Image_Color2/Manifest @@ -0,0 +1 @@ +DIST Image_Color2-0.1.5.tgz 18954 BLAKE2B 836b7a8d9eebb3208ec0a1bb81f50dd0c3e00489c407b85f92a38fd72090e20b0fb61dd8407fc03e94c6dc71a4f84757d4477dd74cb89455baad59994b1f6665 SHA512 b6b5b3252b577828702153b9d2b192b7bf372201d0a41e470c76ace6747294be3f57a24baa109877af2c3333398792e7361e2faf51b50b0e706530ee4ae0394f diff --git a/dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild b/dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild new file mode 100644 index 000000000000..2a467775c007 --- /dev/null +++ b/dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Color conversion and mixing for PHP5" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( >=dev-php/phpunit-5 )" + +src_prepare() { + # Modernize tests + sed -i -e "/require_once 'PHPUnit\/Framework.php';/d" \ + -e "s/assertType('\(Image_[a-zA-Z2_]*\)',/assertInstanceOf(\1::class,/" \ + -e "s/assertType('array',/assertInternalType('array',/" \ + -e "s/assertType('string',/assertInternalType('string',/" \ + tests/*.php tests/Model/*.php || die + default +} + +src_test() { + phpunit tests/AllTests.php || die +} diff --git a/dev-php/PEAR-Image_Color2/metadata.xml b/dev-php/PEAR-Image_Color2/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Image_Color2/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Image_GraphViz/Manifest b/dev-php/PEAR-Image_GraphViz/Manifest new file mode 100644 index 000000000000..4097cd462119 --- /dev/null +++ b/dev-php/PEAR-Image_GraphViz/Manifest @@ -0,0 +1 @@ +DIST Image_GraphViz-1.3.0_p20151104.tar.gz 18109 BLAKE2B 9a8c269a7f4eff787a67c84770c296d3e032a038cae04b888ea5ae26525b24a764ad01d6300d7e7a4c3cf78acb4e077b1f9091cced4ef57031f6ce3aaef2a8e3 SHA512 69e9117cff950a45d8f3cfd5759be8194f477b55c09ceb990707f3ad2de2500a570fa124b73b2c81cdd6ce20b6c11fc0532a0087a515cf3c7c9a5a8ed7b1c58f diff --git a/dev-php/PEAR-Image_GraphViz/PEAR-Image_GraphViz-1.3.0_p20151104.ebuild b/dev-php/PEAR-Image_GraphViz/PEAR-Image_GraphViz-1.3.0_p20151104.ebuild new file mode 100644 index 000000000000..a745ff8c6f5c --- /dev/null +++ b/dev-php/PEAR-Image_GraphViz/PEAR-Image_GraphViz-1.3.0_p20151104.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 vcs-snapshot + +DESCRIPTION="PHP interface to AT&T's GraphViz tools" +SRC_URI="https://github.com/pear/Image_GraphViz/archive/3f8a01ae0597ca9d1d08a6e442cb0b153358fc0d.tar.gz -> ${PEAR_P}.tar.gz" +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ~sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND="media-gfx/graphviz" +DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )" +PATCHES=( "${FILESDIR}/Image_GraphViz-1.3.0-constructor.patch" ) +S="${WORKDIR}/${PEAR_P}" + +src_prepare() { + mv "${S}/package.xml" "${WORKDIR}" || die + default +} + +src_test() { + peardev run-tests tests || die +} diff --git a/dev-php/PEAR-Image_GraphViz/files/Image_GraphViz-1.3.0-constructor.patch b/dev-php/PEAR-Image_GraphViz/files/Image_GraphViz-1.3.0-constructor.patch new file mode 100644 index 000000000000..da7dfd4724ca --- /dev/null +++ b/dev-php/PEAR-Image_GraphViz/files/Image_GraphViz-1.3.0-constructor.patch @@ -0,0 +1,55 @@ +From 794fdf40ad944225854845a0ff32a5c56fb249d9 Mon Sep 17 00:00:00 2001 +From: Seb35 +Date: Sun, 6 Nov 2016 22:42:46 +0100 +Subject: [PATCH] Added __construct constructor + +This removes deprecation warnings due to old constructor +(method with the class name). Keep the old-style constructor +for compatibility (like in the PEAR main class). +--- + Image/GraphViz.php | 25 ++++++++++++++++++++++++- + 1 file changed, 24 insertions(+), 1 deletion(-) + +diff --git a/Image/GraphViz.php b/Image/GraphViz.php +index ee84ff2..92842da 100644 +--- a/Image/GraphViz.php ++++ b/Image/GraphViz.php +@@ -181,7 +181,7 @@ class Image_GraphViz + * + * @access public + */ +- function Image_GraphViz($directed = true, $attributes = array(), ++ function __construct($directed = true, $attributes = array(), + $name = 'G', $strict = true, $returnError = false) + { + $this->setDirected($directed); +@@ -192,6 +192,29 @@ function Image_GraphViz($directed = true, $attributes = array(), + $this->_returnFalseOnError = !$returnError; + } + ++ /** ++ * Compatibility constructor. ++ * ++ * @param boolean $directed Directed (TRUE) or undirected (FALSE) graph. ++ * Note: You MUST pass a boolean, and not just ++ * an expression that evaluates to TRUE or ++ * FALSE (i.e. NULL, empty string, 0 will NOT ++ * work) ++ * @param array $attributes Attributes of the graph ++ * @param string $name Name of the Graph ++ * @param boolean $strict Whether to collapse multiple edges between ++ * same nodes ++ * @param boolean $returnError Set to TRUE to return PEAR_Error instances ++ * on failures instead of FALSE ++ * ++ * @access public ++ */ ++ function Image_GraphViz($directed = true, $attributes = array(), ++ $name = 'G', $strict = true, $returnError = false) ++ { ++ self::__construct($directed, $attributes, $name, $strinct, $returnError); ++ } ++ + /** + * Outputs image of the graph in a given format + * diff --git a/dev-php/PEAR-Image_GraphViz/metadata.xml b/dev-php/PEAR-Image_GraphViz/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Image_GraphViz/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Image_IPTC/Manifest b/dev-php/PEAR-Image_IPTC/Manifest new file mode 100644 index 000000000000..e96098abe983 --- /dev/null +++ b/dev-php/PEAR-Image_IPTC/Manifest @@ -0,0 +1 @@ +DIST Image_IPTC-1.0.2.tgz 3530 BLAKE2B 359425d308dabf82729993113e8e21ae5f48f470b7a49a0adde2728f6b6ffb42c12908f10fa7cd8756e6fb5f5a30cd59371f567a9509ea844bc66e94af5cf53f SHA512 6481d2e9597a6fa5e6e7a782d18a9d7275d766a38f49d52d2ebddcd918c12c3632eceb2b5b1547f631be630779deab2f41894bf241a3e650d5f046e02201af1f diff --git a/dev-php/PEAR-Image_IPTC/PEAR-Image_IPTC-1.0.2-r2.ebuild b/dev-php/PEAR-Image_IPTC/PEAR-Image_IPTC-1.0.2-r2.ebuild new file mode 100644 index 000000000000..b7a4107be235 --- /dev/null +++ b/dev-php/PEAR-Image_IPTC/PEAR-Image_IPTC-1.0.2-r2.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="This package provides a mechanism for modifying IPTC header information" +LICENSE="PHP-2.02" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" + +src_install() { + insinto /usr/share/php/Image + doins IPTC.php + php-pear-r2_install_packagexml +} diff --git a/dev-php/PEAR-Image_IPTC/metadata.xml b/dev-php/PEAR-Image_IPTC/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Image_IPTC/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Image_Text/Manifest b/dev-php/PEAR-Image_Text/Manifest new file mode 100644 index 000000000000..f88bd4a5c356 --- /dev/null +++ b/dev-php/PEAR-Image_Text/Manifest @@ -0,0 +1 @@ +DIST Image_Text-0.7.0.tgz 102049 BLAKE2B e4c9cfd1b775891adaede8fc6619c4d32a1078d37939214eb7b21ab0ed8133f6c25e1f79823988103393ce2ba90a0e23109b1f0e9e4e393b460ac2b8bcf1f2c6 SHA512 6644cda649ecf2861af1999a7a1b8c59e2c39f178eaf818c2f3afa532b6eb1fee16eff1f3cb1ef471d5480c023452ab9226edd7ee2232353120ec2976d67b1c5 diff --git a/dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0-r1.ebuild b/dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0-r1.ebuild new file mode 100644 index 000000000000..1a81ce610386 --- /dev/null +++ b/dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Advanced text manipulations in images" +LICENSE="PHP-3" +SLOT="0" + +KEYWORDS="amd64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[gd,truetype]" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_test() { + phpunit tests || die +} diff --git a/dev-php/PEAR-Image_Text/metadata.xml b/dev-php/PEAR-Image_Text/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Image_Text/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Log/Manifest b/dev-php/PEAR-Log/Manifest new file mode 100644 index 000000000000..0283dfac6270 --- /dev/null +++ b/dev-php/PEAR-Log/Manifest @@ -0,0 +1,2 @@ +DIST Log-1.13.1.tgz 46764 BLAKE2B dc0f4605ed801818ddf070ec3beb6818af1630d99bec721cd3f487e709f87bd4a1628a05854c48fe9775aab546bdce4618061ef37674aa9921f536deccc6a080 SHA512 246510b7dbff4dc9f9cdd951d76baf2dd377e30ffde6d38cadac10091dcb92f8095406edb6d8a87ebe2330d514ce99f355f84ebfe57cd8a3f3babc316995148a +DIST Log-1.13.2.tgz 46801 BLAKE2B 529677ed8a840742840a8ebeb5f5c7d4e8a8af257f9c3b1cb9ff990e42e760e0040f7df8d94794f40ec5654cf33e1909b7b48ca3f656d2a2bc0310c6705d6c24 SHA512 a4adaf7ee2af600a6c14ed398159c61a7df73b2c6be928f0ea6bbaf90d4b0e866e5a169953fa7819e293cd5cb29c6aca762ced79f3619dfbb38af1ea8731b1c4 diff --git a/dev-php/PEAR-Log/PEAR-Log-1.13.1.ebuild b/dev-php/PEAR-Log/PEAR-Log-1.13.1.ebuild new file mode 100644 index 000000000000..7f0a72dee5f0 --- /dev/null +++ b/dev-php/PEAR-Log/PEAR-Log-1.13.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The Log framework provides an abstracted logging system" +HOMEPAGE="https://pear.php.net/package/Log" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +# The DB, Mail, and MDB2 dependencies are technically optional, but +# automagic. To avoid surprises, we require them unconditionally. +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR + dev-php/PEAR-DB + dev-php/PEAR-Mail + dev-php/PEAR-MDB2" +DEPEND="test? ( ${RDEPEND} )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc docs/guide.txt misc/log.sql + use examples && dodoc -r examples + + # I don't like installing "Log.php" right at the top-level, but any + # packages depending on us will expect to find it there and not as + # e.g. Log/Log.php. + insinto "/usr/share/php/" + doins Log.php + doins -r Log +} + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Log/PEAR-Log-1.13.2.ebuild b/dev-php/PEAR-Log/PEAR-Log-1.13.2.ebuild new file mode 100644 index 000000000000..384c2311aa5c --- /dev/null +++ b/dev-php/PEAR-Log/PEAR-Log-1.13.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The Log framework provides an abstracted logging system" +HOMEPAGE="https://pear.php.net/package/Log" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +# The DB, Mail, and MDB2 dependencies are technically optional, but +# automagic. To avoid surprises, we require them unconditionally. +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR + dev-php/PEAR-DB + dev-php/PEAR-Mail + dev-php/PEAR-MDB2" +DEPEND="test? ( ${RDEPEND} )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc docs/guide.txt misc/log.sql + use examples && dodoc -r examples + + # I don't like installing "Log.php" right at the top-level, but any + # packages depending on us will expect to find it there and not as + # e.g. Log/Log.php. + insinto "/usr/share/php/" + doins Log.php + doins -r Log +} + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Log/metadata.xml b/dev-php/PEAR-Log/metadata.xml new file mode 100644 index 000000000000..5b291e00f0d9 --- /dev/null +++ b/dev-php/PEAR-Log/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Log + + gentoo-staging + diff --git a/dev-php/PEAR-MDB/Manifest b/dev-php/PEAR-MDB/Manifest new file mode 100644 index 000000000000..f58b7b38f08b --- /dev/null +++ b/dev-php/PEAR-MDB/Manifest @@ -0,0 +1 @@ +DIST MDB-1.3.0.tgz 218957 BLAKE2B 17dbcea6487180a19386177cf5ab88abd744d8d52c16bcf156447dfa30c6489329fb6350ef6c33f4923bac6cd5465335010f6d3a7123fd1a21ab4cb845130517 SHA512 48a3319b66cc0ba60a9b96278b6f40015c4cf13d43d4b176b7682b4ad0b071b74830446c71347fcb47c5548ccfc35b98f61f2638a8fb2521534603a39843d37a diff --git a/dev-php/PEAR-MDB/PEAR-MDB-1.3.0-r2.ebuild b/dev-php/PEAR-MDB/PEAR-MDB-1.3.0-r2.ebuild new file mode 100644 index 000000000000..b8f5865dc858 --- /dev/null +++ b/dev-php/PEAR-MDB/PEAR-MDB-1.3.0-r2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="PEAR MDB combines the PEAR DB and Metabase php database abstraction layers" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" +RDEPEND="dev-php/PEAR-XML_Parser" +HTML_DOCS=( doc/xml_schema.xsl doc/skeleton.php doc/xml_schema_documentation.html doc/tutorial.html doc/datatypes.html doc/Modules_Manager_skeleton.php ) diff --git a/dev-php/PEAR-MDB/metadata.xml b/dev-php/PEAR-MDB/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-MDB/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-MDB2/Manifest b/dev-php/PEAR-MDB2/Manifest new file mode 100644 index 000000000000..12aeecdac9a5 --- /dev/null +++ b/dev-php/PEAR-MDB2/Manifest @@ -0,0 +1 @@ +DIST MDB2-2.5.0b5.tgz 136834 BLAKE2B 4736cd205f186b56af4ad7b0c6a83aee5c042d06202464b4226d76e0e37608472f4650f6849de1912f6e47f35ff41ef6fe55f6449835f86ef7eb7ae8bb6e02e2 SHA512 76381594070d250f4428eebeaa4867e72b2be0723ec592ff4f0fba089823e97de057f93e630a5cb226ca2f67028bee57072a0af30677728d614d7a7242c6c6fc diff --git a/dev-php/PEAR-MDB2/PEAR-MDB2-2.5.0_beta5-r2.ebuild b/dev-php/PEAR-MDB2/PEAR-MDB2-2.5.0_beta5-r2.ebuild new file mode 100644 index 000000000000..a0a6739e7dc8 --- /dev/null +++ b/dev-php/PEAR-MDB2/PEAR-MDB2-2.5.0_beta5-r2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PEAR_PV=${PV/_beta/b} + +inherit php-pear-r2 + +DESCRIPTION="Database Abstraction Layer" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="mssql mysql mysqli oci8 oci8-instant-client postgres sqlite" + +RDEPEND=">=dev-php/PEAR-PEAR-1.9.1" + +PDEPEND="mssql? ( >=dev-php/PEAR-MDB2_Driver_mssql-1.3.0_beta4 ) + mysql? ( >=dev-php/PEAR-MDB2_Driver_mysqli-1.5.0_beta4 ) + mysqli? ( >=dev-php/PEAR-MDB2_Driver_mysqli-1.5.0_beta4 ) + oci8? ( >=dev-php/PEAR-MDB2_Driver_oci8-1.5.0_beta4 ) + oci8-instant-client? ( >=dev-php/PEAR-MDB2_Driver_oci8-1.5.0_beta4 ) + postgres? ( >=dev-php/PEAR-MDB2_Driver_pgsql-1.5.0_beta4 )" + +DOCS=( docs/CONTRIBUTORS docs/MAINTAINERS docs/README docs/STATUS docs/TODO ) +HTML_DOCS=( docs/datatypes.html) diff --git a/dev-php/PEAR-MDB2/metadata.xml b/dev-php/PEAR-MDB2/metadata.xml new file mode 100644 index 000000000000..81583e576769 --- /dev/null +++ b/dev-php/PEAR-MDB2/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + MDB2 + + gentoo-staging + diff --git a/dev-php/PEAR-MDB2_Driver_mssql/Manifest b/dev-php/PEAR-MDB2_Driver_mssql/Manifest new file mode 100644 index 000000000000..32eba0006f44 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_mssql/Manifest @@ -0,0 +1 @@ +DIST MDB2_Driver_mssql-1.5.0b4.tgz 37246 BLAKE2B d53ad20004cb96d4c927ff897ae37a28b907c08e8ec9298e18e9c237bb58eff6d5d5e60b466608db6a143a71fec6d519a60d6da502cddf7018a777f65d278560 SHA512 9d8634508eaaed7ed35c4a2e61dcd31a20049f519dafeb6ac07541c4121ebe6efebf1db42d0352aea90971f3fd272085278fef0aabce4a527cf61bb7205321cd diff --git a/dev-php/PEAR-MDB2_Driver_mssql/PEAR-MDB2_Driver_mssql-1.5.0_beta4-r1.ebuild b/dev-php/PEAR-MDB2_Driver_mssql/PEAR-MDB2_Driver_mssql-1.5.0_beta4-r1.ebuild new file mode 100644 index 000000000000..6c02e86f6c91 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_mssql/PEAR-MDB2_Driver_mssql-1.5.0_beta4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PEAR_PV=${PV/_beta/b} + +inherit php-pear-r2 + +DESCRIPTION="Database Abstraction Layer, mssql driver" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +RDEPEND=">=dev-php/PEAR-MDB2-2.5.0_beta3 + dev-lang/php:*[mssql]" diff --git a/dev-php/PEAR-MDB2_Driver_mssql/metadata.xml b/dev-php/PEAR-MDB2_Driver_mssql/metadata.xml new file mode 100644 index 000000000000..367f14148f1d --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_mssql/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + MDB2_Driver_mssql + + gentoo-staging + diff --git a/dev-php/PEAR-MDB2_Driver_mysqli/Manifest b/dev-php/PEAR-MDB2_Driver_mysqli/Manifest new file mode 100644 index 000000000000..99850b480f50 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_mysqli/Manifest @@ -0,0 +1 @@ +DIST MDB2_Driver_mysqli-1.5.0b4.tgz 49450 BLAKE2B db8341c8d9fb6f121daf0bf8d5004b57afc59a0dbe5fa662591d2026424acc015cc4b23848284f639c8d614ae01b4f43a5d185ef6b8528df79079356f3f0cbeb SHA512 cb4ba5b34b241f1eb6da72e63f47a99c939ac895530b20d077cf94fa96a9b36826aa128386ffa10e51488f8f3e93da9015805f6f28ddb8729e2812ff240ea894 diff --git a/dev-php/PEAR-MDB2_Driver_mysqli/PEAR-MDB2_Driver_mysqli-1.5.0_beta4-r1.ebuild b/dev-php/PEAR-MDB2_Driver_mysqli/PEAR-MDB2_Driver_mysqli-1.5.0_beta4-r1.ebuild new file mode 100644 index 000000000000..8fe922643f62 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_mysqli/PEAR-MDB2_Driver_mysqli-1.5.0_beta4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PEAR_PV=${PV/_beta/b} + +inherit php-pear-r2 + +DESCRIPTION="Database Abstraction Layer, mysqli driver" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +RDEPEND=">=dev-php/PEAR-MDB2-2.5.0_beta3 + dev-lang/php:*[mysqli(-)]" diff --git a/dev-php/PEAR-MDB2_Driver_mysqli/metadata.xml b/dev-php/PEAR-MDB2_Driver_mysqli/metadata.xml new file mode 100644 index 000000000000..025749d9d849 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_mysqli/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + MDB2_Driver_mysqli + + gentoo-staging + diff --git a/dev-php/PEAR-MDB2_Driver_oci8/Manifest b/dev-php/PEAR-MDB2_Driver_oci8/Manifest new file mode 100644 index 000000000000..73b096d00796 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_oci8/Manifest @@ -0,0 +1 @@ +DIST MDB2_Driver_oci8-1.5.0b4.tgz 44672 BLAKE2B b680fe38ee212cf6ecdfab1b361b710060ad239fd9312783da7e61d52ee84da81f8eda3afc5b4a4fd5bcb4d2dd82922c4dd0f601a13b1d89fd20d79e3fcdcfa3 SHA512 2b4327a06c43cb28a16ead10855377a6501bddfe30397b5af9c7037ce67394e9a9815578b24bfafcf0c8c20ab87fff89f7803b5b99afa5e5d2a278c78588c3d2 diff --git a/dev-php/PEAR-MDB2_Driver_oci8/PEAR-MDB2_Driver_oci8-1.5.0_beta4-r1.ebuild b/dev-php/PEAR-MDB2_Driver_oci8/PEAR-MDB2_Driver_oci8-1.5.0_beta4-r1.ebuild new file mode 100644 index 000000000000..6ecd3a046e90 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_oci8/PEAR-MDB2_Driver_oci8-1.5.0_beta4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PEAR_PV=${PV/_beta/b} + +inherit php-pear-r2 + +DESCRIPTION="Database Abstraction Layer, oci8 driver" +LICENSE="BSD" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="" + +RDEPEND=">=dev-php/PEAR-MDB2-2.5.0_beta3 + dev-lang/php:*[oci8-instant-client(-)]" diff --git a/dev-php/PEAR-MDB2_Driver_oci8/metadata.xml b/dev-php/PEAR-MDB2_Driver_oci8/metadata.xml new file mode 100644 index 000000000000..99dd20c4558c --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_oci8/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + MDB2_Driver_oci8 + + gentoo-staging + diff --git a/dev-php/PEAR-MDB2_Driver_pgsql/Manifest b/dev-php/PEAR-MDB2_Driver_pgsql/Manifest new file mode 100644 index 000000000000..aea07261c419 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_pgsql/Manifest @@ -0,0 +1 @@ +DIST MDB2_Driver_pgsql-1.5.0b4.tgz 42404 BLAKE2B 344d952cd745f66e3636c90c2262ce643a5af79a9fe919ddea63a76a7e4c9b97295b06e083f2b8866702b131bf5458380fee66b9cc6aeb5bb2190fdd189a4b03 SHA512 3beda16ee937f3f3af9217f778ae21bb67abe21bf338efa7fc7df0d512bad41cea5b10d4be26bc8055a0107cb14a814ae5da3db2d4346d479082d31cd1cec091 diff --git a/dev-php/PEAR-MDB2_Driver_pgsql/PEAR-MDB2_Driver_pgsql-1.5.0_beta4-r1.ebuild b/dev-php/PEAR-MDB2_Driver_pgsql/PEAR-MDB2_Driver_pgsql-1.5.0_beta4-r1.ebuild new file mode 100644 index 000000000000..2dea3f0cbbf1 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_pgsql/PEAR-MDB2_Driver_pgsql-1.5.0_beta4-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PEAR_PV=${PV/_beta/b} + +inherit php-pear-r2 + +DESCRIPTION="Database Abstraction Layer, pgsql driver" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +RDEPEND=">=dev-php/PEAR-MDB2-2.5.0_beta3 + dev-lang/php:*[postgres(-)]" diff --git a/dev-php/PEAR-MDB2_Driver_pgsql/metadata.xml b/dev-php/PEAR-MDB2_Driver_pgsql/metadata.xml new file mode 100644 index 000000000000..eec1b2b639f8 --- /dev/null +++ b/dev-php/PEAR-MDB2_Driver_pgsql/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + MDB2_Driver_pgsql + + gentoo-staging + diff --git a/dev-php/PEAR-MIME_Type/Manifest b/dev-php/PEAR-MIME_Type/Manifest new file mode 100644 index 000000000000..cceaf0407bb1 --- /dev/null +++ b/dev-php/PEAR-MIME_Type/Manifest @@ -0,0 +1 @@ +DIST MIME_Type-1.4.1.tgz 21807 BLAKE2B 9f90e1dd4505ded94ee47b913814b21a7c9ab9bffabb330005ef5f04bcd9a7c89ecc5bbedbc65c60c63e4769fd0a50bbe0528b1622a25a86a4b7e1873f840f9d SHA512 f70507a44c0f81381baa0532a0f1337932cd69d054b96367b6ee98873fd85a51721f876b9aab679a18aff10b151ad1b447ff1c3f92288827e74e32b2627cdd01 diff --git a/dev-php/PEAR-MIME_Type/PEAR-MIME_Type-1.4.1.ebuild b/dev-php/PEAR-MIME_Type/PEAR-MIME_Type-1.4.1.ebuild new file mode 100644 index 000000000000..98f24243bb9a --- /dev/null +++ b/dev-php/PEAR-MIME_Type/PEAR-MIME_Type-1.4.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +HOMEPAGE="https://pear.php.net/package/MIME_Type" +SRC_URI="https://pear.php.net/get/${P#PEAR-}.tgz" +DESCRIPTION="Utility class for dealing with MIME types" +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 ~sparc x86" +IUSE="" +RDEPEND=">=dev-lang/php-5.4:* + >=dev-php/pear-1.9 + dev-php/PEAR-System_Command" +S="${WORKDIR}/${P#PEAR-}" + +src_install() { + insinto /usr/share/php + doins -r MIME +} diff --git a/dev-php/PEAR-MIME_Type/metadata.xml b/dev-php/PEAR-MIME_Type/metadata.xml new file mode 100644 index 000000000000..1b68909e56fa --- /dev/null +++ b/dev-php/PEAR-MIME_Type/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + MIME_Type + + gentoo-staging + diff --git a/dev-php/PEAR-Mail/Manifest b/dev-php/PEAR-Mail/Manifest new file mode 100644 index 000000000000..49efc8d48e61 --- /dev/null +++ b/dev-php/PEAR-Mail/Manifest @@ -0,0 +1 @@ +DIST Mail-1.4.1.tgz 21756 BLAKE2B 247df343a7b09760501918681cadc3a649ff9f2bd9974aa714a3661e64af6f1503edeb8ef0030f0ce113c43467cada3e7d62c6a60e751b5c8e6980c14f97fdbb SHA512 851fa64bcf042fba58a70833c12ec5d7af6382e14e6157eeeb5be51b22cdfa5677c5d1eeba8c1f9eef6d55c2d732a4d5d6ea28c726aef232b233c170f7b82307 diff --git a/dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild b/dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild new file mode 100644 index 000000000000..03f9c146fc0f --- /dev/null +++ b/dev-php/PEAR-Mail/PEAR-Mail-1.4.1-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Class that provides multiple interfaces for sending emails" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-php/PEAR-Net_SMTP-1.4.1" +DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )" + +src_test() { + peardev run-tests tests || die +} diff --git a/dev-php/PEAR-Mail/metadata.xml b/dev-php/PEAR-Mail/metadata.xml new file mode 100644 index 000000000000..d25598cb953a --- /dev/null +++ b/dev-php/PEAR-Mail/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Mail + + gentoo-staging + diff --git a/dev-php/PEAR-Mail_Mime/Manifest b/dev-php/PEAR-Mail_Mime/Manifest new file mode 100644 index 000000000000..45836d931247 --- /dev/null +++ b/dev-php/PEAR-Mail_Mime/Manifest @@ -0,0 +1,4 @@ +DIST Mail_Mime-1.10.2.tgz 36501 BLAKE2B 59e900b99061e84d307eb46d295f843404ae06b01936cec4ed610c298b6f7e8fcee15098fa6d935696122311eae2dbf733611410b2249f2535673a3031011fa3 SHA512 4e3b2a2adc58d8b4f16f56509c9f22638dc37aedf1bec60871706390198198be6ed6dccae8c250eb33de3a441aeb122097ffaddbc49191745f0f09693ec6612b +DIST Mail_Mime-1.10.4.tgz 36909 BLAKE2B 101d050d96b717ad970a6f8c170ba8ea7d94252274f0b006a266a5ef4ac9d49fb350d3bf120ce645e5a54af1f0ad0ab664c828abfa8a4a96170e7204c73dfd82 SHA512 6e58e1078292cf43605313e2402b60deb97be0b56c8eb5dbbb501cf92ca836ca4bdbc9e1ab878c89f8e59941962a91b73dd917c8e678f0944f271e5537f065e5 +DIST Mail_Mime-1.10.6.tgz 38355 BLAKE2B d12b0496122c67236090db84710aa1fa660570d82952f037ddeb795ac3184a427965e12b21a6dcd6bfaea692299fb6e610822a364470c444455369f96dbbe972 SHA512 223e4a3a3ab52497d7cee551108642aa8c90328cd5d28ec0f215e16e0f2066fbaa3e4d51e62080d322846f8410c2e4641cd7c743e736062b6f8215e637877518 +DIST Mail_Mime-1.10.7.tgz 38445 BLAKE2B 4e990a9a704aa8fd918dcbcd271946cd5a76c55783cfa207a9a8d171c1e0d407e19e2a30ce46689c8afddeee0037082d77ecbc0e3fb0b4e94f82a2b242ef22c6 SHA512 b3ac0076d3519c14f0331b73940a4fa47cfeb1d2c31d5a5ffa820042fc9b56a8b4d479f349dbe213164c157d5c56caaf0b4f70ef422cc3eba40443433c813d60 diff --git a/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.2-r1.ebuild b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.2-r1.ebuild new file mode 100644 index 000000000000..d3b8fe4bc6c5 --- /dev/null +++ b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.2-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Create and manipulate mime messages with PHP" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.4.ebuild b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.4.ebuild new file mode 100644 index 000000000000..a88d469a1fcd --- /dev/null +++ b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit php-pear-r2 + +DESCRIPTION="Create and manipulate mime messages with PHP" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-php/PEAR-PEAR )" + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.6.ebuild b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.6.ebuild new file mode 100644 index 000000000000..a88d469a1fcd --- /dev/null +++ b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.6.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit php-pear-r2 + +DESCRIPTION="Create and manipulate mime messages with PHP" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-php/PEAR-PEAR )" + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.7.ebuild b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.7.ebuild new file mode 100644 index 000000000000..a88d469a1fcd --- /dev/null +++ b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.10.7.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit php-pear-r2 + +DESCRIPTION="Create and manipulate mime messages with PHP" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-php/PEAR-PEAR )" + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Mail_Mime/metadata.xml b/dev-php/PEAR-Mail_Mime/metadata.xml new file mode 100644 index 000000000000..e21ee115ea22 --- /dev/null +++ b/dev-php/PEAR-Mail_Mime/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + gentoo-staging + diff --git a/dev-php/PEAR-Mail_mimeDecode/Manifest b/dev-php/PEAR-Mail_mimeDecode/Manifest new file mode 100644 index 000000000000..f99b8b828811 --- /dev/null +++ b/dev-php/PEAR-Mail_mimeDecode/Manifest @@ -0,0 +1 @@ +DIST Mail_mimeDecode-1.5.6.tgz 13258 BLAKE2B 7e027cf9bf2a450bde639f8c530f216cc8dfd9eab719829dedad029d98fc5c4806279d13ec3ffb5191ba23edf64ae658ca0ec8d83f116da3fafbd23d758a9f00 SHA512 fe46ff2542acd3b180981c7dae41a1979b2edb3bfa5ad716a1ff39a255c2c04d92a7d770ae6531e38f3b869173f576fba44410c8e03269510d71dce5fa345bd1 diff --git a/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild new file mode 100644 index 000000000000..cd7919d7c8bc --- /dev/null +++ b/dev-php/PEAR-Mail_mimeDecode/PEAR-Mail_mimeDecode-1.5.6-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Provides a class to decode mime messages (split from PEAR-Mail_Mime)" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2" +DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )" + +src_test() { + pear run-tests tests || die +} diff --git a/dev-php/PEAR-Mail_mimeDecode/metadata.xml b/dev-php/PEAR-Mail_mimeDecode/metadata.xml new file mode 100644 index 000000000000..b9e5ca916fa7 --- /dev/null +++ b/dev-php/PEAR-Mail_mimeDecode/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Mail_mimeDecode + + gentoo-staging + diff --git a/dev-php/PEAR-Math_BigInteger/Manifest b/dev-php/PEAR-Math_BigInteger/Manifest new file mode 100644 index 000000000000..02118b358bea --- /dev/null +++ b/dev-php/PEAR-Math_BigInteger/Manifest @@ -0,0 +1 @@ +DIST Math_BigInteger-1.0.3.tgz 28009 BLAKE2B 21bce67edff73b791322e364d15a1da2c57e9559aa4684b435fe6a8f17a14ce30b81d8ade0fc46d995a1c8f61843ec239ba1c09394adfa9cf77ccf448ecf3d72 SHA512 c8d6d638a6093b39e0f95e55d4d7488ddda1ad512504a97ce62a78ffae969b0d90925d6252b26230e5664f84b0a6b70fb456a678fbb291ca1a068cc7c539f415 diff --git a/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3-r1.ebuild b/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3-r1.ebuild new file mode 100644 index 000000000000..adfa2c539627 --- /dev/null +++ b/dev-php/PEAR-Math_BigInteger/PEAR-Math_BigInteger-1.0.3-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Pure-PHP arbitrary precision integer arithmetic library" +HOMEPAGE=" + https://pear.php.net/package/Math_BigInteger + http://phpseclib.sourceforge.net/documentation/math.html" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" +DEPEND="" +RDEPEND="dev-lang/php:*" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Math + + dodoc demo/{benchmark,demo}.php +} diff --git a/dev-php/PEAR-Math_BigInteger/metadata.xml b/dev-php/PEAR-Math_BigInteger/metadata.xml new file mode 100644 index 000000000000..ec25d896fe96 --- /dev/null +++ b/dev-php/PEAR-Math_BigInteger/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + Math_BigInteger + phpseclib + + gentoo-staging + diff --git a/dev-php/PEAR-Net_DNS/Manifest b/dev-php/PEAR-Net_DNS/Manifest new file mode 100644 index 000000000000..3e6daf75b063 --- /dev/null +++ b/dev-php/PEAR-Net_DNS/Manifest @@ -0,0 +1 @@ +DIST Net_DNS-1.0.7.tgz 32647 BLAKE2B 2e48b289a51ab5a2c551e1d3ac5a546289e9cc0af51cb4b6494e3bd28d1edc5c313b52b9061b86a8978bd879d3d6ddc00deebfdcdba3d41e48d3457e1b8d320a SHA512 4f3b9c416f0b41f5bf2870b4a7bfad1756c87bec6d0b9d24c36f99792bb3fae61e80d7c366d3a632016964a6bd14f07f52cf16976018c3bba8beb64b22987a5c diff --git a/dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7-r1.ebuild b/dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7-r1.ebuild new file mode 100644 index 000000000000..ac2c7ce25eb7 --- /dev/null +++ b/dev-php/PEAR-Net_DNS/PEAR-Net_DNS-1.0.7-r1.ebuild @@ -0,0 +1,12 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Resolver library used to communicate with a DNS server" +LICENSE="PHP-3.01 || ( LGPL-2.1 LGPL-3 )" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" diff --git a/dev-php/PEAR-Net_DNS/metadata.xml b/dev-php/PEAR-Net_DNS/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Net_DNS/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Net_DNS2/Manifest b/dev-php/PEAR-Net_DNS2/Manifest new file mode 100644 index 000000000000..5d0145ba0724 --- /dev/null +++ b/dev-php/PEAR-Net_DNS2/Manifest @@ -0,0 +1 @@ +DIST Net_DNS2-1.4.4.tgz 83242 BLAKE2B 107e57406fcc308e3f83c71df0425081ba3d6638f457877e5ed42bfea8abed65ee520e228a379b71cc1462960e995d9c6592ad03afad78b36191f03d1f1513d6 SHA512 fa9df14585b3e41b13f4b52521b8fc05b239c39bccd4baf776dc632913777962dc527b9ff5de2337c9c0d78c6908d555d14167991dfe368426aee57a415f7e78 diff --git a/dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.4.ebuild b/dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.4.ebuild new file mode 100644 index 000000000000..a4f4682ca495 --- /dev/null +++ b/dev-php/PEAR-Net_DNS2/PEAR-Net_DNS2-1.4.4.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit php-pear-r2 + +DESCRIPTION="Object-oriented PHP5 resolver library used to communicate with a DNS server" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-php/PEAR-PEAR >=dev-lang/php-5.3:*[sockets]" + +DOCS=( README.md ) diff --git a/dev-php/PEAR-Net_DNS2/metadata.xml b/dev-php/PEAR-Net_DNS2/metadata.xml new file mode 100644 index 000000000000..e1f446a3cbf1 --- /dev/null +++ b/dev-php/PEAR-Net_DNS2/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Net_DNS2 + + gentoo-staging + diff --git a/dev-php/PEAR-Net_DNSBL/Manifest b/dev-php/PEAR-Net_DNSBL/Manifest new file mode 100644 index 000000000000..659c772d05b5 --- /dev/null +++ b/dev-php/PEAR-Net_DNSBL/Manifest @@ -0,0 +1 @@ +DIST Net_DNSBL-1.3.7.tgz 8125 BLAKE2B 635258a5062ff0a7346b289f9cf429103690d71485417c948d7007e4b344dbadb25097d9f0c8731cb7eb5e72b3d7be561c7d872490d859a2328bb97f9a75350d SHA512 6591b81e5e4b98092daea3e27993099028581052a7907b79b4231d549b4d9aaa6fddbd53fd8bfe9734ae41fc85c46f2fc17e5ce50e8303fa5c166dd4b3062ea0 diff --git a/dev-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild b/dev-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild new file mode 100644 index 000000000000..777b6415f1ba --- /dev/null +++ b/dev-php/PEAR-Net_DNSBL/PEAR-Net_DNSBL-1.3.7-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PHP library to query DNS blacklists" +HOMEPAGE="https://pear.php.net/package/Net_DNSBL" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 sparc x86" +IUSE="examples" +RDEPEND="dev-lang/php:* + dev-php/PEAR-Cache_Lite + dev-php/PEAR-HTTP_Request2 + dev-php/PEAR-Net_DNS + dev-php/PEAR-PEAR + examples? ( dev-lang/php:*[cli] dev-php/PEAR-Console_Getopt )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + use examples && dodoc -r examples + + insinto /usr/share/php + doins -r Net +} diff --git a/dev-php/PEAR-Net_DNSBL/metadata.xml b/dev-php/PEAR-Net_DNSBL/metadata.xml new file mode 100644 index 000000000000..7ced41cd184b --- /dev/null +++ b/dev-php/PEAR-Net_DNSBL/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Net_DNSBL + Net_DNSBL + + gentoo-staging + diff --git a/dev-php/PEAR-Net_IDNA2/Manifest b/dev-php/PEAR-Net_IDNA2/Manifest new file mode 100644 index 000000000000..449bf1daa1c4 --- /dev/null +++ b/dev-php/PEAR-Net_IDNA2/Manifest @@ -0,0 +1 @@ +DIST Net_IDNA2-0.2.0.tgz 24624 BLAKE2B c091a8f9c3c13105308f97c0e44c6abd80fed015617ba433d83d294efe69e5431ae5b92cb019e17a603a056ee644ae096359f6638bcee3aea8a53a86ea98f6a8 SHA512 728c79bd893d7202376cf9db7a285b69b6821db89621a454081f7c7b01123141950395106f11699c991733314a05f4810f3257dbab0b29592856b35dbb471e54 diff --git a/dev-php/PEAR-Net_IDNA2/PEAR-Net_IDNA2-0.2.0.ebuild b/dev-php/PEAR-Net_IDNA2/PEAR-Net_IDNA2-0.2.0.ebuild new file mode 100644 index 000000000000..4232a2e66fc3 --- /dev/null +++ b/dev-php/PEAR-Net_IDNA2/PEAR-Net_IDNA2-0.2.0.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Punycode encoding and decoding" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 arm ~hppa ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1" diff --git a/dev-php/PEAR-Net_IDNA2/metadata.xml b/dev-php/PEAR-Net_IDNA2/metadata.xml new file mode 100644 index 000000000000..0e9784e9bc9a --- /dev/null +++ b/dev-php/PEAR-Net_IDNA2/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Net_IDNA2 + + gentoo-staging + diff --git a/dev-php/PEAR-Net_IPv4/Manifest b/dev-php/PEAR-Net_IPv4/Manifest new file mode 100644 index 000000000000..d81abbd04a36 --- /dev/null +++ b/dev-php/PEAR-Net_IPv4/Manifest @@ -0,0 +1,2 @@ +DIST Net_IPv4-1.3.4.tgz 5981 BLAKE2B 5002a06d30443cf809346351a6c57c1faf1be0e6531fc0c7609ad6a9575122c53fa1c3f2e6614b77401adcfcdc604ee6b8ce5538d92aa8f42e8bf709899a0cba SHA512 6b172e3d998232d53e56c2760282346e98307aefd47d5801a3803c3f55d5df3de26fe466d2594081a46f55bc59e1d040d8727b47cd9bcab1b132a31b4982bba1 +DIST Net_IPv4-1.3.5.tgz 6346 BLAKE2B a12592f262b2784dc5ffb04ab693f44d514a45a16b98bc2f9f7258669684f565f60127a156e5a319e76a2e426523f2a969335cb06dfd0de534584c03d45c262f SHA512 6ed6c550217b70091c9d006519dd5731be46b02540867c1733d0c142f6e56712eb545bf5b1713e49fea3c5af8a81db86b9c9669ac2ca6eff0b95e52e29a853ed diff --git a/dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.4-r1.ebuild b/dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.4-r1.ebuild new file mode 100644 index 000000000000..1552ee3c9303 --- /dev/null +++ b/dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.4-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="PEAR class for IP v4 calculations" + +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +PATCHES=( "${FILESDIR}/remove_globals.patch" ) diff --git a/dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.5.ebuild b/dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.5.ebuild new file mode 100644 index 000000000000..e7dcbc24d680 --- /dev/null +++ b/dev-php/PEAR-Net_IPv4/PEAR-Net_IPv4-1.3.5.ebuild @@ -0,0 +1,13 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit php-pear-r2 + +DESCRIPTION="PEAR class for IP v4 calculations" + +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-php/PEAR-Net_IPv4/files/remove_globals.patch b/dev-php/PEAR-Net_IPv4/files/remove_globals.patch new file mode 100644 index 000000000000..2403deb0b4af --- /dev/null +++ b/dev-php/PEAR-Net_IPv4/files/remove_globals.patch @@ -0,0 +1,96 @@ +diff -aurN a/Net/IPv4.php b/Net/IPv4.php +--- a/Net/IPv4.php 2010-09-08 06:31:50.000000000 -0400 ++++ b/Net/IPv4.php 2017-08-04 14:57:52.872878217 -0400 +@@ -32,7 +32,37 @@ + * + * @global array $GLOBALS['Net_IPv4_Netmask_Map'] + */ +-$GLOBALS['Net_IPv4_Netmask_Map'] = array( ++$GLOBALS['Net_IPv4_Netmask_Map'] = Net_IPv4::$Net_IPv4_Netmask_Map; ++// }}} ++// {{{ Net_IPv4 ++ ++/** ++* Class to provide IPv4 calculations ++* ++* Provides methods for validating IP addresses, calculating netmasks, ++* broadcast addresses, network addresses, conversion routines, etc. ++* ++* @category Net ++* @package Net_IPv4 ++* @author Eric Kilfoil ++* @author Marco Kaiser ++* @author Florian Anderiasch ++* @copyright 1997-2005 The PHP Group ++* @license http://www.php.net/license/3_01.txt PHP License 3.01 ++* @version CVS: @package_version@ ++* @link http://pear.php.net/package/Net_IPv4 ++* @access public ++*/ ++class Net_IPv4 ++{ ++ // {{{ properties ++ var $ip = ""; ++ var $bitmask = false; ++ var $netmask = ""; ++ var $network = ""; ++ var $broadcast = ""; ++ var $long = 0; ++public static $Net_IPv4_Netmask_Map = array( + 0 => "0.0.0.0", + 1 => "128.0.0.0", + 2 => "192.0.0.0", +@@ -67,35 +97,6 @@ + 31 => "255.255.255.254", + 32 => "255.255.255.255" + ); +-// }}} +-// {{{ Net_IPv4 +- +-/** +-* Class to provide IPv4 calculations +-* +-* Provides methods for validating IP addresses, calculating netmasks, +-* broadcast addresses, network addresses, conversion routines, etc. +-* +-* @category Net +-* @package Net_IPv4 +-* @author Eric Kilfoil +-* @author Marco Kaiser +-* @author Florian Anderiasch +-* @copyright 1997-2005 The PHP Group +-* @license http://www.php.net/license/3_01.txt PHP License 3.01 +-* @version CVS: @package_version@ +-* @link http://pear.php.net/package/Net_IPv4 +-* @access public +-*/ +-class Net_IPv4 +-{ +- // {{{ properties +- var $ip = ""; +- var $bitmask = false; +- var $netmask = ""; +- var $network = ""; +- var $broadcast = ""; +- var $long = 0; + + // }}} + // {{{ validateIP() +@@ -154,7 +155,7 @@ + */ + function validateNetmask($netmask) + { +- if (! in_array($netmask, $GLOBALS['Net_IPv4_Netmask_Map'])) { ++ if (! in_array($netmask, self::$Net_IPv4_Netmask_Map)) { + return false; + } + return true; +@@ -264,7 +265,7 @@ + */ + function calculate() + { +- $validNM = $GLOBALS['Net_IPv4_Netmask_Map']; ++ $validNM = self::$Net_IPv4_Netmask_Map; + + if (! is_a($this, "net_ipv4")) { + $myself = new Net_IPv4; diff --git a/dev-php/PEAR-Net_IPv4/metadata.xml b/dev-php/PEAR-Net_IPv4/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Net_IPv4/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Net_IPv6/Manifest b/dev-php/PEAR-Net_IPv6/Manifest new file mode 100644 index 000000000000..a941f8ad9065 --- /dev/null +++ b/dev-php/PEAR-Net_IPv6/Manifest @@ -0,0 +1 @@ +DIST Net_IPv6-1.3.0b4.tgz 11437 BLAKE2B 535bb88e650e0985ef18e9415c1be827798d28fe30cae8afa7bf352d3a30e0ac51499662925e2c389e04bf872d240651d671c94a25584df9f3537db4d4695646 SHA512 aabf31e062ff4b3994ec8f5278556ff7e06c01b0cc86de2e57f4a994c71a182663e720a33b312d7e2874008c04ac9c493bb855b9b7ee5d0f008d5c517cb11fbc diff --git a/dev-php/PEAR-Net_IPv6/PEAR-Net_IPv6-1.3.0_beta4.ebuild b/dev-php/PEAR-Net_IPv6/PEAR-Net_IPv6-1.3.0_beta4.ebuild new file mode 100644 index 000000000000..b3182c10fd4f --- /dev/null +++ b/dev-php/PEAR-Net_IPv6/PEAR-Net_IPv6-1.3.0_beta4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PEAR_PV="${PV/_beta/b}" + +inherit php-pear-r2 + +DESCRIPTION="PEAR class for IP v6 calculations" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-php/phpunit ${RDEPEND})" + +src_test() { + phpunit "--include-path=${S}" "${S}/tests/AllTests.php" || die +} diff --git a/dev-php/PEAR-Net_IPv6/metadata.xml b/dev-php/PEAR-Net_IPv6/metadata.xml new file mode 100644 index 000000000000..b0a9135e7d52 --- /dev/null +++ b/dev-php/PEAR-Net_IPv6/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Net_IPv6 + + gentoo-staging + diff --git a/dev-php/PEAR-Net_LDAP2/Manifest b/dev-php/PEAR-Net_LDAP2/Manifest new file mode 100644 index 000000000000..85169bf5ccbb --- /dev/null +++ b/dev-php/PEAR-Net_LDAP2/Manifest @@ -0,0 +1 @@ +DIST Net_LDAP2-2.2.0.tgz 97180 BLAKE2B d2af13f0723f0fe998ef6a1fdd83e664ff5dd16c04d793c4a0b9f233449f82cd16c3156b0f2fb47f26d693d423c9bf0f6fead695b898e89a9e16cae932cd5718 SHA512 9f2f80c31f8b05c032c3bf088e66de942a01eb8ad94037ac5a65d6c526e22ffd4efac053e07f85dcd2b729727cd0755339f8ed76aa5e77997488f27ce59637ca diff --git a/dev-php/PEAR-Net_LDAP2/PEAR-Net_LDAP2-2.2.0-r1.ebuild b/dev-php/PEAR-Net_LDAP2/PEAR-Net_LDAP2-2.2.0-r1.ebuild new file mode 100644 index 000000000000..bbce63ac621e --- /dev/null +++ b/dev-php/PEAR-Net_LDAP2/PEAR-Net_LDAP2-2.2.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86" +DESCRIPTION="OO interface for searching and manipulating LDAP-entries" +HOMEPAGE="https://pear.php.net/package/Net_LDAP2" +SRC_URI="http://download.pear.php.net/package/${MY_PN}-${PV}.tgz" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[ldap] + dev-php/PEAR-PEAR" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + use examples && dodoc -r doc/examples + dodoc doc/*.* + insinto /usr/share/php + doins -r Net +} + +src_test() { + phpunit tests/ || die "test suite failed" +} diff --git a/dev-php/PEAR-Net_LDAP2/metadata.xml b/dev-php/PEAR-Net_LDAP2/metadata.xml new file mode 100644 index 000000000000..17468bfd525d --- /dev/null +++ b/dev-php/PEAR-Net_LDAP2/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Net_LDAP2 + + gentoo-staging + diff --git a/dev-php/PEAR-Net_LDAP3/Manifest b/dev-php/PEAR-Net_LDAP3/Manifest new file mode 100644 index 000000000000..7e44f3943d0a --- /dev/null +++ b/dev-php/PEAR-Net_LDAP3/Manifest @@ -0,0 +1 @@ +DIST PEAR-Net_LDAP3-1.0.5_pre20160405.tar.gz 37059 BLAKE2B bf73ff426b7260e65fe467643b238c4e7cfdb4409728b74e09820ade8b79d5ca75187952f2f945f941956bb372871015f9cddfd0ce2cfb892191f81615bc7ea8 SHA512 c24e3af5b8ae03ff598f05e64419ff23b6efe51f4e56a15492cd0f41b9fae815199057f63b12212f2d3707bd14cdbda75b03e6155d755bd6408739f987ccf75d diff --git a/dev-php/PEAR-Net_LDAP3/PEAR-Net_LDAP3-1.0.5_pre20160405.ebuild b/dev-php/PEAR-Net_LDAP3/PEAR-Net_LDAP3-1.0.5_pre20160405.ebuild new file mode 100644 index 000000000000..f420f5da0320 --- /dev/null +++ b/dev-php/PEAR-Net_LDAP3/PEAR-Net_LDAP3-1.0.5_pre20160405.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="PEAR:Net_LDAP2 successor, provides functionality for accessing LDAP" +HOMEPAGE="https://gitlab.com/roundcube/net_ldap3" +SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 arm ~hppa ppc ppc64 sparc x86" + +RDEPEND=" + dev-lang/php:*[ldap] + dev-php/PEAR-Net_LDAP2 +" + +S="${WORKDIR}" + +src_install() { + insinto "/usr/share/php" + doins -r lib/* +} diff --git a/dev-php/PEAR-Net_LDAP3/metadata.xml b/dev-php/PEAR-Net_LDAP3/metadata.xml new file mode 100644 index 000000000000..68ef906e2e85 --- /dev/null +++ b/dev-php/PEAR-Net_LDAP3/metadata.xml @@ -0,0 +1,9 @@ + + + + + pinkbyte@gentoo.org + Sergey Popov + + gentoo-staging + diff --git a/dev-php/PEAR-Net_POP3/Manifest b/dev-php/PEAR-Net_POP3/Manifest new file mode 100644 index 000000000000..008bdc6a0231 --- /dev/null +++ b/dev-php/PEAR-Net_POP3/Manifest @@ -0,0 +1 @@ +DIST Net_POP3-1.3.8.tgz 9657 BLAKE2B 83697be081976eb9b241bb2cee62edd509492d91a7343897bf427735dd5fb08ce5d22fcfa4aa1337a3dd90da3b72782e0837068727bf0aae3a33dee852b92799 SHA512 2f77b2e9c8df8974b19c66777b7664c9503c81856629e2aedc00536afa62baaa7579370119603559d74c1f3f6d57195851e9956020cf92c202af606933c48b13 diff --git a/dev-php/PEAR-Net_POP3/PEAR-Net_POP3-1.3.8-r1.ebuild b/dev-php/PEAR-Net_POP3/PEAR-Net_POP3-1.3.8-r1.ebuild new file mode 100644 index 000000000000..9d057963b5f2 --- /dev/null +++ b/dev-php/PEAR-Net_POP3/PEAR-Net_POP3-1.3.8-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Provides a POP3 class to access POP3 server" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86" +IUSE="+sasl" +RDEPEND=">=dev-php/PEAR-Net_Socket-1.0.6-r1 + sasl? ( >=dev-php/PEAR-Auth_SASL-1.0.2 )" +HTML_DOCS=( docs/examples/Net_POP3_example.php ) diff --git a/dev-php/PEAR-Net_POP3/metadata.xml b/dev-php/PEAR-Net_POP3/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Net_POP3/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Net_Ping/Manifest b/dev-php/PEAR-Net_Ping/Manifest new file mode 100644 index 000000000000..7266b928f33f --- /dev/null +++ b/dev-php/PEAR-Net_Ping/Manifest @@ -0,0 +1 @@ +DIST Net_Ping-2.4.5.tgz 9600 BLAKE2B 5fcfe6cf9e96406734e5d728f5e714932bc7c9622a944e3aba81a11cd0da2d8ff5e7026f59fa1224baee70ca295b1d9236503d423c25f1570b28b7332405a03a SHA512 92faf073cae8b98f3dad52602f1030948549df313cf0e317928183ccd9127add521c35b657586e13d7826138b0358cd7ef99419fadfaa5cc34160df379c246d2 diff --git a/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild b/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild new file mode 100644 index 000000000000..d86b0d0c8a0e --- /dev/null +++ b/dev-php/PEAR-Net_Ping/PEAR-Net_Ping-2.4.5-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="OS independent wrapper class for executing ping calls" +HOMEPAGE="https://pear.php.net/package/Net_Ping" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + use examples && dodoc -r docs/examples + + insinto /usr/share/php/Net + doins -r Ping.php +} diff --git a/dev-php/PEAR-Net_Ping/metadata.xml b/dev-php/PEAR-Net_Ping/metadata.xml new file mode 100644 index 000000000000..4f511f68e58f --- /dev/null +++ b/dev-php/PEAR-Net_Ping/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Net_Ping + Net_Ping + + gentoo-staging + diff --git a/dev-php/PEAR-Net_SMTP/Manifest b/dev-php/PEAR-Net_SMTP/Manifest new file mode 100644 index 000000000000..2e28c2b2577f --- /dev/null +++ b/dev-php/PEAR-Net_SMTP/Manifest @@ -0,0 +1,4 @@ +DIST Net_SMTP-1.7.2.tgz 14795 BLAKE2B e7be5c595e5eb9cd98c0cb82899545b02399ce3aedd35e419a451ad1aa3f4c3c36a10c212508795bc39a044c99206db5ad700f6e7c110eec3b68cb623af4e457 SHA512 06ab00a033709c5f4adc01fabe100ee0033b07e1c5633f995a672bf463484622a5bd976ada9932ee741ff593d739bd1172566f0a8446060bbccde71ea5b0160d +DIST Net_SMTP-1.7.3.tgz 14855 BLAKE2B b6891196a6871adc3936c89507e3aef1f7d9af045acab09aba5f145a9d1e1da5cee2608873f7a42ebc1d00f99ec733823afe94e15c283245ed1bc035858d94a7 SHA512 b1c2be95c50151e91c2dcc7b9d98233504cc2389c01e4e42e752cba606355da616e570ca86042b68498aad63aaad14ea048b0a0e4e2baa802dc58c440eb60f15 +DIST Net_SMTP-1.8.1.tgz 14931 BLAKE2B 9194e46d1987e48f58c3b851bf6921b4308d39d17b7ca028a4a58a6583171dbe31020477cd7f808ac72ffae81f315e3b416cd5f52e898e0d12cc802af5dbcaa7 SHA512 ba3b68e35d95cc41ef33105402348a322e54c6335d819d1a6e1264f25bc30def4485d0da34901ca203ccd591aeddffbe75b5acb11fb7415a1a13668198aa9942 +DIST Net_SMTP-1.9.0.tgz 15135 BLAKE2B 9413daf3741a0dd50e19cff89f501c57f442fda38b69c8dad860ba257ff7333fa4f50e2530d86599d4f38c6e3dbc67d7a401fe8be3bf85266c76701038f63247 SHA512 fb28bbf07e54d71d1a82d59b137e4905c77b5600c10cf7760890ec708fc9e6df9d47715cf6808569f88603fac80c1cfdd7c4f3893efe7ac7aecaac47ba849ec2 diff --git a/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.2-r3.ebuild b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.2-r3.ebuild new file mode 100644 index 000000000000..97205682dbd5 --- /dev/null +++ b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.2-r3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A PHP implementation of the SMTP protocol" +HOMEPAGE="https://pear.php.net/package/Net_SMTP" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="examples sasl" +DEPEND="" +RDEPEND="dev-lang/php:* + dev-php/PEAR-Net_Socket + dev-php/PEAR-PEAR + sasl? ( dev-php/PEAR-Auth_SASL )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc docs/guide.txt + use examples && dodoc -r examples + + insinto /usr/share/php + doins -r Net +} diff --git a/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.3.ebuild b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.3.ebuild new file mode 100644 index 000000000000..ba2d4e8a2dea --- /dev/null +++ b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.7.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A PHP implementation of the SMTP protocol" +HOMEPAGE="https://pear.php.net/package/Net_SMTP" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples sasl" +DEPEND="" +RDEPEND="dev-lang/php:* + dev-php/PEAR-Net_Socket + dev-php/PEAR-PEAR + sasl? ( dev-php/PEAR-Auth_SASL )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc docs/guide.txt + use examples && dodoc -r examples + + insinto /usr/share/php + doins -r Net +} diff --git a/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.8.1.ebuild b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.8.1.ebuild new file mode 100644 index 000000000000..56fe101e706d --- /dev/null +++ b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.8.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A PHP implementation of the SMTP protocol" +HOMEPAGE="https://pear.php.net/package/Net_SMTP" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples sasl" +DEPEND="" +RDEPEND="dev-lang/php:* + dev-php/PEAR-Net_Socket + dev-php/PEAR-PEAR + sasl? ( dev-php/PEAR-Auth_SASL )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + DOCS=( docs/guide.txt ) + use examples && HTML_DOCS=( examples ) + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.0.ebuild b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.0.ebuild new file mode 100644 index 000000000000..56fe101e706d --- /dev/null +++ b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A PHP implementation of the SMTP protocol" +HOMEPAGE="https://pear.php.net/package/Net_SMTP" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples sasl" +DEPEND="" +RDEPEND="dev-lang/php:* + dev-php/PEAR-Net_Socket + dev-php/PEAR-PEAR + sasl? ( dev-php/PEAR-Auth_SASL )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + DOCS=( docs/guide.txt ) + use examples && HTML_DOCS=( examples ) + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-Net_SMTP/metadata.xml b/dev-php/PEAR-Net_SMTP/metadata.xml new file mode 100644 index 000000000000..d8c96b1cfb05 --- /dev/null +++ b/dev-php/PEAR-Net_SMTP/metadata.xml @@ -0,0 +1,17 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + + pear/Net_SMTP + Net_SMTP + + gentoo-staging + diff --git a/dev-php/PEAR-Net_Sieve/Manifest b/dev-php/PEAR-Net_Sieve/Manifest new file mode 100644 index 000000000000..0e5ca8850625 --- /dev/null +++ b/dev-php/PEAR-Net_Sieve/Manifest @@ -0,0 +1,2 @@ +DIST PEAR-Net_Sieve-1.5.2.tar.gz 16332 BLAKE2B 24d385225fbf3c4bf5612927826ced468ccb5addeac9cd49c6fb617304fa77f4a44a11e3adf09173f65315d8a0755e44e93d0a7ae1c60f1a954849bee2380053 SHA512 672d2f6f4c3241f748fbdebd804f2186dd2a5f8b7be6a75cb9187ed16e61502e4a338bfaa1815190b74ab534cb7277b534b0542309098797fcb63582dc81bdbe +DIST PEAR-Net_Sieve-1.5.4.tar.gz 16306 BLAKE2B 6ecd4ef669211b01089f29c48735b7259c392510f09df9aa0f1126fef8e3ebbf83803ab47bdd37c9b798a2add4c3d19e1a04960290a202070e17ee1f8041d02d SHA512 c981ba421946cc1eb1f2101cf25cbfbbcf56b74f92a8a257b19a8b43fb04ad2d8c9d93a2f44903589bb6014c53cc6ae96c44b1c31c389510439f1f2da57b3353 diff --git a/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.2-r1.ebuild b/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.2-r1.ebuild new file mode 100644 index 000000000000..8d21ec78bb5f --- /dev/null +++ b/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" + +DESCRIPTION="An API for talking to sieve (RFC 3028) servers" +HOMEPAGE="https://github.com/roundcube/Net_Sieve" +SRC_URI="https://github.com/roundcube/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="sasl" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR + dev-php/PEAR-Net_Socket + sasl? ( dev-php/PEAR-Auth_SASL )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + # Install into "Net" for backwards compatibility (that's where PEAR + # used to put things). + insinto /usr/share/php/Net + doins Sieve.php +} diff --git a/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.4.ebuild b/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.4.ebuild new file mode 100644 index 000000000000..42e647387538 --- /dev/null +++ b/dev-php/PEAR-Net_Sieve/PEAR-Net_Sieve-1.5.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" + +DESCRIPTION="An API for talking to sieve (RFC 3028) servers" +HOMEPAGE="https://github.com/roundcube/Net_Sieve" +SRC_URI="https://github.com/roundcube/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="sasl" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR + dev-php/PEAR-Net_Socket + sasl? ( dev-php/PEAR-Auth_SASL )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + # Install into "Net" for backwards compatibility (that's where PEAR + # used to put things). + insinto /usr/share/php/Net + doins Sieve.php +} diff --git a/dev-php/PEAR-Net_Sieve/metadata.xml b/dev-php/PEAR-Net_Sieve/metadata.xml new file mode 100644 index 000000000000..751b70814ddd --- /dev/null +++ b/dev-php/PEAR-Net_Sieve/metadata.xml @@ -0,0 +1,16 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + + roundcube/Net_Sieve + + gentoo-staging + diff --git a/dev-php/PEAR-Net_SmartIRC/Manifest b/dev-php/PEAR-Net_SmartIRC/Manifest new file mode 100644 index 000000000000..430c52434bc0 --- /dev/null +++ b/dev-php/PEAR-Net_SmartIRC/Manifest @@ -0,0 +1,4 @@ +DIST Net_SmartIRC-1.1.10.tar.gz 927009 BLAKE2B b410a0b4a02e60e27860f9c6b0ab8fecf4874273601694ad61dcf88a2e916aee20d1858cf951fffb229f4eac0c0ddda55530bb6840da3c7b741cf9ee3971f7b2 SHA512 16ad30d358af99f40c53a75cf5f1c944a3e68f4c1cffd586acd61ceed280d5d1fcd4f4d5e88db55f1f66c37c5b7f37aec2f45a26dc6b98860eacb42c9f3fbea5 +DIST Net_SmartIRC-1.1.12.tgz 166039 BLAKE2B 43aec437de08d6e0dd651b810b21b5fed5587e2e7e154fe4f078cc618ee501c3d962b824931558458895541ddc9dc46ec3b1f0356aac5b052dd63b498018bb47 SHA512 2da5f0f9ea9167dfd1490fb6ba1e97416c78389924f390030ba71ea28dc5b667451223daa7e3878cbae607159054d656534ff646636f8f5294eb0bda1b17074c +DIST Net_SmartIRC-1.1.13.tgz 166028 BLAKE2B 7e2b91dc01febe561c3ce55901f999f84f87fdbe20b5a1560a060125de4ae7d9869141cc0b2bcd9dfd0479a3a0a2d3c9d0f2719f70edc122df70f181d788f73b SHA512 d8f5a4f38b0aa830a84c9433deaf16b936f79e30bd9588cb0225ec20698af3d334fd1fdb320c64d1a72b0d206ae794b9e4135f1053855f586155694f6342cb0b +DIST Net_SmartIRC-1.1.14.tgz 166115 BLAKE2B bacd23296dea25bc898ce3ba67d89949a3ad34675000bde9fe78371a7d97596272708f114b7980c3754cb862be68b84dcb0e8df10374cb560180d50c3bf61f49 SHA512 35cf0714a695e1b40e0db1f4d20c0ea4d431940e1e5894899db0bd13137e90c790067d266dc43f1ccc2921ad1f48cc70aa448225acac4358c8eb839f755717a0 diff --git a/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.10-r1.ebuild b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.10-r1.ebuild new file mode 100644 index 000000000000..413a9729286b --- /dev/null +++ b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.10-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +HOMEPAGE="https://pear.php.net/package/Net_SmartIRC" +# The PEAR tarball is missing some docs as of v1.10.0. +SRC_URI="https://github.com/pear/${MY_PN}/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +DESCRIPTION="PHP class to communicate with IRC networks" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="doc examples" + +RDEPEND="dev-lang/php:*" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc CREDITS FEATURES docs/HOWTO README.md TODO + use examples && dodoc -r docs/examples + + if use doc; then + dodoc docs/DOCUMENTATION + dodoc -r docs/HTML + fi + + insinto /usr/share/php + doins -r Net +} diff --git a/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.12.ebuild b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.12.ebuild new file mode 100644 index 000000000000..41aa7dab2408 --- /dev/null +++ b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.12.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="PHP class to communicate with IRC networks" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" +DOCS=( CREDITS FEATURES docs/HOWTO README.md ) + +src_install() { + local HTML_DOCS=( ) + use examples && HTML_DOCS+=( docs/examples/ ) + + if use doc; then + DOCS+=( docs/DOCUMENTATION ) + HTML_DOCS+=( docs/HTML/* ) + fi + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.13.ebuild b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.13.ebuild new file mode 100644 index 000000000000..59e964213993 --- /dev/null +++ b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.13.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="PHP class to communicate with IRC networks" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" +DOCS=( CREDITS FEATURES docs/HOWTO README.md ) + +src_install() { + local HTML_DOCS=( ) + use examples && HTML_DOCS+=( docs/examples/ ) + + if use doc; then + DOCS+=( docs/DOCUMENTATION ) + HTML_DOCS+=( docs/HTML/* ) + fi + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.14.ebuild b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.14.ebuild new file mode 100644 index 000000000000..c6e49dbd4c32 --- /dev/null +++ b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.14.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="PHP class to communicate with IRC networks" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" +DOCS=( CREDITS FEATURES docs/HOWTO README.md ) + +src_install() { + local HTML_DOCS=( ) + use examples && HTML_DOCS+=( docs/examples/ ) + + if use doc; then + DOCS+=( docs/DOCUMENTATION ) + HTML_DOCS+=( docs/HTML/* ) + fi + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-Net_SmartIRC/metadata.xml b/dev-php/PEAR-Net_SmartIRC/metadata.xml new file mode 100644 index 000000000000..579474a0265e --- /dev/null +++ b/dev-php/PEAR-Net_SmartIRC/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Net_SmartIRC + Net_SmartIRC + + gentoo-staging + diff --git a/dev-php/PEAR-Net_Socket/Manifest b/dev-php/PEAR-Net_Socket/Manifest new file mode 100644 index 000000000000..5399434e4655 --- /dev/null +++ b/dev-php/PEAR-Net_Socket/Manifest @@ -0,0 +1 @@ +DIST Net_Socket-1.2.2.tgz 6903 BLAKE2B a0ee530ebb2962de8560d5cb2147ee831d62c5deac056a7f4944b451853b3ab65f1f46332700d4e18a1ff6e1cce138bf46f5053586bc7f8073143c6aa101e9c6 SHA512 fd415fbd4a6801b63cda3168ff275fdeae233a3cc4c62f9bfe561f83f24f89795a7e7ad862641a73bb6d6e3c0da8b56cd00e7e7a1db616de040ea7883d84caa5 diff --git a/dev-php/PEAR-Net_Socket/PEAR-Net_Socket-1.2.2.ebuild b/dev-php/PEAR-Net_Socket/PEAR-Net_Socket-1.2.2.ebuild new file mode 100644 index 000000000000..69bf4f9740fc --- /dev/null +++ b/dev-php/PEAR-Net_Socket/PEAR-Net_Socket-1.2.2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="PHP class interface to TCP sockets" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" +DEPEND="" +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1" diff --git a/dev-php/PEAR-Net_Socket/metadata.xml b/dev-php/PEAR-Net_Socket/metadata.xml new file mode 100644 index 000000000000..a3b3aea9a7c9 --- /dev/null +++ b/dev-php/PEAR-Net_Socket/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Net_Socket + Net_Socket + + gentoo-staging + diff --git a/dev-php/PEAR-Net_Traceroute/Manifest b/dev-php/PEAR-Net_Traceroute/Manifest new file mode 100644 index 000000000000..a0d1e6e00b8a --- /dev/null +++ b/dev-php/PEAR-Net_Traceroute/Manifest @@ -0,0 +1 @@ +DIST Net_Traceroute-0.21.3.tgz 6754 BLAKE2B e74c46888425e8d28cba25065a465a07f0c8ef7fb1776ac5164e26f99b1b62b9b7bf540a6d0d1b255b76bb5f64fa5f9edd6dff7fd280e2d037310d7a622b770b SHA512 feceaaf188bff947253ec77804f7a4314a855864c09fc75e6c733fd852671994fb1c71d8ee2ba92ba7eff395b0b27fae71c361a69f2df4cfa20ef68f68074e4f diff --git a/dev-php/PEAR-Net_Traceroute/PEAR-Net_Traceroute-0.21.3-r1.ebuild b/dev-php/PEAR-Net_Traceroute/PEAR-Net_Traceroute-0.21.3-r1.ebuild new file mode 100644 index 000000000000..6a3175afbf7f --- /dev/null +++ b/dev-php/PEAR-Net_Traceroute/PEAR-Net_Traceroute-0.21.3-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +KEYWORDS="amd64 x86" + +DESCRIPTION="OS independet wrapper class for executing traceroute calls" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_install() { + local DOCS=( docs/README docs/TODO ) + local HTML_DOCS=( docs/examples/example1.php ) + insinto /usr/share/php/Net + doins Traceroute.php + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/PEAR-Net_Traceroute/metadata.xml b/dev-php/PEAR-Net_Traceroute/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Net_Traceroute/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Net_URL/Manifest b/dev-php/PEAR-Net_URL/Manifest new file mode 100644 index 000000000000..b191ff61b263 --- /dev/null +++ b/dev-php/PEAR-Net_URL/Manifest @@ -0,0 +1 @@ +DIST Net_URL-1.0.15.tgz 6303 BLAKE2B d4b89e6d5932d1494471a3d373c069bc02f6c70f59908b6db2087c88dc90b999206901c8c42a521221ff868d2e21cad3473bb33262e816c14a0ef90c6b5bc4c9 SHA512 ea61e0dc603a4dc38fd6f4d2fa3d897d3b449a6ed19fa21ed1758b1945765405855058b70a4f9d46bb9abeb238c5e4fe9d2625774e6d5af6ba7ebc1c8f14154c diff --git a/dev-php/PEAR-Net_URL/PEAR-Net_URL-1.0.15-r1.ebuild b/dev-php/PEAR-Net_URL/PEAR-Net_URL-1.0.15-r1.ebuild new file mode 100644 index 000000000000..ceadbc030473 --- /dev/null +++ b/dev-php/PEAR-Net_URL/PEAR-Net_URL-1.0.15-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Easy parsing of URLs" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +src_install() { + local HTML_DOCS=( docs/example.php ) + insinto /usr/share/php/Net + doins URL.php + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/PEAR-Net_URL/metadata.xml b/dev-php/PEAR-Net_URL/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Net_URL/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Net_URL2/Manifest b/dev-php/PEAR-Net_URL2/Manifest new file mode 100644 index 000000000000..79bdd165142e --- /dev/null +++ b/dev-php/PEAR-Net_URL2/Manifest @@ -0,0 +1 @@ +DIST Net_URL2-2.2.1.tgz 20010 BLAKE2B 5c8e5db577ad01dd247b72f82b9014e7cc4ef94955566b65b4210c7371702de8b1b67aa2d8bee27c5d88cabec069e3a334630429547dce2e611ce0da40210b08 SHA512 356eebcb7b077e8a57d19f7a0549c973fe4923fbd83836ac000c1068d7f19c42ebebef5e07a2a5880737d0f8b2398bb32be9fa97ef931a1009d6229dfd71b495 diff --git a/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild new file mode 100644 index 000000000000..436e6b7af4c5 --- /dev/null +++ b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r2.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Easy parsing of URLs (PHP5 port of PEAR-Net_URL package)" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 sparc x86" +IUSE="" + +DOCS=( docs/6470.php docs/example.php ) diff --git a/dev-php/PEAR-Net_URL2/metadata.xml b/dev-php/PEAR-Net_URL2/metadata.xml new file mode 100644 index 000000000000..b71747d52684 --- /dev/null +++ b/dev-php/PEAR-Net_URL2/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Net_URL2 + + gentoo-staging + diff --git a/dev-php/PEAR-Net_UserAgent_Detect/Manifest b/dev-php/PEAR-Net_UserAgent_Detect/Manifest new file mode 100644 index 000000000000..0c3c60f6aba4 --- /dev/null +++ b/dev-php/PEAR-Net_UserAgent_Detect/Manifest @@ -0,0 +1 @@ +DIST Net_UserAgent_Detect-2.5.2.tgz 11986 BLAKE2B 5a0d6dbcb07765d3f2f646500b2d5dada4b0e030c8173f988bc0a0ccea13d50cf69071c8a385fb6a7b821304dd072751b7ed22649899b371605fa289c7788ff5 SHA512 c97069ff6d99f78d580426751849cff865a50e63f55fc4596894b49604977fccc14d0eb269a66ebf56dfe89c67cb733b0ab8827766d3511a9bc6a05be2baa060 diff --git a/dev-php/PEAR-Net_UserAgent_Detect/PEAR-Net_UserAgent_Detect-2.5.2-r1.ebuild b/dev-php/PEAR-Net_UserAgent_Detect/PEAR-Net_UserAgent_Detect-2.5.2-r1.ebuild new file mode 100644 index 000000000000..4449b9ebd168 --- /dev/null +++ b/dev-php/PEAR-Net_UserAgent_Detect/PEAR-Net_UserAgent_Detect-2.5.2-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Determines Web browser, version, and platform from an HTTP user agent string" + +LICENSE="PHP-2.02" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" + +src_install() { + local HTML_DOCS=( tests/example.php ) + insinto /usr/share/php/Net/UserAgent + doins -r Detect Detect.php + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/PEAR-Net_UserAgent_Detect/metadata.xml b/dev-php/PEAR-Net_UserAgent_Detect/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Net_UserAgent_Detect/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Numbers_Words/Manifest b/dev-php/PEAR-Numbers_Words/Manifest new file mode 100644 index 000000000000..6c3b2da71bb2 --- /dev/null +++ b/dev-php/PEAR-Numbers_Words/Manifest @@ -0,0 +1,2 @@ +DIST Numbers_Words-0.18.1.tgz 72925 BLAKE2B 2dd624fe4ede72c00f68f259c0271ca405e76bab6b43d85024cfa70b74e50e9ac5fbccd7e770c90ac4bcc5eabbdc33ccc9bc6b691e0da2b9a05ee5a141a0d8ac SHA512 b6063db873d65bc872ea64e6ae4282da9b36aa15ac336a5b443e4bc3cc7ad49538327bb56d0b70a482c82dfa1d732426f9cc45453d4d13a25a840871e1f6fb2c +DIST Numbers_Words-0.18.2.tgz 73113 BLAKE2B e64fd1fcd8017b1768bc0e8918a79a91b83711433d0a29d36b145fdc07cee8cc3149a31d8e3739bd59ee57a821aafd8532fd8a54684da7e2395463662b733335 SHA512 cc719ea47e7da365959a02106d80aabe2ed079064128af1a61c0c53ed44726e7169de5c9d8dd28cbf917e025841e9aa07b4b8c9313a788b0a92eab32a4edb37c diff --git a/dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.1-r1.ebuild b/dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.1-r1.ebuild new file mode 100644 index 000000000000..17d5a9524b94 --- /dev/null +++ b/dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Provides methods for spelling numerals in words" +HOMEPAGE="https://pear.php.net/package/Numbers_Words" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-Math_BigInteger" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php/ + doins -r Numbers + + dodoc ChangeLog README +} + +src_test() { + phpunit tests || die 'test suite failed' +} diff --git a/dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.2.ebuild b/dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.2.ebuild new file mode 100644 index 000000000000..53a6fc6a398b --- /dev/null +++ b/dev-php/PEAR-Numbers_Words/PEAR-Numbers_Words-0.18.2.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Provides methods for spelling numerals in words" +HOMEPAGE="https://pear.php.net/package/Numbers_Words" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-php/PEAR-Math_BigInteger" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +DOCS=( ChangeLog README ) + +src_test() { + phpunit tests || die 'test suite failed' +} diff --git a/dev-php/PEAR-Numbers_Words/metadata.xml b/dev-php/PEAR-Numbers_Words/metadata.xml new file mode 100644 index 000000000000..09d5b5701745 --- /dev/null +++ b/dev-php/PEAR-Numbers_Words/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Numbers_Words + Numbers_Words + + gentoo-staging + diff --git a/dev-php/PEAR-OLE/Manifest b/dev-php/PEAR-OLE/Manifest new file mode 100644 index 000000000000..19ee9006fda7 --- /dev/null +++ b/dev-php/PEAR-OLE/Manifest @@ -0,0 +1 @@ +DIST OLE-1.0.0RC3.tgz 14233 BLAKE2B ca8ae3959b618a0cd9344a3b07c8587f4f1d10063ff6101e8f27d0c4c8b0d08a0a258ae40ac9b7ce30622d57cc6bfbb2a5b4f5b393ef69e25c276813ee70461e SHA512 36a9bbe243d0f172bcd3fc5dd0926a0e42389b4e222cca90678f41bb968c70e4d04c959f3fe3bad1704543ecbcda871a248aa445a1dc6c2f0b73925198f5b07e diff --git a/dev-php/PEAR-OLE/PEAR-OLE-1.0.0_rc3.ebuild b/dev-php/PEAR-OLE/PEAR-OLE-1.0.0_rc3.ebuild new file mode 100644 index 000000000000..4f789d2d6c6a --- /dev/null +++ b/dev-php/PEAR-OLE/PEAR-OLE-1.0.0_rc3.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PEAR_PV=${PV/_rc/RC} + +inherit php-pear-r2 + +DESCRIPTION="Package for reading and writing OLE containers" +HOMEPAGE="https://pear.php.net/package/OLE" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" diff --git a/dev-php/PEAR-OLE/metadata.xml b/dev-php/PEAR-OLE/metadata.xml new file mode 100644 index 000000000000..dcaeac69216d --- /dev/null +++ b/dev-php/PEAR-OLE/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/OLE + OLE + + gentoo-staging + diff --git a/dev-php/PEAR-PEAR/Manifest b/dev-php/PEAR-PEAR/Manifest new file mode 100644 index 000000000000..7892fd4e44f9 --- /dev/null +++ b/dev-php/PEAR-PEAR/Manifest @@ -0,0 +1,4 @@ +DIST PEAR-1.10.12.tgz 293220 BLAKE2B fb25123852a60e4bd2c041d1fb58174b3053b24ff8ec19b44efe02aee041bbed102b14b270dc1c9764150eea7c85862ad78adefdc1d789540da18ec0f3aeae68 SHA512 1ce478800a150d7906f8aa4fa4371d3d190fa2af44691c9aa193babfe76f1b031b493f48df15b93e93dd5518a6d62ba6a7d5b1799b62d5a968f7a84f3677b971 +DIST PEAR-1.10.6.tgz 291529 BLAKE2B 7a75c89df2b34b368564e745a727292e5c5ee3a145995c15d338901b235664d0a783ca0efc9cd1d321cc2c496e88395db376ce7bbd6ccbf55d484d7f1021cd2b SHA512 ccd436a2cb9d30b434a78483432c51a8fa5b3e96e79ca3b28131b8dcd37bbae0b782efd762eb92dc40db24d3f61025c64ec5d29aed10fd80a6b28c224c4f1e2a +DIST PEAR-1.10.7.tgz 291786 BLAKE2B 7e760c2782832fab2a35f86e2f9072058d622918cdc2b61b7066d2f17787488d228186948e96e602bb412b76b806004642e7ba83db00950a822996869dae9cd4 SHA512 ebe93cff5546ad3a80d3d1c0284e34a46ec8dbdb7d015a11350231244baca75a57596e446c1386bc40650525f59c04617e73b1071a0fe77210dc5979edb5151f +DIST PEAR-1.10.9.tgz 291931 BLAKE2B b9120d9b643be926e80aac33aafd0f22cacca11c10b857d99b6d51a7315467ad18d79246ab2752b962de92957fe14fc65e1d01570eb73b562b0e6e030dfb7162 SHA512 072d2eda510c05649f8d1481665bdd42efa060e6098b4b0d0353c95cf79d342ec601dd36dab3e6583b612582d2f03672a7b5de1518e3a0e8fd190ea698a17e60 diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild new file mode 100644 index 000000000000..eda65ff33c79 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.12.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PEAR Base System" +HOMEPAGE="https://pear.php.net/package/PEAR" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*[cli(-),xml(-),zlib(-)] + >=dev-php/PEAR-Archive_Tar-1.4.9 + >=dev-php/PEAR-Console_Getopt-1.4.1 + dev-php/PEAR-Exception + >=dev-php/PEAR-Structures_Graph-1.1.0 + >=dev-php/PEAR-XML_Util-1.4.0" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" ) + +pkg_setup() { + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/portage/make.conf and re-emerge ${PN}." + elog +} + +src_prepare() { + default + # Exception.php is part of dev-php/PEAR-Exception. + rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php" +} + +src_install() { + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # adjust some scripts for current version + [[ -z "${PEAR}" ]] && PEAR="${PV}" + for i in pearcmd.php peclcmd.php ; do + sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \ + || die "failed to sed pear_version" + done + + for i in pear peardev pecl ; do + sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @bin_dir@ in ${i}" + sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @php_dir@ in ${i}" + done + + sed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" \ + -i "${D}/usr/bin/pear" \ + || die "failed to set PHP ini values in pear executable" + + sed "s:@package_version@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Command/Package.php" \ + || die "failed to sed @package_version@" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Dependency2.php" \ + || die "failed to sed @PEAR-VER@ in Dependency2.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \ + || die "failed to sed @PEAR-VER@ in v1.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \ + || die "failed to sed @PEAR-VER@ in v2.php" + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r2 pear.conf + + sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed PHPCLILEN in pear.conf" + + sed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed CACHEDIRLEN in pear.conf" + + sed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed DOWNLOADDIRLEN in pear.conf" + + sed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed TEMPDIRLEN in pear.conf" + + # Change the paths for eprefix! + sed "s|s:19:\"/usr/share/php/docs\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/docs\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the docs path (prefix) in pear.conf" + + sed "s|s:19:\"/usr/share/php/data\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/data\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the data path (prefix) in pear.conf" + + sed "s|s:20:\"/usr/share/php/tests\"|s:$(( ${#EPREFIX}+20 )):\"${EPREFIX}/usr/share/php/tests\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the tests path (prefix) in pear.conf" + + sed "s|s:14:\"/usr/share/php\"|s:$(( ${#EPREFIX}+14 )):\"${EPREFIX}/usr/share/php\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the PHP include path (prefix) in pear.conf" + + sed "s|s:8:\"/usr/bin\"|s:$(( ${#EPREFIX}+8 )):\"${EPREFIX}/usr/bin\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the bin path (prefix) in pear.conf" + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR#${EPREFIX}}" + keepdir "${PEAR_CACHEDIR#${EPREFIX}}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR#${EPREFIX}}" + + insinto /usr/share/php/.packagexml + newins "${WORKDIR}/package.xml" "${MY_P}.xml" +} + +pkg_config() { + # Update PEAR/PECL channels as needed, add new ones to the list if needed + elog "Updating PEAR/PECL channels" + local pearchans="pear.php.net pecl.php.net pear.symfony-project.com" + + for chan in ${pearchans} ; do + # The first command may fail if, for example, the channels have + # already been initialized. + pear channel-discover ${chan} + pear channel-update ${chan} || die "failed to update channels: ${chan}" + done +} + +pkg_postinst() { + pear clear-cache || die "failed to clear PEAR cache" + + elog "Run 'emerge --config =${PF}' to automatically update the PEAR/PECL channels while online." + + # Register the package from the package.xml file + # It is not critical to complete so only warn on failure + if [[ -f "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" ]] ; then + "${EROOT}/usr/bin/peardev" install -nrO --force \ + "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ + || ewarn "Failed to insert package into local PEAR database" + fi +} + +pkg_prerm() { + # Uninstall known dependency + "${EROOT}/usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR" +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild new file mode 100644 index 000000000000..78dcbaeb6495 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.6.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PEAR Base System" +HOMEPAGE="https://pear.php.net/package/PEAR" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="MIT" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*[cli,xml,zlib] + >=dev-php/PEAR-Archive_Tar-1.4.0 + >=dev-php/PEAR-Console_Getopt-1.4.1 + dev-php/PEAR-Exception + >=dev-php/PEAR-Structures_Graph-1.1.0 + >=dev-php/PEAR-XML_Util-1.3.0" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" ) + +pkg_setup() { + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/portage/make.conf and re-emerge ${PN}." + elog +} + +src_prepare() { + default + # Exception.php is part of dev-php/PEAR-Exception. + rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php" +} + +src_install() { + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # adjust some scripts for current version + [[ -z "${PEAR}" ]] && PEAR="${PV}" + for i in pearcmd.php peclcmd.php ; do + sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \ + || die "failed to sed pear_version" + done + + for i in pear peardev pecl ; do + sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @bin_dir@ in ${i}" + sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @php_dir@ in ${i}" + done + + sed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" \ + -i "${D}/usr/bin/pear" \ + || die "failed to set PHP ini values in pear executable" + + sed "s:@package_version@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Command/Package.php" \ + || die "failed to sed @package_version@" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Dependency2.php" \ + || die "failed to sed @PEAR-VER@ in Dependency2.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \ + || die "failed to sed @PEAR-VER@ in v1.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \ + || die "failed to sed @PEAR-VER@ in v2.php" + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r2 pear.conf + + sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed PHPCLILEN in pear.conf" + + sed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed CACHEDIRLEN in pear.conf" + + sed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed DOWNLOADDIRLEN in pear.conf" + + sed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed TEMPDIRLEN in pear.conf" + + # Change the paths for eprefix! + sed "s|s:19:\"/usr/share/php/docs\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/docs\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the docs path (prefix) in pear.conf" + + sed "s|s:19:\"/usr/share/php/data\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/data\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the data path (prefix) in pear.conf" + + sed "s|s:20:\"/usr/share/php/tests\"|s:$(( ${#EPREFIX}+20 )):\"${EPREFIX}/usr/share/php/tests\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the tests path (prefix) in pear.conf" + + sed "s|s:14:\"/usr/share/php\"|s:$(( ${#EPREFIX}+14 )):\"${EPREFIX}/usr/share/php\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the PHP include path (prefix) in pear.conf" + + sed "s|s:8:\"/usr/bin\"|s:$(( ${#EPREFIX}+8 )):\"${EPREFIX}/usr/bin\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the bin path (prefix) in pear.conf" + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR#${EPREFIX}}" + keepdir "${PEAR_CACHEDIR#${EPREFIX}}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR#${EPREFIX}}" + + insinto /usr/share/php/.packagexml + newins "${WORKDIR}/package.xml" "${MY_P}.xml" +} + +pkg_config() { + # Update PEAR/PECL channels as needed, add new ones to the list if needed + elog "Updating PEAR/PECL channels" + local pearchans="pear.php.net pecl.php.net pear.symfony-project.com" + + for chan in ${pearchans} ; do + # The first command may fail if, for example, the channels have + # already been initialized. + pear channel-discover ${chan} + pear channel-update ${chan} || die "failed to update channels: ${chan}" + done +} + +pkg_postinst() { + pear clear-cache || die "failed to clear PEAR cache" + + elog "Run 'emerge --config =${PF}' to automatically update the PEAR/PECL channels while online." + + # Register the package from the package.xml file + # It is not critical to complete so only warn on failure + if [[ -f "${EROOT}usr/share/php/.packagexml/${MY_P}.xml" ]] ; then + "${EROOT}usr/bin/peardev" install -nrO --force \ + "${EROOT}usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ + || ewarn "Failed to insert package into local PEAR database" + fi +} + +pkg_prerm() { + # Uninstall known dependency + "${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR" +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild new file mode 100644 index 000000000000..62984cee2a85 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.7.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PEAR Base System" +HOMEPAGE="https://pear.php.net/package/PEAR" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*[cli,xml,zlib] + >=dev-php/PEAR-Archive_Tar-1.4.0 + >=dev-php/PEAR-Console_Getopt-1.4.1 + dev-php/PEAR-Exception + >=dev-php/PEAR-Structures_Graph-1.1.0 + >=dev-php/PEAR-XML_Util-1.3.0" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" ) + +pkg_setup() { + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/portage/make.conf and re-emerge ${PN}." + elog +} + +src_prepare() { + default + # Exception.php is part of dev-php/PEAR-Exception. + rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php" +} + +src_install() { + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # adjust some scripts for current version + [[ -z "${PEAR}" ]] && PEAR="${PV}" + for i in pearcmd.php peclcmd.php ; do + sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \ + || die "failed to sed pear_version" + done + + for i in pear peardev pecl ; do + sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @bin_dir@ in ${i}" + sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @php_dir@ in ${i}" + done + + sed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" \ + -i "${D}/usr/bin/pear" \ + || die "failed to set PHP ini values in pear executable" + + sed "s:@package_version@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Command/Package.php" \ + || die "failed to sed @package_version@" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Dependency2.php" \ + || die "failed to sed @PEAR-VER@ in Dependency2.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \ + || die "failed to sed @PEAR-VER@ in v1.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \ + || die "failed to sed @PEAR-VER@ in v2.php" + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r2 pear.conf + + sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed PHPCLILEN in pear.conf" + + sed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed CACHEDIRLEN in pear.conf" + + sed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed DOWNLOADDIRLEN in pear.conf" + + sed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed TEMPDIRLEN in pear.conf" + + # Change the paths for eprefix! + sed "s|s:19:\"/usr/share/php/docs\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/docs\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the docs path (prefix) in pear.conf" + + sed "s|s:19:\"/usr/share/php/data\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/data\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the data path (prefix) in pear.conf" + + sed "s|s:20:\"/usr/share/php/tests\"|s:$(( ${#EPREFIX}+20 )):\"${EPREFIX}/usr/share/php/tests\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the tests path (prefix) in pear.conf" + + sed "s|s:14:\"/usr/share/php\"|s:$(( ${#EPREFIX}+14 )):\"${EPREFIX}/usr/share/php\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the PHP include path (prefix) in pear.conf" + + sed "s|s:8:\"/usr/bin\"|s:$(( ${#EPREFIX}+8 )):\"${EPREFIX}/usr/bin\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the bin path (prefix) in pear.conf" + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR#${EPREFIX}}" + keepdir "${PEAR_CACHEDIR#${EPREFIX}}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR#${EPREFIX}}" + + insinto /usr/share/php/.packagexml + newins "${WORKDIR}/package.xml" "${MY_P}.xml" +} + +pkg_config() { + # Update PEAR/PECL channels as needed, add new ones to the list if needed + elog "Updating PEAR/PECL channels" + local pearchans="pear.php.net pecl.php.net pear.symfony-project.com" + + for chan in ${pearchans} ; do + # The first command may fail if, for example, the channels have + # already been initialized. + pear channel-discover ${chan} + pear channel-update ${chan} || die "failed to update channels: ${chan}" + done +} + +pkg_postinst() { + pear clear-cache || die "failed to clear PEAR cache" + + elog "Run 'emerge --config =${PF}' to automatically update the PEAR/PECL channels while online." + + # Register the package from the package.xml file + # It is not critical to complete so only warn on failure + if [[ -f "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" ]] ; then + "${EROOT}/usr/bin/peardev" install -nrO --force \ + "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ + || ewarn "Failed to insert package into local PEAR database" + fi +} + +pkg_prerm() { + # Uninstall known dependency + "${EROOT}/usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR" +} diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild new file mode 100644 index 000000000000..62984cee2a85 --- /dev/null +++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.9.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PEAR Base System" +HOMEPAGE="https://pear.php.net/package/PEAR" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*[cli,xml,zlib] + >=dev-php/PEAR-Archive_Tar-1.4.0 + >=dev-php/PEAR-Console_Getopt-1.4.1 + dev-php/PEAR-Exception + >=dev-php/PEAR-Structures_Graph-1.1.0 + >=dev-php/PEAR-XML_Util-1.3.0" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/gentoo-libtool-mismatch-fix-v2.patch" ) + +pkg_setup() { + [[ -z "${PEAR_CACHEDIR}" ]] && PEAR_CACHEDIR="${EPREFIX}/var/cache/pear" + [[ -z "${PEAR_DOWNLOADDIR}" ]] && PEAR_DOWNLOADDIR="${EPREFIX}/var/tmp/pear" + [[ -z "${PEAR_TEMPDIR}" ]] && PEAR_TEMPDIR="${EPREFIX}/tmp" + + elog + elog "cache_dir is set to: ${PEAR_CACHEDIR}" + elog "download_dir is set to: ${PEAR_DOWNLOADDIR}" + elog "temp_dir is set to: ${PEAR_TEMPDIR}" + elog + elog "If you want to change the above values, you need to set" + elog "PEAR_CACHEDIR, PEAR_DOWNLOADDIR and PEAR_TEMPDIR variable(s)" + elog "accordingly in /etc/portage/make.conf and re-emerge ${PN}." + elog +} + +src_prepare() { + default + # Exception.php is part of dev-php/PEAR-Exception. + rm PEAR/Exception.php || die "failed to remove PEAR/Exception.php" +} + +src_install() { + insinto /usr/share/php + doins -r PEAR/ + doins -r OS/ + doins PEAR.php System.php + doins scripts/pearcmd.php + doins scripts/peclcmd.php + + newbin scripts/pear.sh pear + newbin scripts/peardev.sh peardev + newbin scripts/pecl.sh pecl + + # adjust some scripts for current version + [[ -z "${PEAR}" ]] && PEAR="${PV}" + for i in pearcmd.php peclcmd.php ; do + sed "s:@pear_version@:${PEAR}:g" -i "${D}/usr/share/php/${i}" \ + || die "failed to sed pear_version" + done + + for i in pear peardev pecl ; do + sed "s:@bin_dir@:${EPREFIX}/usr/bin:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @bin_dir@ in ${i}" + sed "s:@php_dir@:${EPREFIX}/usr/share/php:g" -i "${D}/usr/bin/${i}" \ + || die "failed to sed @php_dir@ in ${i}" + done + + sed "s:-d output_buffering=1:-d output_buffering=1 -d memory_limit=32M:g" \ + -i "${D}/usr/bin/pear" \ + || die "failed to set PHP ini values in pear executable" + + sed "s:@package_version@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Command/Package.php" \ + || die "failed to sed @package_version@" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/Dependency2.php" \ + || die "failed to sed @PEAR-VER@ in Dependency2.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v1.php" \ + || die "failed to sed @PEAR-VER@ in v1.php" + + sed "s:@PEAR-VER@:${PEAR}:g" \ + -i "${D}/usr/share/php/PEAR/PackageFile/Parser/v2.php" \ + || die "failed to sed @PEAR-VER@ in v2.php" + + # finalize install + insinto /etc + newins "${FILESDIR}"/pear.conf-r2 pear.conf + + sed "s|s:PHPCLILEN:\"PHPCLI\"|s:${#PHPCLI}:\"${PHPCLI}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed PHPCLILEN in pear.conf" + + sed "s|s:CACHEDIRLEN:\"CACHEDIR\"|s:${#PEAR_CACHEDIR}:\"${PEAR_CACHEDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed CACHEDIRLEN in pear.conf" + + sed "s|s:DOWNLOADDIRLEN:\"DOWNLOADDIR\"|s:${#PEAR_DOWNLOADDIR}:\"${PEAR_DOWNLOADDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed DOWNLOADDIRLEN in pear.conf" + + sed "s|s:TEMPDIRLEN:\"TEMPDIR\"|s:${#PEAR_TEMPDIR}:\"${PEAR_TEMPDIR}\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed TEMPDIRLEN in pear.conf" + + # Change the paths for eprefix! + sed "s|s:19:\"/usr/share/php/docs\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/docs\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the docs path (prefix) in pear.conf" + + sed "s|s:19:\"/usr/share/php/data\"|s:$(( ${#EPREFIX}+19 )):\"${EPREFIX}/usr/share/php/data\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the data path (prefix) in pear.conf" + + sed "s|s:20:\"/usr/share/php/tests\"|s:$(( ${#EPREFIX}+20 )):\"${EPREFIX}/usr/share/php/tests\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the tests path (prefix) in pear.conf" + + sed "s|s:14:\"/usr/share/php\"|s:$(( ${#EPREFIX}+14 )):\"${EPREFIX}/usr/share/php\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the PHP include path (prefix) in pear.conf" + + sed "s|s:8:\"/usr/bin\"|s:$(( ${#EPREFIX}+8 )):\"${EPREFIX}/usr/bin\"|g" \ + -i "${D}/etc/pear.conf" \ + || die "failed to sed the bin path (prefix) in pear.conf" + + [[ "${PEAR_TEMPDIR}" != "/tmp" ]] && keepdir "${PEAR_TEMPDIR#${EPREFIX}}" + keepdir "${PEAR_CACHEDIR#${EPREFIX}}" + diropts -m1777 + keepdir "${PEAR_DOWNLOADDIR#${EPREFIX}}" + + insinto /usr/share/php/.packagexml + newins "${WORKDIR}/package.xml" "${MY_P}.xml" +} + +pkg_config() { + # Update PEAR/PECL channels as needed, add new ones to the list if needed + elog "Updating PEAR/PECL channels" + local pearchans="pear.php.net pecl.php.net pear.symfony-project.com" + + for chan in ${pearchans} ; do + # The first command may fail if, for example, the channels have + # already been initialized. + pear channel-discover ${chan} + pear channel-update ${chan} || die "failed to update channels: ${chan}" + done +} + +pkg_postinst() { + pear clear-cache || die "failed to clear PEAR cache" + + elog "Run 'emerge --config =${PF}' to automatically update the PEAR/PECL channels while online." + + # Register the package from the package.xml file + # It is not critical to complete so only warn on failure + if [[ -f "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" ]] ; then + "${EROOT}/usr/bin/peardev" install -nrO --force \ + "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ + || ewarn "Failed to insert package into local PEAR database" + fi +} + +pkg_prerm() { + # Uninstall known dependency + "${EROOT}/usr/bin/peardev" uninstall -nrO "pear.php.net/PEAR" +} diff --git a/dev-php/PEAR-PEAR/files/gentoo-libtool-mismatch-fix-v2.patch b/dev-php/PEAR-PEAR/files/gentoo-libtool-mismatch-fix-v2.patch new file mode 100644 index 000000000000..f9a894100c8b --- /dev/null +++ b/dev-php/PEAR-PEAR/files/gentoo-libtool-mismatch-fix-v2.patch @@ -0,0 +1,15 @@ +diff -aruN PEAR.orig/Builder.php PEAR/Builder.php +--- a/PEAR/Builder.php 2014-07-12 08:25:32.000000000 -0400 ++++ b/PEAR/Builder.php 2015-01-16 13:43:14.927894013 -0500 +@@ -340,6 +340,11 @@ + } + // }}} end of interactive part + ++ if (file_exists('aclocal.m4')) { ++ $this->_runCommand('rm aclocal.m4'); ++ $this->_runCommand('autoreconf'); ++ } ++ + // FIXME make configurable + if (!$user=getenv('USER')) { + $user='defaultuser'; diff --git a/dev-php/PEAR-PEAR/files/pear.conf-r2 b/dev-php/PEAR-PEAR/files/pear.conf-r2 new file mode 100644 index 000000000000..277227b4a47b --- /dev/null +++ b/dev-php/PEAR-PEAR/files/pear.conf-r2 @@ -0,0 +1,2 @@ +#PEAR_Config 0.9 +a:9:{s:7:"doc_dir";s:19:"/usr/share/php/docs";s:8:"data_dir";s:19:"/usr/share/php/data";s:8:"test_dir";s:20:"/usr/share/php/tests";s:7:"php_dir";s:14:"/usr/share/php";s:7:"bin_dir";s:8:"/usr/bin";s:7:"php_bin";s:12:"/usr/bin/php";s:9:"cache_dir";s:CACHEDIRLEN:"CACHEDIR";s:12:"download_dir";s:DOWNLOADDIRLEN:"DOWNLOADDIR";s:8:"temp_dir";s:TEMPDIRLEN:"TEMPDIR";} diff --git a/dev-php/PEAR-PEAR/metadata.xml b/dev-php/PEAR-PEAR/metadata.xml new file mode 100644 index 000000000000..addc1ac90a5a --- /dev/null +++ b/dev-php/PEAR-PEAR/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + PEAR + + gentoo-staging + diff --git a/dev-php/PEAR-PEAR_PackageFileManager/Manifest b/dev-php/PEAR-PEAR_PackageFileManager/Manifest new file mode 100644 index 000000000000..59c8d7242045 --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager/Manifest @@ -0,0 +1 @@ +DIST PEAR_PackageFileManager-1.7.2.tgz 38104 BLAKE2B 126578a570db3e92b8c3b3d04588a77e81b14ed6b6c40e9a6c90739d2ae86bfaad8cac2b5ece4deaea9ea1e356d2645997402200236e394f68c0dc5fa9eaafe5 SHA512 4a0a201fea221a8e2d21199f99d4f145e39f42344a0057f32bfefd96aa2635e12ea75ee6b6ac64c52a8d35be5e2a65fa5399b3195592dea9ba10191c45fc0056 diff --git a/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r2.ebuild b/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r2.ebuild new file mode 100644 index 000000000000..b0973dc62119 --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager/PEAR-PEAR_PackageFileManager-1.7.2-r2.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Updates an existing package.xml file with a new filelist and changelog" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/php-5.3:* + >=dev-php/PEAR-PEAR-1.10.1 + dev-php/PEAR-PEAR_PackageFileManager2 + dev-php/PEAR-PEAR_PackageFileManager_Plugins" diff --git a/dev-php/PEAR-PEAR_PackageFileManager/metadata.xml b/dev-php/PEAR-PEAR_PackageFileManager/metadata.xml new file mode 100644 index 000000000000..f04908ccc239 --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + PEAR_PackageFileManager + + gentoo-staging + diff --git a/dev-php/PEAR-PEAR_PackageFileManager2/Manifest b/dev-php/PEAR-PEAR_PackageFileManager2/Manifest new file mode 100644 index 000000000000..77afeab4fa9d --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager2/Manifest @@ -0,0 +1 @@ +DIST PEAR_PackageFileManager2-1.0.4.tgz 43365 BLAKE2B 5eae7eb6f2ae91487ab83dc048ff2fa4c63a4f8208e88e0897340ef63aded28b355f22aec8e12e4da918ed1f24434c6269b53f4755ec80cf4edf7a240e03e545 SHA512 2748ebb21158521a74246ea410f9a30ae6d4b41e88aba543888238c5fc53060e6cf5c537cb95f595147690a2cbdfaaa34a6b3280924ee153cd3d47f2deb3a636 diff --git a/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r2.ebuild b/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r2.ebuild new file mode 100644 index 000000000000..e896e2b1d697 --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager2/PEAR-PEAR_PackageFileManager2-1.0.4-r2.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Updates an existing package.xml file with a new filelist and changelog" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/php-5.3:* + >=dev-php/PEAR-PEAR-1.10.1 + dev-php/PEAR-PEAR_PackageFileManager_Plugins" diff --git a/dev-php/PEAR-PEAR_PackageFileManager2/metadata.xml b/dev-php/PEAR-PEAR_PackageFileManager2/metadata.xml new file mode 100644 index 000000000000..f61a67b3465e --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager2/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + PEAR_PackageFileManager2 + + gentoo-staging + diff --git a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest new file mode 100644 index 000000000000..a0aedcd5587c --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/Manifest @@ -0,0 +1 @@ +DIST PEAR_PackageFileManager_Plugins-1.0.4.tgz 20967 BLAKE2B 5f883e117af879c67badb5c9c8b11e1211b3f9ee3b0516d43ca489ea05d6d4678281062a1a75da15e2158583169e7c31ca900bdea83137d991ed7dd923abb2e6 SHA512 7461ba3dc6f51263383136041d217e2d0d7607c5ef9f8766e08466118f2c869a037622750dd7bdcbbf2a114efde096b3192bbf5229f62ea42adfe83d36451fa0 diff --git a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild new file mode 100644 index 000000000000..021965393c4f --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/PEAR-PEAR_PackageFileManager_Plugins-1.0.4-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Various methods to check files to update an existing package.xml file" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1 + >=dev-php/PEAR-XML_Serializer-0.19.0 + >=dev-lang/php-5.3:*[xml,simplexml]" diff --git a/dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml new file mode 100644 index 000000000000..e663dd5a1ee5 --- /dev/null +++ b/dev-php/PEAR-PEAR_PackageFileManager_Plugins/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + PEAR_PackageFileManager_Plugins + + gentoo-staging + diff --git a/dev-php/PEAR-PHP_Beautifier/Manifest b/dev-php/PEAR-PHP_Beautifier/Manifest new file mode 100644 index 000000000000..973161acd3b8 --- /dev/null +++ b/dev-php/PEAR-PHP_Beautifier/Manifest @@ -0,0 +1 @@ +DIST PHP_Beautifier-0.1.15.tgz 74408 BLAKE2B 9d9a59175b404592d43b2539f47bb33807c23268408e88d570974633f17c3bbd2a05909c80ec966df73e7571a23462a93ec789da14fad80d0361b4a2dea43bf6 SHA512 1e2c7060295c6a13424339e7d45a5dfa9b02749baeb96f8efe55b4951243a3285ddffc815ad0432aec7a710646bdae33bd40abe723faf4ff35a50dad2258efd6 diff --git a/dev-php/PEAR-PHP_Beautifier/PEAR-PHP_Beautifier-0.1.15-r2.ebuild b/dev-php/PEAR-PHP_Beautifier/PEAR-PHP_Beautifier-0.1.15-r2.ebuild new file mode 100644 index 000000000000..0349d6ede1d7 --- /dev/null +++ b/dev-php/PEAR-PHP_Beautifier/PEAR-PHP_Beautifier-0.1.15-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Code Beautifier for PHP" +HOMEPAGE="https://pear.php.net/package/PHP_Beautifier" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cli examples" + +# Require automagic dependencies unconditionally to avoid surprises. +RDEPEND="dev-lang/php:*[bzip2,cli?,tokenizer] + dev-php/PEAR-Archive_Tar + dev-php/PEAR-Log + dev-php/PEAR-PEAR + cli? ( dev-php/PEAR-Console_Getopt )" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/use_default_error_reporting.patch" ) + +src_prepare() { + default + shopt -s globstar + for file in scripts/php_beautifier **/*.php; do + sed -i "s|@package_version@|${PV}|g" "${file}" || die + sed -i "s|@php_bin@|${EPREFIX}/usr/bin/php|g" "${file}" || die + done + shopt -u globstar +} + +src_install() { + insinto /usr/share/php/PHP + doins Beautifier.php + doins -r Beautifier + use examples && dodoc -r examples + use cli && dobin scripts/php_beautifier +} diff --git a/dev-php/PEAR-PHP_Beautifier/files/use_default_error_reporting.patch b/dev-php/PEAR-PHP_Beautifier/files/use_default_error_reporting.patch new file mode 100644 index 000000000000..cf1019b3399c --- /dev/null +++ b/dev-php/PEAR-PHP_Beautifier/files/use_default_error_reporting.patch @@ -0,0 +1,44 @@ +From 39e6b5605bd15db6a1f2f223dede9c8d2265140c Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Mon, 9 Jan 2017 22:34:30 -0500 +Subject: [PATCH 1/1] Use the default PHP error_reporting value. + +The php_beautifier script triggers some strict/deprecation warnings +with newer versions of PHP. With error_reporting = E_ALL, they are +shown to the user. Instead, we can at least respect the default +value of error_reporting from php.ini which (on Gentoo, anyway) +hides strict/deprecation warnings. +--- + Beautifier.php | 2 +- + scripts/php_beautifier | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Beautifier.php b/Beautifier.php +index 584ac4d..90d8d0b 100755 +--- a/Beautifier.php ++++ b/Beautifier.php +@@ -19,7 +19,7 @@ + * @license http://www.php.net/license/3_0.txt PHP License 3.0 + * @version CVS: $Id:$ + */ +-error_reporting(E_ALL); ++// error_reporting(E_ALL); + // Before all, test the tokenizer extension + if (!extension_loaded('tokenizer')) { + throw new Exception("Compile php with tokenizer extension. Use --enable-tokenizer or don't use --disable-all on configure."); +diff --git a/scripts/php_beautifier b/scripts/php_beautifier +index 255a264..6e87f4e 100755 +--- a/scripts/php_beautifier ++++ b/scripts/php_beautifier +@@ -52,7 +52,7 @@ + */ + require_once 'PHP/Beautifier/Batch.php'; + define('PHP_Beautifier_WINDOWS', substr(PHP_OS, 0, 3) == 'WIN'); +- error_reporting(E_ALL); ++ // error_reporting(E_ALL); + // get log object + $oLog = PHP_Beautifier_Common::getLog(); + +-- +2.10.2 + diff --git a/dev-php/PEAR-PHP_Beautifier/metadata.xml b/dev-php/PEAR-PHP_Beautifier/metadata.xml new file mode 100644 index 000000000000..e3b7b28220c7 --- /dev/null +++ b/dev-php/PEAR-PHP_Beautifier/metadata.xml @@ -0,0 +1,19 @@ + + + + + php-bugs@gentoo.org + PHP + + + + Require dev-lang/php to be built with the "cli" SAPI + and install the php_beautifier script. + + + + clbustos/PHP_Beautifier + PHP_Beautifier + + gentoo-staging + diff --git a/dev-php/PEAR-PHP_Debug/Manifest b/dev-php/PEAR-PHP_Debug/Manifest new file mode 100644 index 000000000000..120c6590a9cb --- /dev/null +++ b/dev-php/PEAR-PHP_Debug/Manifest @@ -0,0 +1 @@ +DIST PHP_Debug-1.0.3.tgz 48967 BLAKE2B b98d02a05f1aa35749e058d33a28418f2f3f956356789394cc9d17a496663322cf2bfbb5b6ce044ec1f8da14977af85f3659df7b0c272dfd30232258df599157 SHA512 740991812218abe21babc9892a3a814c8ed9180a7d68acafee933c4cec3c86282134bb46b2058cae8ff97a134a3c04b72d8113126184f6aff27fea9f1203344c diff --git a/dev-php/PEAR-PHP_Debug/PEAR-PHP_Debug-1.0.3-r3.ebuild b/dev-php/PEAR-PHP_Debug/PEAR-PHP_Debug-1.0.3-r3.ebuild new file mode 100644 index 000000000000..a09ecc06ad4f --- /dev/null +++ b/dev-php/PEAR-PHP_Debug/PEAR-PHP_Debug-1.0.3-r3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit php-pear-r2 + +DESCRIPTION="Provides traces, timings, executed queries, watched variables etc. " + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="minimal" + +RDEPEND="!minimal? ( dev-php/PEAR-Text_Highlighter )" +DOCS=( docs/README docs/INSTALL docs/CHANGELOG docs/FAQ docs/TODO docs/CONTACT ) +src_install() { + php-pear-r2_src_install + docinto html + dodoc -r css images js +} diff --git a/dev-php/PEAR-PHP_Debug/metadata.xml b/dev-php/PEAR-PHP_Debug/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-PHP_Debug/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Pager/Manifest b/dev-php/PEAR-Pager/Manifest new file mode 100644 index 000000000000..65a39975d72a --- /dev/null +++ b/dev-php/PEAR-Pager/Manifest @@ -0,0 +1 @@ +DIST Pager-2.5.1.tgz 36596 BLAKE2B a41317844cd79852dd2df88dc1d3fe42f68c1dcb6308846dee119e29b5c2b1ecb16cb2669029be4b31f13d3e6a1ff315f92847554d0b18f5845425a714ea9593 SHA512 59c93117196876e87ced8549b94e31255d280bc6a47a3d2197677d118c6bba77a4a4f404266f03eb42da5da1682c13e19610fe37c244bc9aa379b14931779f71 diff --git a/dev-php/PEAR-Pager/PEAR-Pager-2.5.1.ebuild b/dev-php/PEAR-Pager/PEAR-Pager-2.5.1.ebuild new file mode 100644 index 000000000000..3251c24833c5 --- /dev/null +++ b/dev-php/PEAR-Pager/PEAR-Pager-2.5.1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Data paging class" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" + +RDEPEND=">=dev-lang/php-5.6.0:*" diff --git a/dev-php/PEAR-Pager/metadata.xml b/dev-php/PEAR-Pager/metadata.xml new file mode 100644 index 000000000000..1522b427e6ee --- /dev/null +++ b/dev-php/PEAR-Pager/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Pager + Pager + + gentoo-staging + diff --git a/dev-php/PEAR-Services_JSON/Manifest b/dev-php/PEAR-Services_JSON/Manifest new file mode 100644 index 000000000000..9b6ab90d9430 --- /dev/null +++ b/dev-php/PEAR-Services_JSON/Manifest @@ -0,0 +1 @@ +DIST Services_JSON-1.0.3.tgz 9529 BLAKE2B 5a35899d53b66f3534afd64105c361e7aafa22641f540ef5ed38789ccc771f4e62577b1044af8d617579aed36e014e38e6bc30f39b476b09b47202d8822028d7 SHA512 2a94bebb662e250d56ae1f02f6debbff9e956820a603b8c4520f48ad0ed67a40c342d4eb000be9a9cf0e5b91c7bf9ebf98fae87f9ecca217b94b12441b746e5e diff --git a/dev-php/PEAR-Services_JSON/PEAR-Services_JSON-1.0.3-r1.ebuild b/dev-php/PEAR-Services_JSON/PEAR-Services_JSON-1.0.3-r1.ebuild new file mode 100644 index 000000000000..9e52d443b4b0 --- /dev/null +++ b/dev-php/PEAR-Services_JSON/PEAR-Services_JSON-1.0.3-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +IUSE="" +DESCRIPTION="PHP implementaion of json_encode/decode" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +PATCHES=( "${FILESDIR}/JSON-1.0.3-upstream-typo.patch" "${FILESDIR}/JSON-1.0.3-constructor.patch" ) + +src_install() { + php-pear-r2_src_install + insinto /usr/share/php/Services + doins JSON.php +} diff --git a/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-constructor.patch b/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-constructor.patch new file mode 100644 index 000000000000..d7348f0f858e --- /dev/null +++ b/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-constructor.patch @@ -0,0 +1,42 @@ +diff -aurN a/JSON.php b/JSON.php +--- a/JSON.php 2011-01-13 21:40:48.000000000 -0500 ++++ b/JSON.php 2018-02-15 11:42:06.551287857 -0500 +@@ -139,6 +139,14 @@ + * strings or numbers, if you return an object, make sure it does + * not have a toJSON method, otherwise an error will occur. + */ ++ function __construct($use = 0) ++ { ++ $this->use = $use; ++ $this->_mb_strlen = function_exists('mb_strlen'); ++ $this->_mb_convert_encoding = function_exists('mb_convert_encoding'); ++ $this->_mb_substr = function_exists('mb_substr'); ++ } ++ + function Services_JSON($use = 0) + { + $this->use = $use; +@@ -909,6 +917,11 @@ + + class Services_JSON_Error extends PEAR_Error + { ++ function __construct($message = 'unknown error', $code = null, ++ $mode = null, $options = null, $userinfo = null) ++ { ++ parent::__construct($message, $code, $mode, $options, $userinfo); ++ } + function Services_JSON_Error($message = 'unknown error', $code = null, + $mode = null, $options = null, $userinfo = null) + { +@@ -923,6 +936,11 @@ + */ + class Services_JSON_Error + { ++ function __construct($message = 'unknown error', $code = null, ++ $mode = null, $options = null, $userinfo = null) ++ { ++ return; ++ } + function Services_JSON_Error($message = 'unknown error', $code = null, + $mode = null, $options = null, $userinfo = null) + { diff --git a/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch b/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch new file mode 100644 index 000000000000..c7d8be3aa910 --- /dev/null +++ b/dev-php/PEAR-Services_JSON/files/JSON-1.0.3-upstream-typo.patch @@ -0,0 +1,20 @@ +--- a/JSON.php 2011/01/28 00:16:42 307804 ++++ b/JSON.php 2013/04/30 02:37:26 330165 +@@ -554,7 +544,7 @@ + + return ($this->use & SERVICES_JSON_SUPPRESS_ERRORS) + ? 'null' +- : new Services_JSON_Error(class_name($var). ++ : new Services_JSON_Error(get_class($var). + " toJSON returned an object with a toJSON method."); + + } +@@ -995,7 +985,7 @@ + function Services_JSON_Error($message = 'unknown error', $code = null, + $mode = null, $options = null, $userinfo = null) + { +- ++ return; + } + } + diff --git a/dev-php/PEAR-Services_JSON/metadata.xml b/dev-php/PEAR-Services_JSON/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Services_JSON/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Services_TinyURL/Manifest b/dev-php/PEAR-Services_TinyURL/Manifest new file mode 100644 index 000000000000..9678087f226c --- /dev/null +++ b/dev-php/PEAR-Services_TinyURL/Manifest @@ -0,0 +1 @@ +DIST Services_TinyURL-0.1.2.tgz 3960 BLAKE2B 8aa34ad73b3c43cb2e1879db668a0e5f4e953ee96f1159dd7c8c8b6ca022166095b1fa3cee5f3c1cb5c5a17e5d62f5b451280aac6b03dcc9e08ec3f20b3f3ec2 SHA512 847fa9437804c07b1c2adacd9031dcb7955c8bf73c44f7eb90f461ce6f70e9827e024a01a8fdf218bbea87d744d7be7c7ceac461905c243b15c6d42a07d70101 diff --git a/dev-php/PEAR-Services_TinyURL/PEAR-Services_TinyURL-0.1.2-r1.ebuild b/dev-php/PEAR-Services_TinyURL/PEAR-Services_TinyURL-0.1.2-r1.ebuild new file mode 100644 index 000000000000..09efca44082d --- /dev/null +++ b/dev-php/PEAR-Services_TinyURL/PEAR-Services_TinyURL-0.1.2-r1.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="An interface for creating and retrieving TinyURLs with their API" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/php:*[curl]" diff --git a/dev-php/PEAR-Services_TinyURL/metadata.xml b/dev-php/PEAR-Services_TinyURL/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Services_TinyURL/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Services_W3C_CSSValidator/Manifest b/dev-php/PEAR-Services_W3C_CSSValidator/Manifest new file mode 100644 index 000000000000..8d31865dcd06 --- /dev/null +++ b/dev-php/PEAR-Services_W3C_CSSValidator/Manifest @@ -0,0 +1 @@ +DIST Services_W3C_CSSValidator-0.2.3.tgz 10721 BLAKE2B 87f1bbce3337d678d8292976f8877ac98fa83487a15ae27ff693ac544754ae144b2a00bddc852d03092456e1b37080a56e09fe47bb48830b79fb4328dbbaa01c SHA512 4f9fb73ec57e374018b389f50918eaf87a63885f75b0ae2ead067e949a451ddbe40da8020672834e891106b5d470fbe451b3117233678b5f6f6a85f01d2a8aef diff --git a/dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.3.ebuild b/dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.3.ebuild new file mode 100644 index 000000000000..8b8c0ce7ddc9 --- /dev/null +++ b/dev-php/PEAR-Services_W3C_CSSValidator/PEAR-Services_W3C_CSSValidator-0.2.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Provides an object oriented interface for the W3 CSS Validator" +HOMEPAGE="https://pear.php.net/package/Services_W3C_CSSValidator" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-HTTP_Request2" + +S="${WORKDIR}/${MY_P}" + +src_install() { + use examples && dodoc -r docs/examples + + insinto /usr/share/php + doins -r Services +} diff --git a/dev-php/PEAR-Services_W3C_CSSValidator/metadata.xml b/dev-php/PEAR-Services_W3C_CSSValidator/metadata.xml new file mode 100644 index 000000000000..72eea85d8ad3 --- /dev/null +++ b/dev-php/PEAR-Services_W3C_CSSValidator/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Services_W3C_CSSValidator + Services_W3C_CSSValidator + + gentoo-staging + diff --git a/dev-php/PEAR-Spreadsheet_Excel_Writer/Manifest b/dev-php/PEAR-Spreadsheet_Excel_Writer/Manifest new file mode 100644 index 000000000000..ee224bbe0b4b --- /dev/null +++ b/dev-php/PEAR-Spreadsheet_Excel_Writer/Manifest @@ -0,0 +1 @@ +DIST Spreadsheet_Excel_Writer-0.9.4.tgz 58480 BLAKE2B 3469f9ab5965f6c4ef84d05c8f8ad76e57d354c6d7890327ac83b04bfe03dd675a9a9c60fc3f35eef005bfc338f3d91ed3c37d76d781d053bde15f3195d56193 SHA512 e8254e6e15862147830fd4300d6fb88978d84ad350e2e969af1d02df282c54798a429717874f8d12dc031bbc6dbe752e6b740fcd2b7094dc9eda666145f50431 diff --git a/dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.4.ebuild b/dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.4.ebuild new file mode 100644 index 000000000000..9aea64a14364 --- /dev/null +++ b/dev-php/PEAR-Spreadsheet_Excel_Writer/PEAR-Spreadsheet_Excel_Writer-0.9.4.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Package for generating Excel spreadsheets" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +RDEPEND=">=dev-lang/php-5.4:*[iconv] + >=dev-php/PEAR-OLE-0.5-r1" +IUSE="" diff --git a/dev-php/PEAR-Spreadsheet_Excel_Writer/metadata.xml b/dev-php/PEAR-Spreadsheet_Excel_Writer/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Spreadsheet_Excel_Writer/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Structures_Graph/Manifest b/dev-php/PEAR-Structures_Graph/Manifest new file mode 100644 index 000000000000..96dc56ea2f4e --- /dev/null +++ b/dev-php/PEAR-Structures_Graph/Manifest @@ -0,0 +1 @@ +DIST Structures_Graph-1.1.1.tgz 12402 BLAKE2B 049fc9a15b1ea46a8cb63576174b4b1cc491dd31794b8a1f9526958f6d54902069d16a7158615fc9708ba88bf46e0b021baa01596e443f8c6d9a7f551dac8b23 SHA512 cd4feb265e1aa05de348645dfc0b8e336486cb02c553dd8fcacb0a1eab452bf54108e07864395d55e0c92f4ffd338a5ae846b2dc28804bb23f03c91864ef0284 diff --git a/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild b/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild new file mode 100644 index 000000000000..7a8320bb1a84 --- /dev/null +++ b/dev-php/PEAR-Structures_Graph/PEAR-Structures_Graph-1.1.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Graph datastructure manipulation library" +HOMEPAGE="https://pear.php.net/package/Structures_Graph" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*" +PDEPEND="dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Structures +} diff --git a/dev-php/PEAR-Structures_Graph/metadata.xml b/dev-php/PEAR-Structures_Graph/metadata.xml new file mode 100644 index 000000000000..274b16595bd0 --- /dev/null +++ b/dev-php/PEAR-Structures_Graph/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Structures_Graph + + gentoo-staging + diff --git a/dev-php/PEAR-System_Command/Manifest b/dev-php/PEAR-System_Command/Manifest new file mode 100644 index 000000000000..a289806819b6 --- /dev/null +++ b/dev-php/PEAR-System_Command/Manifest @@ -0,0 +1 @@ +DIST System_Command-1.0.8.tgz 6528 BLAKE2B b1aaf2a55f65cd020d7d619dae7c758480241f2be77eea0777cab12ad904522b8e4d8021168e1455fa8c89fabfc87c7e89a581af267dbfbab174898b0d6b8e97 SHA512 37aa9624fe566cdd8613ffd021ba32c2a3f0818b8881933dc1c2e12e2e03773b98b4295b46ef54baca26fb07015c0db2b87e44136f46c09f820994905241acee diff --git a/dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild b/dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild new file mode 100644 index 000000000000..84e432729aea --- /dev/null +++ b/dev-php/PEAR-System_Command/PEAR-System_Command-1.0.8-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PHP command-line execution interface" +HOMEPAGE="https://pear.php.net/package/System_Command" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="examples" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + use examples && dodoc -r docs/test.php + + insinto /usr/share/php + doins -r System +} diff --git a/dev-php/PEAR-System_Command/metadata.xml b/dev-php/PEAR-System_Command/metadata.xml new file mode 100644 index 000000000000..83bb9f7ebfd4 --- /dev/null +++ b/dev-php/PEAR-System_Command/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/System_Command + System_Command + + gentoo-staging + diff --git a/dev-php/PEAR-Text_CAPTCHA/Manifest b/dev-php/PEAR-Text_CAPTCHA/Manifest new file mode 100644 index 000000000000..4538353c0bf6 --- /dev/null +++ b/dev-php/PEAR-Text_CAPTCHA/Manifest @@ -0,0 +1 @@ +DIST Text_CAPTCHA-1.0.2.tgz 197084 BLAKE2B 69f8d14e190ac9ec4ed74631635c3531fc0d6e40e08484e5fc58595572100976cc6279396aa6fe0cc0f46bd564f21cbb7fa3474647e62076882ac6a5bc0f4866 SHA512 334cee581d9750f69e2fcf6fea948334926960dce6a374dc4e1edf1609d97393c4a08fff867e50e3fceff60b350ab6239bb44c14b78d6c63c8b11be097a8bc43 diff --git a/dev-php/PEAR-Text_CAPTCHA/PEAR-Text_CAPTCHA-1.0.2-r1.ebuild b/dev-php/PEAR-Text_CAPTCHA/PEAR-Text_CAPTCHA-1.0.2-r1.ebuild new file mode 100644 index 000000000000..6f9fa60436a5 --- /dev/null +++ b/dev-php/PEAR-Text_CAPTCHA/PEAR-Text_CAPTCHA-1.0.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Generation of CAPTCHAs" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="minimal" + +RDEPEND="dev-php/PEAR-PEAR >=dev-lang/php-5.3:*[gd,truetype] >=dev-php/PEAR-Text_Password-1.1.1 + !minimal? ( dev-php/PEAR-Numbers_Words + dev-php/PEAR-Text_Figlet + >=dev-php/PEAR-Image_Text-0.7.0 )" + +src_prepare() { + sed -i -e '/role="doc"/d' -e '/role="test"/d' "${WORKDIR}/package.xml" || die + eapply_user +} + +src_install() { + local DOCS=( README ) + php-pear-r2_src_install +} diff --git a/dev-php/PEAR-Text_CAPTCHA/metadata.xml b/dev-php/PEAR-Text_CAPTCHA/metadata.xml new file mode 100644 index 000000000000..ac2393dea348 --- /dev/null +++ b/dev-php/PEAR-Text_CAPTCHA/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Text_CAPTCHA + + gentoo-staging + diff --git a/dev-php/PEAR-Text_CAPTCHA_Numeral/Manifest b/dev-php/PEAR-Text_CAPTCHA_Numeral/Manifest new file mode 100644 index 000000000000..5c05171bfa01 --- /dev/null +++ b/dev-php/PEAR-Text_CAPTCHA_Numeral/Manifest @@ -0,0 +1 @@ +DIST Text_CAPTCHA_Numeral-1.3.2.tgz 7741 BLAKE2B 34ffcf435d4737d4d894fe43bf1ee8e88e2050323d5bd5186c270df25045b6938e0eb9072471c83ae5c2bfb7a7e1bf970b2e0dce05eb8d9b7f8a64c7f78c3116 SHA512 be3660b20b857092859d7bbb3cbb35c08dc79a2ea3ebcca035b1defae07dfcd36ce00a47f1708ce4f1bb412c23a7cc867d8b677032e7c0ce13e910fb038a5b5d diff --git a/dev-php/PEAR-Text_CAPTCHA_Numeral/PEAR-Text_CAPTCHA_Numeral-1.3.2-r1.ebuild b/dev-php/PEAR-Text_CAPTCHA_Numeral/PEAR-Text_CAPTCHA_Numeral-1.3.2-r1.ebuild new file mode 100644 index 000000000000..1250e1dcb1fd --- /dev/null +++ b/dev-php/PEAR-Text_CAPTCHA_Numeral/PEAR-Text_CAPTCHA_Numeral-1.3.2-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Generates mathematical operations and answers to prove user is human" +LICENSE="BSD" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +HTML_DOCS=( examples/liveNumeral.php examples/numeral1.php ) + +src_test() { + peardev run-tests tests || die +} diff --git a/dev-php/PEAR-Text_CAPTCHA_Numeral/metadata.xml b/dev-php/PEAR-Text_CAPTCHA_Numeral/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Text_CAPTCHA_Numeral/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Text_Figlet/Manifest b/dev-php/PEAR-Text_Figlet/Manifest new file mode 100644 index 000000000000..55430561e2b7 --- /dev/null +++ b/dev-php/PEAR-Text_Figlet/Manifest @@ -0,0 +1 @@ +DIST Text_Figlet-1.0.2.tgz 8775 BLAKE2B 7c397479c00e193409f47d5419aa35fdaf7440f6991882a9a517a319e3240523075f7fa9bdfbffdef9efd1b6ad98bb7e2679c3fdde6cf87365bfe93290571b02 SHA512 e17578a2f4ebd67adedc57cbeceb8191a7ddc712efe0a631cb696d79392bc025ecdd0b389078dc65f6e0fd676d3e435178ae280cae9b9c11d8c4964152d9db06 diff --git a/dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild b/dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild new file mode 100644 index 000000000000..73750fe3f91c --- /dev/null +++ b/dev-php/PEAR-Text_Figlet/PEAR-Text_Figlet-1.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Render text using FIGlet fonts" +HOMEPAGE="https://pear.php.net/package/Text_Figlet" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01 + examples? ( GPL-2+ OFL-1.1 )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples" + +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc docs/README.TXT + + if use examples; then + dodoc -r docs/examples + + # Earlier versions of this ebuild installed this font under + # /usr/share/php/data, which is obviously the wrong place for + # them, but is where we have configured PEAR's data_dir. The + # fonts can be referenced by absolute path, however, and not + # just by name. Since this font is used in the example -- and as + # long as no one expects this *particular* font to work out of + # the box -- installing it with the docs will suffice. + # + # The one consumer of this in the tree is PEAR-Text_CAPTCHA, and + # it loads its fonts using an absolute path. + dodoc fonts/makisupa.flf + fi + + insinto /usr/share/php + doins -r Text +} diff --git a/dev-php/PEAR-Text_Figlet/metadata.xml b/dev-php/PEAR-Text_Figlet/metadata.xml new file mode 100644 index 000000000000..99708b5270a0 --- /dev/null +++ b/dev-php/PEAR-Text_Figlet/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Text_Figlet + Text_Figlet + + gentoo-staging + diff --git a/dev-php/PEAR-Text_Highlighter/Manifest b/dev-php/PEAR-Text_Highlighter/Manifest new file mode 100644 index 000000000000..5537a7d63a95 --- /dev/null +++ b/dev-php/PEAR-Text_Highlighter/Manifest @@ -0,0 +1,2 @@ +DIST Text_Highlighter-0.7.3.tgz 138384 BLAKE2B 9cffd6dbe3eadf0a6e0465a6845bdc63f3b4b30af3bb09a7ac90cbb42575d0a98a3d8adf9e4f6e2f9e67d978a035a27e83bccd799f88513af72c492ad6241037 SHA512 59924cffbec8e4b652525f718012aa9a4f17d348401e191e292643df1e75a2a1b8687b7df701363816fcead1c55efe281a68b126f87df14806acd69ae6f44209 +DIST Text_Highlighter-0.8.0.tgz 138657 BLAKE2B d2d1c9374f5b2ac88c1bca7e91723e0a67ee8205f92b3d840669eda2f37cae9601f31eaf7373e4b32f5d4c36569115ed6777cfa562a1cd465a289f8f5f626a66 SHA512 9774fa613f95064629b749f2514e173275a4a15f46b649b208ca668ffc85118b5f26197ce3c9311fe8c1b200a76d30ed2e745929b0d4f1b54056732f4a5cfe05 diff --git a/dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.7.3-r1.ebuild b/dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.7.3-r1.ebuild new file mode 100644 index 000000000000..3be3251be917 --- /dev/null +++ b/dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.7.3-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A package for syntax highlighting" +HOMEPAGE="https://pear.php.net/package/Text_Highlighter" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# There is a documented dependency on XML_Parser, but that's only needed +# for development -- if you want to *generate* the PHP class files. The +# ones in the release are already pre-generated. The dependency on the +# XML_Serializer, on the other hand, is not documented but is requird +# by the XML output renderer. +RDEPEND="dev-lang/php + dev-php/PEAR-PEAR + dev-php/PEAR-XML_Serializer" + +S="${WORKDIR}/${MY_P}" + +src_install() { + dodoc README TODO + + insinto /usr/share/php + doins -r Text +} diff --git a/dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.8.0.ebuild b/dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.8.0.ebuild new file mode 100644 index 000000000000..c3c25710ef34 --- /dev/null +++ b/dev-php/PEAR-Text_Highlighter/PEAR-Text_Highlighter-0.8.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="A package for syntax highlighting" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# There is a documented dependency on XML_Parser, but that's only needed +# for development -- if you want to *generate* the PHP class files. The +# ones in the release are already pre-generated. The dependency on the +# XML_Serializer, on the other hand, is not documented but is requird +# by the XML output renderer. +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1 + dev-php/PEAR-XML_Serializer" diff --git a/dev-php/PEAR-Text_Highlighter/metadata.xml b/dev-php/PEAR-Text_Highlighter/metadata.xml new file mode 100644 index 000000000000..989afaacc1d2 --- /dev/null +++ b/dev-php/PEAR-Text_Highlighter/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Text_Highlighter + + gentoo-staging + diff --git a/dev-php/PEAR-Text_Password/Manifest b/dev-php/PEAR-Text_Password/Manifest new file mode 100644 index 000000000000..a0f4af720ad9 --- /dev/null +++ b/dev-php/PEAR-Text_Password/Manifest @@ -0,0 +1 @@ +DIST Text_Password-1.2.1.tgz 5631 BLAKE2B d765606e7082076f92d76d3a2e7a0721950b9fc81b267a51aa3ef56ed92706105486d3a62a6ec81e06dbdb41a15d0a7e9add8ef99c87b76af6445fb7bcbdbaaa SHA512 9f7a357b92b8013f41cd964245fd764c5f1347b41612aacb5fca66e4963e007d7470ea3a046e6186cfebed4960c5b6e6e23e4f2ab9e08c7aee10cba5ea347fc9 diff --git a/dev-php/PEAR-Text_Password/PEAR-Text_Password-1.2.1.ebuild b/dev-php/PEAR-Text_Password/PEAR-Text_Password-1.2.1.ebuild new file mode 100644 index 000000000000..716200a0a39f --- /dev/null +++ b/dev-php/PEAR-Text_Password/PEAR-Text_Password-1.2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Creating passwords with PHP" +HOMEPAGE="https://pear.php.net/package/Text_Password" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 ~sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r Text +} + +src_test() { + phpunit tests/ || die 'test suite failed' +} diff --git a/dev-php/PEAR-Text_Password/metadata.xml b/dev-php/PEAR-Text_Password/metadata.xml new file mode 100644 index 000000000000..d913b7762566 --- /dev/null +++ b/dev-php/PEAR-Text_Password/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/Text_Password + Text_Password + + gentoo-staging + diff --git a/dev-php/PEAR-Text_Wiki/Manifest b/dev-php/PEAR-Text_Wiki/Manifest new file mode 100644 index 000000000000..807d3834b393 --- /dev/null +++ b/dev-php/PEAR-Text_Wiki/Manifest @@ -0,0 +1,2 @@ +DIST Text_Wiki-1.2.2_p20170904.tar.gz 86810 BLAKE2B 3277fbfae5683c147c1537a7f789b8b9500bfa39014832ed08d91028882813f60727f9ff503d38dde5f017fd5f1ec69d61775a14094b0d267a1b0019f10090c8 SHA512 8e731a6cc9ec0e964d86de5eb96f285155f61d21e229499132f5b06ef8ff520658a42c9c6fb60d73b9bc8828ec9b616bc11e4f04bdd6e74836d52fc53a92dd71 +DIST Text_Wiki-1.2.3.tgz 89906 BLAKE2B 8db39418478085bebbbb32f8d80fbf9f6b9058adf9071f7f7493a4e493fbd088e231759752ddc41aad6c58b1ddab953111df006f901545c896e266b75dc70f26 SHA512 619f5323648b1344c572a1aa03626dc00a4dd9f201814fee5a3b962f69085943a1c7d1ef06e7c0cc4be7628bc76889972f1750aa9f7f67348381df1af4a4bd73 diff --git a/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.2_p20170904.ebuild b/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.2_p20170904.ebuild new file mode 100644 index 000000000000..24295e7cc65e --- /dev/null +++ b/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.2_p20170904.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 vcs-snapshot + +DESCRIPTION="Abstracts parsing and rendering rules for Wiki markup in structured plain text" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" +# Pull from github as pear.php.net is not updated +SRC_URI="https://github.com/pear/${PHP_PEAR_PKG_NAME}/archive/32fd5f483f34645f4efd96d385d8950ea26d4a2a.tar.gz -> ${PEAR_P}.tar.gz" + +DEPEND="test? ( dev-php/phpunit dev-php/PEAR-PEAR )" + +src_test() { + peardev run-tests tests || die + phpunit tests/*.php || die +} + +src_install() { + php-pear-r2_src_install + insinto /usr/share/php/.packagexml + newins package.xml "${PEAR_P}.xml" +} diff --git a/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.3.ebuild b/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.3.ebuild new file mode 100644 index 000000000000..71ce9d98ae0f --- /dev/null +++ b/dev-php/PEAR-Text_Wiki/PEAR-Text_Wiki-1.2.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="Abstracts parsing and rendering rules for Wiki markup in structured plain text" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-php/phpunit dev-php/PEAR-PEAR )" + +src_test() { + peardev run-tests tests || die + phpunit tests/*.php || die +} diff --git a/dev-php/PEAR-Text_Wiki/metadata.xml b/dev-php/PEAR-Text_Wiki/metadata.xml new file mode 100644 index 000000000000..2a3590db5f20 --- /dev/null +++ b/dev-php/PEAR-Text_Wiki/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/archive + + gentoo-staging + diff --git a/dev-php/PEAR-Text_Wiki_BBCode/Manifest b/dev-php/PEAR-Text_Wiki_BBCode/Manifest new file mode 100644 index 000000000000..8951c3b934ba --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_BBCode/Manifest @@ -0,0 +1 @@ +DIST Text_Wiki_BBCode-0.0.4.tgz 16411 BLAKE2B e4957f615460b46327df12764a313cfec91921fd2e701a0781d675e62bc7aa81e8cf45fc09422eb53da71d4c7afce6d286e2e03b90bec60c32726fb701289df5 SHA512 00b456f9c100ad534f619f1584224ef36a54309d967442c1ac30aeee697eca0e13ab802d9ae9677aad8dc94bda61748451a0fac7a0bba6f63e1f02844e4c9dba diff --git a/dev-php/PEAR-Text_Wiki_BBCode/PEAR-Text_Wiki_BBCode-0.0.4-r3.ebuild b/dev-php/PEAR-Text_Wiki_BBCode/PEAR-Text_Wiki_BBCode-0.0.4-r3.ebuild new file mode 100644 index 000000000000..25a06efaece6 --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_BBCode/PEAR-Text_Wiki_BBCode-0.0.4-r3.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="BBCode parser for Text_Wiki" + +LICENSE="LGPL-2.1 PHP-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +DEPEND="" +RDEPEND=">=dev-php/PEAR-Text_Wiki-1.0.3" + +DOCS=( doc/BBCodeParser_V2.ini + doc/BBCodeParser.php + doc/README_BBCodeParser + doc/parser.php + doc/BBtest.txt ) diff --git a/dev-php/PEAR-Text_Wiki_BBCode/metadata.xml b/dev-php/PEAR-Text_Wiki_BBCode/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_BBCode/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/Manifest b/dev-php/PEAR-Text_Wiki_Mediawiki/Manifest new file mode 100644 index 000000000000..0fc75a5a74bf --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_Mediawiki/Manifest @@ -0,0 +1 @@ +DIST Text_Wiki_Mediawiki-0.2.0_p20140604.tar.gz 22941 BLAKE2B d208b4df7e01a2b28e44ada0226be0f183fe6ffefe742f9b6cb4f2b366f915ae46d950d574a8357cbec273f41792f17a639f5512613628ee60ed137d909be9dd SHA512 aef4d18a4a0b9f41dc4bad701a90a2e7d674851b63206db9dd87cf87d6705991c8221e41cdbb8d2572a950520ce87db96105a009e4189e48b8e7f5df0f460ee5 diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild b/dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild new file mode 100644 index 000000000000..a83c1f9779ec --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_Mediawiki/PEAR-Text_Wiki_Mediawiki-0.2.0_p20140604.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 vcs-snapshot + +SRC_URI="https://github.com/pear/Text_Wiki_Mediawiki/archive/11a902741d3f8cc6010fb97b825d66345143e4dc.tar.gz -> ${PEAR_P}.tar.gz" +DESCRIPTION="Mediawiki parser for Text_Wiki" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND=">=dev-php/PEAR-Text_Wiki-1.2.2_p20170904" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" +PATCHES=( "${FILESDIR}/0.2.0-constructor.patch" ) + +src_test() { + phpunit tests/Text_Wiki_Parse_Mediawiki_Test.php || die +} + +src_install() { + php-pear-r2_src_install + insinto /usr/share/php/.packagexml + newins package.xml "${PEAR_P}.xml" +} diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch b/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch new file mode 100644 index 000000000000..edd8e3572de0 --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_Mediawiki/files/0.2.0-constructor.patch @@ -0,0 +1,36 @@ +diff -aurN a/Text/Wiki/Mediawiki.php b/Text/Wiki/Mediawiki.php +--- a/Text/Wiki/Mediawiki.php 2014-06-04 23:24:45.000000000 -0400 ++++ b/Text/Wiki/Mediawiki.php 2018-02-14 13:36:18.777893414 -0500 +@@ -87,7 +87,7 @@ + * @param array $rules The set of rules to load for this object. + */ + function __construct($rules = null) { +- parent::Text_Wiki($rules); ++ parent::__construct($rules); + $this->addPath('parse', $this->fixPath(dirname(__FILE__)).'Parse/Mediawiki'); + } + } +diff -aurN a/Text/Wiki/Parse/Mediawiki/Url.php b/Text/Wiki/Parse/Mediawiki/Url.php +--- a/Text/Wiki/Parse/Mediawiki/Url.php 2014-06-04 23:24:45.000000000 -0400 ++++ b/Text/Wiki/Parse/Mediawiki/Url.php 2018-02-14 13:40:21.974024459 -0500 +@@ -87,7 +87,7 @@ + */ + function __construct(&$obj) + { +- parent::Text_Wiki_Parse($obj); ++ parent::__construct($obj); + + // convert the list of recognized schemes to a regex-safe string, + // where the pattern delim is a slash +diff -aurN a/Text/Wiki/Parse/Mediawiki/Wikilink.php b/Text/Wiki/Parse/Mediawiki/Wikilink.php +--- a/Text/Wiki/Parse/Mediawiki/Wikilink.php 2014-06-04 23:24:45.000000000 -0400 ++++ b/Text/Wiki/Parse/Mediawiki/Wikilink.php 2018-02-14 13:40:46.030542359 -0500 +@@ -99,7 +99,7 @@ + function __construct(&$obj) + { + $default = $this->conf; +- parent::Text_Wiki_Parse($obj); ++ parent::__construct($obj); + + // override config options for image if specified + if (in_array('Image', $this->wiki->disable)) { diff --git a/dev-php/PEAR-Text_Wiki_Mediawiki/metadata.xml b/dev-php/PEAR-Text_Wiki_Mediawiki/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-Text_Wiki_Mediawiki/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Validate/Manifest b/dev-php/PEAR-Validate/Manifest new file mode 100644 index 000000000000..ca62b7680cf4 --- /dev/null +++ b/dev-php/PEAR-Validate/Manifest @@ -0,0 +1 @@ +DIST Validate-0.8.5.tgz 21668 BLAKE2B 5f1897f9a796bab047beb7bdcf79726f58f069874cb1d08a17078c8d974bed626b3e37dd792e8b941fd0115d9060986278d459037580adedf6088ef51d5f2c13 SHA512 4e2e330b0a74a24d18af262ef42d872ab9eb2386e11c5647d898c60e11a29d06c97c0295cdf0999c3a4805f3f1efae2949c54520da50cf6adfcc5a6c4f6e1b63 diff --git a/dev-php/PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild b/dev-php/PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild new file mode 100644 index 000000000000..b1581cefac62 --- /dev/null +++ b/dev-php/PEAR-Validate/PEAR-Validate-0.8.5-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" + +DESCRIPTION="Validation class" +LICENSE="BSD" +SLOT="0" +IUSE="minimal test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-php/PEAR-PEAR dev-php/PEAR-Date )" +RDEPEND="!minimal? ( dev-php/PEAR-Date )" +PATCHES=( "${FILESDIR}/0.8.5-fix-test-php7.patch" ) +HTML_DOCS=( docs/Example_Locale.php docs/sample_multiple.php ) + +src_test() { + peardev run-tests tests || die +} diff --git a/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch b/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch new file mode 100644 index 000000000000..069c5467d049 --- /dev/null +++ b/dev-php/PEAR-Validate/files/0.8.5-fix-test-php7.patch @@ -0,0 +1,19 @@ +From a22b5cf2c7e4b4cf366c311150721961d9b456ea Mon Sep 17 00:00:00 2001 +From: Christian Weiske +Date: Thu, 16 Jul 2015 00:38:55 +0200 +Subject: [PATCH] Make tests run on PHP 7 + +diff --git a/Validate.php b/Validate.php +index a8f621c..ea6cfa7 100644 +--- a/Validate.php ++++ b/Validate.php +@@ -583,7 +583,8 @@ function email($email, $options = null) + if ($use_rfc822? Validate::__emailRFC822($email, $options) : + preg_match($regex, $email)) { + if ($check_domain && function_exists('checkdnsrr')) { +- $domain = preg_replace('/[^-a-z.0-9]/i', '', array_pop(explode('@', $email))); ++ $parts = explode('@', $email); ++ $domain = preg_replace('/[^-a-z.0-9]/i', '', array_pop($parts)); + if (checkdnsrr($domain, 'MX') || checkdnsrr($domain, 'A')) { + return true; + } diff --git a/dev-php/PEAR-Validate/metadata.xml b/dev-php/PEAR-Validate/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/PEAR-Validate/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-Var_Dump/Manifest b/dev-php/PEAR-Var_Dump/Manifest new file mode 100644 index 000000000000..d7658fd7308f --- /dev/null +++ b/dev-php/PEAR-Var_Dump/Manifest @@ -0,0 +1 @@ +DIST Var_Dump-1.0.4.tgz 17426 BLAKE2B 60161be980edeae902e64c387b30466511b5cc0e6395f02334346c82e0393577c041fbc272577caa48510303bff3c1bce8e0c3c6708fade04a13b22f28b84b79 SHA512 1d31fcc3519feeee2ec94fc6d8b919672cf4a1be80d6b63c0a52b30792b9c936a7b984033a4357a64cd937193a55daf67fb649444f8303f1332f7d7c793b2e89 diff --git a/dev-php/PEAR-Var_Dump/PEAR-Var_Dump-1.0.4-r3.ebuild b/dev-php/PEAR-Var_Dump/PEAR-Var_Dump-1.0.4-r3.ebuild new file mode 100644 index 000000000000..707cff167f52 --- /dev/null +++ b/dev-php/PEAR-Var_Dump/PEAR-Var_Dump-1.0.4-r3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Dump structured information about a variable" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples test" + +DEPEND="test? ( dev-php/PEAR-PEAR )" + +# The test suite fails due to some deprecation warnings that are output. +# The test cases themselves set error_reporting(E_ALL), so there's no +# easy way to override it. +RESTRICT=test + +src_install() { + use examples && dodoc -r docs/example*.php + php-pear-r2_src_install +} + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} diff --git a/dev-php/PEAR-Var_Dump/metadata.xml b/dev-php/PEAR-Var_Dump/metadata.xml new file mode 100644 index 000000000000..29d6727d0491 --- /dev/null +++ b/dev-php/PEAR-Var_Dump/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Var_Dump + + gentoo-staging + diff --git a/dev-php/PEAR-VersionControl_SVN/Manifest b/dev-php/PEAR-VersionControl_SVN/Manifest new file mode 100644 index 000000000000..056a281c1db4 --- /dev/null +++ b/dev-php/PEAR-VersionControl_SVN/Manifest @@ -0,0 +1,2 @@ +DIST PEAR-VersionControl_SVN-0.5.2_p20180314.tar.gz 36697 BLAKE2B 998e9c08d19284de2bd723fff07bc4c319ed65b12baad012f5f8e6b283060cd25cdefa5141e71f8368555d963e7ab1eec7b8e41d38cbd9a89dbd6977f72b5102 SHA512 aaba6fcd65d3906c9d98085b109d1357578be7557a9ac5b5997ae9a9896cb0970f3bf707246e5afc68dfbb8268a8fad36265b484220387b56e8de85e390db82a +DIST VersionControl_SVN-0.5.2.tgz 31356 BLAKE2B d59971b0677d3e88b47f1fb249c6ba6971db7b868e390589705058fa0cc19a3b4e7a2da38db78b37a9fa7b8f9233297a4fb5376b1b225c8e93f41bbe65c99007 SHA512 09aaab0461a52fe87e5723472b9978c8f928a4741e11a69672ae1350ecdf90b287d951b8343b5fbfbc1d7cd449055cb249f229a1e943cdcd807e9b36e0a48b86 diff --git a/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2-r1.ebuild b/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2-r1.ebuild new file mode 100644 index 000000000000..7fea8919316e --- /dev/null +++ b/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="Simple OO wrapper interface for the Subversion command-line client" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +RDEPEND="" + +src_prepare() { + einfo "Patching SVN.php and SVN/Command.php to use proper paths by default" + sed -i -e 's:/usr/local:/usr:g' VersionControl/SVN.php || die "sed failed" + sed -i -e 's:/usr/local:/usr:g' VersionControl/SVN/Command.php || die "sed failed" + default +} diff --git a/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2_p20180314.ebuild b/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2_p20180314.ebuild new file mode 100644 index 000000000000..87a974669e13 --- /dev/null +++ b/dev-php/PEAR-VersionControl_SVN/PEAR-VersionControl_SVN-0.5.2_p20180314.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 vcs-snapshot + +DESCRIPTION="Simple OO wrapper interface for the Subversion command-line client" +SRC_URI="https://github.com/pear/VersionControl_SVN/archive/6c9580df92f0cc77a6eb6fcc216c56913bf308e7.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +RDEPEND="" +DEPEND="test? ( dev-vcs/subversion dev-php/phpunit )" +S="${WORKDIR}/PEAR-${PHP_PEAR_PKG_NAME}-${PV}" + +src_prepare() { + einfo "Patching SVN.php and SVN/Command.php to use proper paths by default" + sed -i -e 's:/usr/local:/usr:g' VersionControl/SVN.php || die "sed failed" + sed -i -e 's:/usr/local:/usr:g' VersionControl/SVN/Command.php || die "sed failed" + sed -i 's/ +%d / %i /' tests/resetxml_19910.phpt || die + default +} + +src_test() { + phpunit tests || die "Tests failed" +} diff --git a/dev-php/PEAR-VersionControl_SVN/metadata.xml b/dev-php/PEAR-VersionControl_SVN/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-VersionControl_SVN/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-XML_Parser/Manifest b/dev-php/PEAR-XML_Parser/Manifest new file mode 100644 index 000000000000..ab8e0fe0cf58 --- /dev/null +++ b/dev-php/PEAR-XML_Parser/Manifest @@ -0,0 +1,2 @@ +DIST XML_Parser-1.3.7.tgz 13339 BLAKE2B 10cc89dbf4f6c4b28fea73cc45757e71a897b01fd21a3d2711fef5eb0cd33e1fdeda143ce88dd425fdea9802a02f3d7e352ec17295b88d8cfae87af6a342f622 SHA512 b4e6c76962eb47f15096e7d77658cf41ca372a9389967e5204e865b253da4f4e248e7b893aa4c6624bb1178e3985667d018849df6d9a07aa6b9a707c743fe64b +DIST XML_Parser-1.3.8.tgz 13534 BLAKE2B c0227d48b43b9b0fec3251c81e56017344101b4a2dc9a5eb85310d1130148a1d7e365b3b6e3f4fcab03aeac1f702f81f22d45c4db67ff515836ef8a173cd7d4c SHA512 f840acf2e068d642177d37958487021b5bf57cd33048738f2f18fa35d83dfe428ce327900a9a141c2a184e4dbdddc9e8eefaf87604131f516f016aee30aad603 diff --git a/dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.7-r1.ebuild b/dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.7-r1.ebuild new file mode 100644 index 000000000000..51a979e0e4df --- /dev/null +++ b/dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.7-r1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="XML parsing class based on PHP's SAX parser" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +src_test() { + peardev run-tests -r || die +} diff --git a/dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.8.ebuild b/dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.8.ebuild new file mode 100644 index 000000000000..0ed52ec9f9b8 --- /dev/null +++ b/dev-php/PEAR-XML_Parser/PEAR-XML_Parser-1.3.8.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +DESCRIPTION="XML parsing class based on PHP's SAX parser" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +src_test() { + peardev run-tests -r || die +} diff --git a/dev-php/PEAR-XML_Parser/metadata.xml b/dev-php/PEAR-XML_Parser/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/PEAR-XML_Parser/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/PEAR-XML_RSS/Manifest b/dev-php/PEAR-XML_RSS/Manifest new file mode 100644 index 000000000000..cb7ff93ab91a --- /dev/null +++ b/dev-php/PEAR-XML_RSS/Manifest @@ -0,0 +1,2 @@ +DIST XML_RSS-1.1.0.tgz 8178 BLAKE2B da290ea2e656372478435451b5043f3254e1a06423495c62c753b636208ece31e5b9aebe59a9b84254aac70d2088b4c35f78b763b6045d29c467ff0989bbc6fa SHA512 947b040ec71728328bad0130da874132c12e8c14a37f57b0ebc4e9db26aed49d0f9702e20ae401bd92782e1895de71dbd5daf09adebec0eaf268c77dfe183c24 +DIST XML_RSS-1.1.0a1.tgz 6717 BLAKE2B f38aaa6981d94668031272cd48f5648ce9fec499fde4627b6291d1a9c0dea4db72779e3ce7a089be9ee5d23ad56d05c6bd3ffce031b9ef3f4fac5360c3da4420 SHA512 e88c7618cad60a775c07ac26aedf05b7ce7ab3c9f012f3e638031b3567227db237ee2e1238fa051f9f415388a5d7c131af02b8200e08c01a9078654ea5877ce8 diff --git a/dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0.ebuild b/dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0.ebuild new file mode 100644 index 000000000000..f564a5c6a962 --- /dev/null +++ b/dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit php-pear-r2 + +DESCRIPTION="PHP parser for RDF and RSS documents" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +# Only needs PEAR_Exception (not in the tree), not all of PEAR. +# This can be made into an || dependency if we add PEAR_Exception. +RDEPEND=">=dev-php/PEAR-PEAR-1.10.1 + dev-php/PEAR-XML_Parser" diff --git a/dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0_alpha1.ebuild b/dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0_alpha1.ebuild new file mode 100644 index 000000000000..7065b7a8d229 --- /dev/null +++ b/dev-php/PEAR-XML_RSS/PEAR-XML_RSS-1.1.0_alpha1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_PV="${PV/_/}" +MY_PV="${MY_PV/alpha/a}" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="PHP parser for RDF and RSS documents" +HOMEPAGE="https://pear.php.net/package/XML_RSS" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +# Only needs PEAR_Exception (not in the tree), not all of PEAR. +# This can be made into an || dependency if we add PEAR_Exception. +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR + dev-php/PEAR-XML_Parser" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r XML +} diff --git a/dev-php/PEAR-XML_RSS/metadata.xml b/dev-php/PEAR-XML_RSS/metadata.xml new file mode 100644 index 000000000000..0c060bb075cc --- /dev/null +++ b/dev-php/PEAR-XML_RSS/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + pear/XML_RSS + XML_RSS + + gentoo-staging + diff --git a/dev-php/PEAR-XML_Serializer/Manifest b/dev-php/PEAR-XML_Serializer/Manifest new file mode 100644 index 000000000000..a44431180ef7 --- /dev/null +++ b/dev-php/PEAR-XML_Serializer/Manifest @@ -0,0 +1 @@ +DIST XML_Serializer-0.21.0.tgz 33362 BLAKE2B dc7d9f5d40f538e4cdb6a9046bd5ba4d3970fe710dca5b809a808e057f782628aa124a6f541b800f55e15c5f5aaef335150c7342a2a96845ae60eb275bc897a3 SHA512 f547fc92d5b102681229c8c8830ca8201ba529c06a720ad761f2c3cedd757d858711c3d8b0dbd2f88b0815758561acc297cee002162bdee6002c1c7310c8f67a diff --git a/dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild b/dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild new file mode 100644 index 000000000000..149c678a9679 --- /dev/null +++ b/dev-php/PEAR-XML_Serializer/PEAR-XML_Serializer-0.21.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit php-pear-r2 + +DESCRIPTION="Swiss-army knife for reading and writing XML files" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[xml] + >=dev-php/PEAR-XML_Parser-1.2.7 + >=dev-php/PEAR-XML_Util-1.1.1-r1 + " +DEPEND="test? ( ${RDEPEND} )" + +src_install() { + php-pear-r2_src_install + if use examples ; then + insinto /usr/share/php/docs/${PN/PEAR-//} + doins -r examples + fi +} + +src_test() { + peardev run-tests -r || die +} diff --git a/dev-php/PEAR-XML_Serializer/metadata.xml b/dev-php/PEAR-XML_Serializer/metadata.xml new file mode 100644 index 000000000000..06fc1363c178 --- /dev/null +++ b/dev-php/PEAR-XML_Serializer/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + XML_Serializer + + gentoo-staging + diff --git a/dev-php/PEAR-XML_Util/Manifest b/dev-php/PEAR-XML_Util/Manifest new file mode 100644 index 000000000000..56eb6f0f1be5 --- /dev/null +++ b/dev-php/PEAR-XML_Util/Manifest @@ -0,0 +1,4 @@ +DIST XML_Util-1.4.2.tgz 18993 BLAKE2B b2667aed3b3ec75dd8fca1625c6fa3d03a7662c24ce0fce69cb983f42fc3f45bc0bf27bdee7353c1d29fe0eabc181f2cbd415883575f5d6cf7163097c10f6d9c SHA512 e0a328f92cdcd09277238e14d68b73cba319ab9b4e9c50ab102b43f73c889599f5933415dc228bd1feb56a48c1527e0e9a86999ee2209b2d84131691aee74cbe +DIST XML_Util-1.4.3.tgz 18842 BLAKE2B 1cd0065b84e07a8cbc7f4d44c10362d40e71254b4964b3aa3d4d11cad5cb7e5bce780f926c69cc4fc871ac3c28d8239a428c145389950b4d6f6e626b6215dfc9 SHA512 c21a7cef90743e124c4bc8e0453b634de8f6a6b0aac060acc1a17f481a2eb8757d322b05c69151280b7651cea927b2c64b7d49b9fd815dcdc606d0472d967310 +DIST XML_Util-1.4.4.tgz 19069 BLAKE2B bd809d8a3250e5d08793f6d6ae50ebdbd0e95e46b667edf7176ac125b902cee8334bc6abe85704a945a508cba6a2146e5bbcb6039a40316ea8d2b1b30590d139 SHA512 3c2ae4492e76729da561398a43416cd540284297b497d2c1526515c00ba2918b9d520b580e21111cf9f9e133d473289cc9c896bc28ddd0c64a849ee66f897e42 +DIST XML_Util-1.4.5.tgz 19191 BLAKE2B 2097e91bc6ed46e4af5713fe6e3f764b401f14ff1e06c0f96af68476db5e8cf2b463c0a9bed3eecd5e22c24108394fe1f622e4986888af131ee9a3c260f8c652 SHA512 dd373c15ea8057e1a31953a10d75a4821bb9ad63d55ec5ccdbe17c114895ac9b9a57871d50f9f83bca7e3920b461417aa09063cb06051834996d4a8aebfa84c9 diff --git a/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.2.ebuild b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.2.ebuild new file mode 100644 index 000000000000..cea5e82621d9 --- /dev/null +++ b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="XML utility class" +HOMEPAGE="https://pear.php.net/package/XML_Util" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="examples" + +# PCRE is needed for a few calls to preg_replace and preg_match. +RDEPEND="dev-lang/php:*[pcre(+)]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r XML + + use examples && dodoc -r examples +} diff --git a/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.3.ebuild b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.3.ebuild new file mode 100644 index 000000000000..1c013e52239f --- /dev/null +++ b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="XML utility class" +HOMEPAGE="https://pear.php.net/package/XML_Util" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples" + +# PCRE is needed for a few calls to preg_replace and preg_match. +RDEPEND="dev-lang/php:*[pcre(+)]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r XML + + use examples && dodoc -r examples +} diff --git a/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.4.ebuild b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.4.ebuild new file mode 100644 index 000000000000..1c013e52239f --- /dev/null +++ b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="XML utility class" +HOMEPAGE="https://pear.php.net/package/XML_Util" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples" + +# PCRE is needed for a few calls to preg_replace and preg_match. +RDEPEND="dev-lang/php:*[pcre(+)]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r XML + + use examples && dodoc -r examples +} diff --git a/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild new file mode 100644 index 000000000000..90d887a6d2d0 --- /dev/null +++ b/dev-php/PEAR-XML_Util/PEAR-XML_Util-1.4.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="XML utility class" +HOMEPAGE="https://pear.php.net/package/XML_Util" +SRC_URI="https://pear.php.net/get/${MY_P}.tgz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples" + +# PCRE is needed for a few calls to preg_replace and preg_match. +RDEPEND="dev-lang/php:*[pcre(+)]" +PDEPEND="dev-php/PEAR-PEAR" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r XML + + use examples && dodoc -r examples + insinto /usr/share/php/.packagexml + if [[ -f "${WORKDIR}/package.xml" ]] ; then + newins "${WORKDIR}/package.xml" "${MY_P}.xml" + fi +} + +pkg_postinst() { + # Register the package from the package{,2}.xml file + # It is not critical to complete so only warn on failure + # Can only be done on reinstall/upgrade as this is a PEAR dep + if [[ -n "${REPLACING_VERSIONS}" && -f "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" ]] ; then + "${EROOT}/usr/bin/peardev" install -nrO --force \ + "${EROOT}/usr/share/php/.packagexml/${MY_P}.xml" 2> /dev/null \ + || ewarn "Failed to insert package into local PEAR database" + fi +} + +pkg_postrm() { + # Uninstall known dependency + [[ -n "${REPLACING_VERSIONS}" ]] && \ + "${EROOT}/usr/bin/peardev" uninstall -nrO "pear.php.net/XML_Util" +} diff --git a/dev-php/PEAR-XML_Util/metadata.xml b/dev-php/PEAR-XML_Util/metadata.xml new file mode 100644 index 000000000000..e0174bae644e --- /dev/null +++ b/dev-php/PEAR-XML_Util/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + XML_Util + + gentoo-staging + diff --git a/dev-php/PHPMailer/Manifest b/dev-php/PHPMailer/Manifest new file mode 100644 index 000000000000..156f23296ca7 --- /dev/null +++ b/dev-php/PHPMailer/Manifest @@ -0,0 +1,2 @@ +DIST PHPMailer-5.2.28.tar.gz 159284 BLAKE2B 866a38c60ac55cbd8aefec5ad82211575e672578ddff1af435e676c7058b0a090884f3e5f2c1e6f30c94b01e393f982f644e578ea22c931ffb8a93be717e379b SHA512 c2dd762b8958d1dc68fec52d7daae7337e05cadcbcf9e67c27247c808877cf3132e80cf6d4c9c577f8ad9203e433282e45f2166bccce025bcc4477724eb7036f +DIST PHPMailer-6.1.6.tar.gz 94769 BLAKE2B 6689f4429c0847de41016325553d58d544f78d5f8a94d9014841435a3cf161e4e10b14fe2cbb61c737bf75d87f2dc4cde66885c06a0b6992a472f0f46fe5dd6b SHA512 25530e6c5513e89729a5b253565143a5a9a35ee5f7813637eee18ca1d604cb83625f7beb106e56536f681d7ec4332fcd3cddcac5da7c73f730db1b056ba5b2e4 diff --git a/dev-php/PHPMailer/PHPMailer-5.2.28.ebuild b/dev-php/PHPMailer/PHPMailer-5.2.28.ebuild new file mode 100644 index 000000000000..160382537ad9 --- /dev/null +++ b/dev-php/PHPMailer/PHPMailer-5.2.28.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Full-featured email creation and transfer class for PHP" +HOMEPAGE="https://github.com/PHPMailer/PHPMailer" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples idn ssl" + +# The ctype and filter extensions get used unconditionally, with no +# fallback and no "extension missing" exception. All of the other +# extensions are technically optional, depending on how you use +# PHPMailer and whether or not you're willing to settle for fallback +# implementations. +# +# The insane dependency string is to prevent the ctype and filter +# extensions from being provided by one version (i.e. slot) of PHP, +# while intl and unicode are provided by another. +RDEPEND=" + ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,ssl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter,ssl] ) + ) + !ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter] ) + )" +DEPEND="${RDEPEND} + doc? ( dev-php/phpDocumentor )" + +src_compile() { + if use doc; then + phpdoc --filename="class.*.php" \ + --target="./html" \ + --cache-folder="${T}" \ + --title="${PN}" \ + --sourcecode \ + --force \ + --progressbar \ + || die "failed to generate API documentation" + fi +} + +src_install() { + # To help out the Composer kids, most of the documentation and + # tests are missing from the release tarballs. + insinto "/usr/share/php/${PN}" + doins -r *.php language extras + + use examples && dodoc -r examples + use doc && dodoc -r html/* +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/${PN}Autoload.php')," + elog "and then use the ${PN} class normally. Most of the examples in" + elog "the documentation should work without further modification." +} diff --git a/dev-php/PHPMailer/PHPMailer-6.1.6.ebuild b/dev-php/PHPMailer/PHPMailer-6.1.6.ebuild new file mode 100644 index 000000000000..e27c5fd93328 --- /dev/null +++ b/dev-php/PHPMailer/PHPMailer-6.1.6.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Full-featured email creation and transfer class for PHP" +HOMEPAGE="https://github.com/PHPMailer/PHPMailer" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# To help out the Composer children, the tests and examples are missing +# from the release tarballs. +IUSE="doc idn ssl" + +# The ctype and filter extensions get used unconditionally, with no +# fallback and no "extension missing" exception. All of the other +# extensions are technically optional, depending on how you use +# PHPMailer and whether or not you're willing to settle for fallback +# implementations. +# +# The insane dependency string is to prevent the ctype and filter +# extensions from being provided by one version (i.e. slot) of PHP, +# while intl and unicode are provided by another. +RDEPEND=" + ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,ssl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter,ssl] ) + ) + !ssl? ( + idn? ( dev-lang/php:*[ctype,filter,intl,unicode] ) + !idn? ( dev-lang/php:*[ctype,filter] ) + )" +BDEPEND="doc? ( dev-php/phpDocumentor )" + +src_prepare() { + # OAuth.php relies on a (now non-nonexistent) autoloader. We remove + # it early so that we don't generate documentation for it later on. + rm src/OAuth.php || die 'failed to remove src/OAuth.php' + eapply_user +} + +src_compile() { + if use doc; then + phpdoc --filename="src/*.php" \ + --target="./html" \ + --cache-folder="${T}" \ + --title="${PN}" \ + --sourcecode \ + --force \ + --progressbar \ + || die "failed to generate API documentation" + fi +} + +src_install() { + # The PHPMailer class loads its language files + # using a relative path, so we need to keep the "src" here. + insinto "/usr/share/php/${PN}" + doins -r language src + + dodoc README.md SECURITY.md + use doc && dodoc -r html/* +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "Upstream no longer provides an autoloader, so you will need" + elog "to include each source file (for example: PHPMailer.php," + elog "Exception.php,...) that you need." +} diff --git a/dev-php/PHPMailer/metadata.xml b/dev-php/PHPMailer/metadata.xml new file mode 100644 index 000000000000..44dbdac2bba1 --- /dev/null +++ b/dev-php/PHPMailer/metadata.xml @@ -0,0 +1,16 @@ + + + + + mjo@gentoo.org + Michael Orlitzky + + + php-bugs@gentoo.org + PHP + + + PHPMailer/PHPMailer + + gentoo-staging + diff --git a/dev-php/PHP_CodeCoverage/Manifest b/dev-php/PHP_CodeCoverage/Manifest new file mode 100644 index 000000000000..10e664b7c52d --- /dev/null +++ b/dev-php/PHP_CodeCoverage/Manifest @@ -0,0 +1,2 @@ +DIST PHP_CodeCoverage-4.0.7.tar.gz 349906 BLAKE2B 2ba665efa2d20a5eb66c66375a095425057e883697dd1d3ba7214e56de29c96451516adb2843589e64732c994aac7289afa0e34a74d56ef9bc36f36e635eb944 SHA512 8418efa2585d05b3004ab50e7ba77513429d649f71fdb2479412424a0f40a698a962e1d87852db08fec8f92e569a9a5767dad66d5d64e072637dde33182e71e9 +DIST PHP_CodeCoverage-7.0.10.tar.gz 237217 BLAKE2B bd2dc397c15a85ca020abf3d9a1dfb5f438020b577cded7942110dd8affa2d703ed40bf01ae68f38c6ae9383ba59bc9f7706af99596bce0b40cef6d2a7e92fb2 SHA512 37cda2d3687f62b5546372507954eeedd4da1c03fa9cab147b578d035046763799ca1535310ba458403094714060fe8f1327bed6951440392fee3df551be73b1 diff --git a/dev-php/PHP_CodeCoverage/PHP_CodeCoverage-4.0.7-r2.ebuild b/dev-php/PHP_CodeCoverage/PHP_CodeCoverage-4.0.7-r2.ebuild new file mode 100644 index 000000000000..9dacbd149a26 --- /dev/null +++ b/dev-php/PHP_CodeCoverage/PHP_CodeCoverage-4.0.7-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="php-code-coverage" + +DESCRIPTION="Collection, processing, and rendering for PHP code coverage" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-php/File_Iterator-1.3 + =dev-php/Text_Template-1.2 + =dev-php/PHP_TokenStream-1.4 + =dev-php/sebastian-environment-1.3.2 + =dev-php/sebastian-version-1.0 + '/CodeCoverage.php', + 'sebastianbergmann\codecoverage\filter' => '/Filter.php', + 'sebastianbergmann\codecoverage\util' => '/Util.php', + 'sebastianbergmann\codecoverage\driver\driver' => '/Driver/Driver.php', + 'sebastianbergmann\codecoverage\driver\hhvm' => '/Driver/HHVM.php', + 'sebastianbergmann\codecoverage\driver\phpdbg' => '/Driver/PHPDBG.php', + 'sebastianbergmann\codecoverage\driver\xdebug' => '/Driver/Xdebug.php', + 'sebastianbergmann\codecoverage\exception\coveredcodenotexecutedexception' => '/Exception/CoveredCodeNotExecutedException.php', + 'sebastianbergmann\codecoverage\exception\exception' => '/Exception/Exception.php', + 'sebastianbergmann\codecoverage\exception\invalidargumentexception' => '/Exception/InvalidArgumentException.php', + 'sebastianbergmann\codecoverage\exception\missingcoversannotationexception' => '/Exception/MissingCoversAnnotationException.php', + 'sebastianbergmann\codecoverage\exception\runtimeexception' => '/Exception/RuntimeException.php', + 'sebastianbergmann\codecoverage\exception\unintentiallycoveredcodeexception' => '/Exception/UnintentionallyCoveredCodeException.php', + 'sebastianbergmann\codecoverage\node\abstractnode' => '/Node/AbstractNode.php', + 'sebastianbergmann\codecoverage\node\builder' => '/Node/Builder.php', + 'sebastianbergmann\codecoverage\node\directory' => '/Node/Directory.php', + 'sebastianbergmann\codecoverage\node\file' => '/Node/File.php', + 'sebastianbergmann\codecoverage\node\iterator' => '/Node/iterator.php', + 'sebastianbergmann\codecoverage\report\clover' => '/Report/Clover.php', + 'sebastianbergmann\codecoverage\report\crap4j' => '/Report/Crap4j.php', + 'sebastianbergmann\codecoverage\report\php' => '/Report/PHP.php', + 'sebastianbergmann\codecoverage\report\text' => '/Report/Text.php', + 'sebastianbergmann\codecoverage\report\html\facade' => '/Report/HTML/Facade.php', + 'sebastianbergmann\codecoverage\report\html\renderer' => '/Report/HTML/Renderer.php', + 'sebastianbergmann\codecoverage\report\html\renderer\dashboard' => '/Report/HTML/Renderer/Dashboard.php', + 'sebastianbergmann\codecoverage\report\html\renderer\directory' => '/Report/HTML/Renderer/Directory.php', + 'sebastianbergmann\codecoverage\report\html\renderer\file' => '/Report/HTML/Renderer/File.php', + 'sebastianbergmann\codecoverage\report\xml\coverage' => '/Report/XML/Coverage.php', + 'sebastianbergmann\codecoverage\report\xml\directory' => '/Report/XML/Directory.php', + 'sebastianbergmann\codecoverage\report\xml\facade' => '/Report/XML/Facade.php', + 'sebastianbergmann\codecoverage\report\xml\file' => '/Report/XML/File.php', + 'sebastianbergmann\codecoverage\report\xml\method' => '/Report/XML/Method.php', + 'sebastianbergmann\codecoverage\report\xml\node' => '/Report/XML/Node.php', + 'sebastianbergmann\codecoverage\report\xml\project' => '/Report/XML/Project.php', + 'sebastianbergmann\codecoverage\report\xml\report' => '/Report/XML/Report.php', + 'sebastianbergmann\codecoverage\report\xml\tests' => '/Report/XML/Tests.php', + 'sebastianbergmann\codecoverage\report\xml\totals' => '/Report/XML/Totals.php', + 'sebastianbergmann\codecoverage\report\xml\unit' => '/Report/XML/Unit.php', + ), + __DIR__ +); + +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/File/Iterator/autoload.php', + '/usr/share/php/PHP/Token/autoload.php', + '/usr/share/php/SebastianBergmann/Version/autoload.php', + '/usr/share/php/SebastianBergmann/Environment/autoload.php', + '/usr/share/php/SebastianBergmann/CodeUnitReverseLookup/autoload.php', + '/usr/share/php/Text/Template/autoload.php', +)); diff --git a/dev-php/PHP_CodeCoverage/metadata.xml b/dev-php/PHP_CodeCoverage/metadata.xml new file mode 100644 index 000000000000..2bfbd0636d8e --- /dev/null +++ b/dev-php/PHP_CodeCoverage/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/php-code-coverage + + gentoo-staging + diff --git a/dev-php/PHP_CodeSniffer/Manifest b/dev-php/PHP_CodeSniffer/Manifest new file mode 100644 index 000000000000..586511271be0 --- /dev/null +++ b/dev-php/PHP_CodeSniffer/Manifest @@ -0,0 +1 @@ +DIST PHP_CodeSniffer-3.5.4.tgz 697668 BLAKE2B f5915bcb73c0db0d8dcab3eda5ab647268888e490d244568f0d0e7fff38c4764cfe62fcc79dabe8095adcef56b1e6d0367d46c36b18d0c4e0fb04a048c697737 SHA512 3e8024aac18111741637f014629eeaf5863b2f080a673e5b379a676fafb69859d1889ae13289b0149a9810641b0a140123a970ae1178fcd2cf6da1c414233bfd diff --git a/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.4.ebuild b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.4.ebuild new file mode 100644 index 000000000000..3907599536c6 --- /dev/null +++ b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Detect violations of PHP code standards" +HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer" + +# The test suite isn't part of the Github tarball at the moment. Keep an +# eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548 +SRC_URI="http://download.pear.php.net/package/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" # Currently broken with latest PHPUnit +#RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[cli(-),tokenizer(-),xmlwriter(-)]" +DEPEND="test? ( >=dev-php/phpunit-4 ${RDEPEND} )" + +DOCS=( CONTRIBUTING.md README.md ) + +src_prepare() { + sed -i "s~@data_dir@~${EPREFIX}/usr/share/php/data~" src/Config.php || die + default +} + +src_install() { + local MY_PN="PHP/CodeSniffer" script + # The PEAR eclass would install everything into the wrong location. + insinto "/usr/share/php/${MY_PN}" + doins -r src autoload.php + + insinto "/usr/share/php/data/${MY_PN}" + doins CodeSniffer.conf.dist + # These load code via relative paths, so they have to be symlinked + # and not dobin'd. + exeinto "/usr/share/php/${MY_PN}/bin" + for script in phpcbf phpcs; do + doexe "bin/${script}" + dosym "../share/php/${MY_PN}/bin/${script}" "/usr/bin/${script}" + done + + einstalldocs +} + +src_test() { + # The test suite will fail if date.timezone isn't set in php.ini. + phpunit -d date.timezone=UTC tests/AllTests.php \ + || die "test suite failed" +} diff --git a/dev-php/PHP_CodeSniffer/metadata.xml b/dev-php/PHP_CodeSniffer/metadata.xml new file mode 100644 index 000000000000..d4589c3d02eb --- /dev/null +++ b/dev-php/PHP_CodeSniffer/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + squizlabs/PHP_CodeSniffer + + gentoo-staging + diff --git a/dev-php/PHP_Timer/Manifest b/dev-php/PHP_Timer/Manifest new file mode 100644 index 000000000000..d99a7462f4c6 --- /dev/null +++ b/dev-php/PHP_Timer/Manifest @@ -0,0 +1,3 @@ +DIST PHP_Timer-1.0.5.tgz 3597 BLAKE2B cf82c3ff61a1f96a94a5d3743270be3262bc2ea28d7d71cd1c93a07c7bec950597c4da5d6dd23e4b58b8aad7c2e3bdb7aea07d761ef096e898088ca2296b43cf SHA512 da030dec608d1f8d447da6ce40e995ca818064e3a4b2f2eca1819a77a12875843a25bba1ffd253043ef3ac62a6dc1a16c5e7ba9b792b99b54d0713090478be84 +DIST PHP_Timer-1.0.9.tar.gz 3740 BLAKE2B d551fd676046e6bb653fb9a9bde7a976b9b2081d26caee23177b899fa01e11ae1fb2183234ab43745798c058222574b1523064cc07d25485315eef9090f892a5 SHA512 96db90cf2af18fabcf44bdd4dbb5d298402ed2c8e49f3033fd1b89b3aa8c880d9f8677897d4d542a0db6348bdd9c697042deb0b6e26242adebfde1bcdb4bc559 +DIST PHP_Timer-2.1.2.tar.gz 7090 BLAKE2B c99dd69433b3579e9ed81f06188cac280b6ac383bce12acd9c6a00b5a6d6017a94c427692b639ad1516c1faebec8e160b7cd5c7e5e96043dd3dcb6d283d2095b SHA512 199175e048560756867180cd99a3ca1766431d14091f1448cd8011df5f7824504a6c586ef15d9e53374bdb9dbd1731c05b44509e59d92d725908ec2c46d7d576 diff --git a/dev-php/PHP_Timer/PHP_Timer-1.0.5.ebuild b/dev-php/PHP_Timer/PHP_Timer-1.0.5.ebuild new file mode 100644 index 000000000000..e0d5a2764c10 --- /dev/null +++ b/dev-php/PHP_Timer/PHP_Timer-1.0.5.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_DOMAIN="pear.phpunit.de" +PHP_PEAR_PKG_NAME="PHP_Timer" + +inherit php-pear-r2 + +DESCRIPTION="Utility class for timing" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="" +HOMEPAGE="http://pear.phpunit.de/" +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" diff --git a/dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild b/dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild new file mode 100644 index 000000000000..66d7999f6a01 --- /dev/null +++ b/dev-php/PHP_Timer/PHP_Timer-1.0.9.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="php-timer" + +DESCRIPTION="Utility class for timing" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/PHP/Timer + doins -r src/Timer.php + doins "${FILESDIR}/autoload.php" +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/PHP/Timer/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/PHP_Timer/PHP_Timer-2.1.2-r1.ebuild b/dev-php/PHP_Timer/PHP_Timer-2.1.2-r1.ebuild new file mode 100644 index 000000000000..73db2978201f --- /dev/null +++ b/dev-php/PHP_Timer/PHP_Timer-2.1.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="php-timer" + +DESCRIPTION="Utility class for timing" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/PHP/Timer + doins -r src/Timer.php src/{Runtime,}Exception.php + newins "${FILESDIR}/autoload-2.1.2.php" autoload.php +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/PHP/Timer/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/PHP_Timer/files/autoload-2.1.2.php b/dev-php/PHP_Timer/files/autoload-2.1.2.php new file mode 100644 index 000000000000..65490d9ae6e4 --- /dev/null +++ b/dev-php/PHP_Timer/files/autoload-2.1.2.php @@ -0,0 +1,15 @@ + '/Exception.php', + 'sebastianbergmann\timer\runtimeexception' => '/RuntimeException.php', + 'sebastianbergmann\timer\timer' => '/Timer.php', + ], + __DIR__ +); diff --git a/dev-php/PHP_Timer/files/autoload.php b/dev-php/PHP_Timer/files/autoload.php new file mode 100644 index 000000000000..bb0974e087d6 --- /dev/null +++ b/dev-php/PHP_Timer/files/autoload.php @@ -0,0 +1,13 @@ + '/Timer.php', + ), + __DIR__ +); diff --git a/dev-php/PHP_Timer/files/channel.xml b/dev-php/PHP_Timer/files/channel.xml new file mode 100644 index 000000000000..91bb6786f543 --- /dev/null +++ b/dev-php/PHP_Timer/files/channel.xml @@ -0,0 +1,16 @@ + + + pear.phpunit.de + PHPUnit PEAR Channel + phpunit + + + + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + + + + \ No newline at end of file diff --git a/dev-php/PHP_Timer/metadata.xml b/dev-php/PHP_Timer/metadata.xml new file mode 100644 index 000000000000..35a2ee941e62 --- /dev/null +++ b/dev-php/PHP_Timer/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/php-timer + + gentoo-staging + diff --git a/dev-php/PHP_TokenStream/Manifest b/dev-php/PHP_TokenStream/Manifest new file mode 100644 index 000000000000..0e598da5b997 --- /dev/null +++ b/dev-php/PHP_TokenStream/Manifest @@ -0,0 +1,2 @@ +DIST PHP_TokenStream-1.4.11.tar.gz 13388 BLAKE2B 20ef9907ce660e2958ffd50f588ead563efa04c9fc4adda4a823830000f73ee7a4c988adc79d14e549c4f02836b7128aa42b01b26996a090595d34a191282b67 SHA512 4e8d8d1eb16169d46b64a43d91f3066d49fe8e3f184d90c5c7cf4234ebfe4eac271a811744b201f05dc86976b3c5b8ad4ae9f2532165a3849980663f1ac5852e +DIST PHP_TokenStream-3.1.1.tar.gz 14275 BLAKE2B 5300768f79cba17a08f55a58a05744eef55df00fc0f0144612bddd3ba5d0494fe19bd5b74d56b57d345f5d98b63033aa05e6d157c0979be163e51dc7cc5ad19f SHA512 3a1e36d13b8d77d6fe7d1617fc43a8d59b68af6ee6182afdecf5c970c844f7cb63f3056ce7f6aaae17237b948c5ff9862438d823c2eda179e24c1bb4fc4f4e02 diff --git a/dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild b/dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild new file mode 100644 index 000000000000..ca56bfba3fb1 --- /dev/null +++ b/dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="php-token-stream" + +DESCRIPTION="Wrapper around PHP's tokenizer extension" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + || ( + dev-lang/php:7.2[tokenizer(-)] + )" + +src_install() { + insinto /usr/share/php/PHP/Token + doins -r src/* + doins "${FILESDIR}/autoload.php" +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/PHP/Token/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild b/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild new file mode 100644 index 000000000000..79236ade4a27 --- /dev/null +++ b/dev-php/PHP_TokenStream/PHP_TokenStream-3.1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_PHP="php7-2 php7-3 php7-4" +MY_PN="php-token-stream" + +DESCRIPTION="Wrapper around PHP's tokenizer extension" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + || ( + dev-lang/php:7.2[tokenizer(-)] + dev-lang/php:7.3[tokenizer(-)] + dev-lang/php:7.4[tokenizer(-)] + )" +BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )" +RESTRICT="!test? ( test )" + +src_prepare() { + sed -i -e 's/setUp()/setUp():void/' tests/Token/*.php || die + default +} + +src_install() { + insinto /usr/share/php/PHP/Token + doins -r src/* + newins "${FILESDIR}/autoload-3.1.1.php" autoload.php +} + +src_test() { + mkdir vendor || die + cp "${FILESDIR}/autoload-3.1.1.php" vendor/autoload.php || die + sed -i 's~__DIR__~__DIR__."/../src"~' vendor/autoload.php || die + for target in ${USE_PHP//-/.} ; do + if [ -x /usr/bin/$target ] ; then + ${target} /usr/bin/phpunit -c phpunit.xml || die + fi + done +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/PHP/Token/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/PHP_TokenStream/files/autoload-3.1.1.php b/dev-php/PHP_TokenStream/files/autoload-3.1.1.php new file mode 100644 index 000000000000..4e385c87ec24 --- /dev/null +++ b/dev-php/PHP_TokenStream/files/autoload-3.1.1.php @@ -0,0 +1,47 @@ + '/Token.php', + 'php_tokenwithscope' => '/Token.php', + 'php_tokenwithscopeandvisibility' => '/Token.php', + 'php_token_open_tag' => '/Token.php', + 'php_token_util' => '/Token/Util.php', + 'php_token_stream' => '/Token/Stream.php', + 'php_token_stream_cachingfactory' => '/Token/Stream/CachingFactory.php', + ], + __DIR__ +); +$_gentooFedAutoload = function() { +$_fedAutoLoadtokens = []; +$_fedAutoLoadtokenSubClasses = ['includes','function','interface','abstract','ampersand','and_equal', +'array','array_cast','as','at','backtick','bad_character','boolean_and','boolean_or','boolean_cast', +'break','caret','case','catch','character','class','class_c','class_name_constant','clone','close_bracket', +'close_curly','close_square','close_tag','colon','comma','comment','concat_equal','const','constant_encapsed_string', +'continue','curly_open','dec','declare','default','div','div_equal','dnumber','do','doc_comment','dollar', +'dollar_open_curly_braces','dot','double_arrow','double_cast','double_colon','double_quotes','echo','else', +'elseif','empty','encapsed_and_whitespace','enddeclare','endfor','endforeach','endif','endswitch','endwhile', +'end_heredoc','equal','eval','exclamation_mark','exit','extends','file','final','for','foreach','func_c','global', +'gt','if','implements','inc','include','include_once','inline_html','instanceof','int_cast','isset','is_equal', +'is_greater_or_equal','is_identical','is_not_equal','is_not_identical','is_smaller_or_equal','line','list', +'lnumber','logical_and','logical_or','logical_xor','lt','method_c','minus','minus_equal','mod_equal','mult', +'mult_equal','new','num_string','object_cast','object_operator','open_bracket','open_curly','open_square', +'open_tag','open_tag_with_echo','or_equal','paamayim_nekudotayim','percent','pipe','plus','plus_equal','print', +'private','protected','public','question_mark','require','require_once','return','semicolon','sl','sl_equal', +'sr','sr_equal','start_heredoc','static','string','string_cast','string_varname','switch','throw','tilde', +'try','unset','unset_cast','use','use_function','var','variable','while','whitespace','xor_equal','halt_compiler', +'dir','goto','namespace','ns_c','ns_separator','callable','insteadof','trait','trait_c','finally','yield', +'ellipsis','pow','pow_equal','coalesce','spaceship','yield_from','coalesce_equal','fn' +]; +foreach($_fedAutoLoadtokenSubClasses as $_fedAutoLoadi) + $_fedAutoLoadtokens["php_token_{$_fedAutoLoadi}"] = '/Token.php'; +\Fedora\Autoloader\Autoload::addClassMap($_fedAutoLoadtokens, __DIR__); +}; +$_gentooFedAutoload(); +unset ($_gentooFedAutoload); + diff --git a/dev-php/PHP_TokenStream/files/autoload.php b/dev-php/PHP_TokenStream/files/autoload.php new file mode 100644 index 000000000000..5b3aac57ec17 --- /dev/null +++ b/dev-php/PHP_TokenStream/files/autoload.php @@ -0,0 +1,15 @@ + '/Token.php', + 'php_token_stream' => '/Token/Stream.php', + 'php_token_stream_cachingfactory' => '/Token/Stream/CachingFactory.php', + ), + __DIR__ +); diff --git a/dev-php/PHP_TokenStream/metadata.xml b/dev-php/PHP_TokenStream/metadata.xml new file mode 100644 index 000000000000..b317bce9cc0e --- /dev/null +++ b/dev-php/PHP_TokenStream/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/php-token-stream + + gentoo-staging + diff --git a/dev-php/SabreAMF/Manifest b/dev-php/SabreAMF/Manifest new file mode 100644 index 000000000000..aa0a98e487e4 --- /dev/null +++ b/dev-php/SabreAMF/Manifest @@ -0,0 +1 @@ +DIST SabreAMF-1.5.0.tar.gz 83408 BLAKE2B 2df210f9a42e00de0adfac94ff9b89ccc918796c79e7df5602ba71bf8cf44ebea7374557d1062e1f95c9578cc95451daf36986e98042f2bdcb17e43581096cfe SHA512 4c0eead7f3adb64001cb4f40f680ade4cd0259d8b24d57970081e19447a69269753c5c5adecef327ba3a9f0cb2c14ff05575c289694bee752007f03e14af4d0f diff --git a/dev-php/SabreAMF/SabreAMF-1.5.0.ebuild b/dev-php/SabreAMF/SabreAMF-1.5.0.ebuild new file mode 100644 index 000000000000..3ebc02a49c50 --- /dev/null +++ b/dev-php/SabreAMF/SabreAMF-1.5.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="SabreAMF is a Flash Remoting server and client for PHP" +HOMEPAGE="https://github.com/evert/SabreAMF" +SRC_URI="https://github.com/evert/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +RDEPEND="dev-php/fedora-autoloader" + +DOCS=( README.md ChangeLog ) + +src_install() { + insinto /usr/share/php/${PN} + doins -r lib/${PN}/* "${FILESDIR}/autoload.php" + einstalldocs + if use examples ; then + docinto examples + docompress -x /usr/share/doc/${P}/examples + dodoc examples/* + fi +} diff --git a/dev-php/SabreAMF/files/autoload.php b/dev-php/SabreAMF/files/autoload.php new file mode 100644 index 000000000000..55c3461e485f --- /dev/null +++ b/dev-php/SabreAMF/files/autoload.php @@ -0,0 +1,8 @@ + + + + + php-bugs@gentoo.org + PHP + + + evert/SabreAMF + + gentoo-staging + diff --git a/dev-php/Text_Template/Manifest b/dev-php/Text_Template/Manifest new file mode 100644 index 000000000000..5559be549989 --- /dev/null +++ b/dev-php/Text_Template/Manifest @@ -0,0 +1,2 @@ +DIST Text_Template-1.1.1.tgz 3444 BLAKE2B 7b063aefa5d1cd8b8faf4f68c12552a50eac8d2bb0007ccde632c88325974c32734cbd76d922e0132acdf9e6cb157eb229bf7edcf2697d7f1cfc789b3f33529e SHA512 0eaf43ab8c0810f63d81ddaf62a5e81b2e244161fe79fe09bec05ef732ee07012a1c6c3711885a118cf38334131c57ac1d326e0a711eb3e6d3099c5475f80e7f +DIST Text_Template-1.2.1.tar.gz 2561 BLAKE2B 24871781f622fbd35cc0f524a092eaed2de0988137a52f05a559e89bcdc9248807a677b164f5ef9a246848709d3bd3ae0c4cd5e738fe6cd42ff0a2ea8aba577c SHA512 d8277f24782d0897b26d2e4922c2658047c484cb86f477916d6ad6dad3e5150bfa0a1ad38c79463a3fde97702bc65edb207a481b6f6cd8346c5fcc33b4cff8ca diff --git a/dev-php/Text_Template/Text_Template-1.1.1.ebuild b/dev-php/Text_Template/Text_Template-1.1.1.ebuild new file mode 100644 index 000000000000..e12d9f8af66a --- /dev/null +++ b/dev-php/Text_Template/Text_Template-1.1.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_DOMAIN="pear.phpunit.de" +PHP_PEAR_PKG_NAME="Text_Template" + +inherit php-pear-r2 + +HOMEPAGE="http://pear.phpunit.de" +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" +DESCRIPTION="Simple template engine" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="" + +DEPEND=">=dev-php/pear-1.9.4" +DOCS=( README.markdown ChangeLog.markdown ) diff --git a/dev-php/Text_Template/Text_Template-1.2.1.ebuild b/dev-php/Text_Template/Text_Template-1.2.1.ebuild new file mode 100644 index 000000000000..cceed4874600 --- /dev/null +++ b/dev-php/Text_Template/Text_Template-1.2.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="php-text-template" + +DESCRIPTION="A simple template engine" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/Text/Template + doins -r src/* + doins "${FILESDIR}/autoload.php" +} + +pkg_postinst() { + ewarn "This library now loads via /usr/share/php/Text/Template/autoload.php" + ewarn "Please update any scripts to require the autoloader" +} diff --git a/dev-php/Text_Template/files/autoload.php b/dev-php/Text_Template/files/autoload.php new file mode 100644 index 000000000000..d6658c6944d8 --- /dev/null +++ b/dev-php/Text_Template/files/autoload.php @@ -0,0 +1,13 @@ + '/Template.php', + ), + __DIR__ +); diff --git a/dev-php/Text_Template/files/channel.xml b/dev-php/Text_Template/files/channel.xml new file mode 100644 index 000000000000..91bb6786f543 --- /dev/null +++ b/dev-php/Text_Template/files/channel.xml @@ -0,0 +1,16 @@ + + + pear.phpunit.de + PHPUnit PEAR Channel + phpunit + + + + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + + + + \ No newline at end of file diff --git a/dev-php/Text_Template/metadata.xml b/dev-php/Text_Template/metadata.xml new file mode 100644 index 000000000000..f550c17a6443 --- /dev/null +++ b/dev-php/Text_Template/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/php-text-template + + gentoo-staging + diff --git a/dev-php/YAML/Manifest b/dev-php/YAML/Manifest new file mode 100644 index 000000000000..867df2031cdf --- /dev/null +++ b/dev-php/YAML/Manifest @@ -0,0 +1 @@ +DIST YAML-1.0.6.tgz 10010 BLAKE2B 3978104631eeb5051966a5709366b8bbb98fc57edd113dbdff8d25c225c2992650309fa463627c2adc0dcc0f529ce42832fbfc08eef3e35223e77095c6246060 SHA512 c66a8c47d8bc356bfc700e9eef07fef19084f5687ed061a815ee56c29b94f8aeabbc81e8aef4de6d3bc9e645aae42ba09c05b0256144b8c191a8dbab7c009636 diff --git a/dev-php/YAML/YAML-1.0.6-r3.ebuild b/dev-php/YAML/YAML-1.0.6-r3.ebuild new file mode 100644 index 000000000000..c52a33ba2493 --- /dev/null +++ b/dev-php/YAML/YAML-1.0.6-r3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_DOMAIN="pear.symfony-project.com" +PHP_PEAR_PKG_NAME="YAML" + +inherit php-pear-r2 + +DESCRIPTION="The Symfony YAML Component" +HOMEPAGE="http://pear.symfony-project.com/" +SRC_URI="http://pear.symfony-project.com/get/${PEAR_P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="" + +src_install() { + insinto /usr/share/php/SymfonyComponents/YAML + doins lib/* + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/YAML/files/channel.xml b/dev-php/YAML/files/channel.xml new file mode 100644 index 000000000000..e95604c7c2ab --- /dev/null +++ b/dev-php/YAML/files/channel.xml @@ -0,0 +1,16 @@ + + + pear.symfony-project.com + The symfony project PEAR channel + symfony + + + + http://pear.symfony-project.com//rest/ + http://pear.symfony-project.com//rest/ + http://pear.symfony-project.com//rest/ + http://pear.symfony-project.com//rest/ + + + + \ No newline at end of file diff --git a/dev-php/YAML/metadata.xml b/dev-php/YAML/metadata.xml new file mode 100644 index 000000000000..126a15d29c9c --- /dev/null +++ b/dev-php/YAML/metadata.xml @@ -0,0 +1,12 @@ + + + + +php-bugs@gentoo.org +PHP + + +The Symfony YAML Component + + gentoo-staging + diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest new file mode 100644 index 000000000000..027fcb460792 --- /dev/null +++ b/dev-php/adodb/Manifest @@ -0,0 +1,3 @@ +DIST adodb-5.20.14.tar.gz 465896 BLAKE2B acd8494141584b0c02c2e30aa59b3916ae811b8095ca724d22f44ed2cb1456b8e8afc7ff9af41e7476f4a93809e762c44a175fd3775b69654107813342b3a47a SHA512 fa9b764742f3edf15e79da7a34ca52b19f51454fa20bc963cce963cdd40f7e78671e993cd672a21e9917aa2440c63601fbf768b5259dccb64b458a5be6f4b0eb +DIST adodb-5.20.15.tar.gz 466749 BLAKE2B ca232e15094eaf728dd82b449cfded4f84fc773e5dbe1a06b7bb15fc18487080131c52d7ae9d77e6a401bfd53baa7875810c94b6bda615d0a836a715914de9d7 SHA512 87c6f508f49a54e436b56d47d3c0b2801f4f022876013a2ffa23e751cc4c7aa83aa359e51acc4f8351fd596ad4f5d71326204ae3d57514c4354f68669e412c73 +DIST adodb-5.20.17.tar.gz 466901 BLAKE2B 86e6cc7ae383c698e889925679d1a1f8ace181fe82a178e527ea169f1d21e83844563707e707968522de8bdc180eeb103793fa0468a38f924f29ac4b96310c50 SHA512 c8850f4e330dc058564b59c8a73e0687e1c9d1c56f617b4bbd99aee83e7047626d436c903caf913b11784be1528bb55e442e6365732f8d4bec82edb029831bd6 diff --git a/dev-php/adodb/adodb-5.20.14.ebuild b/dev-php/adodb/adodb-5.20.14.ebuild new file mode 100644 index 000000000000..8e3d846c988f --- /dev/null +++ b/dev-php/adodb/adodb-5.20.14.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ADOdb" +DESCRIPTION="Database abstraction layer for PHP" +HOMEPAGE="https://github.com/ADOdb" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86" +IUSE="" + +# If you want to be picky, we should require that PHP be built with at +# least one database driver enabled; otherwise adodb isn't going to be +# able to do anything. But, the database USE flags for dev-lang/php are +# a mess. What we would *like* to do is have a set of USE flags for +# adodb that then propagate to PHP itself... for example, adodb[mysql] +# could require php[mysql]. To do that would require that we duplicate +# the database USE flag mess for adodb -- not desirable. Instead we punt +# and let the user install adodb unconditionally. If he doesn't have +# database support in PHP, it just won't work. +RDEPEND="dev-lang/php:*" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql" + DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php" + DOCS+=" pear/readme.Auth.txt" + + dodoc $DOCS + rm -f $DOCS || die "failed to remove docs before installation" + + insinto "/usr/share/php/${PN}" + doins *.php + doins -r contrib datadict drivers lang pear perf replicate session xsl +} diff --git a/dev-php/adodb/adodb-5.20.15.ebuild b/dev-php/adodb/adodb-5.20.15.ebuild new file mode 100644 index 000000000000..f16a3af534d9 --- /dev/null +++ b/dev-php/adodb/adodb-5.20.15.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ADOdb" +DESCRIPTION="Database abstraction layer for PHP" +HOMEPAGE="https://github.com/ADOdb" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# If you want to be picky, we should require that PHP be built with at +# least one database driver enabled; otherwise adodb isn't going to be +# able to do anything. But, the database USE flags for dev-lang/php are +# a mess. What we would *like* to do is have a set of USE flags for +# adodb that then propagate to PHP itself... for example, adodb[mysql] +# could require php[mysql]. To do that would require that we duplicate +# the database USE flag mess for adodb -- not desirable. Instead we punt +# and let the user install adodb unconditionally. If he doesn't have +# database support in PHP, it just won't work. +RDEPEND="dev-lang/php:*" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql" + DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php" + DOCS+=" pear/readme.Auth.txt" + + dodoc $DOCS + rm -f $DOCS || die "failed to remove docs before installation" + + insinto "/usr/share/php/${PN}" + doins *.php + doins -r contrib datadict drivers lang pear perf replicate session xsl +} diff --git a/dev-php/adodb/adodb-5.20.17.ebuild b/dev-php/adodb/adodb-5.20.17.ebuild new file mode 100644 index 000000000000..a1cd6765bdcf --- /dev/null +++ b/dev-php/adodb/adodb-5.20.17.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="ADOdb" +DESCRIPTION="Database abstraction layer for PHP" +HOMEPAGE="https://github.com/ADOdb" +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# If you want to be picky, we should require that PHP be built with at +# least one database driver enabled; otherwise adodb isn't going to be +# able to do anything. But, the database USE flags for dev-lang/php are +# a mess. What we would *like* to do is have a set of USE flags for +# adodb that then propagate to PHP itself... for example, adodb[mysql] +# could require php[mysql]. To do that would require that we duplicate +# the database USE flag mess for adodb -- not desirable. Instead we punt +# and let the user install adodb unconditionally. If he doesn't have +# database support in PHP, it just won't work. +RDEPEND="dev-lang/php:*" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql" + DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php" + DOCS+=" pear/readme.Auth.txt" + + dodoc $DOCS + rm -f $DOCS || die "failed to remove docs before installation" + + insinto "/usr/share/php/${PN}" + doins *.php + doins -r contrib datadict drivers lang pear perf replicate session xsl +} diff --git a/dev-php/adodb/metadata.xml b/dev-php/adodb/metadata.xml new file mode 100644 index 000000000000..11aa8e107973 --- /dev/null +++ b/dev-php/adodb/metadata.xml @@ -0,0 +1,17 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + + adodb + ADOdb/ADOdb + + gentoo-staging + diff --git a/dev-php/agavi/Manifest b/dev-php/agavi/Manifest new file mode 100644 index 000000000000..d7850dcb01a2 --- /dev/null +++ b/dev-php/agavi/Manifest @@ -0,0 +1 @@ +DIST agavi-1.0.8.tgz 2074126 BLAKE2B b38ff9f15e877604376c6704f007044ed4907df9dcd303646e85d54e98ae65f8f2182841001414ee9326e92515cabb0839f150544e8121c1f87ebf79e6dd4a41 SHA512 9e75ef0be455e329db8b2389d7fd7a7acb25d04dda6c31dea15496dc4e24ab17cf0e44e199d0c2a9fb11987331d582cf0c700adee815cac7276c32643b9183ee diff --git a/dev-php/agavi/agavi-1.0.8.ebuild b/dev-php/agavi/agavi-1.0.8.ebuild new file mode 100644 index 000000000000..3edb056ec787 --- /dev/null +++ b/dev-php/agavi/agavi-1.0.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="PHP MVC application framework" +HOMEPAGE="http://www.agavi.org/" +SRC_URI="http://www.agavi.org/download/${PV}.tgz -> ${P}.tgz" +LICENSE="BSD LGPL-2.1+ icu unicode public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples +executable iconv session soap xmlrpc" + +RDEPEND="dev-lang/php[iconv?,session?,soap?,xml,xmlrpc?] + executable? ( dev-php/phing )" + +DOCS=( + API_CHANGELOG + CHANGELOG + CHANGELOG-0.9 + CHANGELOG-0.10 + CHANGELOG-0.11 + CONTRIBUTING.md + README.md + RELEASE_NOTES + RELEASE_NOTES-0.9 + RELEASE_NOTES-0.10 + RELEASE_NOTES-0.11 + UPGRADING +) + +src_install() { + einstalldocs + use executable && newbin "${FILESDIR}/${PN}-executable" "${PN}" + use examples && dodoc -r samples + + insinto "/usr/share/php/${PN}" + doins -r src/* +} diff --git a/dev-php/agavi/files/agavi-executable b/dev-php/agavi/files/agavi-executable new file mode 100644 index 000000000000..06405d6ca2e7 --- /dev/null +++ b/dev-php/agavi/files/agavi-executable @@ -0,0 +1,14 @@ +#!/bin/sh +# +# A (heavily) modified version of the agavi-dist script shipped with +# the Agavi package. +# + +# Set this to the path to the Agavi installation's source directory. This is +# the directory that contains the `agavi.php' file. +AGAVI_SOURCE_DIRECTORY="/usr/share/php/agavi" + +php -d memory_limit=2G \ + -f "${AGAVI_SOURCE_DIRECTORY}/build/agavi/script/agavi.php" \ + -- \ + --agavi-source-directory "${AGAVI_SOURCE_DIRECTORY}" "$@" diff --git a/dev-php/agavi/metadata.xml b/dev-php/agavi/metadata.xml new file mode 100644 index 000000000000..bac221c3a909 --- /dev/null +++ b/dev-php/agavi/metadata.xml @@ -0,0 +1,19 @@ + + + + + php-bugs@gentoo.org + PHP + + + + Install the "agavi" executable used to manage projects. This + requires dev-php/phing, and may be omitted if you are + (for example) deploying an existing site to a production server. + + + + agavi/agavi + + gentoo-staging + diff --git a/dev-php/awl/Manifest b/dev-php/awl/Manifest new file mode 100644 index 000000000000..8ae13393aa3b --- /dev/null +++ b/dev-php/awl/Manifest @@ -0,0 +1 @@ +DIST awl-0.61.tar.xz 124340 BLAKE2B af5d9c063280c93deb55929acf4826b6ba003676a15fcda48019a2a7788d8913d20a05c4aae98f2345d931b8f593bd32622a033fe421b55d0c687b10c7e1be05 SHA512 3492512ec04e523a30562d49aac1be617a2cee80fa363b0fbf13b25b44818a4c85af018193f79a6442419b1f7022cd7ec417e3c34641eb8096750441dcbd22bc diff --git a/dev-php/awl/awl-0.61.ebuild b/dev-php/awl/awl-0.61.ebuild new file mode 100644 index 000000000000..52ae69f3df6a --- /dev/null +++ b/dev-php/awl/awl-0.61.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Andrew McMillan's Web Libraries" +HOMEPAGE="https://gitlab.com/davical-project/awl" +SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz" + +LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2+ LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-php/phpunit )" +RDEPEND="dev-lang/php:*[pdo,postgres,xml]" + +S="${WORKDIR}" + +src_compile() { + : +} + +src_test() { + phpunit tests/ || die "test suite failed" +} + +src_install() { + einstalldocs + insinto /usr/share/php/${PN} + doins -r dba inc +} diff --git a/dev-php/awl/metadata.xml b/dev-php/awl/metadata.xml new file mode 100644 index 000000000000..332534820ef6 --- /dev/null +++ b/dev-php/awl/metadata.xml @@ -0,0 +1,21 @@ + + + + + till2.schaefer@uni-dortmund.de + Till Schäfer + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + gentoo-staging + diff --git a/dev-php/ca-bundle/Manifest b/dev-php/ca-bundle/Manifest new file mode 100644 index 000000000000..869046bf79dd --- /dev/null +++ b/dev-php/ca-bundle/Manifest @@ -0,0 +1 @@ +DIST ca-bundle-1.1.3.tar.gz 126613 BLAKE2B 6b1013c2544f8795a4d054c6807cc2a2c51d03547f0d404def311d7edde9891f27ca1a249bef90e10f129a85f0dea489e1fc933b4c5f3bd8213c3428dba588d2 SHA512 b3e1f6bc9196b6c70476a7b656fb3dc4d398cd033d223b436d50676f228b62b561075787df36b880b7b4eb7de677da19d3e597752f88f279279b8569cc865a5f diff --git a/dev-php/ca-bundle/ca-bundle-1.1.3.ebuild b/dev-php/ca-bundle/ca-bundle-1.1.3.ebuild new file mode 100644 index 000000000000..19d43507a5f0 --- /dev/null +++ b/dev-php/ca-bundle/ca-bundle-1.1.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Find the system CA bundle or fall back to the Mozilla one" +HOMEPAGE="https://github.com/composer/ca-bundle" +SRC_URI="https://github.com/composer/ca-bundle/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto /usr/share/php/Composer/CaBundle + doins src/CaBundle.php "${FILESDIR}/autoload.php" + dodoc README.md +} diff --git a/dev-php/ca-bundle/files/autoload.php b/dev-php/ca-bundle/files/autoload.php new file mode 100644 index 000000000000..993360676f74 --- /dev/null +++ b/dev-php/ca-bundle/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Small utility library that lets you find a path to the system CA + bundle, and includes a fallback to the Mozilla CA bundle. + Originally written as part of dev-php/composer, now extracted and + made available as a stand-alone library. + + + composer/ca-bundle + + gentoo-staging + diff --git a/dev-php/cli-prompt/Manifest b/dev-php/cli-prompt/Manifest new file mode 100644 index 000000000000..cf275cec7fdb --- /dev/null +++ b/dev-php/cli-prompt/Manifest @@ -0,0 +1,2 @@ +DIST cli-prompt-1.0.0.tar.gz 7538 BLAKE2B 650bb080c77471515d9baf31d1c5ea13fbfb4a9100e607e2f9c372c8c2ba0f6eac2d67ea0d2327bf30d1cbfaa65a8feb7e999b3a0b130f54e48c85ed8236cbe4 SHA512 5a1f6f999976f3b01d857890b5a06cfed377597397266b44d4aba324bedc2b9f73db5dc184ab40ee6632b43c80da99f5641366903bbc7bb7e18409cb367c8461 +DIST cli-prompt-1.0.3.tar.gz 7563 BLAKE2B 5f4ba04f3ed1e98b30c5ce840fdb0189422b6c83e6df82b3a617eb120b4dadc840287b3ee559b6605f1b2a9eb873abbc446a9ed3ec1dfeba1158a7a27ebee951 SHA512 e7e7bb0ae5173b784ab7dac4453b23d039abb68c11b21bfd3756f7f37da413744dcd76d8f8769ace023f91f0f2a8f78421d432bf96fe0781c05a9584b0f0f64d diff --git a/dev-php/cli-prompt/cli-prompt-1.0.0.ebuild b/dev-php/cli-prompt/cli-prompt-1.0.0.ebuild new file mode 100644 index 000000000000..4bf34feadb3c --- /dev/null +++ b/dev-php/cli-prompt/cli-prompt-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Allows you to prompt for user input on the command line" +HOMEPAGE="https://github.com/Seldaek/cli-prompt" +SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Seld/CliPrompt" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/cli-prompt/cli-prompt-1.0.3.ebuild b/dev-php/cli-prompt/cli-prompt-1.0.3.ebuild new file mode 100644 index 000000000000..5a3a63f745e2 --- /dev/null +++ b/dev-php/cli-prompt/cli-prompt-1.0.3.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Allows you to prompt for user input on the command line" +HOMEPAGE="https://github.com/Seldaek/cli-prompt" +SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Seld/CliPrompt" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/cli-prompt/files/autoload.php b/dev-php/cli-prompt/files/autoload.php new file mode 100644 index 000000000000..7a1acbd38c9f --- /dev/null +++ b/dev-php/cli-prompt/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Allows you to prompt for user input on the command line, + and optionally hide the characters they type. + + + Seldaek/cli-prompt + + gentoo-staging + diff --git a/dev-php/composer/Manifest b/dev-php/composer/Manifest new file mode 100644 index 000000000000..e337601d0c3f --- /dev/null +++ b/dev-php/composer/Manifest @@ -0,0 +1,5 @@ +DIST composer-1.10.1.tar.gz 421852 BLAKE2B a40f59ab0af5eba777f1926bab78e55fd1973e53b324eec73fdca70678fc1cfe6f892790a61a66dbdbe07caa03343bfd109318daec99c2c18707785c6bf149e0 SHA512 ebc3ee48bf0d2597e7221e9ac0ab7188e7a99096d5dacdee4176b4c7b4d252d079c117b5bd9131ff38d8963f95930fa9c83fa51ed542d4f7d58276561de1f2b8 +DIST composer-1.10.5.tar.gz 423065 BLAKE2B 0c8595f3583a692f89294455984aeff2ad9cbf2a39541355cbb736e717baacae8245fa81e6b9fde11dd5bb56ad3a074262f6f8ecb65b4bef9c782ef39887deec SHA512 cdadb2d146afcc140316b83d3b4f4c018d79e8222f6a6207cdd52db75ae9c78e787a509d88a3fe113f8218df2ace56ba2dd043e1b6e6c3dbb5129fd51d8e9925 +DIST composer-1.10.6.tar.gz 423789 BLAKE2B 74d93e769c660f2c74e0ad5dd3ed5e5279c217552eb6d342ffd43d7fba10647865ade7b284c811f63504e0335e5655eae681cf14ae4d876eb56ff6a306c61268 SHA512 fdc209a82d3adda2728190282327b02d2b71bb9b1a80cbcda3699a826ee56451c997edac13d76e2784ebd4297d413bd46dd47b9538accd4bfe6c569464696779 +DIST composer-1.10.7.tar.gz 424264 BLAKE2B 9939e4d1f29071ca4467076c13e0ceab32d10282876ebb0a76f41dd3efbd9c40a50dbf278dd0a12b2119d40ff9424c171f07381fbaadb94218b1fdf69f403fdb SHA512 81ece3314cddced101b0be491e40b60d42ef503cef4b1d5598c32f3378f10524004a7a8ef4360453a4cdaaf9d3b986ce07696de075dc424deae7703945f6d577 +DIST composer-1.9.3.tar.gz 412212 BLAKE2B fc293a38baaf87cc2581304e1438d48e94a85ca2c5da4eff388b1307dadacb67327d9612211af70f1734872c7a377b8713492839c2d330c9e0e7226206cdc1f6 SHA512 42a37b2187895e06f2dc8c5225a1328377afc408ad28af12d9ef5d15fe083dcf22459ce0f482abfd528683113af5f9fd1a19758294c59c69b59a5bb32e65f2cc diff --git a/dev-php/composer/composer-1.10.1.ebuild b/dev-php/composer/composer-1.10.1.ebuild new file mode 100644 index 000000000000..29915836e3cf --- /dev/null +++ b/dev-php/composer/composer-1.10.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Dependency Manager for PHP" +HOMEPAGE="https://github.com/composer/composer" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:*[curl] + >=dev-php/ca-bundle-1.1.3 + >=dev-php/psr-log-1.1.0 + dev-php/fedora-autoloader + >=dev-php/json-schema-5.2.7 + >=dev-php/jsonlint-1.7.1 + >=dev-php/phar-utils-1.0.1 + >=dev-php/semver-1.4.2 + >=dev-php/spdx-licenses-1.5.0 + >=dev-php/symfony-console-2.8.48 + >=dev-php/symfony-filesystem-2.8.48 + >=dev-php/symfony-finder-2.8.49 + >=dev-php/symfony-process-2.8.48 + >=dev-php/xdebug-handler-1.3.1" + +src_install() { + insinto "/usr/share/${PN}" + + # Composer expects the LICENSE file to be there, and the + # easiest thing to do is to give it what it wants. + doins -r src res LICENSE + + insinto "/usr/share/${PN}/vendor" + newins "${FILESDIR}"/autoload-r1.php autoload.php + + exeinto "/usr/share/${PN}/bin" + doexe "bin/${PN}" + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" + + dodoc CHANGELOG.md README.md doc/*.md + dodoc -r doc/articles doc/faqs +} diff --git a/dev-php/composer/composer-1.10.5.ebuild b/dev-php/composer/composer-1.10.5.ebuild new file mode 100644 index 000000000000..29915836e3cf --- /dev/null +++ b/dev-php/composer/composer-1.10.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Dependency Manager for PHP" +HOMEPAGE="https://github.com/composer/composer" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:*[curl] + >=dev-php/ca-bundle-1.1.3 + >=dev-php/psr-log-1.1.0 + dev-php/fedora-autoloader + >=dev-php/json-schema-5.2.7 + >=dev-php/jsonlint-1.7.1 + >=dev-php/phar-utils-1.0.1 + >=dev-php/semver-1.4.2 + >=dev-php/spdx-licenses-1.5.0 + >=dev-php/symfony-console-2.8.48 + >=dev-php/symfony-filesystem-2.8.48 + >=dev-php/symfony-finder-2.8.49 + >=dev-php/symfony-process-2.8.48 + >=dev-php/xdebug-handler-1.3.1" + +src_install() { + insinto "/usr/share/${PN}" + + # Composer expects the LICENSE file to be there, and the + # easiest thing to do is to give it what it wants. + doins -r src res LICENSE + + insinto "/usr/share/${PN}/vendor" + newins "${FILESDIR}"/autoload-r1.php autoload.php + + exeinto "/usr/share/${PN}/bin" + doexe "bin/${PN}" + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" + + dodoc CHANGELOG.md README.md doc/*.md + dodoc -r doc/articles doc/faqs +} diff --git a/dev-php/composer/composer-1.10.6.ebuild b/dev-php/composer/composer-1.10.6.ebuild new file mode 100644 index 000000000000..29915836e3cf --- /dev/null +++ b/dev-php/composer/composer-1.10.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Dependency Manager for PHP" +HOMEPAGE="https://github.com/composer/composer" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:*[curl] + >=dev-php/ca-bundle-1.1.3 + >=dev-php/psr-log-1.1.0 + dev-php/fedora-autoloader + >=dev-php/json-schema-5.2.7 + >=dev-php/jsonlint-1.7.1 + >=dev-php/phar-utils-1.0.1 + >=dev-php/semver-1.4.2 + >=dev-php/spdx-licenses-1.5.0 + >=dev-php/symfony-console-2.8.48 + >=dev-php/symfony-filesystem-2.8.48 + >=dev-php/symfony-finder-2.8.49 + >=dev-php/symfony-process-2.8.48 + >=dev-php/xdebug-handler-1.3.1" + +src_install() { + insinto "/usr/share/${PN}" + + # Composer expects the LICENSE file to be there, and the + # easiest thing to do is to give it what it wants. + doins -r src res LICENSE + + insinto "/usr/share/${PN}/vendor" + newins "${FILESDIR}"/autoload-r1.php autoload.php + + exeinto "/usr/share/${PN}/bin" + doexe "bin/${PN}" + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" + + dodoc CHANGELOG.md README.md doc/*.md + dodoc -r doc/articles doc/faqs +} diff --git a/dev-php/composer/composer-1.10.7.ebuild b/dev-php/composer/composer-1.10.7.ebuild new file mode 100644 index 000000000000..29915836e3cf --- /dev/null +++ b/dev-php/composer/composer-1.10.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Dependency Manager for PHP" +HOMEPAGE="https://github.com/composer/composer" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:*[curl] + >=dev-php/ca-bundle-1.1.3 + >=dev-php/psr-log-1.1.0 + dev-php/fedora-autoloader + >=dev-php/json-schema-5.2.7 + >=dev-php/jsonlint-1.7.1 + >=dev-php/phar-utils-1.0.1 + >=dev-php/semver-1.4.2 + >=dev-php/spdx-licenses-1.5.0 + >=dev-php/symfony-console-2.8.48 + >=dev-php/symfony-filesystem-2.8.48 + >=dev-php/symfony-finder-2.8.49 + >=dev-php/symfony-process-2.8.48 + >=dev-php/xdebug-handler-1.3.1" + +src_install() { + insinto "/usr/share/${PN}" + + # Composer expects the LICENSE file to be there, and the + # easiest thing to do is to give it what it wants. + doins -r src res LICENSE + + insinto "/usr/share/${PN}/vendor" + newins "${FILESDIR}"/autoload-r1.php autoload.php + + exeinto "/usr/share/${PN}/bin" + doexe "bin/${PN}" + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" + + dodoc CHANGELOG.md README.md doc/*.md + dodoc -r doc/articles doc/faqs +} diff --git a/dev-php/composer/composer-1.9.3.ebuild b/dev-php/composer/composer-1.9.3.ebuild new file mode 100644 index 000000000000..29915836e3cf --- /dev/null +++ b/dev-php/composer/composer-1.9.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Dependency Manager for PHP" +HOMEPAGE="https://github.com/composer/composer" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:*[curl] + >=dev-php/ca-bundle-1.1.3 + >=dev-php/psr-log-1.1.0 + dev-php/fedora-autoloader + >=dev-php/json-schema-5.2.7 + >=dev-php/jsonlint-1.7.1 + >=dev-php/phar-utils-1.0.1 + >=dev-php/semver-1.4.2 + >=dev-php/spdx-licenses-1.5.0 + >=dev-php/symfony-console-2.8.48 + >=dev-php/symfony-filesystem-2.8.48 + >=dev-php/symfony-finder-2.8.49 + >=dev-php/symfony-process-2.8.48 + >=dev-php/xdebug-handler-1.3.1" + +src_install() { + insinto "/usr/share/${PN}" + + # Composer expects the LICENSE file to be there, and the + # easiest thing to do is to give it what it wants. + doins -r src res LICENSE + + insinto "/usr/share/${PN}/vendor" + newins "${FILESDIR}"/autoload-r1.php autoload.php + + exeinto "/usr/share/${PN}/bin" + doexe "bin/${PN}" + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" + + dodoc CHANGELOG.md README.md doc/*.md + dodoc -r doc/articles doc/faqs +} diff --git a/dev-php/composer/files/autoload-r1.php b/dev-php/composer/files/autoload-r1.php new file mode 100644 index 000000000000..bece97f17ce0 --- /dev/null +++ b/dev-php/composer/files/autoload-r1.php @@ -0,0 +1,28 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Composer is a tool for dependency management in PHP. + It allows you to declare the libraries your project depends on + and it will manage (install/update) them for you. + + + composer/composer + + gentoo-staging + diff --git a/dev-php/cphplib/Manifest b/dev-php/cphplib/Manifest new file mode 100644 index 000000000000..c784627c56d0 --- /dev/null +++ b/dev-php/cphplib/Manifest @@ -0,0 +1 @@ +DIST cphplib-0.51.tar.bz2 117555 BLAKE2B e90371d11bb342bf63ef24616d03b1c1e5dc3d8d3eae8410cf2e44f84560cb6385afc9f2fb4690ec94244a6467aca6de71452093af8c61b98777561a15a10823 SHA512 b1db52bb241f4e996538fc6173a72a9ff8d6e19596808030ad1f7ed28b051d2e6f2ececf0cfcfd177a18cab049b5b1c4d3c8877cd93d4cb5705142d035d67818 diff --git a/dev-php/cphplib/cphplib-0.51-r1.ebuild b/dev-php/cphplib/cphplib-0.51-r1.ebuild new file mode 100644 index 000000000000..c79a4a612094 --- /dev/null +++ b/dev-php/cphplib/cphplib-0.51-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Cute PHP Library (cphplib)" +HOMEPAGE="http://cphplib.sourceforge.net/" +SRC_URI="mirror://sourceforge/cphplib/${P}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="doc" + +DEPEND=">=dev-php/PEAR-DB-1.7.6-r1" +RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/constructor.patch" ) + +src_install() { + local DOCS=( ChangeLog README TODO ) + local -a HTML_DOCS + insinto "/usr/share/php/${PN}" + doins -r i18n cphplib_formular.inc cphplib.inc + use doc && HTML_DOCS=( doc/packages.html doc/blank.html + doc/classtrees_cphplib.html doc/index.html doc/cphplib/ + doc/errors.html doc/__filesource/ doc/elementindex.html + doc/li_cphplib.html doc/elementindex_cphplib.html doc/media/ ) + einstalldocs +} diff --git a/dev-php/cphplib/files/constructor.patch b/dev-php/cphplib/files/constructor.patch new file mode 100644 index 000000000000..1ab88d212c1f --- /dev/null +++ b/dev-php/cphplib/files/constructor.patch @@ -0,0 +1,42 @@ +diff -uarN a/cphplib_formular.inc b/cphplib_formular.inc +--- a/cphplib_formular.inc 2006-05-25 05:03:44.000000000 -0400 ++++ b/cphplib_formular.inc 2017-07-27 10:49:10.928727081 -0400 +@@ -130,6 +130,11 @@ + + function cphplib_formular($locale="de_DE") + { ++ __construct($locale); ++ } ++ ++ function __construct($locale="de_DE") ++ { + parent::cphplib($locale); + + $this->os_type = $this->os_type(); +@@ -1390,4 +1395,3 @@ + } + } + +-?> +\ No newline at end of file +diff -uarN a/cphplib.inc b/cphplib.inc +--- a/cphplib.inc 2006-05-25 05:03:58.000000000 -0400 ++++ b/cphplib.inc 2017-07-27 10:59:51.910098156 -0400 +@@ -215,6 +215,11 @@ + */ + function cphplib($locale="de_DE") + { ++ __construct($locale); ++ } ++ ++ function __construct($locale="de_DE") ++ { + if (!empty($locale)) + { + $this->locale = $locale; +@@ -4539,4 +4544,3 @@ + } + } + +-?> +\ No newline at end of file diff --git a/dev-php/cphplib/metadata.xml b/dev-php/cphplib/metadata.xml new file mode 100644 index 000000000000..2e46586ff53e --- /dev/null +++ b/dev-php/cphplib/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + cphplib + + gentoo-staging + diff --git a/dev-php/doctrine-instantiator/Manifest b/dev-php/doctrine-instantiator/Manifest new file mode 100644 index 000000000000..e7c1e611066c --- /dev/null +++ b/dev-php/doctrine-instantiator/Manifest @@ -0,0 +1,4 @@ +DIST doctrine-instantiator-1.0.5.tar.gz 10202 BLAKE2B 77ab3fba96672f6aa2826002510c99c21beccdc09e92dbc2c09426f8fc47590554ef5d32b6bec92ea2dc2ab1c61a178c280ab01090b3aafc14a10a4b4fec3628 SHA512 78b00b2550b47772b5825fbde59729e0613a90c1d9dacf1b7b7d13ccb5bbd8534af7e732dcc1b5b6f9bbafa2f9c3e7418e184851ab0f3a37c0c945b5eed1e229 +DIST doctrine-instantiator-1.1.0.tar.gz 5343 BLAKE2B 73f737f19c8ae7a3fa9a7dcaa760246da6d688e28f15be0c40e031be8147887885bba2ec0a7770ead7de7b718247108b41b4c1d08712137c9c06911bde263176 SHA512 7f59dd7f80df02fd1e46f4b0ecd8488022b34933effddfc40d3424b279a35928adfc0fb7567172149338a8d4273b24305eaa46fc51aa0af45a7b230646354f09 +DIST doctrine-instantiator-1.3.0.tar.gz 6299 BLAKE2B 6eb41562f52965381a780243475bda73a921d44784a66cf23816dd228efe4299d225f0cd52a4625a3516d8ae22b7f691a2724b477b944211e8d1ffd2c4c90540 SHA512 989b14bb28f75d091243dd5833a0a7c91889b45a1fcafb425b38de223485aae4470e1f1877b024ca58c5cf3539f8b39ef337166dbbd664bede7a5f3adde623a9 +DIST doctrine-instantiator-1.3.1.tar.gz 6328 BLAKE2B 1854e188cb39131a7ad02698d8a43c2eb84f7ec0239c04f973a7e66913664d49d4e89a09c1ec74b07ef87ecdf3dadb3c61140dcc3727556c44d65d8c022cc821 SHA512 eb5de9d38d45de3306d5481a747ae8164199aff222a52ce9d0fb2c2d18a082c7cf48ea3d670ff81d63c5fe8c2a855c583168a3d810ee9d4bb48d23505aaa80c3 diff --git a/dev-php/doctrine-instantiator/doctrine-instantiator-1.0.5.ebuild b/dev-php/doctrine-instantiator/doctrine-instantiator-1.0.5.ebuild new file mode 100644 index 000000000000..db9de5fabfe4 --- /dev/null +++ b/dev-php/doctrine-instantiator/doctrine-instantiator-1.0.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/doctrine-//}" + +DESCRIPTION="Utility to instantiate objects in PHP without invoking their constructors" +HOMEPAGE="https://github.com/doctrine/instantiator" +SRC_URI="https://github.com/doctrine/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/ + doins -r src/* + insinto /usr/share/php/Doctrine/Instantiator + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/doctrine-instantiator/doctrine-instantiator-1.1.0.ebuild b/dev-php/doctrine-instantiator/doctrine-instantiator-1.1.0.ebuild new file mode 100644 index 000000000000..9801eecf5b4f --- /dev/null +++ b/dev-php/doctrine-instantiator/doctrine-instantiator-1.1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/doctrine-//}" + +DESCRIPTION="Utility to instantiate objects in PHP without invoking their constructors" +HOMEPAGE="https://github.com/doctrine/instantiator" +SRC_URI="https://github.com/doctrine/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/ + doins -r src/* + insinto /usr/share/php/Doctrine/Instantiator + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/doctrine-instantiator/doctrine-instantiator-1.3.0.ebuild b/dev-php/doctrine-instantiator/doctrine-instantiator-1.3.0.ebuild new file mode 100644 index 000000000000..6b79666dab62 --- /dev/null +++ b/dev-php/doctrine-instantiator/doctrine-instantiator-1.3.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/doctrine-//}" + +DESCRIPTION="Utility to instantiate objects in PHP without invoking their constructors" +HOMEPAGE="https://github.com/doctrine/instantiator" +SRC_URI="https://github.com/doctrine/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/ + doins -r src/* + insinto /usr/share/php/Doctrine/Instantiator + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/doctrine-instantiator/doctrine-instantiator-1.3.1.ebuild b/dev-php/doctrine-instantiator/doctrine-instantiator-1.3.1.ebuild new file mode 100644 index 000000000000..6b79666dab62 --- /dev/null +++ b/dev-php/doctrine-instantiator/doctrine-instantiator-1.3.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/doctrine-//}" + +DESCRIPTION="Utility to instantiate objects in PHP without invoking their constructors" +HOMEPAGE="https://github.com/doctrine/instantiator" +SRC_URI="https://github.com/doctrine/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/ + doins -r src/* + insinto /usr/share/php/Doctrine/Instantiator + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/doctrine-instantiator/files/autoload.php b/dev-php/doctrine-instantiator/files/autoload.php new file mode 100644 index 000000000000..978f45e6a24a --- /dev/null +++ b/dev-php/doctrine-instantiator/files/autoload.php @@ -0,0 +1,8 @@ + + + + + php-bugs@gentoo.org + PHP + + + doctrine/ + + gentoo-staging + diff --git a/dev-php/doctrine/Manifest b/dev-php/doctrine/Manifest new file mode 100644 index 000000000000..2d4a68146f69 --- /dev/null +++ b/dev-php/doctrine/Manifest @@ -0,0 +1,4 @@ +DIST doctrine-1.2.5.tar.gz 659173 BLAKE2B fd703eb52d209548dd44950cdb23c2e3298e044f9387acadb2edc67bba79dd9b0a60fdf9a98d46e8078415c1e0ff21976323a6df1ab9f798ee475690ce50d4d8 SHA512 c72f4e829a92b011af0bd96d2f8a780c3106afb57a9677a21aed683473ff00aebdf7143a276c7cc70f1b142196968b5e2e5e1f744dba5c8ae1267b867b4e0310 +DIST doctrine-2.4.6.tar.gz 456426 BLAKE2B 775c14750954ced8728c220dee6ca41cbfa66a7c34b00476f6941d5681302b1f10cc8dfa5e206780bb3b4b5d0e591b0e770de182340c6e7a881d3c4ca3f5795c SHA512 d7aeb58e8c76df384a472df08618a058b70f2b8499de6a3157c36bde125ab32c7bf4f80d1e6d880502ccfed2db704f3218a6f1f1ecbf603cc828e2a757c366b5 +DIST doctrine-2.6.1.tar.gz 554462 BLAKE2B 3481a1e7c8acfb0de5c4aa64aa32d583e8f01b2175b2957ec8aa0ae29c962e7482ae1d36217aa765fc38198dc851cbecb5e8ee24829f9e335ad4d18bec3bb1f5 SHA512 f2ca1df4a1da814a0047d2da76da0df64ef704e8f5b2464f2a546e61e615d40de9508c72543ae5574188882dd2a3917d8205ec194c63d7b264257443cdfd47c8 +DIST doctrine-2.6.4.tar.gz 558995 BLAKE2B 789a9d3e5c53a19e9e9d6dc24680888e0703a51cf22df052604bdee0b5148edd5153a625528dc9cf7cea9e5b245c7c73153efc8a05e3f91150536c2d4bcc2243 SHA512 7f4ed67ff5a3921da5e630e51987ceb3f896824baa0db6065c1a17f0389c363c4ee149298335ce4eccce37dbb9e1572caa31196d0e67251a5ea72d449471eec6 diff --git a/dev-php/doctrine/doctrine-1.2.5.ebuild b/dev-php/doctrine/doctrine-1.2.5.ebuild new file mode 100644 index 000000000000..bf2faae0288f --- /dev/null +++ b/dev-php/doctrine/doctrine-1.2.5.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P="${PN}1-${PV}" +DESCRIPTION="An object relational mapper for PHP5" +HOMEPAGE="https://www.doctrine-project.org/" +SRC_URI="https://github.com/${PN}/${PN}1/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 MIT BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/php-5.2.3:*[cli,pdo]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r lib/Doctrine + doins lib/Doctrine.php +} diff --git a/dev-php/doctrine/doctrine-2.4.6.ebuild b/dev-php/doctrine/doctrine-2.4.6.ebuild new file mode 100644 index 000000000000..5184f5a1812f --- /dev/null +++ b/dev-php/doctrine/doctrine-2.4.6.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P="${PN}2-${PV}" +DESCRIPTION="An object relational mapper for PHP5" +HOMEPAGE="https://www.doctrine-project.org/" +SRC_URI="https://github.com/${PN}/${PN}2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 MIT BSD" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-lang/php-5.3.2:*[cli,pdo]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r lib/Doctrine +} diff --git a/dev-php/doctrine/doctrine-2.6.1.ebuild b/dev-php/doctrine/doctrine-2.6.1.ebuild new file mode 100644 index 000000000000..edd7e6575055 --- /dev/null +++ b/dev-php/doctrine/doctrine-2.6.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_P="${PN}2-${PV}" +DESCRIPTION="An object relational mapper for PHP" +HOMEPAGE="https://www.doctrine-project.org/" +SRC_URI="https://github.com/${PN}/${PN}2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/php-7.1:*[cli,pdo]" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r lib/Doctrine + insinto /usr/share/php/Doctrine + exeinto /usr/share/php/Doctrine + doins bin/doctrine.php + doexe bin/doctrine + dosym ../share/php/Doctrine/doctrine /usr/bin/doctrine +} diff --git a/dev-php/doctrine/doctrine-2.6.4.ebuild b/dev-php/doctrine/doctrine-2.6.4.ebuild new file mode 100644 index 000000000000..10bd6546bbf1 --- /dev/null +++ b/dev-php/doctrine/doctrine-2.6.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="orm-${PV}" +DESCRIPTION="An object relational mapper for PHP" +HOMEPAGE="https://www.doctrine-project.org/" +SRC_URI="https://github.com/${PN}/orm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-lang/php-7.1:*[cli,pdo]" +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_install() { + insinto /usr/share/php + doins -r lib/Doctrine + insinto /usr/share/php/Doctrine + exeinto /usr/share/php/Doctrine + doins bin/doctrine.php + doexe bin/doctrine + dosym ../share/php/Doctrine/doctrine /usr/bin/doctrine +} diff --git a/dev-php/doctrine/metadata.xml b/dev-php/doctrine/metadata.xml new file mode 100644 index 000000000000..9493015cbf5c --- /dev/null +++ b/dev-php/doctrine/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + doctrine/doctrine2 + + gentoo-staging + diff --git a/dev-php/fedora-autoloader/Manifest b/dev-php/fedora-autoloader/Manifest new file mode 100644 index 000000000000..7317bfbc30ec --- /dev/null +++ b/dev-php/fedora-autoloader/Manifest @@ -0,0 +1,3 @@ +DIST fedora-autoloader-0.2.1.tar.gz 7634 BLAKE2B e2827ac332a7b50f94383a11b33f25625d67984491fc46dce6ad01d6e4b986c489062464d09ff5ed32f29c2d623ff9d59579fc007eceb1279f660695feea72a0 SHA512 81501dbc0668c1cc6d6fb030e0d9ee91d31db8fa32b3348a0215dbf20a3ef1d41bc398124e1d7f0c1d5ffa8fce8c33e60a3182eaba6ba740d78b4a7f6db2aea8 +DIST fedora-autoloader-1.0.0.tar.gz 8504 BLAKE2B ada69f3f3126b2c233b0ab933e52468d8303dbaacfc27364f490ce7b093043f92913ecc55180b460828573f0f204f5e7f4d10b3149ef6f5b3cee1d645fa6ac58 SHA512 a8e3330d961a9415a817d41ad9feb91018aa398607a2adce1f8386d491581773226f6819ac3d90827344898fbbdb32c0881af3f122efdad021f7ce70a07cc66e +DIST fedora-autoloader-1.0.1.tar.gz 8743 BLAKE2B 4ba6ed275812036f171138e05f5aa56611c6430bc5e440dac5ee45ad975f2300c70c0b964c8c5e0681028829738ad1e4abd69b14e83e10e5215ea9ec7f2d705f SHA512 dd27348e23b69f03e64c2608ae9fd8caf54baa60327c944f46ab5f4cc762677baacc21ba0ea97cad5d97e9f168b1b3731e0ab2bb48df394c07aaa61fd9d66de6 diff --git a/dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild b/dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild new file mode 100644 index 000000000000..1356394d53cd --- /dev/null +++ b/dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Fedora's Static PSR-4, PSR-0, and classmap autoloader" +HOMEPAGE="https://github.com/php-fedora/autoloader" +SRC_URI="https://github.com/php-fedora/autoloader/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/autoloader-${PV}" + +src_install() { + insinto "/usr/share/php/Fedora/Autoloader" + doins -r src/. + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit || die "test suite failed" +} diff --git a/dev-php/fedora-autoloader/fedora-autoloader-1.0.0.ebuild b/dev-php/fedora-autoloader/fedora-autoloader-1.0.0.ebuild new file mode 100644 index 000000000000..ee12d3f5e31f --- /dev/null +++ b/dev-php/fedora-autoloader/fedora-autoloader-1.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Fedora's Static PSR-4, PSR-0, and classmap autoloader" +HOMEPAGE="https://github.com/php-fedora/autoloader" +SRC_URI="https://github.com/php-fedora/autoloader/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +IUSE="test" + +RESTRICT="test" + +RDEPEND="dev-lang/php:*" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/autoloader-${PV}" + +src_install() { + insinto "/usr/share/php/Fedora/Autoloader" + doins -r src/. + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit || die "test suite failed" +} diff --git a/dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild b/dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild new file mode 100644 index 000000000000..144c288ef542 --- /dev/null +++ b/dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Fedora's Static PSR-4, PSR-0, and classmap autoloader" +HOMEPAGE="https://github.com/php-fedora/autoloader" +SRC_URI="https://github.com/php-fedora/autoloader/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +IUSE="test" + +RESTRICT="test" + +RDEPEND="dev-lang/php:*" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/autoloader-${PV}" + +src_install() { + insinto "/usr/share/php/Fedora/Autoloader" + doins -r src/. + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit || die "test suite failed" +} diff --git a/dev-php/fedora-autoloader/metadata.xml b/dev-php/fedora-autoloader/metadata.xml new file mode 100644 index 000000000000..a30d168e72ad --- /dev/null +++ b/dev-php/fedora-autoloader/metadata.xml @@ -0,0 +1,23 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Static PSR-4, PSR-0, and classmap autoloader. + Includes loader for required and optional dependencies. + + + php-fedora/autoloader + + gentoo-staging + diff --git a/dev-php/geos-php/Manifest b/dev-php/geos-php/Manifest new file mode 100644 index 000000000000..87ff289e412d --- /dev/null +++ b/dev-php/geos-php/Manifest @@ -0,0 +1 @@ +DIST geos-php-1.0.0.tar.gz 40870 BLAKE2B c6d526470bdb7e4aecce6ce5f2132f90a6c40e5a2b3a8169bbb7ae101394340aad8a23309130c7f1421e19162b5559f9e87e58fb704e91b1fc03b612543551e8 SHA512 4ceb9e1152d0b534bc3a5e372be0b98770b1883ec4dda1177c9399d95d947b9feee412accf003d27b55b1a901c90259a9b38792b453dac11cb8af26af3cd91ec diff --git a/dev-php/geos-php/geos-php-1.0.0.ebuild b/dev-php/geos-php/geos-php-1.0.0.ebuild new file mode 100644 index 000000000000..bcd0bc9fe03a --- /dev/null +++ b/dev-php/geos-php/geos-php-1.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="geos" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" + +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +S="${WORKDIR}/php-geos" + +inherit php-ext-source-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="A PHP interface to GEOS - Geometry Engine, Open Source" +HOMEPAGE="https://trac.osgeo.org/geos" +SRC_URI="https://git.osgeo.org/gitea/geos/php-geos/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="sci-libs/geos[-php(-)]" +DEPEND="sci-libs/geos[-php(-)] test? ( dev-php/phpunit )" +DOCS=( README.md CREDITS NEWS TODO ) +PHP_EXT_ECONF_ARGS=() diff --git a/dev-php/geos-php/metadata.xml b/dev-php/geos-php/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/geos-php/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/igbinary/Manifest b/dev-php/igbinary/Manifest new file mode 100644 index 000000000000..9484395f4d58 --- /dev/null +++ b/dev-php/igbinary/Manifest @@ -0,0 +1,2 @@ +DIST igbinary-3.0.1.tar.gz 170957 BLAKE2B 2250ef228b059d5d87615412ffae3242cd757df25dc9a1bfe2a4d1dc33a417a4389abb2ab613359537a6ee3947526caded0ec584049e3d42669532b4a930afc9 SHA512 4930670ecdc1796fa73184e8f12bf570f7b1a43cb422cede056ccd1ca28fc950b00a9418519c59a9c07e346a89153b6b105e873fcfccb1365d43d4abf98804da +DIST igbinary-3.1.2.tar.gz 212162 BLAKE2B c88de3abc274d0fce20a13604b51c30dcb4259a1bbfd6b6bc15abbec5b48d9c4735cd023575b9f9f2b1c81a6188676bb39032d72165eb872dc83b6daf27d16da SHA512 617442e1fc437d12666b1172ca2ae34a4d7377bff8b1d00194a159260213179e65e7e2f755a1583d2b299e3b0e90374b9021cd61ec7ac67e64018153e77af8c5 diff --git a/dev-php/igbinary/igbinary-3.0.1.ebuild b/dev-php/igbinary/igbinary-3.0.1.ebuild new file mode 100644 index 000000000000..67fde3809285 --- /dev/null +++ b/dev-php/igbinary/igbinary-3.0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PHP_EXT_NAME="${PN}" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( CREDITS NEWS README.md ) +PHP_EXT_ECONF_ARGS=( --enable-${PN} ) + +USE_PHP="php7-1 php7-2 php7-3" + +inherit php-ext-source-r3 + +KEYWORDS="amd64 ~arm ~arm64 x86" + +DESCRIPTION="A fast drop-in replacement for the standard PHP serialize" +HOMEPAGE="https://github.com/igbinary/igbinary" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="" diff --git a/dev-php/igbinary/igbinary-3.1.2.ebuild b/dev-php/igbinary/igbinary-3.1.2.ebuild new file mode 100644 index 000000000000..e56a7b7ca346 --- /dev/null +++ b/dev-php/igbinary/igbinary-3.1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PHP_EXT_NAME="${PN}" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( CREDITS NEWS README.md ) +PHP_EXT_ECONF_ARGS=( --enable-${PN} ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-source-r3 + +KEYWORDS="amd64 ~arm ~arm64 x86" + +DESCRIPTION="A fast drop-in replacement for the standard PHP serialize" +HOMEPAGE="https://github.com/igbinary/igbinary" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +#IUSE="" + +#DEPEND="" +#RDEPEND="" diff --git a/dev-php/igbinary/metadata.xml b/dev-php/igbinary/metadata.xml new file mode 100644 index 000000000000..377ff20fa69b --- /dev/null +++ b/dev-php/igbinary/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + igbinary/igbinary + + gentoo-staging + diff --git a/dev-php/jpgraph/Manifest b/dev-php/jpgraph/Manifest new file mode 100644 index 000000000000..f234700eea72 --- /dev/null +++ b/dev-php/jpgraph/Manifest @@ -0,0 +1,2 @@ +DIST jpgraph-4.0.2.tar.gz 13298314 BLAKE2B 46506f5a3f331157329c92f61f4843faa7d0774fbdb0cafe58a5609d1c9e9c2f73d4634ffd09cad3c874a45b2ac8658271a343b5e0dfb673f810bf7af6083189 SHA512 db1877c09c13a26d24ef7df4aae50799f55c6d72ca0cdb0b8d8c05928c1bc860f8a86eb52a5fb05bdc1c07574931825baa2989f006e9a4cc57e60913e8b67a3e +DIST jpgraph-4.2.0.tar.gz 13298982 BLAKE2B b5fab9754239f78fbdfebd84872b824400d27fce89a80d82028d2521f7d64ada79efe4eb9c5460f56d882e827f5930eb10a57c3b41a81865dd618b9baf628cf9 SHA512 f0f164663f2e0fca5b827d89c57aaa144765a987ca4ebb82f18102f8cb80057c7f7639b8faae5d6d6ce459257bdfa609d2df6ffe648a7334c58c87ddfe86c334 diff --git a/dev-php/jpgraph/files/gentoo_ttf_dir.patch b/dev-php/jpgraph/files/gentoo_ttf_dir.patch new file mode 100644 index 000000000000..a10479b3f673 --- /dev/null +++ b/dev-php/jpgraph/files/gentoo_ttf_dir.patch @@ -0,0 +1,31 @@ +From fd1fc5e3c72ac4511f86852b1704821c440bdb3d Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Tue, 3 Jan 2017 12:56:18 -0500 +Subject: [PATCH 1/1] Set TTF_DIR to the Gentoo corefonts location. + +The default value of TTF_DIR in jpg-config.inc.php points to +/usr/share/fonts/truetype, a location that does not exist on +Gentoo. Since JpGraph largely only supports the Microsoft +corefonts, we point it to /usr/share/fonts/corefonts instead. +If the user does not have the corefonts installed, this is no +great loss: neither location exists. +--- + src/jpg-config.inc.php | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/jpg-config.inc.php b/src/jpg-config.inc.php +index ea16c1e..98cbdc7 100755 +--- a/src/jpg-config.inc.php ++++ b/src/jpg-config.inc.php +@@ -36,7 +36,7 @@ + // + //------------------------------------------------------------------------ + // define('CACHE_DIR','/tmp/jpgraph_cache/'); +-// define('TTF_DIR','/usr/share/fonts/TrueType/'); ++define('TTF_DIR','/usr/share/fonts/corefonts/'); + // define('MBTTF_DIR','/usr/share/fonts/TrueType/'); + + //------------------------------------------------------------------------- +-- +2.10.2 + diff --git a/dev-php/jpgraph/jpgraph-4.0.2.ebuild b/dev-php/jpgraph/jpgraph-4.0.2.ebuild new file mode 100644 index 000000000000..f2141936daa9 --- /dev/null +++ b/dev-php/jpgraph/jpgraph-4.0.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Object-oriented graphing library for PHP" +HOMEPAGE="http://jpgraph.net/" +# Upstream didn't have a stable download URL when this was packaged. +SRC_URI="https://dev.gentoo.org/~mjo/distfiles/${P}.tar.gz" +LICENSE="QPL-1.0" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ppc sparc x86" +IUSE="truetype examples" + +DEPEND="" +RDEPEND="truetype? ( media-fonts/corefonts ) + dev-lang/php[gd,truetype?]" + +src_prepare() { + default + + # The DejaVu fonts are now bundled with the library and don't need + # to be found in TTF_DIR. Since most of the fonts supported by + # JpGraph are corefonts, we point the sole TTF_DIR towards them for + # maximum impact. Why not apply the patch unconditionally? We want + # to avoid a situation where TTF fonts appear to work, but then + # break without warning when the user e.g. removes corefonts. By + # applying the patch conditionally, we ensure a dependency on + # media-fonts/corefonts before anything will work. + use truetype && eapply "${FILESDIR}/gentoo_ttf_dir.patch" + + # Some of the documentation and examples are shipped in the "src" + # directory. We want them outside of that tree so that we can simply + # call doins recursively on "src". First, rename the existing "docs" + # directory which contains the HTML manual and class reference. + mv docs html || die 'failed to rename "docs" directory' + mv src/README ./ || die 'failed to relocate the README' + mv src/Examples ./examples || die 'failed to relocate the examples' + + # These are present (duplicated) in the other Examples directory, + # and don't work anyway. + rm -r src/barcode || die 'failed to remove some barcode examples' + + # We'll also want to install the config file to /etc, since it may + # need to be edited by the user. + mv src/jpg-config.inc.php ./ || die 'failed to relocate the config file' + rm src/jpg-config.inc.php.orig || die 'failed to remove original config file' +} + +src_install() { + dodoc README + dodoc -r html + use examples && dodoc -r examples + + insinto "/usr/share/php/${PN}" + doins -r src/* + + insinto /etc + doins jpg-config.inc.php + # Create a symlink for the config file, because the library will only + # look for it in its own source tree (not in /etc where we've put it). + dosym ../../../../etc/jpg-config.inc.php "/usr/share/php/${PN}/jpg-config.inc.php" +} diff --git a/dev-php/jpgraph/jpgraph-4.2.0.ebuild b/dev-php/jpgraph/jpgraph-4.2.0.ebuild new file mode 100644 index 000000000000..b7565d393188 --- /dev/null +++ b/dev-php/jpgraph/jpgraph-4.2.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Object-oriented graphing library for PHP" +HOMEPAGE="http://jpgraph.net/" +# Upstream didn't have a stable download URL when this was packaged. +SRC_URI="https://dev.gentoo.org/~grknight/distfiles/${P}.tar.gz" +LICENSE="QPL-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="truetype examples" + +DEPEND="" +RDEPEND="truetype? ( media-fonts/corefonts ) + dev-lang/php[gd,truetype?]" + +src_prepare() { + default + + # The DejaVu fonts are now bundled with the library and don't need + # to be found in TTF_DIR. Since most of the fonts supported by + # JpGraph are corefonts, we point the sole TTF_DIR towards them for + # maximum impact. Why not apply the patch unconditionally? We want + # to avoid a situation where TTF fonts appear to work, but then + # break without warning when the user e.g. removes corefonts. By + # applying the patch conditionally, we ensure a dependency on + # media-fonts/corefonts before anything will work. + use truetype && eapply "${FILESDIR}/gentoo_ttf_dir.patch" + + # Some of the documentation and examples are shipped in the "src" + # directory. We want them outside of that tree so that we can simply + # call doins recursively on "src". First, rename the existing "docs" + # directory which contains the HTML manual and class reference. + mv docs html || die 'failed to rename "docs" directory' + mv src/README ./ || die 'failed to relocate the README' + mv src/Examples ./examples || die 'failed to relocate the examples' + + # These are present (duplicated) in the other Examples directory, + # and don't work anyway. + rm -r src/barcode || die 'failed to remove some barcode examples' + + # We'll also want to install the config file to /etc, since it may + # need to be edited by the user. + mv src/jpg-config.inc.php ./ || die 'failed to relocate the config file' + rm src/jpg-config.inc.php.orig || die 'failed to remove original config file' +} + +src_install() { + dodoc README + dodoc -r html + use examples && dodoc -r examples + + insinto "/usr/share/php/${PN}" + doins -r src/* + + insinto /etc + doins jpg-config.inc.php + # Create a symlink for the config file, because the library will only + # look for it in its own source tree (not in /etc where we've put it). + dosym ../../../../etc/jpg-config.inc.php "/usr/share/php/${PN}/jpg-config.inc.php" +} diff --git a/dev-php/jpgraph/metadata.xml b/dev-php/jpgraph/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/jpgraph/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/json-schema/Manifest b/dev-php/json-schema/Manifest new file mode 100644 index 000000000000..4e115a8cfa5a --- /dev/null +++ b/dev-php/json-schema/Manifest @@ -0,0 +1,3 @@ +DIST json-schema-5.2.10.tar.gz 31261 BLAKE2B 2f2e3f562552105e924aa3e4408e50c6e42171cb8440ca8009166d956dcb9d4d6a3903c3b7e62bcfa228069c1e17f4faeab56e56ff935fd59fe251d27d12ab3a SHA512 b6d31b5478b93ef7dea741307648734d4d93aa4c0518b0037e81f5411810ea0570a046adb314cbee3f06da4cc9e654c419ff0be75b6ad0f5d3770c03be5707c8 +DIST json-schema-5.2.8.tar.gz 31179 BLAKE2B fc422b4ea632299308fe44104ed66365441879441446d47bad1da89182da0c1aba04877c279577fe7e8fc9f82e4677bc755558a4f4fa1893362d2b93e8743a08 SHA512 04a96413a12979ee42cc72dc7d6cd73ab26472c46cffa1ce65d7e2338867ec6cce48da5a058d4c8bb849a8fae72376272b814f3a808ed3374af9c98eb8674fe5 +DIST json-schema-5.2.9.tar.gz 31336 BLAKE2B 42d1a36810a28050bc543a4d79a3701444e86176e3c514ac198c7b6e8300edc615652c0116e44977c2bbbcaad17da96a4d32642cb304b653efe417e6a5aa67d3 SHA512 4666df39ad50a284687c216b30ac50a5ef4019260fbe0ecb052c820f9c029a904c07fae7606df3ab24b1ac18f651ca4a93ee83847e76361fd41072ce04ded222 diff --git a/dev-php/json-schema/files/autoload.php b/dev-php/json-schema/files/autoload.php new file mode 100644 index 000000000000..c8a6c8a8b715 --- /dev/null +++ b/dev-php/json-schema/files/autoload.php @@ -0,0 +1,10 @@ + ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +# Tests are not in the release tarball +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/JsonSchema" + doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/json-schema/json-schema-5.2.8.ebuild b/dev-php/json-schema/json-schema-5.2.8.ebuild new file mode 100644 index 000000000000..0c8201a0dd70 --- /dev/null +++ b/dev-php/json-schema/json-schema-5.2.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHP implementation of JSON schema" +HOMEPAGE="https://github.com/justinrainbow/json-schema" +SRC_URI="https://github.com/justinrainbow/json-schema/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +# Tests are not in the release tarball +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/JsonSchema" + doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/json-schema/json-schema-5.2.9.ebuild b/dev-php/json-schema/json-schema-5.2.9.ebuild new file mode 100644 index 000000000000..0c8201a0dd70 --- /dev/null +++ b/dev-php/json-schema/json-schema-5.2.9.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHP implementation of JSON schema" +HOMEPAGE="https://github.com/justinrainbow/json-schema" +SRC_URI="https://github.com/justinrainbow/json-schema/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +# Tests are not in the release tarball +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/JsonSchema" + doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/json-schema/metadata.xml b/dev-php/json-schema/metadata.xml new file mode 100644 index 000000000000..266250372879 --- /dev/null +++ b/dev-php/json-schema/metadata.xml @@ -0,0 +1,23 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + A PHP library for validating JSON structures against a given + schema. + + + justinrainbow/json-schema + + gentoo-staging + diff --git a/dev-php/jsonlint/Manifest b/dev-php/jsonlint/Manifest new file mode 100644 index 000000000000..b21b6e07dab0 --- /dev/null +++ b/dev-php/jsonlint/Manifest @@ -0,0 +1,2 @@ +DIST jsonlint-1.7.1.tar.gz 11813 BLAKE2B ed1a1404cf77d526a5dce15d0a3f36c5ff8c691e3d2560b6b5e309108d6f0072988b292fd1410b48bfad4ba528abd854204c38bf36f5196c7d8beb468716a5db SHA512 dd8380d02591997a129dc8f25f3b2f7c2f00c1d280bdce6551079b564b54b4828beb929bd9a7c608be6429754eb1c33d2d655a0f87b8f671ccf26ee2ae46095d +DIST jsonlint-1.7.2.tar.gz 11915 BLAKE2B 4fb1bb526c64ad2db442bca4c2c609e7d589ed84c372291a7bb71edcf63d246be821d78fe246b1660444f99fe9dd3408f01841fc9d687654d2bcc45dc9337c91 SHA512 ac5a135b1940799b07c31c2b05b0c782d0409dbf93e93013f1cb69f8423d1913b93c18988f1a03781da4c29d28de35eee6a76a2f18c81cd049696f779045cafb diff --git a/dev-php/jsonlint/files/autoload.php b/dev-php/jsonlint/files/autoload.php new file mode 100644 index 000000000000..48ac68d82ab1 --- /dev/null +++ b/dev-php/jsonlint/files/autoload.php @@ -0,0 +1,8 @@ + ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + sed -i -e "s:__DIR__:'${S}/src/Seld/JsonLint':" "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Seld/JsonLint" + doins -r src/Seld/JsonLint/. "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/jsonlint/jsonlint-1.7.2.ebuild b/dev-php/jsonlint/jsonlint-1.7.2.ebuild new file mode 100644 index 000000000000..4085b18b49f7 --- /dev/null +++ b/dev-php/jsonlint/jsonlint-1.7.2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="JSON Lint for PHP" +HOMEPAGE="https://github.com/Seldaek/jsonlint" +SRC_URI="https://github.com/Seldaek/jsonlint/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + sed -i -e "s:__DIR__:'${S}/src/Seld/JsonLint':" "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Seld/JsonLint" + doins -r src/Seld/JsonLint/. "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/jsonlint/metadata.xml b/dev-php/jsonlint/metadata.xml new file mode 100644 index 000000000000..840481b4a654 --- /dev/null +++ b/dev-php/jsonlint/metadata.xml @@ -0,0 +1,22 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Json linter, port of the JavaScript jsonlint library. + + + Seldaek/jsonlint + + gentoo-staging + diff --git a/dev-php/libchart/Manifest b/dev-php/libchart/Manifest new file mode 100644 index 000000000000..d8299b8d133b --- /dev/null +++ b/dev-php/libchart/Manifest @@ -0,0 +1 @@ +DIST libchart-1.3.tar.gz 106204 BLAKE2B 55e133ad55b54377211cf165ac77a545ba770942f383c3839ce1eacf82afaf831ec80711375a4ff4a7be55f1e4270fb886dafae2a21b1a041c5da5384e4aee93 SHA512 5d2a0b014546487029f552f225fa83de856210a997e69bb5b129e99790f5acfdcfff904077126c42f82974d10f81e7e0342991221af5f108902b2792df24d586 diff --git a/dev-php/libchart/libchart-1.3.ebuild b/dev-php/libchart/libchart-1.3.ebuild new file mode 100644 index 000000000000..b2e443283bed --- /dev/null +++ b/dev-php/libchart/libchart-1.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Easy-to-use chart creation library for PHP" +HOMEPAGE="https://naku.dohcrew.com/libchart https://github.com/naku/libchart" +SRC_URI="https://github.com/naku/${PN}/releases/download/release/${PV}/${P}.tar.gz" + +LICENSE="GPL-3 BitstreamVera" +KEYWORDS="~amd64 ~x86" +SLOT=0 +IUSE="examples" + +DEPEND="" +RDEPEND="dev-lang/php:*[gd,truetype]" + +S="${WORKDIR}/${PN}" + +src_install() { + dodoc "${PN}"/{ChangeLog,README} + + if use examples ; then + # PHP won't run a compressed example... + docompress -x "/usr/share/doc/${PF}/demo" + dodoc -r demo/ + fi + + insinto "/usr/share/php/${PN}" + doins -r "${PN}"/{classes,fonts,images} +} diff --git a/dev-php/libchart/metadata.xml b/dev-php/libchart/metadata.xml new file mode 100644 index 000000000000..3d6856a33016 --- /dev/null +++ b/dev-php/libchart/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + naku/libchart + + gentoo-staging + diff --git a/dev-php/libvirt-php/Manifest b/dev-php/libvirt-php/Manifest new file mode 100644 index 000000000000..22401cf67144 --- /dev/null +++ b/dev-php/libvirt-php/Manifest @@ -0,0 +1,2 @@ +DIST libvirt-php-0.5.4.tar.gz 780793 BLAKE2B 8bb4577c26cc0ef8f2a0ae813ade7f5fdea9a2a7d70c97cab1033fde21d9a1c27b8c2ad7a8284096e143e955202bb564767b4d7e1a4bb9e15993895adc119288 SHA512 b5b204549e6810668203d1df8404a5cb71f646ae7e01ea223c6e9b9eec9b1f6500cc5bb4559859959d821a213ff992f22a97e4b683da2c683be3732710943487 +DIST libvirt-php-0.5.5.tar.gz 761250 BLAKE2B 9899d2f0e5ea387333decce5071afc81d4160d54ef570dcbe04422dc3e93479ee57520f9bf33a0275ee86cd4b1c87e5a3f7d5118e0cd87658faed44d2ccd4807 SHA512 2ea263561a0bf5d155314e06dcf3c3b5c278640bc5edfa674cdd777cb6d0810bda0492c6cf77a02bc88fb6aa99b0ff1f0cbaeea87ff2e45bff9b5774a2507684 diff --git a/dev-php/libvirt-php/files/remove-imagick-check.patch b/dev-php/libvirt-php/files/remove-imagick-check.patch new file mode 100644 index 000000000000..92c0e39cd260 --- /dev/null +++ b/dev-php/libvirt-php/files/remove-imagick-check.patch @@ -0,0 +1,12 @@ +diff -aurN a/configure.ac b/configure.ac +--- a/configure.ac 2017-05-11 05:28:41.000000000 -0400 ++++ b/configure.ac 2017-07-01 21:46:17.636849810 -0400 +@@ -172,8 +172,6 @@ + LIBVIRT_CHECK_PHP_EXTENSIONDIR + LIBVIRT_CHECK_PHP_CONFDIR + +-LIBVIRT_CHECK_PHP_EXTENSION([imagick]) +- + OS=`uname` + if test "$OS" = "Darwin"; then + WL=-Wl, diff --git a/dev-php/libvirt-php/libvirt-php-0.5.4.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.4.ebuild new file mode 100644 index 000000000000..70b89e90a22c --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-0.5.4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" +PHP_EXT_ECONF_ARGS=() + +inherit php-ext-source-r3 autotools + +DESCRIPTION="PHP bindings for libvirt" +HOMEPAGE="http://libvirt.org/php/" +SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig + doc? ( app-text/xhtml1 )" + +RESTRICT="test" +# ChangeLog and NEWS are empty files +DOCS=( AUTHORS README ) +# Remove the insane check for pecl-imagick which is only used in examples +# and is not called upon in any build +PATCHES=( "${FILESDIR}/remove-imagick-check.patch" ) + +src_unpack() { + default + + # create the default modules directory to be able + # to use the php-ext-source-r3 eclass to configure/build + ln -s src "${S}/modules" +} + +src_prepare() { + php-ext-source-r3_src_prepare + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eautoreconf + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + doins "src/.libs/${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + einstalldocs + if use doc ; then + docinto /usr/share/doc/${PF}/html + dodoc -r docs/* + fi +} diff --git a/dev-php/libvirt-php/libvirt-php-0.5.5.ebuild b/dev-php/libvirt-php/libvirt-php-0.5.5.ebuild new file mode 100644 index 000000000000..dae081f9be6e --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-0.5.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" +PHP_EXT_ECONF_ARGS=() + +inherit php-ext-source-r3 autotools + +DESCRIPTION="PHP bindings for libvirt" +HOMEPAGE="http://libvirt.org/php/" +SRC_URI="http://libvirt.org/sources/php/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig + doc? ( app-text/xhtml1 )" + +RESTRICT="test" +# ChangeLog and NEWS are empty files +DOCS=( AUTHORS README ) +# Remove the insane check for pecl-imagick which is only used in examples +# and is not called upon in any build +PATCHES=( "${FILESDIR}/remove-imagick-check.patch" ) + +src_unpack() { + default + + # create the default modules directory to be able + # to use the php-ext-source-r3 eclass to configure/build + ln -s src "${S}/modules" +} + +src_prepare() { + php-ext-source-r3_src_prepare + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eautoreconf + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + doins "src/.libs/${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + einstalldocs + if use doc ; then + docinto /usr/share/doc/${PF}/html + dodoc -r docs/* + fi +} diff --git a/dev-php/libvirt-php/libvirt-php-9999.ebuild b/dev-php/libvirt-php/libvirt-php-9999.ebuild new file mode 100644 index 000000000000..2963ecd32d73 --- /dev/null +++ b/dev-php/libvirt-php/libvirt-php-9999.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="libvirt-php" +PHP_EXT_SKIP_PHPIZE="yes" +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" +PHP_EXT_ECONF_ARGS=() + +inherit php-ext-source-r3 git-r3 autotools + +DESCRIPTION="PHP bindings for libvirt" +HOMEPAGE="http://libvirt.org/php/" +EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt-php.git" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="" +IUSE="doc" + +RDEPEND="app-emulation/libvirt + dev-libs/libxml2" +DEPEND="${RDEPEND} + dev-libs/libxslt + virtual/pkgconfig + doc? ( app-text/xhtml1 )" + +RESTRICT="test" +DOCS=( ChangeLog NEWS README ) +# Remove the insane check for pecl-imagick which is only used in examples +# and is not called upon in any build +PATCHES=( "${FILESDIR}/remove-imagick-check.patch" ) + +src_unpack() { + git-r3_src_unpack + + # create the default modules directory to be able + # to use the php-ext-source-r3 eclass to configure/build + ln -s src "${S}/modules" +} + +src_prepare() { + php-ext-source-r3_src_prepare + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + eautoreconf + done +} + +src_install() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + insinto "${EXT_DIR}" + doins "src/.libs/${PHP_EXT_NAME}.so" + done + php-ext-source-r3_createinifiles + einstalldocs + if use doc ; then + docinto /usr/share/doc/${PF}/html + dodoc -r docs/* + fi +} diff --git a/dev-php/libvirt-php/metadata.xml b/dev-php/libvirt-php/metadata.xml new file mode 100644 index 000000000000..6703a7bcb0fa --- /dev/null +++ b/dev-php/libvirt-php/metadata.xml @@ -0,0 +1,13 @@ + + + + + virtualization@gentoo.org + Gentoo Virtualization Project + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/maxmind-db-reader/Manifest b/dev-php/maxmind-db-reader/Manifest new file mode 100644 index 000000000000..48e10f9afd75 --- /dev/null +++ b/dev-php/maxmind-db-reader/Manifest @@ -0,0 +1,2 @@ +DIST MaxMind-DB-Reader-php-1.4.1.tar.gz 19667 BLAKE2B b397eb1bb7fa00c3382c7ee7c019c401d390c88d9bccd7742873445e95cb87d780ac17affe5cd1ec98e6f60d16660784dc5fdb188f8e4d2956df816397a9c251 SHA512 2407f3d1af10830078c9f5ba93ee74761084b06e630242eff0f707b98bdb78e6e87dabc999c36b29780ba9c8c38aec0225700005b66d95b3707bdc06875c6dd5 +DIST MaxMind-DB-Reader-php-1.6.0.tar.gz 20898 BLAKE2B cf6922bbd5b2c76fcb9b7a97299f0a73232686bf8facce39355f8a4cc55e98a4d8e64a51eae8427b5f14d6905d4cd85956effa5299cc493bd63708cf52ab30d0 SHA512 e8c0ccf2cfcedf7527b4e3f858d2ed0e70add60692fff4a65f08e5cb885516b7c2a3ceaa3c21713369cd8ffca2b671d764063236de1d729cfc5173f7d5dd4607 diff --git a/dev-php/maxmind-db-reader/maxmind-db-reader-1.4.1.ebuild b/dev-php/maxmind-db-reader/maxmind-db-reader-1.4.1.ebuild new file mode 100644 index 000000000000..ebefd8c16abb --- /dev/null +++ b/dev-php/maxmind-db-reader/maxmind-db-reader-1.4.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="MaxMind-DB-Reader-php" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" +PHP_EXT_S="${S}/ext" +PHP_EXT_NAME="maxminddb" +PHP_EXT_OPTIONAL_USE="extension" + +USE_PHP="php5-6 php7-1 php7-2 php7-3" + +inherit php-ext-source-r3 + +DESCRIPTION="PHP reader for the MaxMind database format" +HOMEPAGE="https://github.com/maxmind/MaxMind-DB-Reader-php" +SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="extension test" +RESTRICT="!test? ( test )" + +DEPEND="extension? ( dev-libs/libmaxminddb )" +RDEPEND="${DEPEND}" + +src_prepare() { + # We need to call eapply_user ourselves, because it may be skipped + # if either the "extension" USE flag is not set, or if the user's + # PHP_TARGETS is essentially empty. In the latter case, the eclass + # src_prepare does nothing. We only call the eclass phase conditionally + # because the correct version of e.g. "phpize" may not be there + # unless USE=extension is set. + if use extension ; then + php-ext-source-r3_src_prepare + else + default + fi +} + +src_configure() { + # The eclass phase will try to run the ./configure script even if it + # doesn't exist (in contrast to the default src_configure), so we + # need to skip it if the eclass src_prepare (that creates said + # script) is not run. + use extension && php-ext-source-r3_src_configure +} + +src_compile() { + # Avoids the same problem as in src_configure. + use extension && php-ext-source-r3_src_compile +} + +src_install() { + dodoc CHANGELOG.md README.md + insinto /usr/share/php + doins -r src/MaxMind + insinto /usr/share/php/MaxMind/Db + doins autoload.php + + use extension && php-ext-source-r3_src_install +} + +src_test() { + # The PHP API has its own set of tests that isn't shipped with the + # release tarballs at the moment (github issues 55). + use extension && php-ext-source-r3_src_test +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/MaxMind/Db/." + elog "To use it in a script, require('MaxMind/Db/autoload.php')," + elog "and then most of the examples in the documentation should" + elog "work without further modification." +} diff --git a/dev-php/maxmind-db-reader/maxmind-db-reader-1.6.0.ebuild b/dev-php/maxmind-db-reader/maxmind-db-reader-1.6.0.ebuild new file mode 100644 index 000000000000..aaa418f47bf0 --- /dev/null +++ b/dev-php/maxmind-db-reader/maxmind-db-reader-1.6.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="MaxMind-DB-Reader-php" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" +PHP_EXT_S="${S}/ext" +PHP_EXT_NAME="maxminddb" +PHP_EXT_OPTIONAL_USE="extension" + +USE_PHP="php7-2 php7-3 php7-4" + +inherit php-ext-source-r3 + +DESCRIPTION="PHP reader for the MaxMind database format" +HOMEPAGE="https://github.com/maxmind/MaxMind-DB-Reader-php" +SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="extension test" +RESTRICT="!test? ( test )" + +DEPEND="extension? ( dev-libs/libmaxminddb )" +RDEPEND="${DEPEND}" + +src_prepare() { + # We need to call eapply_user ourselves, because it may be skipped + # if either the "extension" USE flag is not set, or if the user's + # PHP_TARGETS is essentially empty. In the latter case, the eclass + # src_prepare does nothing. We only call the eclass phase conditionally + # because the correct version of e.g. "phpize" may not be there + # unless USE=extension is set. + if use extension ; then + php-ext-source-r3_src_prepare + else + default + fi +} + +src_configure() { + # The eclass phase will try to run the ./configure script even if it + # doesn't exist (in contrast to the default src_configure), so we + # need to skip it if the eclass src_prepare (that creates said + # script) is not run. + use extension && php-ext-source-r3_src_configure +} + +src_compile() { + # Avoids the same problem as in src_configure. + use extension && php-ext-source-r3_src_compile +} + +src_install() { + dodoc CHANGELOG.md README.md + insinto /usr/share/php + doins -r src/MaxMind + insinto /usr/share/php/MaxMind/Db + doins autoload.php + + use extension && php-ext-source-r3_src_install +} + +src_test() { + # The PHP API has its own set of tests that isn't shipped with the + # release tarballs at the moment (github issues 55). + use extension && php-ext-source-r3_src_test +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/MaxMind/Db/." + elog "To use it in a script, require('MaxMind/Db/autoload.php')," + elog "and then most of the examples in the documentation should" + elog "work without further modification." +} diff --git a/dev-php/maxmind-db-reader/metadata.xml b/dev-php/maxmind-db-reader/metadata.xml new file mode 100644 index 000000000000..f97b9fdc57ca --- /dev/null +++ b/dev-php/maxmind-db-reader/metadata.xml @@ -0,0 +1,21 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + + + Build the C extension that uses dev-libs/libmaxminddb + + + + maxmind/MaxMind-DB-Reader-php + + gentoo-staging + diff --git a/dev-php/metadata.xml b/dev-php/metadata.xml new file mode 100644 index 000000000000..9d56fe4cb951 --- /dev/null +++ b/dev-php/metadata.xml @@ -0,0 +1,40 @@ + + + + + The dev-php category contains libraries and utilities relevant to the + PHP programming language. + + + Die Kategorie dev-php enthält Bibliotheken und Werkzeuge für die + Programmiersprache PHP. + + + La categoría dev-php contiene librerías y utilidades referentes al + lenguaje de programación PHP. + + + dev-php カテゴリーにはPHPプログラミング言語に関連したライブラリーと + ユーティリティが含まれます。 + + + De dev-php categorie bevat bibliotheken en hulpmiddelen voor het gebruik + van de programmeertaal PHP. + + + Nhóm dev-php chứa các thư viện và tiện ích liên quan + đến ngôn ngữ lập trình PHP. + + + La categoria dev-php contiene librerie ed utilità per il linguaggio di programmazione PHP. + + + A categoria dev-php contém bibliotecas e utilitários referentes + à linguagem de programação PHP. + + + Kategoria dev-php zawiera biblioteki i narzędzia związane z językiem + programowania PHP. + + + diff --git a/dev-php/mmslib/Manifest b/dev-php/mmslib/Manifest new file mode 100644 index 000000000000..9e9b66f30b78 --- /dev/null +++ b/dev-php/mmslib/Manifest @@ -0,0 +1 @@ +DIST mmslib-0.97.tar.gz 62106 BLAKE2B 624b905748982b017fb74bebbb2c7d3a0cb004298696d4bd5159a6ac44f7460279ab09e4594ed544e3aaacdc7d98bfbdb94fab130040227137ebf8d3b2bf098e SHA512 ca406af28a25e7af042e4575d88159fbc55b1c90687c355d4175a3b6567bf8fac249b93660aa920c48aa4e05dfaa95a529f8aefedd07db9ce6edd69492918392 diff --git a/dev-php/mmslib/metadata.xml b/dev-php/mmslib/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/mmslib/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/mmslib/mmslib-0.97.ebuild b/dev-php/mmslib/mmslib-0.97.ebuild new file mode 100644 index 000000000000..a622ac5b7a3b --- /dev/null +++ b/dev-php/mmslib/mmslib-0.97.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="library for encoding, decoding, and sending MMSes" +HOMEPAGE="http://www.hellkvist.org/software/#MMSLIB" +SRC_URI="http://www.hellkvist.org/software/mmslib/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +DEPEND="" +RDEPEND="dev-lang/php:*" + +src_install() { + insinto "/usr/share/php/${PN}" + doins mmslib.php + + dodoc README + use examples && dodoc -r samples content +} diff --git a/dev-php/mockery/Manifest b/dev-php/mockery/Manifest new file mode 100644 index 000000000000..76238ea2211c --- /dev/null +++ b/dev-php/mockery/Manifest @@ -0,0 +1 @@ +DIST Mockery-0.9.0.tgz 30330 BLAKE2B 6b5493ee84da2f1bd43aafa4df1555577771782740061480f047af6fd262d716ec03c025716215e37638826f14721414ad31ac527354e2a4b0b5cb691f120cf3 SHA512 744f7727395feb1009ae879dd9f336a314c70d96e848efe19c399d3abee42950606352a0781a1664178f77485933491928a1bddbcdb86a5092d69434868eee1c diff --git a/dev-php/mockery/files/channel.xml b/dev-php/mockery/files/channel.xml new file mode 100644 index 000000000000..b9fe38d87b18 --- /dev/null +++ b/dev-php/mockery/files/channel.xml @@ -0,0 +1,16 @@ + + + pear.survivethedeepend.com + Survive The Deep End PEAR Channel + deepend + + + + http://pear.survivethedeepend.com/rest/ + http://pear.survivethedeepend.com/rest/ + http://pear.survivethedeepend.com/rest/ + http://pear.survivethedeepend.com/rest/ + + + + \ No newline at end of file diff --git a/dev-php/mockery/metadata.xml b/dev-php/mockery/metadata.xml new file mode 100644 index 000000000000..d5282f4b0d71 --- /dev/null +++ b/dev-php/mockery/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + padraic/mockery + + gentoo-staging + diff --git a/dev-php/mockery/mockery-0.9.0-r1.ebuild b/dev-php/mockery/mockery-0.9.0-r1.ebuild new file mode 100644 index 000000000000..72490762ba9e --- /dev/null +++ b/dev-php/mockery/mockery-0.9.0-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_PKG_NAME="Mockery" +PHP_PEAR_DOMAIN="pear.survivethedeepend.com" +inherit php-pear-r2 + +DESCRIPTION="Simple yet flexible PHP mock object framework for use in unit testing" +HOMEPAGE="https://github.com/padraic/mockery" +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="" diff --git a/dev-php/myclabs-deepcopy/Manifest b/dev-php/myclabs-deepcopy/Manifest new file mode 100644 index 000000000000..9a289591f768 --- /dev/null +++ b/dev-php/myclabs-deepcopy/Manifest @@ -0,0 +1,3 @@ +DIST myclabs-deepcopy-1.6.0.tar.gz 43612 BLAKE2B 18e3f532043cfbf700230a82772938082611922b9a04c7a99d63f79210e6c6f144521a29356977f4c44843cae6628e0a13fa0a46e0d34cb2e251f138ed60ab44 SHA512 a1d0ce8386172b963bca1e34e0e6d69268177f6aaf5309498780e4f9e43b9126916937e0b422644199b96f46212d0267af9b56993b9ffe295adb5f872c24584c +DIST myclabs-deepcopy-1.6.1.tar.gz 43589 BLAKE2B e62ed5384bf9d4ad0286189772de8eeb9fed9962cf1d109b9e282c37ceadc885c6850fbed1695de35935b85fcc789a796485f44e97269a556d3498be8b691af4 SHA512 6cf13127401304ff92277c7c433353ecc20764fd5b8db0f8ae8d6767d8d9bc9c2f6b6ed3d68eeca5960357517038062c6f6b82831f433596d0a05cd0cea916d4 +DIST myclabs-deepcopy-1.9.4.tar.gz 44812 BLAKE2B bdc273f55b082ccd728ce786bb573dec5e96427f1692e3f502e2ee7eddd804e9a1589efe1323e3961d2c4e2b210f597c1ba80bbd8fcedeca77a7440df8925fb1 SHA512 879ecc6409ecb21a90e87b8368f64fce57e692f0e2916fc341d55744c2663163d6bac70562c0d8a1a1a51a409121f5e5905979dbb9fd2842cda7f21cda33e50a diff --git a/dev-php/myclabs-deepcopy/files/autoload.php b/dev-php/myclabs-deepcopy/files/autoload.php new file mode 100644 index 000000000000..0d5d92673b36 --- /dev/null +++ b/dev-php/myclabs-deepcopy/files/autoload.php @@ -0,0 +1,8 @@ + + + + + php-bugs@gentoo.org + PHP + + + myclabs/DeepCopy + + gentoo-staging + diff --git a/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild new file mode 100644 index 000000000000..f82af5c8af5c --- /dev/null +++ b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="DeepCopy" + +DESCRIPTION="Create deep copies (clones) of your objects" +HOMEPAGE="https://github.com/myclabs/DeepCopy" +SRC_URI="https://github.com/myclabs/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/myclabs + doins -r src/* + insinto /usr/share/php/myclabs/DeepCopy + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.1.ebuild b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.1.ebuild new file mode 100644 index 000000000000..f8f0d622d18f --- /dev/null +++ b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="DeepCopy" + +DESCRIPTION="Create deep copies (clones) of your objects" +HOMEPAGE="https://github.com/myclabs/DeepCopy" +SRC_URI="https://github.com/myclabs/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/myclabs + doins -r src/* + insinto /usr/share/php/myclabs/DeepCopy + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.9.4.ebuild b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.9.4.ebuild new file mode 100644 index 000000000000..85a4c29148a5 --- /dev/null +++ b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.9.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="DeepCopy" + +DESCRIPTION="Create deep copies (clones) of your objects" +HOMEPAGE="https://github.com/myclabs/DeepCopy" +SRC_URI="https://github.com/myclabs/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/myclabs + doins -r src/* + insinto /usr/share/php/myclabs/DeepCopy + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/onphp/Manifest b/dev-php/onphp/Manifest new file mode 100644 index 000000000000..186e3fa6ff3a --- /dev/null +++ b/dev-php/onphp/Manifest @@ -0,0 +1,2 @@ +DIST onphp-1.0.11_pre20141124.tar.gz 457828 BLAKE2B 6273483660e25d6b1e2420cab62d151ada9bb97bc7edbcd45075cd60224bf71150c834b7f7bc2677727790f6b876e67858329e7d2912b06d29ddf1900e2c0913 SHA512 d943a787d352f25f9f2fd0eadbae64a71d1fe7f6e56e98f82c803c2da53332ba659a0cc907849ec824a7d9639cde794bd84d5df82a9b724bf1c78da92a396b56 +DIST onphp-api-1.0.10.tar.bz2 35427359 BLAKE2B ed4c339d789698551f93dcf20ae8aee906f39f6d356b34b9760e17398f4163b530100c2169923fd9b1bbd1d35cdaa5a9209239fa8cb893f4a327deb4dda8562a SHA512 4acdb9c804fd2bb7cfbefd22efcb0956972b2b94679627352169948a0fb23f97deca2f7aa77690cf3a5b6614299c0d9515802d9321cfa680e9a4a06d0533d4e5 diff --git a/dev-php/onphp/metadata.xml b/dev-php/onphp/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/onphp/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/onphp/onphp-1.0.11_pre20141124.ebuild b/dev-php/onphp/onphp-1.0.11_pre20141124.ebuild new file mode 100644 index 000000000000..7c375a214679 --- /dev/null +++ b/dev-php/onphp/onphp-1.0.11_pre20141124.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit vcs-snapshot + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="onPHP is the LGPL'ed multi-purpose object-oriented PHP framework" +HOMEPAGE="https://github.com/onPHP/onphp-framework/" +SRC_URI="https://github.com/onPHP/onphp-framework/archive/706ddd5a2a33bd65a13c4e3ec8c46c5ce700133c.tar.gz -> ${P}.tar.gz + doc? ( http://onphp.org/download/${PN}-api-1.0.10.tar.bz2 ) +" +LICENSE="LGPL-2" +SLOT="0" +IUSE="doc" + +DEPEND="" +RDEPEND="dev-lang/php:*" + +src_install() { + rm doc/LICENSE || die + dodoc $(find doc -maxdepth 1 -type f -print) + if use doc ; then + local HTML_DOCS=( "${WORKDIR}/${PN}-api-1.0.10/" ) + einstalldocs + fi + insinto "/usr/share/php/${PN}" + doins global.inc.php.tpl + doins -r core main meta +} diff --git a/dev-php/pear/metadata.xml b/dev-php/pear/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pear/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pear/pear-1.10.1-r1.ebuild b/dev-php/pear/pear-1.10.1-r1.ebuild new file mode 100644 index 000000000000..88fc33f6e0b4 --- /dev/null +++ b/dev-php/pear/pear-1.10.1-r1.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" + +DESCRIPTION="PEAR - PHP Extension and Application Repository" +HOMEPAGE="https://pear.php.net/" +SRC_URI="" +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND=">=dev-php/PEAR-PEAR-${PVR}" diff --git a/dev-php/pear/pear-1.10.3.ebuild b/dev-php/pear/pear-1.10.3.ebuild new file mode 100644 index 000000000000..321c226df4b6 --- /dev/null +++ b/dev-php/pear/pear-1.10.3.ebuild @@ -0,0 +1,16 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +DESCRIPTION="PEAR - PHP Extension and Application Repository" +HOMEPAGE="https://pear.php.net/" +SRC_URI="" +LICENSE="MIT" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND=">=dev-php/PEAR-PEAR-${PVR}" diff --git a/dev-php/pecl-amqp/Manifest b/dev-php/pecl-amqp/Manifest new file mode 100644 index 000000000000..ce12f0a1b5b1 --- /dev/null +++ b/dev-php/pecl-amqp/Manifest @@ -0,0 +1 @@ +DIST amqp-1.10.2.tgz 107350 BLAKE2B dd32873d5288ced2ef2c05e6b131f35c31a3514a98d5d3cb8784a989ca1d8637c5ddc7ffa2d73f5bfc2daa4fe718ecf1f08c7ceae64d2e613ef430d18161393b SHA512 a17176bcc02d35a9686d3ca120cca98d808b2a896733f41a28b5d29d43127a0a45b012bc6566de3604f41b8bcc453408a37a8254bcf47e940ebe12bb6f4d4265 diff --git a/dev-php/pecl-amqp/metadata.xml b/dev-php/pecl-amqp/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-amqp/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-amqp/pecl-amqp-1.10.2.ebuild b/dev-php/pecl-amqp/pecl-amqp-1.10.2.ebuild new file mode 100644 index 000000000000..8726588b40f0 --- /dev/null +++ b/dev-php/pecl-amqp/pecl-amqp-1.10.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="PHP Bindings for AMQP 0-9-1 compatible brokers" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="" + +# Tests require running rabbitmq-server on localhost which requires epmd +# which only accepts /var/run/epmd.pid as pidfile. +RESTRICT="test" + +BDEPEND="virtual/pkgconfig" +RDEPEND=">=net-libs/rabbitmq-c-0.5.2:=[ssl]" +DEPEND="${RDEPEND}" +PHP_EXT_ECONF_ARGS=() diff --git a/dev-php/pecl-apcu/Manifest b/dev-php/pecl-apcu/Manifest new file mode 100644 index 000000000000..9fd8e3794437 --- /dev/null +++ b/dev-php/pecl-apcu/Manifest @@ -0,0 +1 @@ +DIST apcu-5.1.18.tgz 94668 BLAKE2B c88af867a5f0f3feb550b4b93b83451d972d8f9c2281af8b000b45cb42e2d005f82fe626da8665e0490c79bc378cf9ee5c9a0136d0b490a1155a885bb56fe4f2 SHA512 5e9c5b4540be7abdf2f473d2f8955d8708934a1d6e05cb2c99154cc7ba8a2bbf9afde51769e20f46ef278efd6f60b9172e0864c31e0976b9d3096a337035e7a9 diff --git a/dev-php/pecl-apcu/metadata.xml b/dev-php/pecl-apcu/metadata.xml new file mode 100644 index 000000000000..20702dc6c747 --- /dev/null +++ b/dev-php/pecl-apcu/metadata.xml @@ -0,0 +1,15 @@ + + + + + php-bugs@gentoo.org + PHP + + + Enable semaphore locks instead of fcntl + Enable pthread mutex locking + Enable pthread read/write locking + Enable spin locks (EXPERIMENTAL) + + gentoo-staging + diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.18.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.18.ebuild new file mode 100644 index 000000000000..187fdd7b9eff --- /dev/null +++ b/dev-php/pecl-apcu/pecl-apcu-5.1.18.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="apcu" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( NOTICE README.md TECHNOTES.txt ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="amd64 arm64 x86" + +DESCRIPTION="Stripped down version of APC supporting only user cache" +LICENSE="PHP-3.01" +SLOT="7" + +LOCKS="pthreadmutex pthreadrw spinlock semaphore" + +LUSE="" +for l in ${LOCKS}; do + LUSE+="lock-${l} " +done + +IUSE="+mmap ${LUSE/lock-pthreadrw/+lock-pthreadrw}" + +REQUIRED_USE="^^ ( $LUSE )" + +src_prepare() { + php-ext-source-r3_src_prepare + # Remove broken tests from php 7.4 due to trivial output differences + if use php_targets_php7-4 ; then + php_init_slot_env "php7.4" + rm "${PHP_EXT_S}"/tests/apc_entry_00{2,3}.phpt || die + fi +} + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-apcu + $(use_enable mmap apcu-mmap) + $(use_enable lock-spinlock apcu-spinlocks) + ) + # Broken upstream autoconf test disables if present at all + use lock-pthreadrw || PHP_EXT_ECONF_ARGS+=( --disable-apcu-rwlocks ) + + php-ext-source-r3_src_configure +} + +src_install() { + php-ext-pecl-r3_src_install + + insinto /usr/share/php7/apcu + doins apc.php +} + +pkg_postinst() { + elog "The apc.php file shipped with this release of pecl-apcu was" + elog "installed to ${EPREFIX}/usr/share/php7/apcu/." + elog + elog "If you depend on the apc_* functions," + elog "please install dev-php/pecl-apcu_bc as this extension no longer" + elog "provides backwards compatibility." +} diff --git a/dev-php/pecl-apcu_bc/Manifest b/dev-php/pecl-apcu_bc/Manifest new file mode 100644 index 000000000000..99201b68c412 --- /dev/null +++ b/dev-php/pecl-apcu_bc/Manifest @@ -0,0 +1,2 @@ +DIST apcu_bc-1.0.4.tgz 7406 BLAKE2B c7099f13bfe589c9752fb7fa8454f16094a13d63924ceef614db1fef11d37265673e745383241836685dcabca8ae83af3c71ba2f2d8a77b4ab213db209924f12 SHA512 633ae74c4be3ee0c2c98540f696dc440f3f345c52811e856cb46c65c6b6fa8fa9f06ecb1d784cd990cf8b5219b65e14a29b97e57828dc6e7aa6b91d2475e6a0e +DIST apcu_bc-1.0.5.tgz 7415 BLAKE2B d86c5a4949239d9196b4bfc22c19f97ff66b47ec87962540295a0d9f08c72c0f1213439dd6c4006355a73c7fa3dbdcc51e9f897b289f134116d33d9eb2c67cb7 SHA512 60ee1540c31873d7963fd8efa6293006eae19cb6c7815cea1f3b50b197a982840472a1e632cc7af5666f6af5522008bec30e48cd764920240a6c5a0d0eb0e6e0 diff --git a/dev-php/pecl-apcu_bc/metadata.xml b/dev-php/pecl-apcu_bc/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-apcu_bc/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.4-r1.ebuild b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.4-r1.ebuild new file mode 100644 index 000000000000..4841dd913dec --- /dev/null +++ b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_INI_NAME="bc_apc" +PHP_EXT_NAME="apc" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_EXTRA_ECONF="" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3" + +inherit php-ext-pecl-r3 multilib + +KEYWORDS="amd64 x86" + +DESCRIPTION="Provides APC backwards compatibility functions via APCu" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="" + +DEPEND="dev-php/pecl-apcu:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?]" +RDEPEND="${DEPEND}" + +src_test() { + # This fixed version is necessary to have apcu load + # from the install before the tested apc. + # It is intentional to specify phpoptions twice. + # This mimics the Makefile. + local slot phpoptions + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + ln -s "${EXT_DIR}/apcu$(get_libname)" \ + "modules/" || die + phpoptions=( -n -d extension_dir="${PHP_EXT_S}/modules" + -d extension=apcu$(get_libname) + -d extension=apc$(get_libname) ) + NO_INTERACTION="yes" TEST_PHP_EXECUTABLE="${PHPCLI}" \ + "${PHPCLI}" "${phpoptions[@]}" \ + run-tests.php "${phpoptions[@]}" || die + done +} diff --git a/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild new file mode 100644 index 000000000000..79ea5781e4d9 --- /dev/null +++ b/dev-php/pecl-apcu_bc/pecl-apcu_bc-1.0.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_INI_NAME="bc_apc" +PHP_EXT_NAME="apc" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_EXTRA_ECONF="" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 multilib + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Provides APC backwards compatibility functions via APCu" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="" + +DEPEND=">=dev-php/pecl-apcu-5.1.18:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]" +RDEPEND="${DEPEND}" + +src_test() { + # This fixed version is necessary to have apcu load + # from the install before the tested apc. + # It is intentional to specify phpoptions twice. + # This mimics the Makefile. + local slot phpoptions + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + ln -s "${EXT_DIR}/apcu$(get_libname)" \ + "modules/" || die + phpoptions=( -n -d extension_dir="${PHP_EXT_S}/modules" + -d extension=apcu$(get_libname) + -d extension=apc$(get_libname) ) + NO_INTERACTION="yes" TEST_PHP_EXECUTABLE="${PHPCLI}" \ + "${PHPCLI}" "${phpoptions[@]}" \ + run-tests.php "${phpoptions[@]}" || die + done +} diff --git a/dev-php/pecl-crack/Manifest b/dev-php/pecl-crack/Manifest new file mode 100644 index 000000000000..f8ff5a2a592d --- /dev/null +++ b/dev-php/pecl-crack/Manifest @@ -0,0 +1 @@ +DIST crack-0.4.tgz 25524 BLAKE2B 99e2289413a672d4dc3d8f9d70866efb499902a0d27379ac7b59d2873013c918d535851d8c3dbf2592596d6483f2abafe2f7bbd31fff40ce9827c7a97e16b8bc SHA512 0dec64d1ce859bb3d7e2b834e4bcc4ef8c6f3e88e5b61884e40dddc366a992a7c85bfad4227224d4401aad7f26843678709f29acd2dcc75563658040b8067d7f diff --git a/dev-php/pecl-crack/files/0.4-php7.patch b/dev-php/pecl-crack/files/0.4-php7.patch new file mode 100644 index 000000000000..5a00c9121810 --- /dev/null +++ b/dev-php/pecl-crack/files/0.4-php7.patch @@ -0,0 +1,356 @@ +--- a/crack.c 2016-12-19 16:04:09.244782234 -0500 ++++ b/crack.c 2016-12-20 09:20:11.903140742 -0500 +@@ -36,13 +36,31 @@ + /* True global resources - no need for thread safety here */ + static int le_crack; + ++ZEND_BEGIN_ARG_INFO_EX(crack_opendict_args, 0, ZEND_RETURN_VALUE, 1) ++ ZEND_ARG_INFO(0, dictionary) ++ZEND_END_ARG_INFO() ++ ++ZEND_BEGIN_ARG_INFO_EX(crack_closedict_args, 0, ZEND_RETURN_VALUE, 0) ++ ZEND_ARG_INFO(0, dictionary) ++ZEND_END_ARG_INFO() ++ ++ZEND_BEGIN_ARG_INFO_EX(crack_check_args, 0, ZEND_RETURN_VALUE, 1) ++ ZEND_ARG_INFO(0, password) ++ ZEND_ARG_INFO(0, username) ++ ZEND_ARG_INFO(0, gecos) ++ ZEND_ARG_INFO(0, dictionary) ++ZEND_END_ARG_INFO() ++ ++ZEND_BEGIN_ARG_INFO_EX(crack_getlastmessage_args, 0, ZEND_RETURN_VALUE, 0) ++ZEND_END_ARG_INFO() ++ + /* {{{ crack_functions[] + */ + zend_function_entry crack_functions[] = { +- PHP_FE(crack_opendict, NULL) +- PHP_FE(crack_closedict, NULL) +- PHP_FE(crack_check, NULL) +- PHP_FE(crack_getlastmessage, NULL) ++ ZEND_FE(crack_opendict, crack_opendict_args) ++ ZEND_FE(crack_closedict, crack_closedict_args) ++ ZEND_FE(crack_check, crack_check_args) ++ ZEND_FE(crack_getlastmessage, crack_getlastmessage_args) + {NULL, NULL, NULL} + }; + /* }}} */ +@@ -55,7 +73,7 @@ + #endif + "crack", + crack_functions, +- PHP_MINIT(crack), ++ PHP_MINIT(crack), + PHP_MSHUTDOWN(crack), + PHP_RINIT(crack), + PHP_RSHUTDOWN(crack), +@@ -84,7 +102,11 @@ + static void php_crack_init_globals(zend_crack_globals *crack_globals) + { + crack_globals->last_message = NULL; ++#if PHP_VERSION_ID >= 70000 ++ crack_globals->default_dict = NULL; ++#else + crack_globals->default_dict = -1; ++#endif + } + /* }}} */ + +@@ -95,7 +117,7 @@ + char *filename; + int filename_len; + int result = SUCCESS; +- ++ + #if PHP_VERSION_ID < 50400 + if (PG(safe_mode)) { + filename_len = strlen(path) + 10; +@@ -103,7 +125,7 @@ + if (NULL == filename) { + return FAILURE; + } +- ++ + memset(filename, '\0', filename_len); + strcpy(filename, path); + strcat(filename, ".pwd"); +@@ -111,7 +133,7 @@ + efree(filename); + return FAILURE; + } +- ++ + memset(filename, '\0', filename_len); + strcpy(filename, path); + strcat(filename, ".pwi"); +@@ -119,7 +141,7 @@ + efree(filename); + return FAILURE; + } +- ++ + memset(filename, '\0', filename_len); + strcpy(filename, path); + strcat(filename, ".hwm"); +@@ -129,39 +151,64 @@ + } + } + #endif +- ++ + if (php_check_open_basedir(path TSRMLS_CC)) { + return FAILURE; + } +- ++ + return SUCCESS; + } + /* }}} */ + + /* {{{ php_crack_set_default_dict + */ ++#if PHP_VERSION_ID >= 70000 ++static void php_crack_set_default_dict(zend_resource *id) ++{ ++ if (CRACKG(default_dict) != NULL) { ++ zend_list_close(CRACKG(default_dict)); ++ } ++ ++ CRACKG(default_dict) = id; ++ id->gc.refcount++; ++} ++#else + static void php_crack_set_default_dict(int id TSRMLS_DC) + { + if (CRACKG(default_dict) != -1) { + zend_list_delete(CRACKG(default_dict)); + } +- ++ + CRACKG(default_dict) = id; + zend_list_addref(id); + } ++#endif + /* }}} */ + + /* {{{ php_crack_get_default_dict + */ ++#if PHP_VERSION_ID >= 70000 ++static zend_resource * php_crack_get_default_dict(INTERNAL_FUNCTION_PARAMETERS) ++#else + static int php_crack_get_default_dict(INTERNAL_FUNCTION_PARAMETERS) ++#endif + { ++#if PHP_VERSION_ID >= 70000 ++ if ((NULL == CRACKG(default_dict)) && (NULL != CRACKG(default_dictionary))) { ++#else + if ((-1 == CRACKG(default_dict)) && (NULL != CRACKG(default_dictionary))) { ++#endif + CRACKLIB_PWDICT *pwdict; + printf("trying to open: %s\n", CRACKG(default_dictionary)); + pwdict = cracklib_pw_open(CRACKG(default_dictionary), "r"); + if (NULL != pwdict) { ++#if PHP_VERSION_ID >= 70000 ++ ZVAL_RES(return_value, zend_register_resource(pwdict, le_crack)); ++ php_crack_set_default_dict(Z_RES_P(return_value)); ++#else + ZEND_REGISTER_RESOURCE(return_value, pwdict, le_crack); + php_crack_set_default_dict(Z_LVAL_P(return_value) TSRMLS_CC); ++#endif + } + } + +@@ -171,7 +218,11 @@ + + /* {{{ php_crack_module_dtor + */ ++#if PHP_VERSION_ID >= 70000 ++static void php_crack_module_dtor(zend_resource *rsrc) ++#else + static void php_crack_module_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC) ++#endif + { + CRACKLIB_PWDICT *pwdict = (CRACKLIB_PWDICT *) rsrc->ptr; + +@@ -191,7 +242,9 @@ + + REGISTER_INI_ENTRIES(); + le_crack = zend_register_list_destructors_ex(php_crack_module_dtor, NULL, "crack dictionary", module_number); ++#if PHP_VERSION_ID < 70000 + Z_TYPE(crack_module_entry) = type; ++#endif + + return SUCCESS; + } +@@ -210,7 +263,11 @@ + PHP_RINIT_FUNCTION(crack) + { + CRACKG(last_message) = NULL; ++#if PHP_VERSION_ID >= 70000 ++ CRACKG(default_dict) = NULL; ++#else + CRACKG(default_dict) = -1; ++#endif + + return SUCCESS; + } +@@ -245,7 +302,7 @@ + PHP_FUNCTION(crack_opendict) + { + char *path; +- int path_len; ++ size_t path_len; + CRACKLIB_PWDICT *pwdict; + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &path, &path_len) == FAILURE) { +@@ -265,9 +322,14 @@ + #endif + RETURN_FALSE; + } +- ++ ++#if PHP_VERSION_ID >= 70000 ++ RETURN_RES(zend_register_resource(pwdict, le_crack)); ++ php_crack_set_default_dict(Z_RES_P(return_value)); ++#else + ZEND_REGISTER_RESOURCE(return_value, pwdict, le_crack); + php_crack_set_default_dict(Z_LVAL_P(return_value) TSRMLS_CC); ++#endif + } + /* }}} */ + +@@ -276,7 +338,11 @@ + PHP_FUNCTION(crack_closedict) + { + zval *dictionary = NULL; ++#if PHP_VERSION_ID >= 70000 ++ zend_resource *id; ++#else + int id = -1; ++#endif + CRACKLIB_PWDICT *pwdict; + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|r", &dictionary)) { +@@ -285,7 +351,11 @@ + + if (NULL == dictionary) { + id = php_crack_get_default_dict(INTERNAL_FUNCTION_PARAM_PASSTHRU); ++#if PHP_VERSION_ID >= 70000 ++ if (id == NULL) { ++#else + if (id == -1) { ++#endif + #if ZEND_MODULE_API_NO >= 20021010 + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not open default crack dicionary"); + #else +@@ -294,8 +364,21 @@ + RETURN_FALSE; + } + } ++#if PHP_VERSION_ID >= 70000 ++ if((pwdict = (CRACKLIB_PWDICT *)zend_fetch_resource(Z_RES_P(dictionary), "crack dictionary", le_crack)) == NULL) ++ { ++ RETURN_FALSE; ++ } ++ if (NULL == dictionary) { ++ zend_list_close(CRACKG(default_dict)); ++ CRACKG(default_dict) = NULL; ++ } ++ else { ++ zend_list_close(Z_RES_P(dictionary)); ++ } ++#else + ZEND_FETCH_RESOURCE(pwdict, CRACKLIB_PWDICT *, &dictionary, id, "crack dictionary", le_crack); +- ++ + if (NULL == dictionary) { + zend_list_delete(CRACKG(default_dict)); + CRACKG(default_dict) = -1; +@@ -303,7 +386,7 @@ + else { + zend_list_delete(Z_RESVAL_P(dictionary)); + } +- ++#endif + RETURN_TRUE; + } + /* }}} */ +@@ -314,14 +397,18 @@ + { + zval *dictionary = NULL; + char *password = NULL; +- int password_len; ++ size_t password_len; + char *username = NULL; +- int username_len; ++ size_t username_len; + char *gecos = NULL; +- int gecos_len; ++ size_t gecos_len; + char *message; + CRACKLIB_PWDICT *pwdict; ++#if PHP_VERSION_ID >= 70000 ++ zend_resource *crack_res; ++#else + int id = -1; ++#endif + + if (NULL != CRACKG(last_message)) { + efree(CRACKG(last_message)); +@@ -335,6 +422,21 @@ + } + + if (NULL == dictionary) { ++#if PHP_VERSION_ID >= 70000 ++ crack_res = php_crack_get_default_dict(INTERNAL_FUNCTION_PARAM_PASSTHRU); ++ if (crack_res == NULL || crack_res->ptr == NULL) { ++ php_error(E_WARNING, "Could not open default crack dicionary"); ++ RETURN_FALSE; ++ } ++ ++ } ++ else { ++ if((pwdict = (CRACKLIB_PWDICT *)zend_fetch_resource(Z_RES_P(dictionary), "crack dictionary", le_crack)) == NULL) { ++ php_error(E_WARNING, "Could not open crack dicionary resource"); ++ RETURN_FALSE; ++ } ++ } ++#else + id = php_crack_get_default_dict(INTERNAL_FUNCTION_PARAM_PASSTHRU); + if (id == -1) { + #if ZEND_MODULE_API_NO >= 20021010 +@@ -346,6 +448,7 @@ + } + } + ZEND_FETCH_RESOURCE(pwdict, CRACKLIB_PWDICT *, &dictionary, id, "crack dictionary", le_crack); ++#endif + + message = cracklib_fascist_look_ex(pwdict, password, username, gecos); + +@@ -377,7 +480,11 @@ + RETURN_FALSE; + } + ++#if PHP_VERSION_ID >= 70000 ++ RETURN_STRING(CRACKG(last_message)); ++#else + RETURN_STRING(CRACKG(last_message), 1); ++#endif + } + /* }}} */ + +--- a/php_crack.h 2005-09-21 05:00:06.000000000 -0400 ++++ b/php_crack.h 2016-12-19 16:51:22.449321851 -0500 +@@ -52,7 +52,11 @@ + ZEND_BEGIN_MODULE_GLOBALS(crack) + char *default_dictionary; + char *last_message; ++#if PHP_VERSION_ID >= 70000 ++ zend_resource *default_dict; ++#else + int default_dict; ++#endif + ZEND_END_MODULE_GLOBALS(crack) + + #ifdef ZTS diff --git a/dev-php/pecl-crack/files/fix-pecl-bug-5765.patch b/dev-php/pecl-crack/files/fix-pecl-bug-5765.patch new file mode 100644 index 000000000000..c180d5310b1b --- /dev/null +++ b/dev-php/pecl-crack/files/fix-pecl-bug-5765.patch @@ -0,0 +1,11 @@ +--- crack-0.4/libcrack/src/cracklib.h 2005-09-21 11:00:06.000000000 +0200 ++++ crack-0.4-new/libcrack/src/cracklib.h 2006-10-08 20:44:00.618783250 +0200 +@@ -46,7 +46,7 @@ + + typedef unsigned char int8; + typedef unsigned short int int16; +-typedef unsigned long int int32; ++typedef unsigned int int32; + + #ifndef NUMWORDS + # define NUMWORDS 16 diff --git a/dev-php/pecl-crack/files/fix-php-5-4-support.patch b/dev-php/pecl-crack/files/fix-php-5-4-support.patch new file mode 100644 index 000000000000..7fddadfabbbd --- /dev/null +++ b/dev-php/pecl-crack/files/fix-php-5-4-support.patch @@ -0,0 +1,30 @@ +Gentoo bug: 423869 +Thanks to hanno + +--- a/crack.c 2008/07/17 10:02:47 262854 ++++ b/crack.c 2012/06/07 16:13:34 326013 +@@ -38,7 +38,7 @@ + + /* {{{ crack_functions[] + */ +-function_entry crack_functions[] = { ++zend_function_entry crack_functions[] = { + PHP_FE(crack_opendict, NULL) + PHP_FE(crack_closedict, NULL) + PHP_FE(crack_check, NULL) +@@ -94,6 +94,7 @@ + int filename_len; + int result = SUCCESS; + ++#if PHP_VERSION_ID < 50400 + if (PG(safe_mode)) { + filename_len = strlen(path) + 10; + filename = (char *) emalloc(filename_len); +@@ -125,6 +126,7 @@ + return FAILURE; + } + } ++#endif + + if (php_check_open_basedir(path TSRMLS_CC)) { + return FAILURE; diff --git a/dev-php/pecl-crack/metadata.xml b/dev-php/pecl-crack/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-crack/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-crack/pecl-crack-0.4-r7.ebuild b/dev-php/pecl-crack/pecl-crack-0.4-r7.ebuild new file mode 100644 index 000000000000..9001623cd8a7 --- /dev/null +++ b/dev-php/pecl-crack/pecl-crack-0.4-r7.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="crack" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_EXTRA_ECONF="" +DOCS=( EXPERIMENTAL ) + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="amd64 ppc ppc64 x86" + +DESCRIPTION="PHP interface to the cracklib libraries" +LICENSE="PHP-3 CRACKLIB" +SLOT="0" +IUSE="" + +# Patch for http://pecl.php.net/bugs/bug.php?id=5765 +PATCHES=( + "${FILESDIR}/fix-php-5-4-support.patch" + "${FILESDIR}/fix-pecl-bug-5765.patch" + "${FILESDIR}/${PV}-php7.patch" +) diff --git a/dev-php/pecl-dbase/Manifest b/dev-php/pecl-dbase/Manifest new file mode 100644 index 000000000000..4a0a8d238c6e --- /dev/null +++ b/dev-php/pecl-dbase/Manifest @@ -0,0 +1 @@ +DIST dbase-7.0.1.tgz 33588 BLAKE2B 50cc5b4e0096dbdd7067e9c05cb7b580ff5a9d548ec6acb8a777fa3ba62ac4fa06b30e040bdec2a77b87736cdd0684a662aab344db11806e6ca2c6824cee6908 SHA512 8aa743545e807773be6a3f74cd9ae686a982a5455e494ff2bc0e3fe6f1fdf25574702054253eaefc55a6e9529b3e70c8390a02bd317b74db17bfe6b7797d4ba2 diff --git a/dev-php/pecl-dbase/metadata.xml b/dev-php/pecl-dbase/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-dbase/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild b/dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild new file mode 100644 index 000000000000..43d998a62c33 --- /dev/null +++ b/dev-php/pecl-dbase/pecl-dbase-7.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +# Define 5.6 here so we get the USE and REQUIRED_USE from the eclass +# This allows us to depend on the other slot +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +# However, we only really build for 7.x; so redefine it here +USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="dBase database file access functions" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-dbase:0[php_targets_php5-6] )" + +src_prepare() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + eapply_user + fi +} + +src_configure() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + local PHP_EXT_ECONF_ARGS=( ) + php-ext-source-r3_src_configure + fi +} + +src_install() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-pecl-r3_src_install + fi +} diff --git a/dev-php/pecl-dio/Manifest b/dev-php/pecl-dio/Manifest new file mode 100644 index 000000000000..bfc9ba2e3d38 --- /dev/null +++ b/dev-php/pecl-dio/Manifest @@ -0,0 +1 @@ +DIST dio-0.1.0.tgz 36960 BLAKE2B 0a2c1fd6289cc9606c44c81216ce8d0f63d4bbddfae554e65499f586f5aa17f419a048e97723ff365407260740d28e36ec5dae8a45e18422a7bd900ec88b60fd SHA512 6fca1c3f2d6247f5e0c52a27b49d80a6d13f9630772956ff7aa73ad45e445686502edd956346c43955cb2f858c0c0259af86c3f92b6f93309a2b90583ad8ea05 diff --git a/dev-php/pecl-dio/metadata.xml b/dev-php/pecl-dio/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/pecl-dio/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-dio/pecl-dio-0.1.0-r1.ebuild b/dev-php/pecl-dio/pecl-dio-0.1.0-r1.ebuild new file mode 100644 index 000000000000..7d9f4db0e722 --- /dev/null +++ b/dev-php/pecl-dio/pecl-dio-0.1.0-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="dio" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +MY_PV=${PV/_rc/RC} +PHP_EXT_S="${WORKDIR}/${PN/pecl-/}-${MY_PV}" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Direct I/O functions for PHP" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="" + +S="${PHP_EXT_S}" diff --git a/dev-php/pecl-eio/Manifest b/dev-php/pecl-eio/Manifest new file mode 100644 index 000000000000..a7cfe5a8314e --- /dev/null +++ b/dev-php/pecl-eio/Manifest @@ -0,0 +1 @@ +DIST eio-2.0.4.tgz 74118 BLAKE2B 0228f0ca91ed6410614242e7ea1ddadaa1d1aa8211b3ea6f730c0711e4339bc158d661c5addee685d750a51e654874d35a04cf011d2a02ad06ab3f249b893753 SHA512 a74464752af5792c527b9149a7edff574952cac0b5b09e1e7ff3b7c0a2cc88ab171d916d94d508b9f92aa40bd5262a5b9f8d4ba239908f13ebcb89c6513da4d0 diff --git a/dev-php/pecl-eio/metadata.xml b/dev-php/pecl-eio/metadata.xml new file mode 100644 index 000000000000..f99a82030456 --- /dev/null +++ b/dev-php/pecl-eio/metadata.xml @@ -0,0 +1,13 @@ + + + + +rrosmanov@gmail.com +Ruslan Osmanov + + +proxy-maint@gentoo.org +Proxy Maintainers + + gentoo-staging + diff --git a/dev-php/pecl-eio/pecl-eio-2.0.4.ebuild b/dev-php/pecl-eio/pecl-eio-2.0.4.ebuild new file mode 100644 index 000000000000..2c0e722da89e --- /dev/null +++ b/dev-php/pecl-eio/pecl-eio-2.0.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PHP_EXT_NAME="eio" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( README.md ) + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" +LICENSE="PHP-3.01" + +DESCRIPTION="PHP wrapper for libeio library" +LICENSE="PHP-3" +SLOT="0" +IUSE="debug" + +src_configure() { + local PHP_EXT_ECONF_ARGS="--with-eio $(use_enable debug eio-debug)" + php-ext-source-r3_src_configure +} diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest new file mode 100644 index 000000000000..7e1b62e25a23 --- /dev/null +++ b/dev-php/pecl-event/Manifest @@ -0,0 +1 @@ +DIST event-2.5.3.tgz 140913 BLAKE2B e9b1886b65d1c307bf4a40ebe20e19f33d9e422ce98fb704c7174e953c2488b87f941fc5615bfee07e7d51e1775a0256349e023e6d8921fdd237e527ab108151 SHA512 359eee2f501444f444904ee1960d85af0b77259e59a06d9c6ae1ec008f7bda9bda5bf999d437d84416150a965466519c04e4c2f36dbca44367075fcbb46cd917 diff --git a/dev-php/pecl-event/files/pecl-event-2.5.3-no-sockets.patch b/dev-php/pecl-event/files/pecl-event-2.5.3-no-sockets.patch new file mode 100644 index 000000000000..9b95708a6e7b --- /dev/null +++ b/dev-php/pecl-event/files/pecl-event-2.5.3-no-sockets.patch @@ -0,0 +1,12 @@ +--- a/php7/src/fe-orig.c 2020-02-23 15:50:42.159505602 +0300 ++++ b/php7/src/fe.c 2020-02-23 15:51:09.985462245 +0300 +@@ -640,7 +640,9 @@ + PHP_ME(EventUtil, getSocketName, arginfo_event_util_get_socket_name, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) + PHP_ME(EventUtil, getSocketFd, arginfo_event_util_get_socket_fd, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) + PHP_ME(EventUtil, setSocketOption, arginfo_event_util_set_socket_option, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ++#ifdef PHP_EVENT_SOCKETS_SUPPORT + PHP_ME(EventUtil, createSocket, arginfo_event_util_create_socket, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC) ++#endif + + PHP_FE_END + }; diff --git a/dev-php/pecl-event/metadata.xml b/dev-php/pecl-event/metadata.xml new file mode 100644 index 000000000000..67f824704b75 --- /dev/null +++ b/dev-php/pecl-event/metadata.xml @@ -0,0 +1,16 @@ + + + + +rrosmanov@gmail.com +Ruslan Osmanov + + +proxy-maint@gentoo.org +Proxy Maintainers + + +Add support of the Libevent extra API + + gentoo-staging + diff --git a/dev-php/pecl-event/pecl-event-2.5.3-r1.ebuild b/dev-php/pecl-event/pecl-event-2.5.3-r1.ebuild new file mode 100644 index 000000000000..b30711ec149f --- /dev/null +++ b/dev-php/pecl-event/pecl-event-2.5.3-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="event" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~ia64 ~x86" +LICENSE="PHP-3.01" + +DESCRIPTION="PHP wrapper for libevent2" +SLOT="0" + +PATCHES=( + "${FILESDIR}/${PN}-2.5.3-no-sockets.patch" +) + +DEPEND=" + >=dev-libs/libevent-2.0.2 + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + php_targets_php7-1? ( dev-lang/php:7.1[sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[sockets?] ) + php_targets_php7-4? ( dev-lang/php:7.4[sockets?] )" + +RDEPEND=" + ${DEPEND} + !dev-php/pecl-libevent" + +IUSE="debug examples +extra libressl +sockets +ssl threads" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --with-event-core + $(use_enable debug event-debug) + $(use_with extra event-extra) + $(use_with ssl event-openssl) + $(use_with threads event-pthreads) + $(use_enable sockets event-sockets) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/pecl-event/pecl-event-2.5.3.ebuild b/dev-php/pecl-event/pecl-event-2.5.3.ebuild new file mode 100644 index 000000000000..1cb12cf06a50 --- /dev/null +++ b/dev-php/pecl-event/pecl-event-2.5.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="event" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="amd64 ~ia64 x86" +LICENSE="PHP-3.01" + +DESCRIPTION="PHP wrapper for libevent2" +SLOT="0" + +DEPEND=" + >=dev-libs/libevent-2.0.2 + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + php_targets_php7-1? ( dev-lang/php:7.1[sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[sockets?] ) + php_targets_php7-4? ( dev-lang/php:7.4[sockets?] )" + +RDEPEND=" + ${DEPEND} + !dev-php/pecl-libevent" + +IUSE="debug examples +extra libressl +sockets +ssl threads" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --with-event-core + $(use_enable debug event-debug) + $(use_with extra event-extra) + $(use_with ssl event-openssl) + $(use_with threads event-pthreads) + $(use_enable sockets event-sockets) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/pecl-geoip/Manifest b/dev-php/pecl-geoip/Manifest new file mode 100644 index 000000000000..40aaf1667795 --- /dev/null +++ b/dev-php/pecl-geoip/Manifest @@ -0,0 +1 @@ +DIST geoip-1.1.1.tgz 13004 BLAKE2B fe073b9459c434751ea0291ce6802041db47254f9d2d5b930db51751b3a66ce5cf925dc4bd07764920748b1735f26ba8bd136654e08ed9c24ac3b520e842f45d SHA512 395715297726aa8e7ed71297d403bea9cb08417a03adfca29dc6ea68bbc738c176f71ea621f9026109e07cd5a2adc647e2af8e140e18a6af1c8f0fe4ed1a9c6b diff --git a/dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch b/dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch new file mode 100644 index 000000000000..a86994708e7b --- /dev/null +++ b/dev-php/pecl-geoip/files/fix-failing-tests-1.1.1.patch @@ -0,0 +1,46 @@ +On Gentoo, we require users to download the GeoIP databases +themselves. As a result, the databases may not be there when +installing pecl-geoip. The first patch below skips a test if the +database it uses is not present. The second patch disables 019.phpt +completely, because I can't make it pass. + +PHP-Bug: 73416 + +diff --git a/tests/001.phpt b/tests/001.phpt +index a548d6e..c0e4972 100644 +--- a/tests/001.phpt ++++ b/tests/001.phpt +@@ -1,7 +1,10 @@ + --TEST-- + Checking Country (Free) DB availability + --SKIPIF-- +- ++ + --POST-- + --GET-- + --FILE-- +diff --git a/tests/019.phpt b/tests/019.phpt +deleted file mode 100644 +index 4630354..0000000 +--- a/tests/019.phpt ++++ /dev/null +@@ -1,15 +0,0 @@ +---TEST-- +-Checking geoip_setup_custom_directory() (with trailing slash) +---SKIPIF-- +- +---INI-- +-geoip.custom_directory="/test/" +---FILE-- +- +---EXPECT-- +-string(27) "/some/other/place/GeoIP.dat" +-string(6) "/test/" +\ No newline at end of file diff --git a/dev-php/pecl-geoip/metadata.xml b/dev-php/pecl-geoip/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-geoip/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild b/dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild new file mode 100644 index 000000000000..956d2192df64 --- /dev/null +++ b/dev-php/pecl-geoip/pecl-geoip-1.1.1-r4.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="geoip" +DOCS="README ChangeLog" +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="amd64 x86" + +DESCRIPTION="PHP extension to map IP address to geographic places" +LICENSE="PHP-3" +SLOT="0" +IUSE="" + +DEPEND="dev-libs/geoip" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/fix-failing-tests-1.1.1.patch" ) diff --git a/dev-php/pecl-gnupg/Manifest b/dev-php/pecl-gnupg/Manifest new file mode 100644 index 000000000000..2248a1ff2b1f --- /dev/null +++ b/dev-php/pecl-gnupg/Manifest @@ -0,0 +1 @@ +DIST gnupg-1.4.0.tgz 28349 BLAKE2B d023746b104db38bcf7617d79570aa3c38d318879d34b1d4df7fc0c28b4e435deadc2a1a4827922cc14a8068b578896e297c8fe8461afebd2768ffb63ddc502d SHA512 70fa1d2956bc5caedbeadf556f9f40a7b963d3b519d6574b0c7695d9fb4c7f9d612306f475a90a1125661407c11de97040e54b158f38d71f239c1fe436d48018 diff --git a/dev-php/pecl-gnupg/files/1.3.2/01-large_file_system.patch b/dev-php/pecl-gnupg/files/1.3.2/01-large_file_system.patch new file mode 100644 index 000000000000..c679bad631da --- /dev/null +++ b/dev-php/pecl-gnupg/files/1.3.2/01-large_file_system.patch @@ -0,0 +1,9 @@ +--- a/config.m4 2007-05-04 13:23:41.000000000 +0000 ++++ b/config.m4 2010-03-28 01:13:10.000000000 +0000 +@@ -41,4 +41,6 @@ + PHP_SUBST(GNUPG_SHARED_LIBADD) + + PHP_NEW_EXTENSION(gnupg, [gnupg.c gnupg_keylistiterator.c], $ext_shared) ++ ++ AC_SYS_LARGEFILE + fi diff --git a/dev-php/pecl-gnupg/metadata.xml b/dev-php/pecl-gnupg/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/pecl-gnupg/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild b/dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild new file mode 100644 index 000000000000..ce3a3f298456 --- /dev/null +++ b/dev-php/pecl-gnupg/pecl-gnupg-1.4.0-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_NAME="gnupg" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +S="${PHP_EXT_S}" + +KEYWORDS="~amd64 ~x86" +DESCRIPTION="PHP wrapper around the gpgme library" +LICENSE="BSD-2" +SLOT="0" +IUSE="" + +DEPEND="app-crypt/gpgme app-crypt/gnupg" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/1.3.2/01-large_file_system.patch ) + +# tests are broken with gnupg 2.0/2.1, see: +# https://github.com/php-gnupg/php-gnupg/issues/2 +# https://github.com/php-gnupg/php-gnupg/issues/3 +RESTRICT="test" diff --git a/dev-php/pecl-http/Manifest b/dev-php/pecl-http/Manifest new file mode 100644 index 000000000000..ae6d032c2f23 --- /dev/null +++ b/dev-php/pecl-http/Manifest @@ -0,0 +1,2 @@ +DIST pecl_http-3.2.1.tgz 221244 BLAKE2B b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3 SHA512 e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51 +DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5 SHA512 e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666 diff --git a/dev-php/pecl-http/metadata.xml b/dev-php/pecl-http/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-http/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-http/pecl-http-3.2.1.ebuild b/dev-php/pecl-http/pecl-http-3.2.1.ebuild new file mode 100644 index 000000000000..bb652b2134f2 --- /dev/null +++ b/dev-php/pecl-http/pecl-http-3.2.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="http" +PHP_EXT_PECL_PKG="pecl_http" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_INI_NAME="50-http" + +USE_PHP="php5-6 php7-1 php7-2 php7-3" + +inherit php-ext-pecl-r3 + +USE_PHP="php7-1 php7-2 php7-3" + +KEYWORDS="amd64 x86" + +DESCRIPTION="Extended HTTP Support for PHP" +LICENSE="BSD-2 MIT" +SLOT="7" +IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl" + +DEPEND="app-arch/brotli:= + dev-libs/libevent + dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?] + dev-php/pecl-raphf:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?] + net-dns/libidn2 + sys-libs/zlib + ssl? ( net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=] ) + !ssl? ( net-misc/curl[-ssl] ) + php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] ) + php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] ) + php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )" +RDEPEND="${DEPEND} + php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )" + +PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + php-ext-pecl-r3_src_install + fi +} + +src_test() { + # Cannot use eclass function due to required modules + # All tests SKIP otherwise + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + # Link in required modules for testing + ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die + ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die + sed -i \ + 's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=propro.so -d extension=raphf.so/' \ + Makefile || die + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + # Clean up testing links + rm modules/propro.so modules/raphf.so || die + done +} + +pkg_postinst() { + ewarn "This API has drastically changed and is not compatible with the 1.x syntax." + ewarn "Please review the documentation and update your code." +} diff --git a/dev-php/pecl-http/pecl-http-3.2.3.ebuild b/dev-php/pecl-http/pecl-http-3.2.3.ebuild new file mode 100644 index 000000000000..df14e937eb77 --- /dev/null +++ b/dev-php/pecl-http/pecl-http-3.2.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="http" +PHP_EXT_PECL_PKG="pecl_http" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_INI_NAME="50-http" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Extended HTTP Support for PHP" +LICENSE="BSD-2 MIT" +SLOT="7" +IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl" + +DEPEND="app-arch/brotli:= + dev-libs/libevent + dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] + >=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] + net-dns/libidn2 + sys-libs/zlib + ssl? ( net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=] ) + !ssl? ( net-misc/curl[-ssl] ) + php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] ) + php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] ) + php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] ) + php_targets_php7-4? ( dev-lang/php:7.4[session,iconv] )" +RDEPEND="${DEPEND} + php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )" + +PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir ) + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-pecl-r3_src_install + fi +} + +src_test() { + # Cannot use eclass function due to required modules + # All tests SKIP otherwise + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + # Link in required modules for testing + ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die + ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die + sed -i \ + 's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=propro.so -d extension=raphf.so/' \ + Makefile || die + SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test + # Clean up testing links + rm modules/propro.so modules/raphf.so || die + done +} + +pkg_postinst() { + ewarn "This API has drastically changed and is not compatible with the 1.x syntax." + ewarn "Please review the documentation and update your code." +} diff --git a/dev-php/pecl-imagick/Manifest b/dev-php/pecl-imagick/Manifest new file mode 100644 index 000000000000..1f064c2a8feb --- /dev/null +++ b/dev-php/pecl-imagick/Manifest @@ -0,0 +1 @@ +DIST imagick-3.4.4.tgz 253434 BLAKE2B 73ce21547881b60733dbc19ae83cd2e60135dbb4052ea723f1ee10b3759ce12065a0cab2a7e4923b78e9e68b12fd7b875c7d1bd7b2a14ce4e4d7ff5b9c7fbc06 SHA512 73145a1f095849c32760db2dfc4acc13c57d99a037d65eca9b0ddf8f8e81cf6d28a50f2614e44bae1d90b4f881a2e9a64926e0e3b9403e491fd903ffeb30c4b7 diff --git a/dev-php/pecl-imagick/metadata.xml b/dev-php/pecl-imagick/metadata.xml new file mode 100644 index 000000000000..e21ee115ea22 --- /dev/null +++ b/dev-php/pecl-imagick/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + gentoo-staging + diff --git a/dev-php/pecl-imagick/pecl-imagick-3.4.4.ebuild b/dev-php/pecl-imagick/pecl-imagick-3.4.4.ebuild new file mode 100644 index 000000000000..edf1aa7add12 --- /dev/null +++ b/dev-php/pecl-imagick/pecl-imagick-3.4.4.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="imagick" +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="amd64 ~arm ~arm64 x86" + +DESCRIPTION="PHP wrapper for the ImageMagick library" +HOMEPAGE="https://pecl.php.net/imagick https://github.com/mkoppanen/imagick" +LICENSE="PHP-3.01" +SLOT="0" +IUSE="examples test" +RESTRICT="!test? ( test )" + +# imagemagick[-openmp] is needed wrt bug 547922 and upstream +# https://github.com/mkoppanen/imagick#openmp +RDEPEND=">=media-gfx/imagemagick-6.2.4:=[-openmp]" +DEPEND="${RDEPEND} + test? ( >=media-gfx/imagemagick-6.2.4:=[jpeg,png,truetype] )" + +PHP_EXT_ECONF_ARGS="--with-imagick=${EPREFIX}/usr" diff --git a/dev-php/pecl-lzf/Manifest b/dev-php/pecl-lzf/Manifest new file mode 100644 index 000000000000..2383f03c4d77 --- /dev/null +++ b/dev-php/pecl-lzf/Manifest @@ -0,0 +1,2 @@ +DIST LZF-1.6.7.tgz 17999 BLAKE2B c7ee3049d7bcc862a400edf56e19745667052c32b2d3faaa26cb55f811e6721b7140446e676467fa5cee3ea87a751b6b0a2a9c6df203227d1bd29f31842e8514 SHA512 920a7d3bd0f0c9f1019a3180e38482ead24610a4a235d967d1f4010101e6f777a2450d517f2d3440edb45bb6a7f6d1012124b1b59aa7c34f9a17fdc93613acab +DIST LZF-1.6.8.tgz 18071 BLAKE2B 83a12c44c02145baac75bc7b5172b09a6a15d4d02852f25d56ea97cf58a83709d59d56cb12be7df510fd687fd5ade760939527ee8151d3ecdb4407b7be2022e3 SHA512 c35543a40b2b44da4bd60e3142ba6ecf33e3460a8ea9f4f7fe6cdc4d728048593b33c423195d58707355975d655f614249642aff2d9b810af0e6a34d42fa1c43 diff --git a/dev-php/pecl-lzf/metadata.xml b/dev-php/pecl-lzf/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/pecl-lzf/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-lzf/pecl-lzf-1.6.7.ebuild b/dev-php/pecl-lzf/pecl-lzf-1.6.7.ebuild new file mode 100644 index 000000000000..192a06e95b05 --- /dev/null +++ b/dev-php/pecl-lzf/pecl-lzf-1.6.7.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="lzf" +PHP_EXT_PECL_PKG="LZF" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="This package handles LZF de/compression" +LICENSE="PHP-3" +SLOT="0" +IUSE="" diff --git a/dev-php/pecl-lzf/pecl-lzf-1.6.8.ebuild b/dev-php/pecl-lzf/pecl-lzf-1.6.8.ebuild new file mode 100644 index 000000000000..15525c812da6 --- /dev/null +++ b/dev-php/pecl-lzf/pecl-lzf-1.6.8.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="lzf" +PHP_EXT_PECL_PKG="LZF" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="This package handles LZF de/compression" +LICENSE="PHP-3" +SLOT="0" +IUSE="" diff --git a/dev-php/pecl-mailparse/Manifest b/dev-php/pecl-mailparse/Manifest new file mode 100644 index 000000000000..941baefba5ed --- /dev/null +++ b/dev-php/pecl-mailparse/Manifest @@ -0,0 +1 @@ +DIST mailparse-3.0.4.tgz 940428 BLAKE2B e3e33ecfa953766744a6980e0c681bb9b473d4cbf46179c8099f5483e8da46f47bba30d953d1c3629ea6d1719fcdfb0cca8536de3c3159a979cb7b2cde9ff9a2 SHA512 71eaebc1dc8a4698e60e170facaba16a5a9314bcb21c375b2f9a3069d7f1da819bfabc736b244e3f87131149d4efd9363120e77d8a078a0ede15113123d13ce3 diff --git a/dev-php/pecl-mailparse/metadata.xml b/dev-php/pecl-mailparse/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-mailparse/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-mailparse/pecl-mailparse-3.0.4.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-3.0.4.ebuild new file mode 100644 index 000000000000..d0c3ba6cd8c5 --- /dev/null +++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WANT_AUTOMAKE="none" +PHP_EXT_NAME="mailparse" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_ECONF_ARGS="" +USE_PHP="php7-1 php7-2 php7-3 php7-4" +PHP_EXT_NEEDED_USE="unicode" +DOCS=( README.md ) + +inherit php-ext-pecl-r3 + +KEYWORDS="amd64 ppc ppc64 x86" + +DESCRIPTION="PHP extension for parsing and working with RFC822 and MIME compliant messages" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="" + +src_prepare() { + # Missing test source files in archive. Fixed upstream in next release. + rm tests/011.phpt tests/bug001.phpt || die + php-ext-source-r3_src_prepare +} diff --git a/dev-php/pecl-mcrypt/Manifest b/dev-php/pecl-mcrypt/Manifest new file mode 100644 index 000000000000..753352dd9b22 --- /dev/null +++ b/dev-php/pecl-mcrypt/Manifest @@ -0,0 +1,3 @@ +DIST mcrypt-1.0.1.tgz 33782 BLAKE2B db5f89fdbc64c81bd50c92301155527f40b28cd274312565c79327133baa20e14c488f8ad1f87e6ddfd3ced9706ca30f10dc69a08279c82c9ec83fb5f713e826 SHA512 1677202715499a41ac6999089257a059106e58cbac06ca8a7dd2e9edd28be5a4118234dd7468110e9e3d7f9de5d099367848fe84bcd06716ea56645c9015c578 +DIST mcrypt-1.0.2.tgz 33698 BLAKE2B b79985455986ca28e7cb55d3f6f62f87e1112f57c4e26761a08a2d9ce7c702cf325fccb50f703cfe5c570c7e3abc473030742f098b10e709145f7ac9676f834a SHA512 bf3796b60f1d8d34185c3ad0d813653fe64ccfc883106ba544b01a8caa7bf9729978f44e0d481d28af9f8827803dcc5cd8bfc83e50dc950d26f851fabc868b18 +DIST mcrypt-1.0.3.tgz 33590 BLAKE2B 5de1108f53604fffea9e3cb64d9efdae2008da164acd47b27fd0df8f12a0f508345d63bee4d588c1eecd9a935f8be3b2db5c3d119c5b3013955c54085ebe9e9f SHA512 ef215b576b471d6e1ecac4bb097f518fa57fd551b678b7fdddd9d5058f6667b0ee757e887f00b61672b89cd86f1962cbfe0e355681fa47daba9873c3bf4db679 diff --git a/dev-php/pecl-mcrypt/metadata.xml b/dev-php/pecl-mcrypt/metadata.xml new file mode 100644 index 000000000000..33cbb93be47a --- /dev/null +++ b/dev-php/pecl-mcrypt/metadata.xml @@ -0,0 +1,13 @@ + + + + + hydrapolic@gmail.com + Tomáš Mózes + + + proxy-maint@gentoo.org + Proxy Maintainers + + gentoo-staging + diff --git a/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild new file mode 100644 index 000000000000..2e2076290b17 --- /dev/null +++ b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="mcrypt" +USE_PHP="php7-2" +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Bindings for the libmcrypt library" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="amd64" + +DEPEND="dev-libs/libmcrypt" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # PHP Warning: Use of undefined constant MCRYPT_CBC - assumed 'MCRYPT_CBC' + sed -i '/MODE3/s/MCRYPT_CBC/"MCRYPT_CBC"/g' tests/bug8040.phpt || die + + php-ext-source-r3_src_prepare +} diff --git a/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild new file mode 100644 index 000000000000..078d2acdae8c --- /dev/null +++ b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="mcrypt" +USE_PHP="php7-2 php7-3" +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_ECONF_ARGS=() +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Bindings for the libmcrypt library" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/libmcrypt" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # PHP Warning: Use of undefined constant MCRYPT_CBC - assumed 'MCRYPT_CBC' + sed -i '/MODE3/s/MCRYPT_CBC/"MCRYPT_CBC"/g' tests/bug8040.phpt || die + + php-ext-source-r3_src_prepare +} diff --git a/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild new file mode 100644 index 000000000000..540f56f2fa1a --- /dev/null +++ b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mcrypt" +USE_PHP="php7-2 php7-3 php7-4" +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_ECONF_ARGS=() +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Bindings for the libmcrypt library" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="dev-libs/libmcrypt" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # PHP Warning: Use of undefined constant MCRYPT_CBC - assumed 'MCRYPT_CBC' + sed -i '/MODE3/s/MCRYPT_CBC/"MCRYPT_CBC"/g' tests/bug8040.phpt || die + + php-ext-source-r3_src_prepare +} diff --git a/dev-php/pecl-memcache/Manifest b/dev-php/pecl-memcache/Manifest new file mode 100644 index 000000000000..fa7ce2858cab --- /dev/null +++ b/dev-php/pecl-memcache/Manifest @@ -0,0 +1 @@ +DIST memcache-4.0.5.2.tgz 75061 BLAKE2B fbf96fd182ff4b8764c4492edcdac53263176ebe6d63a27e9f3fb32110a016b221722c246e7c1ae49ee973a6e4cdff045876d1c6119f410f2fa3e796c0580e02 SHA512 93e163acf3a6c28f16b5f0982105f6f558cceeb314b3f09ad71655d8a5adf64d23959f1a2f3589eb7e7a7e18c88ba8132014e13f697a737cd570cf9405137384 diff --git a/dev-php/pecl-memcache/metadata.xml b/dev-php/pecl-memcache/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-memcache/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild b/dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild new file mode 100644 index 000000000000..525328e8308a --- /dev/null +++ b/dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="memcache" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_NEEDED_USE="session(-)?" +DOCS=( README example.php ) +HTML_DOCS=( memcache.php ) + +USE_PHP="php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~hppa ~ppc64 ~x86" + +DESCRIPTION="PHP extension for using memcached" +LICENSE="PHP-3" +SLOT="7" +IUSE="+session" + +DEPEND="sys-libs/zlib" +RDEPEND="${DEPEND}" + +# The test suite requires memcached to be running. +RESTRICT='test' + +src_configure() { + local PHP_EXT_ECONF_ARGS=( --enable-memcache --with-zlib-dir="${EPREFIX}/usr" $(use_enable session memcache-session) ) + php-ext-source-r3_src_configure +} + +src_install() { + php-ext-pecl-r3_src_install + + php-ext-source-r3_addtoinifiles "memcache.allow_failover" "true" + php-ext-source-r3_addtoinifiles "memcache.max_failover_attempts" "20" + php-ext-source-r3_addtoinifiles "memcache.chunk_size" "32768" + php-ext-source-r3_addtoinifiles "memcache.default_port" "11211" + php-ext-source-r3_addtoinifiles "memcache.hash_strategy" "consistent" + php-ext-source-r3_addtoinifiles "memcache.hash_function" "crc32" + php-ext-source-r3_addtoinifiles "memcache.redundancy" "1" + php-ext-source-r3_addtoinifiles "memcache.session_redundancy" "2" + php-ext-source-r3_addtoinifiles "memcache.protocol" "ascii" +} diff --git a/dev-php/pecl-memcached/Manifest b/dev-php/pecl-memcached/Manifest new file mode 100644 index 000000000000..042f38e9b179 --- /dev/null +++ b/dev-php/pecl-memcached/Manifest @@ -0,0 +1,2 @@ +DIST memcached-3.1.3.tgz 82673 BLAKE2B ccb9267cbd974337b7cd8836ab6e35c4fd9398d731dcd333bcb664b91037d1775651e6bb5d00b602767834681289064ede678ea2e6e3641631bba4990a380dee SHA512 9c09648c26011c5e749bee1a556c976e6e5e648dc65580e7caa296dab79e3764edf1408f96edcaca5efb0229320c86fcfa0422e55d486beb6466892f7e08c4a3 +DIST memcached-3.1.5.tgz 83015 BLAKE2B 80f5cbed8e34f867962792d95d242015690f64ab3b462e09813a11b8b86234b0b05b0f6a78f7c6184482b66ba8015064b37f77bbb816a3aee2edd0ce97ab0cbc SHA512 87d5fd079fcaad81139785d6766da71b23a1a0fe907d4b22f3a787af148a20412c11df11c4d98c165241658baf0d87c8a6b29de15db07a0f9d1fabc8aec8f0e9 diff --git a/dev-php/pecl-memcached/metadata.xml b/dev-php/pecl-memcached/metadata.xml new file mode 100644 index 000000000000..3a17b2baa226 --- /dev/null +++ b/dev-php/pecl-memcached/metadata.xml @@ -0,0 +1,19 @@ + + + + + robbat2@gentoo.org + + + php-bugs@gentoo.org + PHP + + + Enable support for the igbinary serializer + Enable support for json serialization + + + php-memcached-dev/php-memcached + + gentoo-staging + diff --git a/dev-php/pecl-memcached/pecl-memcached-3.1.3-r1.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.1.3-r1.ebuild new file mode 100644 index 000000000000..755ce7ed1adf --- /dev/null +++ b/dev-php/pecl-memcached/pecl-memcached-3.1.3-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PHP_EXT_NAME="memcached" +DOCS=( ChangeLog README.markdown ) + +USE_PHP="php5-6 php7-1 php7-2 php7-3" # Pretend to support all four targets... +inherit php-ext-pecl-r3 +USE_PHP="php7-1 php7-2 php7-3" # But only truly build for these three. + +DESCRIPTION="Interface PHP with memcached via libmemcached library" +LICENSE="PHP-3" +SLOT="7" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="igbinary json sasl +session test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl?] + sys-libs/zlib +" + +RDEPEND=" + php_targets_php7-1? ( + ${COMMON_DEPEND} dev-lang/php:7.1[session?,json?] + igbinary? ( dev-php/igbinary[php_targets_php7-1(-)] ) + ) + php_targets_php7-2? ( + ${COMMON_DEPEND} dev-lang/php:7.2[session?,json?] + igbinary? ( dev-php/igbinary[php_targets_php7-2(-)] ) + ) + php_targets_php7-3? ( + ${COMMON_DEPEND} dev-lang/php:7.3[session?,json?] + igbinary? ( dev-php/igbinary[php_targets_php7-3(-)] ) + )" +DEPEND="${RDEPEND} test? ( net-misc/memcached )" +RDEPEND="${RDEPEND} php_targets_php5-6? ( dev-php/pecl-memcached:0[php_targets_php5-6(-)] )" + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_configure() { + local PHP_EXT_ECONF_ARGS="--enable-memcached + $(use_enable session memcached-session) + $(use_enable sasl memcached-sasl) + $(use_enable json memcached-json) + $(use_enable igbinary memcached-igbinary)" + + php-ext-source-r3_src_configure +} + +src_test() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 ) + [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage ) + memcached "${memcached_opts[@]}" || die "Can't start memcached test server" + + local exit_status + php-ext-source-r3_src_test + exit_status=$? + + kill "$(<"${T}/memcached.pid")" + return ${exit_status} + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + php-ext-source-r3_src_install + fi +} diff --git a/dev-php/pecl-memcached/pecl-memcached-3.1.5-r1.ebuild b/dev-php/pecl-memcached/pecl-memcached-3.1.5-r1.ebuild new file mode 100644 index 000000000000..b96743374b3c --- /dev/null +++ b/dev-php/pecl-memcached/pecl-memcached-3.1.5-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PHP_EXT_NAME="memcached" +DOCS=( ChangeLog README.markdown ) + +USE_PHP="php7-2 php7-3 php7-4" +inherit php-ext-pecl-r3 + +DESCRIPTION="Interface PHP with memcached via libmemcached library" +LICENSE="PHP-3.01" +SLOT="7" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="igbinary json sasl +session test" + +RESTRICT="!test? ( test )" + +COMMON_DEPEND=">=dev-libs/libmemcached-1.0.14[sasl(-)?] + sys-libs/zlib +" + +RDEPEND=" + php_targets_php7-2? ( + ${COMMON_DEPEND} dev-lang/php:7.2[session(-)?,json(-)?] + igbinary? ( dev-php/igbinary[php_targets_php7-2(-)] ) + ) + php_targets_php7-3? ( + ${COMMON_DEPEND} dev-lang/php:7.3[session(-)?,json(-)?] + igbinary? ( dev-php/igbinary[php_targets_php7-3(-)] ) + ) + php_targets_php7-4? ( + ${COMMON_DEPEND} dev-lang/php:7.4[session(-)?,json(-)?] + igbinary? ( dev-php/igbinary[php_targets_php7-4(-)] ) + )" +DEPEND="${RDEPEND} test? ( net-misc/memcached )" + +src_configure() { + local PHP_EXT_ECONF_ARGS="--enable-memcached + $(use_enable session memcached-session) + $(use_enable sasl memcached-sasl) + $(use_enable json memcached-json) + $(use_enable igbinary memcached-igbinary)" + + php-ext-source-r3_src_configure +} + +src_test() { + local memcached_opts=( -d -P "${T}/memcached.pid" -p 11211 -l 127.0.0.1 ) + [[ ${EUID} == 0 ]] && memcached_opts+=( -u portage ) + memcached "${memcached_opts[@]}" || die "Can't start memcached test server" + + local exit_status + php-ext-source-r3_src_test + exit_status=$? + + kill "$(<"${T}/memcached.pid")" + return ${exit_status} +} diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest new file mode 100644 index 000000000000..c2868de23949 --- /dev/null +++ b/dev-php/pecl-mongodb/Manifest @@ -0,0 +1,4 @@ +DIST mongodb-1.5.3.tgz 1059580 BLAKE2B 23bd5f6b0f218cf55bd5713a770f3990d5c1492925623712583356d8aee42a1b47519b93ba64036aaf98f97ab4b1b30de9d8aa39659f2575c4f4dba3892d574d SHA512 35704e75bd7867a436d953c00c7560c9a08a4fa8f3555d7cc00aeda34e87c6c7aa7ecc1d7f674747e34f4f8dac35d320f6317e60229528ea9782bbe669bafec0 +DIST mongodb-1.5.5.tgz 1060017 BLAKE2B 475ca0f6a1cbd5270c9bde0f195d6092ef25441e0cee0a45ed378a868bd1ad27c7a77c4f4702b6f82004433805563cdaa728cbc11bb5beff83b982122cad339b SHA512 1eefc8f8e359a979082dc7808e89ff5418cd2dc73d4250638e33dc32cce40ef42502e9dbbb07303381e0062b84818568034f4e4cda8c8bf905513d00bf008392 +DIST mongodb-1.6.0.tgz 1096156 BLAKE2B 16c3b1d07d31d29a214aba320347f8e40cfc4f0dae8b0713b02cd0e3ff98fd54b09217472f333722228efdfcae755bbdbfe58da7db89d4dda2893ba7b3b0e8bb SHA512 e75dc607bf41bb71a0fce3b73785ef4203af97a3e8b21bf70a80c2216e9530463a6aaca55b013a4fa2f3c4eb72405a25209935ea1a238475f990763af54aa641 +DIST mongodb-1.7.4.tgz 1223416 BLAKE2B 9db40284eb2b70e242f26c1661923c5f33de8ab1e33a7e816863b61fcbc49040204ca556b1f384cab958f9dc2cf4e49e97840b78bd520a4e374b83210a964e5d SHA512 6805ce1d0958e24e1edf3bc9698bc1f4a9d31c26250624fd35aebf7a7d310af30050e1974cd9571f989303fce4c5522e793a8cb41388397df66e8f5fe0a648f2 diff --git a/dev-php/pecl-mongodb/metadata.xml b/dev-php/pecl-mongodb/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-mongodb/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild new file mode 100644 index 000000000000..62a5bf128339 --- /dev/null +++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mongodb" +USE_PHP="php5-6 php7-1 php7-2 php7-3" + +inherit php-ext-pecl-r3 + +DESCRIPTION="MongoDB database driver for PHP" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl sasl" + +COMMON_DEPEND=" + php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] ) + php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] ) + php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] ) + php_targets_php7-3? ( dev-lang/php:7.3[json,ssl,zlib] )" +DEPEND="${COMMON_DEPEND} + >=dev-libs/libbson-1.13.0 + >=dev-libs/mongo-c-driver-1.13.0[sasl?,ssl] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sasl? ( dev-libs/cyrus-sasl )" +RDEPEND="${DEPEND}" +BDEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-mongodb + --with-libbson + --with-libmongoc + --with-mongodb-sasl=$(usex sasl) + ) + php-ext-source-r3_src_configure +} diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild new file mode 100644 index 000000000000..353be18eae0c --- /dev/null +++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="mongodb" +USE_PHP="php5-6 php7-0 php7-1 php7-2" + +inherit php-ext-pecl-r3 + +DESCRIPTION="MongoDB database driver for PHP" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="libressl sasl" + +RDEPEND=" + php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] ) + php_targets_php7-0? ( dev-lang/php:7.0[json,ssl,zlib] ) + php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] ) + php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] ) + >=dev-libs/libbson-1.13.0 + >=dev-libs/mongo-c-driver-1.13.0[sasl?,ssl] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sasl? ( dev-libs/cyrus-sasl ) +" +# pkgconfig needed if system libraries are used for bson and libmongoc +DEPEND="${RDEPEND} virtual/pkgconfig" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-mongodb + --with-libbson + --with-libmongoc + --with-mongodb-sasl=$(usex sasl) + ) + php-ext-source-r3_src_configure +} diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.5.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.5.5.ebuild new file mode 100644 index 000000000000..62a5bf128339 --- /dev/null +++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mongodb" +USE_PHP="php5-6 php7-1 php7-2 php7-3" + +inherit php-ext-pecl-r3 + +DESCRIPTION="MongoDB database driver for PHP" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl sasl" + +COMMON_DEPEND=" + php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] ) + php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] ) + php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] ) + php_targets_php7-3? ( dev-lang/php:7.3[json,ssl,zlib] )" +DEPEND="${COMMON_DEPEND} + >=dev-libs/libbson-1.13.0 + >=dev-libs/mongo-c-driver-1.13.0[sasl?,ssl] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sasl? ( dev-libs/cyrus-sasl )" +RDEPEND="${DEPEND}" +BDEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-mongodb + --with-libbson + --with-libmongoc + --with-mongodb-sasl=$(usex sasl) + ) + php-ext-source-r3_src_configure +} diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.6.0.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.6.0.ebuild new file mode 100644 index 000000000000..6dc6dd1ed288 --- /dev/null +++ b/dev-php/pecl-mongodb/pecl-mongodb-1.6.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mongodb" +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +DESCRIPTION="MongoDB database driver for PHP" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl sasl test" + +PHP_DEPEND=" + php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] ) + php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] ) + php_targets_php7-3? ( dev-lang/php:7.3[json,ssl,zlib] ) + php_targets_php7-4? ( dev-lang/php:7.4[json,ssl,zlib] )" +COMMON_DEPEND="${PHP_DEPEND} + >=dev-libs/libbson-1.15.1 + >=dev-libs/mongo-c-driver-1.15.1[sasl?,ssl] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sasl? ( dev-libs/cyrus-sasl )" +DEPEND="${COMMON_DEPEND} + test? ( dev-db/mongodb )" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="${PHP_DEPEND} + virtual/pkgconfig" + +# No tests on x86 because tests require dev-db/mongodb which don't support +# x86 anymore (bug #645994) +RESTRICT="x86? ( test ) + !test? ( test )" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-mongodb + --with-libbson + --with-libmongoc + --with-mongodb-sasl=$(usex sasl) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local PORT=27017 + mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ + --dbpath="${T}" --logpath="${T}/mongod.log" || die + php-ext-pecl-r3_src_test + kill $(<"${T}/mongod.lock") +} diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.7.4.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.7.4.ebuild new file mode 100644 index 000000000000..cce49d84bccb --- /dev/null +++ b/dev-php/pecl-mongodb/pecl-mongodb-1.7.4.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mongodb" +USE_PHP="php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +DESCRIPTION="MongoDB database driver for PHP" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="libressl sasl test" + +PHP_DEPEND=" + php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] ) + php_targets_php7-3? ( dev-lang/php:7.3[json,ssl,zlib] ) + php_targets_php7-4? ( dev-lang/php:7.4[json,ssl,zlib] )" +COMMON_DEPEND="${PHP_DEPEND} + >=dev-libs/libbson-1.16.2 + >=dev-libs/mongo-c-driver-1.16.2[sasl?,ssl] + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + sasl? ( dev-libs/cyrus-sasl )" +DEPEND="${COMMON_DEPEND} + test? ( dev-db/mongodb )" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="${PHP_DEPEND} + virtual/pkgconfig" + +# No tests on x86 because tests require dev-db/mongodb which don't support +# x86 anymore (bug #645994) +RESTRICT="x86? ( test ) + !test? ( test )" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-mongodb + --with-libbson + --with-libmongoc + --with-mongodb-sasl=$(usex sasl) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local PORT=27017 + mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ + --dbpath="${T}" --logpath="${T}/mongod.log" || die + php-ext-pecl-r3_src_test + kill $(<"${T}/mongod.lock") +} diff --git a/dev-php/pecl-ncurses/Manifest b/dev-php/pecl-ncurses/Manifest new file mode 100644 index 000000000000..a25fbc4308db --- /dev/null +++ b/dev-php/pecl-ncurses/Manifest @@ -0,0 +1,2 @@ +DIST ncurses-1.0.2.tgz 16226 BLAKE2B 2b50fb953594f71e8ba2c93cc8ac1443168ea360c5c752eb4ebb941cdbd4e576bd6d5516722bbe06f31a5dd4732bf47c6fd740599af161cb33cbcb45493bbc5d SHA512 e1f684dcab2aa4dd3fded79fed02c78de1525f0384027fe64ad08759617f13ca6fb11742e3407723eecc431ed99847c0c98ae559797dc98ce373a01ba8413bf2 +DIST pecl-ncurses-1.0.2-php7.patch.xz 5096 BLAKE2B 8034121b97cc1769534923570c929444c0cd01238615e51c47845b9b10db4b62353a853a17d8ddd44c8ad47e68c44363321f7d08c2dfdd0e2948ddc7d33b2b9d SHA512 1f1dcaaa61033d7db55048f97e48029a335d5d191447038324eb170c9877da62a7b03cec20ea7496c073b76d7ba1009b4374b088c87e1838ee2dc433749c41fa diff --git a/dev-php/pecl-ncurses/files/pecl-ncurses-1.0.2-php7.3.patch b/dev-php/pecl-ncurses/files/pecl-ncurses-1.0.2-php7.3.patch new file mode 100644 index 000000000000..9b4f8a6274b5 --- /dev/null +++ b/dev-php/pecl-ncurses/files/pecl-ncurses-1.0.2-php7.3.patch @@ -0,0 +1,175 @@ +diff -aurN a/ncurses_fe.c b/ncurses_fe.c +--- a/ncurses_fe.c 2012-06-16 13:05:19.000000000 -0400 ++++ b/ncurses_fe.c 2019-02-06 10:41:09.000000000 -0500 +@@ -123,7 +123,9 @@ + PHP_FE(ncurses_savetty, NULL) + PHP_FE(ncurses_termattrs, NULL) + PHP_FE(ncurses_use_default_colors, NULL) ++#ifdef HAVE_NCURSES_SLK_ATTR + PHP_FE(ncurses_slk_attr, NULL) ++#endif + PHP_FE(ncurses_slk_clear, NULL) + PHP_FE(ncurses_slk_noutrefresh, NULL) + PHP_FE(ncurses_slk_refresh, NULL) +@@ -191,7 +193,9 @@ + #ifdef HAVE_NCURSES_ASSUME_DEFAULT_COLORS + PHP_FE(ncurses_assume_default_colors, NULL) + #endif ++#ifdef HAVE_NCURSES_DEFINE_KEY + PHP_FE(ncurses_define_key, NULL) ++#endif + PHP_FE(ncurses_hline, NULL) + PHP_FE(ncurses_vline, NULL) + PHP_FE(ncurses_keyok, NULL) +@@ -205,6 +209,10 @@ + PHP_FE(ncurses_waddstr, NULL) + PHP_FE(ncurses_wnoutrefresh, NULL) + PHP_FE(ncurses_wclear, NULL) ++ PHP_FE(ncurses_wscrl, NULL) ++ PHP_FE(ncurses_wsetscrreg, NULL) ++ PHP_FE(ncurses_scrollok, NULL) ++ + #ifdef HAVE_NCURSES_COLOR_SET + PHP_FE(ncurses_wcolor_set, NULL) + #endif +diff -aurN a/ncurses_functions.c b/ncurses_functions.c +--- a/ncurses_functions.c 2019-06-07 11:00:54.713250845 -0400 ++++ b/ncurses_functions.c 2019-02-06 10:41:09.000000000 -0500 +@@ -163,16 +163,25 @@ + *pscr = stdscr; + zscr = zend_register_resource(pscr, le_ncurses_windows); + ZVAL_RES(&c.value, zscr); ++#if PHP_VERSION_ID < 70300 + c.flags = CONST_CS; ++#endif + c.name = zend_string_init("STDSCR", sizeof("STDSCR")-1, 0); + zend_register_constant(&c); + ++#if PHP_VERSION_ID < 70300 + #define PHP_NCURSES_DEF_CONST(x) \ + ZVAL_LONG(&c.value, x); \ + c.flags = CONST_CS; \ + c.name = zend_string_init("NCURSES_" #x, sizeof("NCURSES_" #x)-1, 0); \ + zend_register_constant(&c) + #else ++#define PHP_NCURSES_DEF_CONST(x) \ ++ ZVAL_LONG(&c.value, x); \ ++ c.name = zend_string_init("NCURSES_" #x, sizeof("NCURSES_" #x)-1, 0); \ ++ zend_register_constant(&c) ++#endif ++#else + zval *zscr; + + *pscr = stdscr; +@@ -188,7 +197,6 @@ + /* we need this "interesting" arrangement because the + * underlying values of the ACS_XXX defines are not + * initialized until after ncurses has been initialized */ +- + #define PHP_NCURSES_DEF_CONST(x) \ + ZVAL_LONG(zscr, x); \ + c.value = *zscr; \ +@@ -1904,6 +1912,66 @@ + } + /* }}} */ + ++/* {{{ proto int ncurses_wscrl(resource window, int count) ++ Scrolls window content up or down without changing current position */ ++PHP_FUNCTION(ncurses_wscrl) ++{ ++ zval *handle; ++ zend_long intarg; ++ WINDOW **w; ++ ++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &handle, &intarg) == FAILURE) { ++ return; ++ } ++ ++ IS_NCURSES_INITIALIZED(); ++ ++ FETCH_WINRES(w, &handle); ++ ++ RETURN_LONG(wscrl(*w, intarg)); ++} ++/* }}} */ ++ ++/* {{{ proto int ncurses_wsetscrreg(resource window, int top, int bot) ++ Set region for scrolling */ ++PHP_FUNCTION(ncurses_wsetscrreg) ++{ ++ zval *handle; ++ zend_long top, bot; ++ WINDOW **w; ++ ++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &handle, &top, &bot) == FAILURE) { ++ return; ++ } ++ ++ IS_NCURSES_INITIALIZED(); ++ ++ FETCH_WINRES(w, &handle); ++ ++ RETURN_LONG(wsetscrreg(*w, top, bot)); ++} ++/* }}} */ ++ ++/* {{{ proto int ncurses_scrollok(resource window, bool bf) ++ Enable or disable scrolling of window content */ ++PHP_FUNCTION(ncurses_scrollok) ++{ ++ zval *handle; ++ zend_bool bf; ++ WINDOW **w; ++ ++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rb", &handle, &bf) == FAILURE) { ++ return; ++ } ++ ++ IS_NCURSES_INITIALIZED(); ++ ++ FETCH_WINRES(w, &handle); ++ ++ RETURN_LONG(scrollok(*w, bf)); ++} ++/* }}} */ ++ + /* {{{ proto string ncurses_termname(void) + Returns terminal name */ + PHP_FUNCTION(ncurses_termname) +@@ -2609,7 +2677,11 @@ + if (above) { + #if PHP_MAJOR_VERSION >= 7 + zend_resource *id = (zend_resource *)panel_userptr(above); ++#if PHP_VERSION_ID < 70300 + GC_REFCOUNT(id)++; ++#else ++ GC_ADDREF(id); ++#endif + RETURN_RES(id); + #else + long id = (long)panel_userptr(above); +@@ -2643,7 +2715,11 @@ + if (below) { + #if PHP_MAJOR_VERSION >= 7 + zend_resource *id = (zend_resource *)panel_userptr(below); ++#if PHP_VERSION_ID < 70300 + GC_REFCOUNT(id)++; ++#else ++ GC_ADDREF(id); ++#endif + RETURN_RES(id); + #else + long id = (long)panel_userptr(below); +diff -aurN a/php_ncurses_fe.h b/php_ncurses_fe.h +--- a/php_ncurses_fe.h 2012-06-16 13:05:19.000000000 -0400 ++++ b/php_ncurses_fe.h 2019-02-06 10:41:09.000000000 -0500 +@@ -158,6 +158,9 @@ + PHP_FUNCTION(ncurses_prefresh); + PHP_FUNCTION(ncurses_pnoutrefresh); + ++PHP_FUNCTION(ncurses_wscrl); ++PHP_FUNCTION(ncurses_wsetscrreg); ++PHP_FUNCTION(ncurses_scrollok); + PHP_FUNCTION(ncurses_wstandout); + PHP_FUNCTION(ncurses_wstandend); + PHP_FUNCTION(ncurses_wattrset); diff --git a/dev-php/pecl-ncurses/metadata.xml b/dev-php/pecl-ncurses/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-ncurses/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-ncurses/pecl-ncurses-1.0.2-r5.ebuild b/dev-php/pecl-ncurses/pecl-ncurses-1.0.2-r5.ebuild new file mode 100644 index 000000000000..87adfe2ff31d --- /dev/null +++ b/dev-php/pecl-ncurses/pecl-ncurses-1.0.2-r5.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +SRC_URI+=" https://dev.gentoo.org/~grknight/distfiles/${P}-php7.patch.xz" + +DESCRIPTION="Terminal screen handling and optimization package" + +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="sys-libs/ncurses:0=" +RDEPEND="${DEPEND}" + +PHP_EXT_ECONF_ARGS=( --enable-ncursesw ) +PATCHES=( "${WORKDIR}/${P}-php7.patch" "${FILESDIR}/${P}-php7.3.patch" ) diff --git a/dev-php/pecl-oauth/Manifest b/dev-php/pecl-oauth/Manifest new file mode 100644 index 000000000000..418f09077ac4 --- /dev/null +++ b/dev-php/pecl-oauth/Manifest @@ -0,0 +1 @@ +DIST oauth-2.0.5.tgz 49641 BLAKE2B eec258d8dc900c19bea19b0b1db3e1f5b103b65e1298cef0819741181811d98ab86812ab557a3457520bcb6ece48b2b0f081d23897ce06e12b715998cbc1ad2a SHA512 847f8a07aba930d606038a78915ddd9c24aab241d27b844a766e0da3caabf419fd891573524a55b40559a827b1adc1261748efabac5ed1bee45fa770935379ee diff --git a/dev-php/pecl-oauth/metadata.xml b/dev-php/pecl-oauth/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-oauth/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild b/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild new file mode 100644 index 000000000000..18221a56290e --- /dev/null +++ b/dev-php/pecl-oauth/pecl-oauth-2.0.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="oauth" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="OAuth is an authorization protocol built on top of HTTP" +LICENSE="BSD" +SLOT="7" +IUSE="+curl examples" + +DEPEND="php_targets_php7-2? ( dev-lang/php:7.2[hash(-)] + dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) ) + php_targets_php7-3? ( dev-lang/php:7.3[hash(-)] + dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) ) + php_targets_php7-4? ( + dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-oauth + $(use_with curl) + ) + php-ext-source-r3_src_configure +} diff --git a/dev-php/pecl-pam/Manifest b/dev-php/pecl-pam/Manifest new file mode 100644 index 000000000000..e4605a375aad --- /dev/null +++ b/dev-php/pecl-pam/Manifest @@ -0,0 +1 @@ +DIST pam-1.0.3.tgz 6671 BLAKE2B f416fd0e47d3fda6a1d86e44a7ca17fc9a0428f976f18e2b663a2fd1e09b790cd069ca16d930d6dca6554762ca59bda987929e52365ed813949c1a93291c1dcc SHA512 3580582f1456b31be30a713cadaaca106527f2d4f3f12032b5d3617cc361aaf49539a9db3dd27221ce40320187abaac0f6ad4e23cdfe5eaa94436e3eaef3fb9c diff --git a/dev-php/pecl-pam/files/1.0.3-php7.patch b/dev-php/pecl-pam/files/1.0.3-php7.patch new file mode 100644 index 000000000000..d56fffb08d38 --- /dev/null +++ b/dev-php/pecl-pam/files/1.0.3-php7.patch @@ -0,0 +1,118 @@ +--- a/pam.c 2016-12-01 14:29:27.453904230 -0500 ++++ b/pam.c 2016-12-01 14:27:26.496109755 -0500 +@@ -227,8 +227,13 @@ + PHP_FUNCTION(pam_auth) + { + char *username, *password; ++#if PHP_MAJOR_VERSION >= 7 ++ size_t username_len, password_len; ++ zval *status = NULL, *server, *remote_addr; ++#else + int username_len, password_len; + zval *status = NULL, **server, **remote_addr; ++#endif + zend_bool checkacctmgmt = 1; + + pam_auth_t userinfo = {NULL, NULL}; +@@ -248,22 +253,37 @@ + if (status) { + spprintf(&error_msg, 0, "%s (in %s)", (char *) pam_strerror(pamh, result), "pam_start"); + zval_dtor(status); ++#if PHP_MAJOR_VERSION >= 7 ++ ZVAL_STRING(status, error_msg); ++ efree(error_msg); ++#else + ZVAL_STRING(status, error_msg, 0); ++#endif + } + RETURN_FALSE; + } + ++#if PHP_MAJOR_VERSION >= 7 ++ if ((remote_addr = zend_hash_str_find(Z_ARR(PG(http_globals)[TRACK_VARS_SERVER]), "REMOTE_ADDR", sizeof("REMOTE_ADDR")-1)) != NULL && Z_TYPE_P(remote_addr) == IS_STRING) { ++ pam_set_item(pamh, PAM_RHOST, Z_STRVAL_P(remote_addr)); ++#else + if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), (void **)&server) == SUCCESS && Z_TYPE_PP(server) == IS_ARRAY) { + if (zend_hash_find(Z_ARRVAL_PP(server), "REMOTE_ADDR", sizeof("REMOTE_ADDR"), (void **)&remote_addr) == SUCCESS && Z_TYPE_PP(remote_addr) == IS_STRING) { + pam_set_item(pamh, PAM_RHOST, Z_STRVAL_PP(remote_addr)); + } ++#endif + } + + if ((result = pam_authenticate(pamh, PAM_DISALLOW_NULL_AUTHTOK)) != PAM_SUCCESS) { + if (status) { + spprintf(&error_msg, 0, "%s (in %s)", (char *) pam_strerror(pamh, result), "pam_authenticate"); + zval_dtor(status); ++#if PHP_MAJOR_VERSION >= 7 ++ ZVAL_STRING(status, error_msg); ++ efree(error_msg); ++#else + ZVAL_STRING(status, error_msg, 0); ++#endif + } + pam_end(pamh, PAM_SUCCESS); + RETURN_FALSE; +@@ -274,7 +294,12 @@ + if (status) { + spprintf(&error_msg, 0, "%s (in %s)", (char *) pam_strerror(pamh, result), "pam_acct_mgmt"); + zval_dtor(status); ++#if PHP_MAJOR_VERSION >= 7 ++ ZVAL_STRING(status, error_msg); ++ efree(error_msg); ++#else + ZVAL_STRING(status, error_msg, 0); ++#endif + } + pam_end(pamh, PAM_SUCCESS); + RETURN_FALSE; +@@ -291,7 +316,11 @@ + PHP_FUNCTION(pam_chpass) + { + char *username, *oldpass, *newpass; ++#if PHP_MAJOR_VERSION >= 7 ++ size_t username_len, oldpass_len, newpass_len; ++#else + int username_len, oldpass_len, newpass_len; ++#endif + zval *status = NULL; + + pam_chpass_t userinfo = {NULL, NULL, NULL, 0}; +@@ -312,7 +341,12 @@ + if (status) { + spprintf(&error_msg, 0, "%s (in %s)", (char *) pam_strerror(pamh, result), "pam_start"); + zval_dtor(status); ++#if PHP_MAJOR_VERSION >= 7 ++ ZVAL_STRING(status, error_msg); ++ efree(error_msg); ++#else + ZVAL_STRING(status, error_msg, 0); ++#endif + } + RETURN_FALSE; + } +@@ -321,7 +355,12 @@ + if (status) { + spprintf(&error_msg, 0, "%s (in %s)", (char *) pam_strerror(pamh, result), "pam_authenticate"); + zval_dtor(status); ++#if PHP_MAJOR_VERSION >= 7 ++ ZVAL_STRING(status, error_msg); ++ efree(error_msg); ++#else + ZVAL_STRING(status, error_msg, 0); ++#endif + } + pam_end(pamh, PAM_SUCCESS); + RETURN_FALSE; +@@ -331,7 +370,12 @@ + if (status) { + spprintf(&error_msg, 0, "%s (in %s)", (char *) pam_strerror(pamh, result), "pam_chauthtok"); + zval_dtor(status); ++#if PHP_MAJOR_VERSION >= 7 ++ ZVAL_STRING(status, error_msg); ++ efree(error_msg); ++#else + ZVAL_STRING(status, error_msg, 0); ++#endif + } + pam_end(pamh, PAM_SUCCESS); + RETURN_FALSE; diff --git a/dev-php/pecl-pam/metadata.xml b/dev-php/pecl-pam/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-pam/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild b/dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild new file mode 100644 index 000000000000..233b87e332c2 --- /dev/null +++ b/dev-php/pecl-pam/pecl-pam-1.0.3-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="pam" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( README ) + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 pam + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="This extension provides PAM (Pluggable Authentication Modules) integration" +LICENSE="PHP-2.02" +SLOT="0" +IUSE="debug" + +DEPEND="sys-libs/pam" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PV}-php7.patch" ) + +src_prepare() { + #Fix DOS line endings + sed -i 's/\r$//' -- pam.c || die + php-ext-source-r3_src_prepare +} + +src_configure() { + local PHP_EXT_ECONF_ARGS=( --with-pam=/usr $(use_enable debug) ) + php-ext-source-r3_src_configure +} + +src_install() { + pamd_mimic_system php auth account password + php-ext-pecl-r3_src_install +} diff --git a/dev-php/pecl-propro/Manifest b/dev-php/pecl-propro/Manifest new file mode 100644 index 000000000000..d6fdb6b0c2b6 --- /dev/null +++ b/dev-php/pecl-propro/Manifest @@ -0,0 +1 @@ +DIST propro-2.1.0.tgz 14253 BLAKE2B 44c9bde831486fa41520ce75b313865b90a057acd0d566ae7e5c2aca97240e089580ca79ef04842a57a5d8eb76a179e57c505e977913567c1e97260f87fe2165 SHA512 94fc97f7bf17661ec7ecbe4d13b4fc98b8381469140d121fef49d32a4b767e956ed87b9f5bbb794f27ca47ce4b7b3125ea2b9091eb9d1f0a52b5c8f9df7ee145 diff --git a/dev-php/pecl-propro/metadata.xml b/dev-php/pecl-propro/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-propro/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-propro/pecl-propro-2.1.0.ebuild b/dev-php/pecl-propro/pecl-propro-2.1.0.ebuild new file mode 100644 index 000000000000..cf9bab8e4729 --- /dev/null +++ b/dev-php/pecl-propro/pecl-propro-2.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="propro" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_ECONF_ARGS="" +PHP_INI_NAME="30-${PHP_EXT_NAME}" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +# Only really build for 7.x +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +KEYWORDS="amd64 x86" + +DESCRIPTION="A reusable property proxy API for PHP" +LICENSE="BSD-2" +SLOT="7" +IUSE="" + +RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )" + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-pecl-r3_src_install + fi +} diff --git a/dev-php/pecl-ps/Manifest b/dev-php/pecl-ps/Manifest new file mode 100644 index 000000000000..80b4ba920465 --- /dev/null +++ b/dev-php/pecl-ps/Manifest @@ -0,0 +1 @@ +DIST ps-1.4.1.tgz 578991 BLAKE2B 549fae78ffb6e91f39b6292d969b9b80adba1a5911fb52e99c5fcbc940b9470205556e3e11c2940fadc7cc084400bc08ae7255b79e175d705c9bacb8eb3d6e71 SHA512 e9eeb5ad1c9314af0fcfd33e461b560f6cc599a679bc0a5541994fa698e3da63b7cb523f617647bdb2ac1c8fc090263e314ddf956a1e6126f8813de92e49f3af diff --git a/dev-php/pecl-ps/metadata.xml b/dev-php/pecl-ps/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-ps/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild new file mode 100644 index 000000000000..fd04378b47c9 --- /dev/null +++ b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="ps" +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +# Only really build for >=7.0 +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +DESCRIPTION="PHP extension for creating PostScript files" +LICENSE="BSD" +SLOT="7" +IUSE="examples" + +DEPEND=" + php_targets_php7-1? ( dev-libs/pslib ) + php_targets_php7-2? ( dev-libs/pslib ) + php_targets_php7-3? ( dev-libs/pslib ) + php_targets_php7-4? ( dev-libs/pslib ) +" +RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-ps:0[php_targets_php5-6] )" +PHP_EXT_ECONF_ARGS="" + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-pecl-r3_src_install + fi +} + +src_test() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + # tests/004.phpt depends on set numeric format + LC_ALL=C php-ext-pecl-r3_src_test + fi +} diff --git a/dev-php/pecl-radius/Manifest b/dev-php/pecl-radius/Manifest new file mode 100644 index 000000000000..fa8821785645 --- /dev/null +++ b/dev-php/pecl-radius/Manifest @@ -0,0 +1 @@ +DIST radius-1.4.0b1.tgz 50953 BLAKE2B 1f6f2a4c4cfa7600a37b8bc30e4d263b899a687becac83fd01bac2466de08cad4233984ca694dc73eaf20b64ef94e1e6a6ca7f843474c8f0c9de2c39df9d9705 SHA512 db6ebe928673db1ff4c565338010ef5acf6029844994eb240f2e8eaeda4aff734ed300a7ddf16c09e245671aad377283f99cf1c485569b3bad0c7c7b24a19664 diff --git a/dev-php/pecl-radius/metadata.xml b/dev-php/pecl-radius/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-radius/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r2.ebuild b/dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r2.ebuild new file mode 100644 index 000000000000..a18ff95d221c --- /dev/null +++ b/dev-php/pecl-radius/pecl-radius-1.4.0_beta1-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="radius" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" +PHP_EXT_PECL_FILENAME="${PN/pecl-/}-${PV/_beta/b}.tgz" +PHP_EXT_S="${WORKDIR}/${PHP_EXT_PECL_FILENAME%.tgz}" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Provides support for RADIUS authentication (RFC 2865) and accounting (RFC 2866)" +LICENSE="BSD" +SLOT="0" +IUSE="examples" + +S="${PHP_EXT_S}" + +RDEPEND=" + php_targets_php5-6? ( dev-lang/php:5.6[pcntl,sockets] ) + php_targets_php7-1? ( dev-lang/php:7.1[pcntl,sockets] ) + php_targets_php7-2? ( dev-lang/php:7.2[pcntl,sockets] ) + php_targets_php7-3? ( dev-lang/php:7.3[pcntl,sockets] ) + php_targets_php7-4? ( dev-lang/php:7.3[pcntl,sockets] ) +" diff --git a/dev-php/pecl-raphf/Manifest b/dev-php/pecl-raphf/Manifest new file mode 100644 index 000000000000..370d4da0588e --- /dev/null +++ b/dev-php/pecl-raphf/Manifest @@ -0,0 +1,2 @@ +DIST raphf-2.0.0.tgz 15715 BLAKE2B bab2997d9ce8358efaa69f2e633f49e4dd16f640e8d30284ebb33767285bead1aabcd973e7133152b82cf624e2c2e68cc6247e424aa5ed540e4211b5ed3da365 SHA512 16b029b694d30817a68a1a9d80bdf031d058ada45a93a4b34b49ec5d61fa8af78d0dbf1a3e5e2f1b950b2a11ac0b86b5a467807551556ab2a77f7f99739ed11b +DIST raphf-2.0.1.tgz 16003 BLAKE2B 4eaf9f89e6572e17e0df347543dc99221f68d45103444f89e59862b9078574722278fbb1e2841b0a5952ffd6dfc4ea0fa81298f2014ffbe8a6b51ed6887f6692 SHA512 0a609fc21a62880963e7afb75297eb75a2598aab2c816cb61e84d665b0453e4952aa9bf25fe2c818cc94492a4b94aed965053c67899fdb984d88661364fffb1e diff --git a/dev-php/pecl-raphf/metadata.xml b/dev-php/pecl-raphf/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-raphf/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild b/dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild new file mode 100644 index 000000000000..e594718f2c51 --- /dev/null +++ b/dev-php/pecl-raphf/pecl-raphf-2.0.0-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="raphf" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_ECONF_ARGS="" +PHP_INI_NAME="30-${PHP_EXT_NAME}" + +USE_PHP="php5-6 php7-1 php7-2 php7-3" + +inherit php-ext-pecl-r3 + +# Only really build for 7.x +USE_PHP="php7-1 php7-2 php7-3" + +KEYWORDS="amd64 x86" + +DESCRIPTION="A reusable, persistent handle and resource factory API" +LICENSE="BSD-2" +SLOT="7" +IUSE="" + +RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )" + +# Tests need pecl-http, which needs this +RESTRICT="test" + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then + php-ext-pecl-r3_src_install + fi +} diff --git a/dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild b/dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild new file mode 100644 index 000000000000..9923b1d0c97d --- /dev/null +++ b/dev-php/pecl-raphf/pecl-raphf-2.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="raphf" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_ECONF_ARGS="" +PHP_INI_NAME="30-${PHP_EXT_NAME}" + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +# Only really build for 7.x +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="A reusable, persistent handle and resource factory API" +LICENSE="BSD-2" +SLOT="7" +IUSE="" + +RDEPEND="php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6] )" + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4; then + php-ext-pecl-r3_src_install + fi +} diff --git a/dev-php/pecl-redis/Manifest b/dev-php/pecl-redis/Manifest new file mode 100644 index 000000000000..8d804c0bf6ff --- /dev/null +++ b/dev-php/pecl-redis/Manifest @@ -0,0 +1,3 @@ +DIST redis-5.1.1.tgz 245205 BLAKE2B b7177be5282b081562a446b1b37c7b46ba0ef382e55f27989d5586346a10f842d050ee46e881e480ea6b768e1259458df565d02193eda13a95704cd5455c1ca2 SHA512 eb6aa538d2ae4115634fd5841e3ccccf788cad13b99e0485fb2af43def85e93328012e5cef66d1be4bdd494be6f68de329a066e41b710e434f94f3ed3401bfee +DIST redis-5.2.1.tgz 251570 BLAKE2B 297d6130469735a53f6dfb6ffea8c7c813363099eb76f25619f0cbb05cd06f5ecad9c0f30c370e33985523cf26488cf133aa0a48a99075bc6d5796309e3d914d SHA512 de90bf65cce0cb8c5ea28415e4f7bfff23c8bb3dc96ddca3158f94be2e4bd051e13ec3f34429b0e8ceb436096520e3998f544f377d5ef7d4d1df4edba7f66bc2 +DIST redis-5.2.2.tgz 251629 BLAKE2B e6ca740412dd1ba4ee960e1c71b3f75ebb1a1e2605bc93159395c657ab61eda4c8222b6e890a447c06cd1ef016e061861ffc5d8a6fd6e7e324353a148b54c593 SHA512 0020c572bcd24cdb479046727fba2d30ca87c9a7111c51e5fe3be0b85459e3e7dfc8892b690650de0a7dc80c1a8921f9de45590f6e60257fbf0534729c6e6f4f diff --git a/dev-php/pecl-redis/metadata.xml b/dev-php/pecl-redis/metadata.xml new file mode 100644 index 000000000000..6f45929d81d2 --- /dev/null +++ b/dev-php/pecl-redis/metadata.xml @@ -0,0 +1,13 @@ + + + + + php-bugs@gentoo.org + PHP + + + Enables igbinary serialisation support + Enables json serializer support + + gentoo-staging + diff --git a/dev-php/pecl-redis/pecl-redis-5.1.1.ebuild b/dev-php/pecl-redis/pecl-redis-5.1.1.ebuild new file mode 100644 index 000000000000..f765a4d536ff --- /dev/null +++ b/dev-php/pecl-redis/pecl-redis-5.1.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="redis" +USE_PHP="php7-1 php7-2 php7-3 php7-4" +PHP_EXT_NEEDED_USE="json?,session?" +DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS ) +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="PHP extension for interfacing with Redis" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="amd64 ~arm" +IUSE="igbinary +json +session" + +DEPEND=" + igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] ) +" +RDEPEND="${DEPEND} !dev-php/pecl-redis:7" + +# The test suite requires network access. +RESTRICT=test + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-redis + $(use_enable igbinary redis-igbinary) + $(use_enable json redis-json) + $(use_enable session redis-session) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + # Run tests for Redis class + ${PHPCLI} -d extension=modules/redis.so \ + tests/TestRedis.php \ + --class Redis \ + --host ${PECL_REDIS_HOST} || die 'test suite failed' + done +} diff --git a/dev-php/pecl-redis/pecl-redis-5.2.1.ebuild b/dev-php/pecl-redis/pecl-redis-5.2.1.ebuild new file mode 100644 index 000000000000..ec5cd6b371d3 --- /dev/null +++ b/dev-php/pecl-redis/pecl-redis-5.2.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="redis" +USE_PHP="php7-2 php7-3 php7-4" +PHP_EXT_NEEDED_USE="json?,session?" +DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS ) +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="PHP extension for interfacing with Redis" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="igbinary +json +session" + +DEPEND=" + igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] ) +" +RDEPEND="${DEPEND} !dev-php/pecl-redis:7" + +# The test suite requires network access. +RESTRICT=test + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-redis + $(use_enable igbinary redis-igbinary) + $(use_enable json redis-json) + $(use_enable session redis-session) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + # Run tests for Redis class + ${PHPCLI} -d extension=modules/redis.so \ + tests/TestRedis.php \ + --class Redis \ + --host ${PECL_REDIS_HOST} || die 'test suite failed' + done +} diff --git a/dev-php/pecl-redis/pecl-redis-5.2.2.ebuild b/dev-php/pecl-redis/pecl-redis-5.2.2.ebuild new file mode 100644 index 000000000000..ec5cd6b371d3 --- /dev/null +++ b/dev-php/pecl-redis/pecl-redis-5.2.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="redis" +USE_PHP="php7-2 php7-3 php7-4" +PHP_EXT_NEEDED_USE="json?,session?" +DOCS=( arrays.markdown cluster.markdown README.markdown CREDITS ) +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="PHP extension for interfacing with Redis" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~arm" +IUSE="igbinary +json +session" + +DEPEND=" + igbinary? ( >=dev-php/igbinary-3.0.1-r1[php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?] ) +" +RDEPEND="${DEPEND} !dev-php/pecl-redis:7" + +# The test suite requires network access. +RESTRICT=test + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-redis + $(use_enable igbinary redis-igbinary) + $(use_enable json redis-json) + $(use_enable session redis-session) + ) + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + # Run tests for Redis class + ${PHPCLI} -d extension=modules/redis.so \ + tests/TestRedis.php \ + --class Redis \ + --host ${PECL_REDIS_HOST} || die 'test suite failed' + done +} diff --git a/dev-php/pecl-rrd/Manifest b/dev-php/pecl-rrd/Manifest new file mode 100644 index 000000000000..3f9af491a776 --- /dev/null +++ b/dev-php/pecl-rrd/Manifest @@ -0,0 +1 @@ +DIST rrd-2.0.1.tgz 18880 BLAKE2B c3fb65e95aece39690085830ec1c43ba173e173591215d6a66145ac71079f8d5ba5b097acd9018c86d2342550001334f8e1c98e22204d94a24aee5cc086295ca SHA512 b6f7173f54fcf49bf014cc6c78263c169cdf53dac66c12f5f88db7e01b49ea74da84a55f61deb25c866e6e2e74275ec48fc4a3d1b46719f66b5b7b7eb000b6b3 diff --git a/dev-php/pecl-rrd/metadata.xml b/dev-php/pecl-rrd/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-rrd/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild b/dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild new file mode 100644 index 000000000000..16e4bc484026 --- /dev/null +++ b/dev-php/pecl-rrd/pecl-rrd-2.0.1-r3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +# Define 5.6 here to have the {I,REQUIRED_}USE generated +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +# But we really only build 7.0 +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +DESCRIPTION="RRDtool bindings for PHP" +LICENSE="BSD" +SLOT="7" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + php_targets_php7-1? ( net-analyzer/rrdtool[graph] ) + php_targets_php7-2? ( net-analyzer/rrdtool[graph] ) + php_targets_php7-3? ( net-analyzer/rrdtool[graph] ) + php_targets_php7-4? ( net-analyzer/rrdtool[graph] ) +" +RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0 )" + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + default + fi +} + +src_configure() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-3 || use php_targets_php7-4 ; then + local PHP_EXT_ECONF_ARGS=() + php-ext-source-r3_src_configure + fi +} + +src_install() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-pecl-r3_src_install + fi +} + +src_test() { + local slot + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-3 || use php_targets_php7-4 ; then + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + # Prepare test data + emake -C tests/data all + NO_INTERACTION="yes" emake test + done + fi +} diff --git a/dev-php/pecl-ssh2/Manifest b/dev-php/pecl-ssh2/Manifest new file mode 100644 index 000000000000..b87e771ebe29 --- /dev/null +++ b/dev-php/pecl-ssh2/Manifest @@ -0,0 +1,2 @@ +DIST pecl-ssh2-1.2.tar.gz 32447 BLAKE2B 3a9d0f205097a381d07fb9dd5ab4dcb8e361f555dbc633abb8fa895c83024b70e85cd87602da1ceeb1018a7b07c474720b02810ef0689e9294fc33b129b6c738 SHA512 7b7d311cd5f88835e124d70a0295468f75d0fa6936a58808c936d1a185bb630b9e02c21f49b4bd777194a7b104aa3ff85c4fbf480f43d5906787e532ba2d3e04 +DIST ssh2-1.1.2.tgz 32057 BLAKE2B 88ffb3fb608687a086bbe345677982e944210791acc100312ba56ac7c35188a52cde5529d78caf473d19710e9965fba853ea9ff046715413a0b488ae2d8b690c SHA512 36793191448745b8a9b3cc628fe9fb431480792c7a2ff0bf2eccd58cda1cf944933be1d301c455d4a6f3dabf7e04ffef248bc402a8ff99bfafcba0deddb25c36 diff --git a/dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php7-port.patch b/dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php7-port.patch new file mode 100644 index 000000000000..9d4f9bd166ec --- /dev/null +++ b/dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php7-port.patch @@ -0,0 +1,746 @@ +From 073067ba96ac99ed5696d27f13ca6c8124986e74 Mon Sep 17 00:00:00 2001 +From: Jan-E +Date: Thu, 28 Jun 2018 08:43:48 +0200 +Subject: [PATCH] @dstogov Fixed PHP7 port. Restored commented reference + counting. + +--- + php_ssh2.h | 14 +++--- + ssh2.c | 26 +++++----- + ssh2_fopen_wrappers.c | 129 ++++++++++++++++++++++---------------------------- + ssh2_sftp.c | 59 ++++++++++------------- + 4 files changed, 102 insertions(+), 126 deletions(-) + +diff --git a/php_ssh2.h b/php_ssh2.h +index d010ff9..2bbaa26 100644 +--- a/php_ssh2.h ++++ b/php_ssh2.h +@@ -73,14 +73,14 @@ typedef struct _php_ssh2_sftp_data { + LIBSSH2_SESSION *session; + LIBSSH2_SFTP *sftp; + +- int session_rsrcid; ++ zend_resource *session_rsrc; + } php_ssh2_sftp_data; + + typedef struct _php_ssh2_listener_data { + LIBSSH2_SESSION *session; + LIBSSH2_LISTENER *listener; + +- int session_rsrcid; ++ zend_resource *session_rsrc; + } php_ssh2_listener_data; + + #include "libssh2_publickey.h" +@@ -89,7 +89,7 @@ typedef struct _php_ssh2_pkey_subsys_data { + LIBSSH2_SESSION *session; + LIBSSH2_PUBLICKEY *pkey; + +- int session_rsrcid; ++ zend_resource *session_rsrc; + } php_ssh2_pkey_subsys_data; + + #define SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession) \ +@@ -118,8 +118,8 @@ typedef struct _php_ssh2_channel_data { + char is_blocking; + long timeout; + +- /* Resource ID */ +- int session_rsrcid; ++ /* Resource */ ++ zend_resource *session_rsrc; + + /* Allow one stream to be closed while the other is kept open */ + unsigned char *refcount; +@@ -151,8 +151,8 @@ PHP_FUNCTION(ssh2_sftp_realpath); + LIBSSH2_SESSION *php_ssh2_session_connect(char *host, int port, zval *methods, zval *callbacks); + void php_ssh2_sftp_dtor(zend_resource *rsrc); + php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stream_context *context, +- LIBSSH2_SESSION **psession, int *presource_id, +- LIBSSH2_SFTP **psftp, int *psftp_rsrcid); ++ LIBSSH2_SESSION **psession, zend_resource **presource, ++ LIBSSH2_SFTP **psftp, zend_resource **psftp_rsrc); + + extern php_stream_ops php_ssh2_channel_stream_ops; + +diff --git a/ssh2.c b/ssh2.c +index e73867e..849766b 100644 +--- a/ssh2.c ++++ b/ssh2.c +@@ -772,9 +772,8 @@ PHP_FUNCTION(ssh2_forward_listen) + + data = emalloc(sizeof(php_ssh2_listener_data)); + data->session = session; +- data->session_rsrcid = Z_LVAL_P(zsession); +- //TODO Sean-Der +- //zend_list_addref(data->session_rsrcid); ++ data->session_rsrc = Z_RES_P(zsession); ++ Z_ADDREF_P(zsession); + data->listener = listener; + + RETURN_RES(zend_register_resource(data, le_ssh2_listener)); +@@ -810,7 +809,7 @@ PHP_FUNCTION(ssh2_forward_accept) + channel_data->channel = channel; + channel_data->streamid = 0; + channel_data->is_blocking = 0; +- channel_data->session_rsrcid = data->session_rsrcid; ++ channel_data->session_rsrc = data->session_rsrc; + channel_data->refcount = NULL; + + stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); +@@ -820,8 +819,12 @@ PHP_FUNCTION(ssh2_forward_accept) + libssh2_channel_free(channel); + RETURN_FALSE; + } +- //TODO Sean-Der +- //zend_list_addref(channel_data->session_rsrcid); ++ ++#if PHP_VERSION_ID < 70300 ++ GC_REFCOUNT(channel_data->session_rsrc)++; ++#else ++ GC_ADDREF(channel_data->session_rsrc); ++#endif + + php_stream_to_zval(stream, return_value); + } +@@ -975,9 +978,8 @@ PHP_FUNCTION(ssh2_publickey_init) + + data = emalloc(sizeof(php_ssh2_pkey_subsys_data)); + data->session = session; +- data->session_rsrcid = Z_RES_P(zsession)->handle; +- //TODO Sean-Der +- //zend_list_addref(data->session_rsrcid); ++ data->session_rsrc = Z_RES_P(zsession); ++ Z_ADDREF_P(zsession); + data->pkey = pkey; + + RETURN_RES(zend_register_resource(data, le_ssh2_pkey_subsys)); +@@ -1280,8 +1282,7 @@ static void php_ssh2_listener_dtor(zend_resource *rsrc) + LIBSSH2_LISTENER *listener = data->listener; + + libssh2_channel_forward_cancel(listener); +- // TODO Sean-Der +- //zend_list_delete(data->session_rsrcid); ++ zend_list_delete(data->session_rsrc); + efree(data); + } + +@@ -1291,8 +1292,7 @@ static void php_ssh2_pkey_subsys_dtor(zend_resource *rsrc) + LIBSSH2_PUBLICKEY *pkey = data->pkey; + + libssh2_publickey_shutdown(pkey); +- // TODO Sean-Der +- //zend_list_delete(data->session_rsrcid); ++ zend_list_delete(data->session_rsrc); + efree(data); + } + +diff --git a/ssh2_fopen_wrappers.c b/ssh2_fopen_wrappers.c +index f2f3475..c4eb9dc 100644 +--- a/ssh2_fopen_wrappers.c ++++ b/ssh2_fopen_wrappers.c +@@ -47,11 +47,9 @@ static size_t php_ssh2_channel_stream_write(php_stream *stream, const char *buf, + php_ssh2_channel_data *abstract = (php_ssh2_channel_data*)stream->abstract; + size_t writestate; + LIBSSH2_SESSION *session; +- zval *zresource; + + libssh2_channel_set_blocking(abstract->channel, abstract->is_blocking); +- zresource = php_ssh2_zval_from_resource_handle(abstract->session_rsrcid); +- session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); ++ session = (LIBSSH2_SESSION *)zend_fetch_resource(abstract->session_rsrc, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); + + + +@@ -90,12 +88,10 @@ static size_t php_ssh2_channel_stream_read(php_stream *stream, char *buf, size_t + php_ssh2_channel_data *abstract = (php_ssh2_channel_data*)stream->abstract; + ssize_t readstate; + LIBSSH2_SESSION *session; +- zval *zresource; + + stream->eof = libssh2_channel_eof(abstract->channel); + libssh2_channel_set_blocking(abstract->channel, abstract->is_blocking); +- zresource = php_ssh2_zval_from_resource_handle(abstract->session_rsrcid); +- session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); ++ session = (LIBSSH2_SESSION *)zend_fetch_resource(abstract->session_rsrc, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); + + #ifdef PHP_SSH2_SESSION_TIMEOUT + if (abstract->is_blocking) { +@@ -137,8 +133,7 @@ static int php_ssh2_channel_stream_close(php_stream *stream, int close_handle) + } + libssh2_channel_eof(abstract->channel); + libssh2_channel_free(abstract->channel); +- //TODO Sean-Der +- //zend_list_delete(abstract->session_rsrcid); ++ zend_list_delete(abstract->session_rsrc); + } + efree(abstract); + +@@ -207,8 +202,8 @@ php_stream_ops php_ssh2_channel_stream_ops = { + * Parse an ssh2.*:// path + */ + php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stream_context *context, +- LIBSSH2_SESSION **psession, int *presource_id, +- LIBSSH2_SFTP **psftp, int *psftp_rsrcid) ++ LIBSSH2_SESSION **psession, zend_resource **presource, ++ LIBSSH2_SFTP **psftp, zend_resource **psftp_rsrc) + { + php_ssh2_sftp_data *sftp_data = NULL; + LIBSSH2_SESSION *session; +@@ -283,11 +278,10 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); + if (sftp_data) { + /* Want the sftp layer */ +- //TODO Sean-Der +- //zend_list_addref(resource_id); +- *psftp_rsrcid = resource_id; ++ Z_ADDREF_P(zresource); ++ *psftp_rsrc = Z_RES_P(zresource); + *psftp = sftp_data->sftp; +- *presource_id = sftp_data->session_rsrcid; ++ *presource = sftp_data->session_rsrc; + *psession = sftp_data->session; + return resource; + } +@@ -305,18 +299,16 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + sftp_data = emalloc(sizeof(php_ssh2_sftp_data)); + sftp_data->sftp = sftp; + sftp_data->session = session; +- sftp_data->session_rsrcid = resource_id; +- //TODO Sean-Der +- //zend_list_addref(resource_id); +- *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; ++ sftp_data->session_rsrc = Z_RES_P(zresource); ++ Z_ADDREF_P(zresource); ++ *psftp_rsrc = zend_register_resource(sftp_data, le_ssh2_sftp); + *psftp = sftp; +- *presource_id = resource_id; ++ *presource = Z_RES_P(zresource); + *psession = session; + return resource; + } +- //TODO Sean-Der +- //zend_list_addref(resource_id); +- *presource_id = resource_id; ++ Z_ADDREF_P(zresource); ++ *presource = Z_RES_P(zresource); + *psession = session; + return resource; + } +@@ -330,9 +322,9 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); + if (sftp_data) { + Z_ADDREF_P(tmpzval); +- *psftp_rsrcid = Z_LVAL_P(tmpzval); ++ *psftp_rsrc = Z_RES_P(tmpzval); + *psftp = sftp_data->sftp; +- *presource_id = sftp_data->session_rsrcid; ++ *presource = sftp_data->session_rsrc; + *psession = sftp_data->session; + return resource; + } +@@ -354,17 +346,17 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + sftp_data = emalloc(sizeof(php_ssh2_sftp_data)); + sftp_data->sftp = sftp; + sftp_data->session = session; +- sftp_data->session_rsrcid = Z_LVAL_P(tmpzval); ++ sftp_data->session_rsrc = Z_RES_P(tmpzval); + Z_ADDREF_P(tmpzval); +- *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; ++ *psftp_rsrc = zend_register_resource(sftp_data, le_ssh2_sftp); + *psftp = sftp; +- *presource_id = Z_RES_P(tmpzval)->handle; ++ *presource = Z_RES_P(tmpzval); + *psession = session; + return resource; + } + Z_ADDREF_P(tmpzval); + *psession = session; +- *presource_id = Z_LVAL_P(tmpzval); ++ *presource = Z_RES_P(tmpzval); + return resource; + } + } +@@ -465,8 +457,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + + /* Auth failure */ + php_url_free(resource); +- //TODO Sean-Der +- //zend_list_delete(Z_LVAL(zsession)); ++ zend_list_delete(Z_RES(zsession)); + return NULL; + + session_authed: +@@ -480,24 +471,22 @@ session_authed: + sftp = libssh2_sftp_init(session); + if (!sftp) { + php_url_free(resource); +- //TODO Sean-Der +- //zend_list_delete(Z_LVAL(zsession)); ++ zend_list_delete(Z_RES(zsession)); + return NULL; + } + + sftp_data = emalloc(sizeof(php_ssh2_sftp_data)); + sftp_data->session = session; + sftp_data->sftp = sftp; +- sftp_data->session_rsrcid = Z_LVAL(zsession); ++ sftp_data->session_rsrc = Z_RES(zsession); + + //TODO Sean-Der + //ZEND_REGISTER_RESOURCE(sftp_data, le_ssh2_sftp); +- *psftp_rsrcid = Z_LVAL(zsftp); ++ *psftp_rsrc = Z_RES(zsftp); + *psftp = sftp; + } + +- //TODO may be undefined +- *presource_id = Z_LVAL(zsession); ++ *presource = Z_RES(zsession); + *psession = session; + + return resource; +@@ -511,7 +500,7 @@ session_authed: + /* {{{ php_ssh2_shell_open + * Make a stream from a session + */ +-static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, int resource_id, char *term, int term_len, zval *environment, long width, long height, long type) ++static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, zend_resource *resource, char *term, int term_len, zval *environment, long width, long height, long type) + { + LIBSSH2_CHANNEL *channel; + php_ssh2_channel_data *channel_data; +@@ -578,7 +567,7 @@ static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, int resource_id + channel_data->streamid = 0; + channel_data->is_blocking = 0; + channel_data->timeout = 0; +- channel_data->session_rsrcid = resource_id; ++ channel_data->session_rsrc = resource; + channel_data->refcount = NULL; + + stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); +@@ -599,11 +588,12 @@ static php_stream *php_ssh2_fopen_wrapper_shell(php_stream_wrapper *wrapper, con + zend_long width = PHP_SSH2_DEFAULT_TERM_WIDTH; + zend_long height = PHP_SSH2_DEFAULT_TERM_HEIGHT; + zend_long type = PHP_SSH2_DEFAULT_TERM_UNIT; +- int resource_id = 0, terminal_len = sizeof(PHP_SSH2_DEFAULT_TERMINAL) - 1; ++ zend_resource *rsrc = NULL; ++ int terminal_len = sizeof(PHP_SSH2_DEFAULT_TERMINAL) - 1; + php_url *resource; + char *s; + +- resource = php_ssh2_fopen_wraper_parse_path(path, "shell", context, &session, &resource_id, NULL, NULL); ++ resource = php_ssh2_fopen_wraper_parse_path(path, "shell", context, &session, &rsrc, NULL, NULL); + if (!resource || !session) { + return NULL; + } +@@ -677,10 +667,9 @@ static php_stream *php_ssh2_fopen_wrapper_shell(php_stream_wrapper *wrapper, con + /* TODO: Accept resolution and environment vars as URL style parameters + * ssh2.shell://hostorresource/terminal/99x99c?envvar=envval&envvar=envval.... + */ +- stream = php_ssh2_shell_open(session, resource_id, terminal, terminal_len, environment, width, height, type); ++ stream = php_ssh2_shell_open(session, rsrc, terminal, terminal_len, environment, width, height, type); + if (!stream) { +- //TODO Sean-Der +- //zend_list_delete(resource_id); ++ zend_list_delete(rsrc); + } + php_url_free(resource); + +@@ -730,7 +719,7 @@ PHP_FUNCTION(ssh2_shell) + + SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); + +- stream = php_ssh2_shell_open(session, Z_RES_P(zsession)->handle, term, term_len, environment, width, height, type); ++ stream = php_ssh2_shell_open(session, Z_RES_P(zsession), term, term_len, environment, width, height, type); + if (!stream) { + RETURN_FALSE; + } +@@ -749,7 +738,7 @@ PHP_FUNCTION(ssh2_shell) + /* {{{ php_ssh2_exec_command + * Make a stream from a session + */ +-static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_id, char *command, char *term, int term_len, zval *environment, long width, long height, long type) ++static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, zend_resource *rsrc, char *command, char *term, int term_len, zval *environment, long width, long height, long type) + { + LIBSSH2_CHANNEL *channel; + php_ssh2_channel_data *channel_data; +@@ -819,7 +808,7 @@ static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_ + channel_data->streamid = 0; + channel_data->is_blocking = 0; + channel_data->timeout = 0; +- channel_data->session_rsrcid = resource_id; ++ channel_data->session_rsrc = rsrc; + channel_data->refcount = NULL; + + stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); +@@ -836,7 +825,7 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons + LIBSSH2_SESSION *session = NULL; + php_stream *stream; + zval *tmpzval, *environment = NULL; +- int resource_id = 0; ++ zend_resource *rsrc = NULL; + php_url *resource; + char *terminal = NULL; + int terminal_len = 0; +@@ -844,14 +833,13 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons + long height = PHP_SSH2_DEFAULT_TERM_HEIGHT; + long type = PHP_SSH2_DEFAULT_TERM_UNIT; + +- resource = php_ssh2_fopen_wraper_parse_path(path, "exec", context, &session, &resource_id, NULL, NULL); ++ resource = php_ssh2_fopen_wraper_parse_path(path, "exec", context, &session, &rsrc, NULL, NULL); + if (!resource || !session) { + return NULL; + } + if (!resource->path) { + php_url_free(resource); +- //TODO Sean-Der +- //zend_list_delete(resource_id); ++ zend_list_delete(rsrc); + return NULL; + } + +@@ -893,10 +881,9 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons + zval_ptr_dtor(copyval); + } + +- stream = php_ssh2_exec_command(session, resource_id, SSH2_URL_STR(resource->path) + 1, terminal, terminal_len, environment, width, height, type); ++ stream = php_ssh2_exec_command(session, rsrc, SSH2_URL_STR(resource->path) + 1, terminal, terminal_len, environment, width, height, type); + if (!stream) { +- // TODO Sean-Der +- //zend_list_delete(resource_id); ++ zend_list_delete(rsrc); + } + php_url_free(resource); + +@@ -963,7 +950,7 @@ PHP_FUNCTION(ssh2_exec) + + SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); + +- stream = php_ssh2_exec_command(session, Z_RES_P(zsession)->handle, command, term, term_len, environment, width, height, type); ++ stream = php_ssh2_exec_command(session, Z_RES_P(zsession), command, term, term_len, environment, width, height, type); + if (!stream) { + RETURN_FALSE; + } +@@ -982,7 +969,7 @@ PHP_FUNCTION(ssh2_exec) + /* {{{ php_ssh2_scp_xfer + * Make a stream from a session + */ +-static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, int resource_id, char *filename) ++static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, zend_resource *rsrc, char *filename) + { + LIBSSH2_CHANNEL *channel; + php_ssh2_channel_data *channel_data; +@@ -1002,7 +989,7 @@ static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, int resource_id, + channel_data->streamid = 0; + channel_data->is_blocking = 0; + channel_data->timeout = 0; +- channel_data->session_rsrcid = resource_id; ++ channel_data->session_rsrc = rsrc; + channel_data->refcount = NULL; + + stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r"); +@@ -1018,28 +1005,26 @@ static php_stream *php_ssh2_fopen_wrapper_scp(php_stream_wrapper *wrapper, const + { + LIBSSH2_SESSION *session = NULL; + php_stream *stream; +- int resource_id = 0; ++ zend_resource *rsrc = NULL; + php_url *resource; + + if (strchr(mode, '+') || strchr(mode, 'a') || strchr(mode, 'w')) { + return NULL; + } + +- resource = php_ssh2_fopen_wraper_parse_path(path, "scp", context, &session, &resource_id, NULL, NULL); ++ resource = php_ssh2_fopen_wraper_parse_path(path, "scp", context, &session, &rsrc, NULL, NULL); + if (!resource || !session) { + return NULL; + } + if (!resource->path) { + php_url_free(resource); +- //TODO Sean-Der +- //zend_list_delete(resource_id); ++ zend_list_delete(rsrc); + return NULL; + } + +- stream = php_ssh2_scp_xfer(session, resource_id, SSH2_URL_STR(resource->path)); ++ stream = php_ssh2_scp_xfer(session, rsrc, SSH2_URL_STR(resource->path)); + if (!stream) { +- //TODO Sean-Der +- //zend_list_delete(resource_id); ++ zend_list_delete(rsrc); + } + php_url_free(resource); + +@@ -1231,7 +1216,7 @@ PHP_FUNCTION(ssh2_scp_send) + /* {{{ php_ssh2_direct_tcpip + * Make a stream from a session + */ +-static php_stream *php_ssh2_direct_tcpip(LIBSSH2_SESSION *session, int resource_id, char *host, int port) ++static php_stream *php_ssh2_direct_tcpip(LIBSSH2_SESSION *session, zend_resource *rsrc, char *host, int port) + { + LIBSSH2_CHANNEL *channel; + php_ssh2_channel_data *channel_data; +@@ -1251,7 +1236,7 @@ static php_stream *php_ssh2_direct_tcpip(LIBSSH2_SESSION *session, int resource_ + channel_data->streamid = 0; + channel_data->is_blocking = 0; + channel_data->timeout = 0; +- channel_data->session_rsrcid = resource_id; ++ channel_data->session_rsrc = rsrc; + channel_data->refcount = NULL; + + stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); +@@ -1270,9 +1255,9 @@ static php_stream *php_ssh2_fopen_wrapper_tunnel(php_stream_wrapper *wrapper, co + php_url *resource; + char *host = NULL; + int port = 0; +- int resource_id = 0; ++ zend_resource *rsrc; + +- resource = php_ssh2_fopen_wraper_parse_path(path, "tunnel", context, &session, &resource_id, NULL, NULL); ++ resource = php_ssh2_fopen_wraper_parse_path(path, "tunnel", context, &session, &rsrc, NULL, NULL); + if (!resource || !session) { + return NULL; + } +@@ -1303,15 +1288,13 @@ static php_stream *php_ssh2_fopen_wrapper_tunnel(php_stream_wrapper *wrapper, co + if ((port <= 0) || (port > 65535) || !host || (strlen(host) == 0)) { + /* Invalid connection criteria */ + php_url_free(resource); +- //TODO Sean-Der +- //zend_list_delete(resource_id); ++ zend_list_delete(rsrc); + return NULL; + } + +- stream = php_ssh2_direct_tcpip(session, resource_id, host, port); ++ stream = php_ssh2_direct_tcpip(session, rsrc, host, port); + if (!stream) { +- // TODO Sean-Der +- //zend_list_delete(resource_id); ++ zend_list_delete(rsrc); + } + php_url_free(resource); + +@@ -1352,7 +1335,7 @@ PHP_FUNCTION(ssh2_tunnel) + + SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); + +- stream = php_ssh2_direct_tcpip(session, Z_RES_P(zsession)->handle, host, port); ++ stream = php_ssh2_direct_tcpip(session, Z_RES_P(zsession), host, port); + if (!stream) { + RETURN_FALSE; + } +diff --git a/ssh2_sftp.c b/ssh2_sftp.c +index 6332be8..256fc70 100644 +--- a/ssh2_sftp.c ++++ b/ssh2_sftp.c +@@ -40,8 +40,7 @@ void php_ssh2_sftp_dtor(zend_resource *rsrc) + + libssh2_sftp_shutdown(data->sftp); + +- // TODO Sean-Der +- //zend_list_delete(data->session_rsrcid); ++ zend_list_delete(data->session_rsrc); + + efree(data); + } +@@ -50,7 +49,7 @@ void php_ssh2_sftp_dtor(zend_resource *rsrc) + * SFTP File Ops * + ***************** */ + +-inline unsigned long php_ssh2_parse_fopen_modes(char *openmode) { ++unsigned long php_ssh2_parse_fopen_modes(char *openmode) { + unsigned long flags = 0; + + if (strchr(openmode, 'a')) { +@@ -101,7 +100,7 @@ inline int php_ssh2_sftp_attr2ssb(php_stream_statbuf *ssb, LIBSSH2_SFTP_ATTRIBUT + typedef struct _php_ssh2_sftp_handle_data { + LIBSSH2_SFTP_HANDLE *handle; + +- long sftp_rsrcid; ++ zend_resource *sftp_rsrc; + } php_ssh2_sftp_handle_data; + + /* {{{ php_ssh2_sftp_stream_write +@@ -139,8 +138,7 @@ static int php_ssh2_sftp_stream_close(php_stream *stream, int close_handle) + php_ssh2_sftp_handle_data *data = (php_ssh2_sftp_handle_data*)stream->abstract; + + libssh2_sftp_close(data->handle); +- //TODO Sean-Der +- //zend_list_delete(data->sftp_rsrcid); ++ zend_list_delete(data->sftp_rsrc); + efree(data); + + return 0; +@@ -226,12 +224,12 @@ static php_stream *php_ssh2_sftp_stream_opener(php_stream_wrapper *wrapper, cons + LIBSSH2_SFTP *sftp = NULL; + LIBSSH2_SFTP_HANDLE *handle; + php_stream *stream; +- int resource_id = 0, sftp_rsrcid = 0; ++ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; + php_url *resource; + unsigned long flags; + long perms = 0644; + +- resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); ++ resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); + if (!resource || !session || !sftp) { + return NULL; + } +@@ -242,20 +240,18 @@ static php_stream *php_ssh2_sftp_stream_opener(php_stream_wrapper *wrapper, cons + if (!handle) { + php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); + php_url_free(resource); +- //TODO Sean-Der +- //zend_list_delete(sftp_rsrcid); ++ zend_list_delete(sftp_rsrc); + return NULL; + } + + data = emalloc(sizeof(php_ssh2_sftp_handle_data)); + data->handle = handle; +- data->sftp_rsrcid = sftp_rsrcid; ++ data->sftp_rsrc = sftp_rsrc; + + stream = php_stream_alloc(&php_ssh2_sftp_stream_ops, data, 0, mode); + if (!stream) { + libssh2_sftp_close(handle); +- // TODO Sean-Der +- //zend_list_delete(sftp_rsrcid); ++ zend_list_delete(sftp_rsrc); + efree(data); + } + php_url_free(resource); +@@ -303,8 +299,7 @@ static int php_ssh2_sftp_dirstream_close(php_stream *stream, int close_handle) + php_ssh2_sftp_handle_data *data = (php_ssh2_sftp_handle_data*)stream->abstract; + + libssh2_sftp_close(data->handle); +- //TODO Sean_der +- //zend_list_delete(data->sftp_rsrcid); ++ zend_list_delete(data->sftp_rsrc); + efree(data); + + return 0; +@@ -333,10 +328,10 @@ static php_stream *php_ssh2_sftp_dirstream_opener(php_stream_wrapper *wrapper, c + LIBSSH2_SFTP *sftp = NULL; + LIBSSH2_SFTP_HANDLE *handle; + php_stream *stream; +- int resource_id = 0, sftp_rsrcid = 0; ++ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; + php_url *resource; + +- resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); ++ resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); + if (!resource || !session || !sftp) { + return NULL; + } +@@ -345,20 +340,18 @@ static php_stream *php_ssh2_sftp_dirstream_opener(php_stream_wrapper *wrapper, c + if (!handle) { + php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); + php_url_free(resource); +- //TODO Sean-Der +- //zend_list_delete(sftp_rsrcid); ++ zend_list_delete(sftp_rsrc); + return NULL; + } + + data = emalloc(sizeof(php_ssh2_sftp_handle_data)); + data->handle = handle; +- data->sftp_rsrcid = sftp_rsrcid; ++ data->sftp_rsrc = sftp_rsrc; + + stream = php_stream_alloc(&php_ssh2_sftp_dirstream_ops, data, 0, mode); + if (!stream) { + libssh2_sftp_close(handle); +- //TODO Sean-Der +- //zend_list_delete(sftp_rsrcid); ++ zend_list_delete(sftp_rsrc); + efree(data); + } + php_url_free(resource); +@@ -378,10 +371,10 @@ static int php_ssh2_sftp_urlstat(php_stream_wrapper *wrapper, const char *url, i + LIBSSH2_SFTP_ATTRIBUTES attrs; + LIBSSH2_SESSION *session = NULL; + LIBSSH2_SFTP *sftp = NULL; +- int resource_id = 0, sftp_rsrcid = 0; ++ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; + php_url *resource; + +- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); ++ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); + if (!resource || !session || !sftp || !resource->path) { + return -1; + } +@@ -408,11 +401,11 @@ static int php_ssh2_sftp_unlink(php_stream_wrapper *wrapper, const char *url, in + { + LIBSSH2_SESSION *session = NULL; + LIBSSH2_SFTP *sftp = NULL; +- int resource_id = 0, sftp_rsrcid = 0; ++ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; + php_url *resource; + int result; + +- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); ++ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); + if (!resource || !session || !sftp || !resource->path) { + if (resource) { + php_url_free(resource); +@@ -436,7 +429,7 @@ static int php_ssh2_sftp_rename(php_stream_wrapper *wrapper, const char *url_fro + { + LIBSSH2_SESSION *session = NULL; + LIBSSH2_SFTP *sftp = NULL; +- int resource_id = 0, sftp_rsrcid = 0; ++ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; + php_url *resource, *resource_to; + int result; + +@@ -453,7 +446,7 @@ static int php_ssh2_sftp_rename(php_stream_wrapper *wrapper, const char *url_fro + return 0; + } + +- resource = php_ssh2_fopen_wraper_parse_path(url_from, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); ++ resource = php_ssh2_fopen_wraper_parse_path(url_from, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); + if (!resource || !session || !sftp || !resource->path) { + if (resource) { + php_url_free(resource); +@@ -479,11 +472,11 @@ static int php_ssh2_sftp_mkdir(php_stream_wrapper *wrapper, const char *url, int + { + LIBSSH2_SESSION *session = NULL; + LIBSSH2_SFTP *sftp = NULL; +- int resource_id = 0, sftp_rsrcid = 0; ++ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; + php_url *resource; + int result; + +- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); ++ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); + if (!resource || !session || !sftp || !resource->path) { + if (resource) { + php_url_free(resource); +@@ -515,11 +508,11 @@ static int php_ssh2_sftp_rmdir(php_stream_wrapper *wrapper, const char *url, int + { + LIBSSH2_SESSION *session = NULL; + LIBSSH2_SFTP *sftp = NULL; +- int resource_id = 0, sftp_rsrcid = 0; ++ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; + php_url *resource; + int result; + +- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); ++ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); + if (!resource || !session || !sftp || !resource->path) { + if (resource) { + php_url_free(resource); +@@ -591,7 +584,7 @@ PHP_FUNCTION(ssh2_sftp) + data = emalloc(sizeof(php_ssh2_sftp_data)); + data->session = session; + data->sftp = sftp; +- data->session_rsrcid = Z_RES_P(zsession)->handle; ++ data->session_rsrc = Z_RES_P(zsession); + Z_ADDREF_P(zsession); + + RETURN_RES(zend_register_resource(data, le_ssh2_sftp)); +-- +2.1.4 + diff --git a/dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php_url-fields-usage-for-php7-3.patch b/dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php_url-fields-usage-for-php7-3.patch new file mode 100644 index 000000000000..1f1352564220 --- /dev/null +++ b/dev-php/pecl-ssh2/files/pecl-ssh2-1.1.2-fix-php_url-fields-usage-for-php7-3.patch @@ -0,0 +1,302 @@ +From a8835aab2c15e794fce13bd927295719e384ad2d Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Thu, 28 Jun 2018 07:10:35 +0200 +Subject: [PATCH] fix php_url fields usage for PHP 7.3 + +--- + php_ssh2.h | 8 ++++++++ + ssh2_fopen_wrappers.c | 55 ++++++++++++++++++++++++++++++++------------------- + ssh2_sftp.c | 20 +++++++++---------- + 3 files changed, 53 insertions(+), 30 deletions(-) + +diff --git a/php_ssh2.h b/php_ssh2.h +index 734b795..d010ff9 100644 +--- a/php_ssh2.h ++++ b/php_ssh2.h +@@ -166,6 +166,14 @@ extern php_stream_wrapper php_ssh2_sftp_wrapper; + extern int le_ssh2_session; + extern int le_ssh2_sftp; + ++#if PHP_VERSION_ID < 70300 ++#define SSH2_URL_STR(a) (a) ++#define SSH2_URL_LEN(a) strlen(a) ++#else ++#define SSH2_URL_STR(a) ZSTR_VAL(a) ++#define SSH2_URL_LEN(a) ZSTR_LEN(a) ++#endif ++ + #endif /* PHP_SSH2_H */ + + /* +diff --git a/ssh2_fopen_wrappers.c b/ssh2_fopen_wrappers.c +index 2f96ca4..f2f3475 100644 +--- a/ssh2_fopen_wrappers.c ++++ b/ssh2_fopen_wrappers.c +@@ -215,7 +215,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + php_url *resource; + zval *methods = NULL, *callbacks = NULL, zsession, *tmpzval; + zend_long resource_id; +- char *h, *s, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL; ++ char *h, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL; + int username_len = 0, password_len = 0; + + h = strstr(path, "Resource id #"); +@@ -233,13 +233,13 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + return NULL; + } + +- if (strncmp(resource->scheme, "ssh2.", sizeof("ssh2.") - 1)) { ++ if (strncmp(SSH2_URL_STR(resource->scheme), "ssh2.", sizeof("ssh2.") - 1)) { + /* Not an ssh wrapper */ + php_url_free(resource); + return NULL; + } + +- if (strcmp(resource->scheme + sizeof("ssh2.") - 1, type)) { ++ if (strcmp(SSH2_URL_STR(resource->scheme) + sizeof("ssh2.") - 1, type)) { + /* Wrong ssh2. wrapper type */ + php_url_free(resource); + return NULL; +@@ -253,13 +253,27 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + Find resource->path in the path string, then copy the entire string from the original path. + This includes ?query#fragment in the path string + */ ++// TODO copy seems uneeded ++#if PHP_VERSION_ID < 70300 ++ { ++ char * s; ++ + s = resource->path; + resource->path = estrdup(strstr(path, resource->path)); + efree(s); ++ } ++#else ++ { ++ zend_string *tmp; ++ ++ tmp = resource->path; ++ resource->path = zend_string_init(ZSTR_VAL(resource->path), ZSTR_LEN(resource->path), 0); ++ zend_string_release(tmp); ++ } ++#endif + + /* Look for a resource ID to reuse a session */ +- s = resource->host; +- if (is_numeric_string(s, strlen(s), &resource_id, NULL, 0) == IS_LONG) { ++ if (is_numeric_string(SSH2_URL_STR(resource->host), SSH2_URL_LEN(resource->host), &resource_id, NULL, 0) == IS_LONG) { + php_ssh2_sftp_data *sftp_data; + zval *zresource; + +@@ -309,7 +323,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + } + + /* Fallback on finding it in the context */ +- if (resource->host[0] == 0 && context && psftp && ++ if (SSH2_URL_STR(resource->host)[0] == 0 && context && psftp && + (tmpzval = php_stream_context_get_option(context, "ssh2", "sftp")) != NULL && + Z_TYPE_P(tmpzval) == IS_RESOURCE) { + php_ssh2_sftp_data *sftp_data; +@@ -323,7 +337,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + return resource; + } + } +- if (resource->host[0] == 0 && context && ++ if (SSH2_URL_STR(resource->host)[0] == 0 && context && + (tmpzval = php_stream_context_get_option(context, "ssh2", "session")) != NULL && + Z_TYPE_P(tmpzval) == IS_RESOURCE) { + session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); +@@ -399,19 +413,19 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + } + + if (resource->user) { +- int len = strlen(resource->user); ++ int len = SSH2_URL_LEN(resource->user); + + if (len) { +- username = resource->user; ++ username = SSH2_URL_STR(resource->user); + username_len = len; + } + } + + if (resource->pass) { +- int len = strlen(resource->pass); ++ int len = SSH2_URL_LEN(resource->pass); + + if (len) { +- password = resource->pass; ++ password = SSH2_URL_STR(resource->pass); + password_len = len; + } + } +@@ -422,7 +436,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre + return NULL; + } + +- session = php_ssh2_session_connect(resource->host, resource->port, methods, callbacks); ++ session = php_ssh2_session_connect(SSH2_URL_STR(resource->host), resource->port, methods, callbacks); + if (!session) { + /* Unable to connect! */ + php_url_free(resource); +@@ -482,6 +496,7 @@ session_authed: + *psftp = sftp; + } + ++ //TODO may be undefined + *presource_id = Z_LVAL(zsession); + *psession = session; + +@@ -527,7 +542,7 @@ static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, int resource_id + zval_copy_ctor(©val); + convert_to_string(©val); + if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { +- php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); ++ php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", ZSTR_VAL(key), Z_STRVAL(copyval)); + } + zval_dtor(©val); + } +@@ -631,7 +646,7 @@ static php_stream *php_ssh2_fopen_wrapper_shell(php_stream_wrapper *wrapper, con + zval_ptr_dtor(©val); + } + +- s = resource->path ? resource->path : NULL; ++ s = resource->path ? SSH2_URL_STR(resource->path) : NULL; + + if (s && s[0] == '/') { + /* Terminal type encoded into URL overrides context terminal type */ +@@ -766,7 +781,7 @@ static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_ + zval_copy_ctor(©val); + convert_to_string(©val); + if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { +- php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); ++ php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", ZSTR_VAL(key), Z_STRVAL(copyval)); + } + zval_dtor(©val); + } +@@ -878,7 +893,7 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons + zval_ptr_dtor(copyval); + } + +- stream = php_ssh2_exec_command(session, resource_id, resource->path + 1, terminal, terminal_len, environment, width, height, type); ++ stream = php_ssh2_exec_command(session, resource_id, SSH2_URL_STR(resource->path) + 1, terminal, terminal_len, environment, width, height, type); + if (!stream) { + // TODO Sean-Der + //zend_list_delete(resource_id); +@@ -1021,7 +1036,7 @@ static php_stream *php_ssh2_fopen_wrapper_scp(php_stream_wrapper *wrapper, const + return NULL; + } + +- stream = php_ssh2_scp_xfer(session, resource_id, resource->path); ++ stream = php_ssh2_scp_xfer(session, resource_id, SSH2_URL_STR(resource->path)); + if (!stream) { + //TODO Sean-Der + //zend_list_delete(resource_id); +@@ -1147,7 +1162,7 @@ PHP_FUNCTION(ssh2_scp_send) + char *error_msg = NULL; + + last_error = libssh2_session_last_error(session, &error_msg, NULL, 0); +- php_error_docref(NULL, E_WARNING, "Failure creating remote file: %s", error_msg); ++ php_error_docref(NULL, E_WARNING, "Failure creating remote file: %s (%d)", error_msg, last_error); + php_stream_close(local_file); + RETURN_FALSE; + } +@@ -1262,10 +1277,10 @@ static php_stream *php_ssh2_fopen_wrapper_tunnel(php_stream_wrapper *wrapper, co + return NULL; + } + +- if (resource->path && resource->path[0] == '/') { ++ if (resource->path && SSH2_URL_STR(resource->path)[0] == '/') { + char *colon; + +- host = resource->path + 1; ++ host = SSH2_URL_STR(resource->path) + 1; + if (*host == '[') { + /* IPv6 Encapsulated Format */ + host++; +diff --git a/ssh2_sftp.c b/ssh2_sftp.c +index 13f89f0..6332be8 100644 +--- a/ssh2_sftp.c ++++ b/ssh2_sftp.c +@@ -238,7 +238,7 @@ static php_stream *php_ssh2_sftp_stream_opener(php_stream_wrapper *wrapper, cons + + flags = php_ssh2_parse_fopen_modes((char *)mode); + +- handle = libssh2_sftp_open(sftp, resource->path, flags, perms); ++ handle = libssh2_sftp_open(sftp, SSH2_URL_STR(resource->path), flags, perms); + if (!handle) { + php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); + php_url_free(resource); +@@ -341,7 +341,7 @@ static php_stream *php_ssh2_sftp_dirstream_opener(php_stream_wrapper *wrapper, c + return NULL; + } + +- handle = libssh2_sftp_opendir(sftp, resource->path); ++ handle = libssh2_sftp_opendir(sftp, SSH2_URL_STR(resource->path)); + if (!handle) { + php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); + php_url_free(resource); +@@ -386,7 +386,7 @@ static int php_ssh2_sftp_urlstat(php_stream_wrapper *wrapper, const char *url, i + return -1; + } + +- if (libssh2_sftp_stat_ex(sftp, resource->path, strlen(resource->path), ++ if (libssh2_sftp_stat_ex(sftp, SSH2_URL_STR(resource->path), SSH2_URL_LEN(resource->path), + (flags & PHP_STREAM_URL_STAT_LINK) ? LIBSSH2_SFTP_LSTAT : LIBSSH2_SFTP_STAT, &attrs)) { + php_url_free(resource); + //zend_list_delete(sftp_rsrcid); +@@ -420,7 +420,7 @@ static int php_ssh2_sftp_unlink(php_stream_wrapper *wrapper, const char *url, in + return 0; + } + +- result = libssh2_sftp_unlink(sftp, resource->path); ++ result = libssh2_sftp_unlink(sftp, SSH2_URL_STR(resource->path)); + php_url_free(resource); + + //zend_list_delete(sftp_rsrcid); +@@ -462,7 +462,7 @@ static int php_ssh2_sftp_rename(php_stream_wrapper *wrapper, const char *url_fro + return 0; + } + +- result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); ++ result = libssh2_sftp_rename(sftp, SSH2_URL_STR(resource->path), SSH2_URL_STR(resource_to->path)); + php_url_free(resource); + php_url_free(resource_to); + +@@ -493,13 +493,13 @@ static int php_ssh2_sftp_mkdir(php_stream_wrapper *wrapper, const char *url, int + + if (options & PHP_STREAM_MKDIR_RECURSIVE) { + /* Just attempt to make every directory, some will fail, but we only care about the last success/failure */ +- char *p = resource->path; ++ char *p = SSH2_URL_STR(resource->path); + while ((p = strchr(p + 1, '/'))) { +- libssh2_sftp_mkdir_ex(sftp, resource->path, p - resource->path, mode); ++ libssh2_sftp_mkdir_ex(sftp, SSH2_URL_STR(resource->path), p - SSH2_URL_STR(resource->path), mode); + } + } + +- result = libssh2_sftp_mkdir(sftp, resource->path, mode); ++ result = libssh2_sftp_mkdir(sftp, SSH2_URL_STR(resource->path), mode); + php_url_free(resource); + + //zend_list_delete(sftp_rsrcid); +@@ -527,7 +527,7 @@ static int php_ssh2_sftp_rmdir(php_stream_wrapper *wrapper, const char *url, int + return 0; + } + +- result = libssh2_sftp_rmdir(sftp, resource->path); ++ result = libssh2_sftp_rmdir(sftp, SSH2_URL_STR(resource->path)); + php_url_free(resource); + + //zend_list_delete(sftp_rsrcid); +@@ -836,7 +836,7 @@ PHP_FUNCTION(ssh2_sftp_readlink) + } + + if ((targ_len = libssh2_sftp_symlink_ex(data->sftp, link->val, link->len, targ, 8192, LIBSSH2_SFTP_READLINK)) < 0) { +- php_error_docref(NULL, E_WARNING, "Unable to read link '%s'", link); ++ php_error_docref(NULL, E_WARNING, "Unable to read link '%s'", ZSTR_VAL(link)); + RETURN_FALSE; + } + +-- +2.1.4 + diff --git a/dev-php/pecl-ssh2/metadata.xml b/dev-php/pecl-ssh2/metadata.xml new file mode 100644 index 000000000000..fa3a283ef27c --- /dev/null +++ b/dev-php/pecl-ssh2/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-ssh2/pecl-ssh2-1.1.2.ebuild b/dev-php/pecl-ssh2/pecl-ssh2-1.1.2.ebuild new file mode 100644 index 000000000000..7001e2010d53 --- /dev/null +++ b/dev-php/pecl-ssh2/pecl-ssh2-1.1.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="ssh2" + +USE_PHP="php5-6 php7-1 php7-2 php7-3" + +inherit php-ext-pecl-r3 + +USE_PHP="php7-1 php7-2 php7-3" + +DESCRIPTION="PHP bindings for the libssh2 library" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="" +KEYWORDS="amd64 x86" +# Upstream notes say there are errors with gcrypt backend +DEPEND=">=net-libs/libssh2-1.2[-gcrypt]" +RDEPEND="${DEPEND} + php_targets_php5-6? ( dev-php/pecl-ssh2:0[php_targets_php5-6] )" + +PATCHES=( + "${FILESDIR}"/${P}-fix-php_url-fields-usage-for-php7-3.patch + "${FILESDIR}"/${P}-fix-php7-port.patch +) + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} diff --git a/dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild b/dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild new file mode 100644 index 000000000000..ffc132c93745 --- /dev/null +++ b/dev-php/pecl-ssh2/pecl-ssh2-1.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="ssh2" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +# https://pecl.php.net/get/ssh2-1.2.tgz isn't work for some weeks +SRC_URI="https://dev.gentoo.org/~whissi/dist/${PN}/${P}.tar.gz" + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +DESCRIPTION="PHP bindings for the libssh2 library" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="" +KEYWORDS="~amd64 ~x86" +# Upstream notes say there are errors with gcrypt backend +DEPEND=">=net-libs/libssh2-1.2[-gcrypt]" +RDEPEND="${DEPEND} + php_targets_php5-6? ( dev-php/pecl-ssh2:0[php_targets_php5-6] )" + +src_prepare() { + if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} diff --git a/dev-php/pecl-ssh2/pecl-ssh2-9999.ebuild b/dev-php/pecl-ssh2/pecl-ssh2-9999.ebuild new file mode 100644 index 000000000000..bbaca4c60d00 --- /dev/null +++ b/dev-php/pecl-ssh2/pecl-ssh2-9999.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="ssh2" + +USE_PHP="php7-2 php7-3 php7-4" +EGIT_REPO_URI="https://git.php.net/repository/pecl/networking/ssh2.git" + +inherit php-ext-source-r3 git-r3 + +DESCRIPTION="PHP bindings for the libssh2 library" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="" +KEYWORDS="" +DEPEND=">=net-libs/libssh2-1.2" +RDEPEND="${DEPEND}" +HOMEPAGE="https://pecl.php.net/package/ssh2" diff --git a/dev-php/pecl-stomp/Manifest b/dev-php/pecl-stomp/Manifest new file mode 100644 index 000000000000..5b21b5de59df --- /dev/null +++ b/dev-php/pecl-stomp/Manifest @@ -0,0 +1 @@ +DIST stomp-2.0.2.tgz 23609 BLAKE2B b6ed89b5b8fd0bb501b2337e87107797eedc6ac53c81ba86d2e755cfa2dd716bf4e409cee623430791e0b4854833ef44ed7f6f9e1d89fcd2250d598af0dcaea6 SHA512 577a781b45ef394cd833fb69c808da9b8a8ff69b31b1093c5eef3f7b5d1b37cd0b45c32a03883f56f86213e32bb18aaf0a80010c6bec7efa7239ea48bc57b4b4 diff --git a/dev-php/pecl-stomp/metadata.xml b/dev-php/pecl-stomp/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-stomp/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-stomp/pecl-stomp-2.0.2-r1.ebuild b/dev-php/pecl-stomp/pecl-stomp-2.0.2-r1.ebuild new file mode 100644 index 000000000000..bc5c1a2e4ad0 --- /dev/null +++ b/dev-php/pecl-stomp/pecl-stomp-2.0.2-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_PHP="php7-2 php7-3 php7-4" +PHP_EXT_NAME="stomp" +PHP_EXT_NEEDED_USE="ssl(-)?" +DOCS=( CREDITS doc/classes.php doc/functions.php ) + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="PHP extension to communicate with Stomp message brokers" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="examples ssl test" +RESTRICT="!test? ( test )" + +BDEPEND="virtual/pkgconfig" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-stomp + --with-openssl-dir=$(usex ssl yes no) + ) + php-ext-source-r3_src_configure +} diff --git a/dev-php/pecl-taint/Manifest b/dev-php/pecl-taint/Manifest new file mode 100644 index 000000000000..1193d63d8be9 --- /dev/null +++ b/dev-php/pecl-taint/Manifest @@ -0,0 +1,2 @@ +DIST taint-2.0.5.tgz 18203 BLAKE2B 1e7d31f5a4eee810923420606892f2cd672d4fdcaf6decda1966d0ad44f779cf019a624c0f5971a44e8ceadf37159359f41ff52f523157eace26d7335405bad6 SHA512 625809e553d782dc6bb41b4dace1a32bf47157e3438430b3717e0ca692959625b293011220e47f95f4b484558e39454138b0760806fcd1e4ae42f608ab290b31 +DIST taint-2.0.6.tgz 18321 BLAKE2B dfa2765a0045072506e85664805c36beec2663b2d54c5bb385b3c1f624f1124bdafada38578d335a5054fb4c823cd4713d76fddb5588b2e1065ae30289539059 SHA512 ea99d738a73f98f881eb2ad82a756d915fbb43faa4ddf7bce52aaca2590d5cff0d4f3739015754d256f97a81cc54183900250dec249397aab1aebe9587140f6c diff --git a/dev-php/pecl-taint/metadata.xml b/dev-php/pecl-taint/metadata.xml new file mode 100644 index 000000000000..f232c4905f21 --- /dev/null +++ b/dev-php/pecl-taint/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Extension used for detecting XSS codes(tainted string) + + gentoo-staging + diff --git a/dev-php/pecl-taint/pecl-taint-2.0.5.ebuild b/dev-php/pecl-taint/pecl-taint-2.0.5.ebuild new file mode 100644 index 000000000000..916d01e54270 --- /dev/null +++ b/dev-php/pecl-taint/pecl-taint-2.0.5.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +USE_PHP="php7-1 php7-2 php7-3" +inherit php-ext-pecl-r3 + +DESCRIPTION="Extension used for detecting XSS code (tainted strings)" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +pkg_postinst() { + elog 'To enable this extension, add' + elog ' taint.enable=1' + elog 'to /etc/php/-/ext/taint.ini' +} diff --git a/dev-php/pecl-taint/pecl-taint-2.0.6.ebuild b/dev-php/pecl-taint/pecl-taint-2.0.6.ebuild new file mode 100644 index 000000000000..33166802822c --- /dev/null +++ b/dev-php/pecl-taint/pecl-taint-2.0.6.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +USE_PHP="php7-1 php7-2 php7-3 php7-4" +inherit php-ext-pecl-r3 + +DESCRIPTION="Extension used for detecting XSS code (tainted strings)" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +pkg_postinst() { + elog 'To enable this extension, add' + elog ' taint.enable=1' + elog 'to /etc/php/-/ext/taint.ini' +} diff --git a/dev-php/pecl-timezonedb/Manifest b/dev-php/pecl-timezonedb/Manifest new file mode 100644 index 000000000000..6e305b0c2cc6 --- /dev/null +++ b/dev-php/pecl-timezonedb/Manifest @@ -0,0 +1,2 @@ +DIST timezonedb-2019.3.tgz 413166 BLAKE2B 99542a2c0dc50d96316dc14b22c8a2404db07a88d3f46050a954f10bfb501cd81fb7161805a91336075d607ac106208285e6d2281a9ed68b344fd4837fabcb49 SHA512 8342a0ed83a52ade0415430751d4efeaa84fb72e7da3aec8921338e9dfbf37ff1f098f6b6e1ed9c8f1c9c62017a0fe9c14f86a53be72f8b9f1ec137fa45d057d +DIST timezonedb-2020.1.tgz 413993 BLAKE2B 1f598269060c7f228d103549ac31429df3e31e68961fb41182101400c9f71ea8503cb11943732b49b749aa055e7eedfb4fd06e11cc11c1381bc69f294c3433b6 SHA512 31c38d5b25db921ec5be924ac85d9cf9dd2180c4e2d50e074a143dfdf9415a8c7579e96f7a768b305554bf1cb332b46f2c652fda7d2f1638502b995fc0679ca5 diff --git a/dev-php/pecl-timezonedb/metadata.xml b/dev-php/pecl-timezonedb/metadata.xml new file mode 100644 index 000000000000..fe2015f975a4 --- /dev/null +++ b/dev-php/pecl-timezonedb/metadata.xml @@ -0,0 +1,17 @@ + + + + + php-bugs@gentoo.org + PHP + + + This extension is a drop-in replacement for the builtin timezone database that + comes with PHP. You should only install this extension in case you need to get + a later version of the timezone database than the one that ships with PHP. + + The data that this extension uses comes from the "Olson" database, which is + located at ftp://elsie.nci.nih.gov/pub/. + + gentoo-staging + diff --git a/dev-php/pecl-timezonedb/pecl-timezonedb-2019.3.ebuild b/dev-php/pecl-timezonedb/pecl-timezonedb-2019.3.ebuild new file mode 100644 index 000000000000..ce13c87b5e74 --- /dev/null +++ b/dev-php/pecl-timezonedb/pecl-timezonedb-2019.3.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="timezonedb" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Timezone Database to be used with PHP's date and time functions" +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" +PHP_EXT_ECONF_ARGS="" diff --git a/dev-php/pecl-timezonedb/pecl-timezonedb-2020.1.ebuild b/dev-php/pecl-timezonedb/pecl-timezonedb-2020.1.ebuild new file mode 100644 index 000000000000..ce13c87b5e74 --- /dev/null +++ b/dev-php/pecl-timezonedb/pecl-timezonedb-2020.1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="timezonedb" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Timezone Database to be used with PHP's date and time functions" +LICENSE="PHP-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" +PHP_EXT_ECONF_ARGS="" diff --git a/dev-php/pecl-translit/Manifest b/dev-php/pecl-translit/Manifest new file mode 100644 index 000000000000..e03c2164d656 --- /dev/null +++ b/dev-php/pecl-translit/Manifest @@ -0,0 +1 @@ +DIST pecl-translit-0.6.3.tar.gz 227419 BLAKE2B ebff291a00d61bb4f8e2c47e26baef4278f317be8acd7e5265d3056f8992e6b7e792718c86633277c4a0af5403e253b317241a71aba9b73079a8efb53389ab30 SHA512 5b5e3097a972e45424696abea4d4698fc6c7b6598f1a76754224a4b66776752a01b3bad52bc14afb8cc6e75d36c4558677e609a379898cdd91a5b0a652155cd1 diff --git a/dev-php/pecl-translit/metadata.xml b/dev-php/pecl-translit/metadata.xml new file mode 100644 index 000000000000..02bf7ff3d64f --- /dev/null +++ b/dev-php/pecl-translit/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + derickr/pecl-translit + + gentoo-staging + diff --git a/dev-php/pecl-translit/pecl-translit-0.6.3.ebuild b/dev-php/pecl-translit/pecl-translit-0.6.3.ebuild new file mode 100644 index 000000000000..767d97480c0e --- /dev/null +++ b/dev-php/pecl-translit/pecl-translit-0.6.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="translit" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php7-1 php7-2 php7-3 php7-4" +PHP_EXT_NAME="translit" + +inherit php-ext-source-r3 + +SRC_URI="https://github.com/derickr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~x86" +HOMEPAGE="https://github.com/derickr/pecl-translit" + +DESCRIPTION="Transliterates non-latin character sets to latin" +LICENSE="BSD-2" +SLOT="0" +IUSE="" +PHP_EXT_ECONF_ARGS=() + +src_test() { + for slot in $(php_get_slots); do + php_init_slot_env ${slot} + NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/pecl-uploadprogress/Manifest b/dev-php/pecl-uploadprogress/Manifest new file mode 100644 index 000000000000..ce8d10d0aef5 --- /dev/null +++ b/dev-php/pecl-uploadprogress/Manifest @@ -0,0 +1 @@ +DIST uploadprogress-1.1.3.tgz 14798 BLAKE2B 5edda3e8672bb0e0829d100284240fcceac26be695386225a18446c742f59edfd906a9ae2f17b594816d3cddea02eb648db01a3352d7f8bd764ad2f6b2e03628 SHA512 2202f419be852a71eadae47eaa83909a032e5a6bbe4ce17ae5d45ea4e9f6d9c9edceb2111630d1f0e277b531d463accf540288ecbcca9bf154fe01754f225686 diff --git a/dev-php/pecl-uploadprogress/metadata.xml b/dev-php/pecl-uploadprogress/metadata.xml new file mode 100644 index 000000000000..d59980a16795 --- /dev/null +++ b/dev-php/pecl-uploadprogress/metadata.xml @@ -0,0 +1,19 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + + An extension to track the progress of a file upload. See + http://svn.php.net/viewvc/pecl/uploadprogress/trunk/examples/ for + an example. It is only known to work on apache with mod_php; other + SAPI implementations unfortunately still have issues. + + gentoo-staging + diff --git a/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.1.3-r1.ebuild b/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.1.3-r1.ebuild new file mode 100644 index 000000000000..dabf3dddf33b --- /dev/null +++ b/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.1.3-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_PHP="php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +DESCRIPTION="An extension to track progress of a file upload" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND=" + php_targets_php7-2? ( dev-lang/php:7.2[apache2] ) + php_targets_php7-3? ( dev-lang/php:7.3[apache2] ) + php_targets_php7-4? ( dev-lang/php:7.4[apache2] ) +" diff --git a/dev-php/pecl-uuid/Manifest b/dev-php/pecl-uuid/Manifest new file mode 100644 index 000000000000..aa6a6b42dcb5 --- /dev/null +++ b/dev-php/pecl-uuid/Manifest @@ -0,0 +1 @@ +DIST uuid-1.1.0.tgz 15225 BLAKE2B 0a5a326076707e0d3e7c779151a13853e52d026ebdf62c9ab147cf5d00bbc68a3d82e15101c1d4a232d96ea7e988304a25517723adb3127938474172dfab16c2 SHA512 aea814a12e266e4a9e36c58bae78927fa9de6d2b7bf9c75a911710b26958aeecd31d972f56519cf4882a4b13864bc0740ad968b06e704ce7642279253009e76d diff --git a/dev-php/pecl-uuid/metadata.xml b/dev-php/pecl-uuid/metadata.xml new file mode 100644 index 000000000000..03be5eb20d8b --- /dev/null +++ b/dev-php/pecl-uuid/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-uuid/pecl-uuid-1.1.0.ebuild b/dev-php/pecl-uuid/pecl-uuid-1.1.0.ebuild new file mode 100644 index 000000000000..f030569d725f --- /dev/null +++ b/dev-php/pecl-uuid/pecl-uuid-1.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="uuid" +PHP_EXT_INIT="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( CREDITS ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +DESCRIPTION="A wrapper around libuuid" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="sys-apps/util-linux" +RDEPEND="${DEPEND}" +PHP_EXT_ECONF_ARGS=() diff --git a/dev-php/pecl-xdiff/Manifest b/dev-php/pecl-xdiff/Manifest new file mode 100644 index 000000000000..af60abb030a5 --- /dev/null +++ b/dev-php/pecl-xdiff/Manifest @@ -0,0 +1 @@ +DIST xdiff-2.0.1.tgz 10418 BLAKE2B d80afd629db788343e5804925fb8a9971cb0df2db6462be5adcace7e15e9b7fb2bf52cbb49f900878659fcf5e91c69b721c01e01f04876e8245ecc8094f0be61 SHA512 43f2bddac82ac19ac688ae7dad3fef65b0d8887c0e6adefd1fc15236582c31d78a54538903760270dee294ca8b8ba3def48bfa9b1d44160bcc450f5c6516402a diff --git a/dev-php/pecl-xdiff/metadata.xml b/dev-php/pecl-xdiff/metadata.xml new file mode 100644 index 000000000000..1099051c7eeb --- /dev/null +++ b/dev-php/pecl-xdiff/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + php/pecl-text-xdiff + + gentoo-staging + diff --git a/dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild b/dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild new file mode 100644 index 000000000000..4acbe27c4126 --- /dev/null +++ b/dev-php/pecl-xdiff/pecl-xdiff-2.0.1-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="xdiff" +PHP_EXT_PECL_PKG="xdiff" +DOCS=( README.API ) + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="PHP extension for generating diff files" +LICENSE="PHP-3.01" +SLOT="7" + +DEPEND=" + php_targets_php7-0? ( dev-libs/libxdiff ) + php_targets_php7-1? ( dev-libs/libxdiff ) + php_targets_php7-2? ( dev-libs/libxdiff ) + php_targets_php7-3? ( dev-libs/libxdiff ) + php_targets_php7-4? ( dev-libs/libxdiff ) +" +RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-xdiff:0[php_targets_php5-6] )" + +src_prepare() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + eapply_user + fi +} + +src_configure() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + local PHP_EXT_ECONF_ARGS=() + php-ext-source-r3_src_configure + fi +} + +src_install() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-pecl-r3_src_install + fi +} diff --git a/dev-php/pecl-yaml/Manifest b/dev-php/pecl-yaml/Manifest new file mode 100644 index 000000000000..a880d3fecccf --- /dev/null +++ b/dev-php/pecl-yaml/Manifest @@ -0,0 +1 @@ +DIST yaml-2.0.4.tgz 39071 BLAKE2B 3a5dba0f6a16087909f4673543d64946e5929a5ef4cc616df6a4225aa2d274b2b5492b00ab0e95ed93f808bc2a4dd0a2f6d60c8c2ded078af35c4499042488d6 SHA512 138e5b4566800fc7d624baf71bc585d6d432755046e598ae9f4099fa565727e04d79bb171289a53eb9e5daa416ffee1b0fb4967c84976ac6cd6fc01b0a05fbae diff --git a/dev-php/pecl-yaml/metadata.xml b/dev-php/pecl-yaml/metadata.xml new file mode 100644 index 000000000000..1ae89745e330 --- /dev/null +++ b/dev-php/pecl-yaml/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild b/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild new file mode 100644 index 000000000000..3a1a1abfdb9b --- /dev/null +++ b/dev-php/pecl-yaml/pecl-yaml-2.0.4.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PV="${PV/_rc/RC}" +PHP_EXT_PECL_FILENAME="yaml-${MY_PV}.tgz" +PHP_EXT_NAME="yaml" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( CREDITS README ) + +USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4 php5-6" + +inherit php-ext-pecl-r3 + +S="${WORKDIR}/yaml-${MY_PV}" +PHP_EXT_S="${S}" +USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="YAML 1.1 (YAML Ain't Markup Language) serialization for PHP" +LICENSE="MIT" +SLOT="7" +IUSE="" + +DEPEND=">=dev-libs/libyaml-0.1.0" +RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-yaml:0[php_targets_php5-6] )" +PHP_EXT_ECONF_ARGS="" + +src_prepare() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-source-r3_src_prepare + else + default_src_prepare + fi +} + +src_install() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then + php-ext-pecl-r3_src_install + fi +} diff --git a/dev-php/pecl-yaz/Manifest b/dev-php/pecl-yaz/Manifest new file mode 100644 index 000000000000..e23f2509034d --- /dev/null +++ b/dev-php/pecl-yaz/Manifest @@ -0,0 +1 @@ +DIST yaz-1.2.3.tgz 20059 BLAKE2B 3fbf6d57e8519f6d363dbf308cb6ba259098521ae352f8886e8e12ca2a0d8119eaa31fc30301aea6979b32c6c321c4de0ad63ebe72e8f52cbb630d7f136f3e60 SHA512 5e6ebccac05fa44b0758b6817530e8cb436e45ead659f6a5029383515213bcce8c8cc7ceb8ef5ff4ec2335ad5c3009c6ccf8786116b115c24a013329d107bd7a diff --git a/dev-php/pecl-yaz/metadata.xml b/dev-php/pecl-yaz/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/pecl-yaz/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/pecl-yaz/pecl-yaz-1.2.3.ebuild b/dev-php/pecl-yaz/pecl-yaz-1.2.3.ebuild new file mode 100644 index 000000000000..21295a2e6faf --- /dev/null +++ b/dev-php/pecl-yaz/pecl-yaz-1.2.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="yaz" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( README ) + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc x86" + +DESCRIPTION="This extension implements a Z39.50 client for PHP using the YAZ toolkit" +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND=">=dev-libs/yaz-3.0.2:0=" +RDEPEND="${DEPEND}" + +# Needs network access +RESTRICT="test" + +PHP_EXT_ECONF_ARGS="--with-yaz=/usr" diff --git a/dev-php/pecl-zmq/Manifest b/dev-php/pecl-zmq/Manifest new file mode 100644 index 000000000000..da2d71c9c60d --- /dev/null +++ b/dev-php/pecl-zmq/Manifest @@ -0,0 +1 @@ +DIST zmq-1.1.3.tgz 82397 BLAKE2B 5c221abf614bcc33c4c69e64308508d544f790371549c421fe2fcdedd67f2e843b2b82d96f517ea9413ffedd128838725e9afc18f0d4048b270d4982571874d0 SHA512 0f03016e315a6c6a1e1d6eca1e20564834d2a924cef06af1b38693933f1e5a094c37e9c432705a64f61d95e82655f61358fc7783e7a6f06c7dd9ad84fc6f7bbc diff --git a/dev-php/pecl-zmq/files/pecl-zmq-1.1.3-php7-3-compatibility.patch b/dev-php/pecl-zmq/files/pecl-zmq-1.1.3-php7-3-compatibility.patch new file mode 100644 index 000000000000..2de703039b07 --- /dev/null +++ b/dev-php/pecl-zmq/files/pecl-zmq-1.1.3-php7-3-compatibility.patch @@ -0,0 +1,265 @@ +From af02bde61c2a5af1ae64cac09ffe2b25237aa58e Mon Sep 17 00:00:00 2001 +From: Alex/AT +Date: Mon, 10 Dec 2018 06:02:27 +0300 +Subject: [PATCH] PHP 7.3 compatibility and bugfixes + +- Define new GC_ADDREF/DELREF/SET_REFCOUNT macros for older PHP versions and use them instead of direct GC reference counter access + +- Fixup all necessary 'long' type parameters to 'zend_long', PHP 7.3 makes it mandatory, also fixup some direct function implementations to accept the same + +- In php_zmq_recv(), zend_string_init() was wrongly called with third parameter as '1', marking new string with IS_STR_PERSISTENT, this caused heap corruption and/or segfaults with PHP 7.3 and could possibly cause other sorts of bugs under any 7.x version + With ZVAL_STRINGL macro, this last '1' parameter meant to copy the string and was seemingly erroneously moved to zend_string_init(). zend_string_init() copies string by default, and last parameter has totally different meaning here + +- In poll(), flag ZVAL separation on passed arrays (PHP 7.3 makes it mandatory) + +- Test 19 (exception on connect callback with forced reference parameter): skip on PHP 7.1 and higher, PHP >= 7.1 started to fallback to passing argument by value instead of failing + +- Test 21 (warning generation from callback): it is ok, but PHP 7.3 uses 'int' instead of 'integer' for constants, so allow any word in place of the word 'integer' +--- + php_zmq.h | 6 ++++ + tests/019-callbackinvalidsignature.phpt | 3 +- + tests/021-callbackwarning.phpt | 2 +- + zmq.c | 40 ++++++++++++------------- + zmq_sockopt.c | 4 +-- + 5 files changed, 30 insertions(+), 25 deletions(-) + +diff --git a/php_zmq.h b/php_zmq.h +index ef50bfb..3833967 100644 +--- a/php_zmq.h ++++ b/php_zmq.h +@@ -44,6 +44,12 @@ + + #include "php.h" + ++#if PHP_VERSION_ID < 70300 ++#define GC_ADDREF(p) ++GC_REFCOUNT(p) ++#define GC_DELREF(p) --GC_REFCOUNT(p) ++#define GC_SET_REFCOUNT(p, rc) GC_REFCOUNT(p) = rc ++#endif ++ + extern zend_module_entry zmq_module_entry; + #define phpext_zmq_ptr &zmq_module_entry + +diff --git a/tests/019-callbackinvalidsignature.phpt b/tests/019-callbackinvalidsignature.phpt +index 753de31..b5bb20c 100644 +--- a/tests/019-callbackinvalidsignature.phpt ++++ b/tests/019-callbackinvalidsignature.phpt +@@ -1,7 +1,8 @@ + --TEST-- + Test callback edge-cases + --SKIPIF-- +- ++= 70100) die("skip PHP 7.1 and higher fallback to passing argument by value even when forced to reference"); ?> + --FILE-- + val, plist_key->len, &le, sizeof(le)) == NULL) { +@@ -369,7 +369,7 @@ PHP_METHOD(zmq, curvekeypair) + PHP_METHOD(zmqcontext, __construct) + { + php_zmq_context_object *intern; +- long io_threads = 1; ++ zend_long io_threads = 1; + zend_bool is_persistent = 1; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "|lb", &io_threads, &is_persistent) == FAILURE) { +@@ -495,7 +495,7 @@ PHP_METHOD(zmqcontext, getOpt) + Create a new zmq socket + */ + static +-php_zmq_socket *php_zmq_socket_new(php_zmq_context *context, int type, zend_bool is_persistent) ++php_zmq_socket *php_zmq_socket_new(php_zmq_context *context, zend_long type, zend_bool is_persistent) + { + php_zmq_socket *zmq_sock; + +@@ -503,7 +503,7 @@ php_zmq_socket *php_zmq_socket_new(php_zmq_context *context, int type, zend_bool + zmq_sock->z_socket = zmq_socket(context->z_ctx, type); + zmq_sock->pid = getpid(); + zmq_sock->ctx = context; +- zmq_sock->socket_type = type; ++ zmq_sock->socket_type = type; + + if (!zmq_sock->z_socket) { + pefree(zmq_sock, is_persistent); +@@ -535,7 +535,7 @@ void php_zmq_socket_store(php_zmq_socket *zmq_sock_p, zend_long type, zend_strin + le.type = php_zmq_socket_list_entry(); + le.ptr = zmq_sock_p; + +- GC_REFCOUNT(&le) = 1; ++ GC_SET_REFCOUNT(&le, 1); + + plist_key = php_zmq_socket_plist_key(type, persistent_id, use_shared_ctx); + +@@ -796,7 +796,7 @@ PHP_METHOD(zmqsocket, __construct) + + /* {{{ static zend_bool php_zmq_send(php_zmq_socket_object *intern, char *message_param, long flags) + */ +-static zend_bool php_zmq_send(php_zmq_socket_object *intern, zend_string *message_param, long flags) ++static zend_bool php_zmq_send(php_zmq_socket_object *intern, zend_string *message_param, zend_long flags) + { + int rc, errno_; + zmq_msg_t message; +@@ -828,7 +828,7 @@ static void php_zmq_sendmsg_impl(INTERNAL_FUNCTION_PARAMETERS) + { + php_zmq_socket_object *intern; + zend_string *message_param; +- long flags = 0; ++ zend_long flags = 0; + zend_bool ret; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|l", &message_param, &flags) == FAILURE) { +@@ -890,7 +890,7 @@ PHP_METHOD(zmqsocket, sendmulti) + zval *messages; + php_zmq_socket_object *intern; + int to_send, ret = 0; +- long flags = 0; ++ zend_long flags = 0; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|l", &messages, &flags) == FAILURE) { + return; +@@ -910,7 +910,7 @@ PHP_METHOD(zmqsocket, sendmulti) + /* {{{ static zend_bool php_zmq_recv(php_zmq_socket_object *intern, long flags, zval *return_value) + */ + static +-zend_string *php_zmq_recv(php_zmq_socket_object *intern, long flags) ++zend_string *php_zmq_recv(php_zmq_socket_object *intern, zend_long flags) + { + int rc, errno_; + zmq_msg_t message; +@@ -933,7 +933,7 @@ zend_string *php_zmq_recv(php_zmq_socket_object *intern, long flags) + return NULL; + } + +- str = zend_string_init(zmq_msg_data(&message), zmq_msg_size(&message), 1); ++ str = zend_string_init(zmq_msg_data(&message), zmq_msg_size(&message), 0); + zmq_msg_close(&message); + return str; + } +@@ -943,7 +943,7 @@ static void php_zmq_recvmsg_impl(INTERNAL_FUNCTION_PARAMETERS) + { + zend_string *str = NULL; + php_zmq_socket_object *intern; +- long flags = 0; ++ zend_long flags = 0; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &flags) == FAILURE) { + return; +@@ -974,7 +974,7 @@ PHP_METHOD(zmqsocket, recvmulti) + { + php_zmq_socket_object *intern; + size_t value_len; +- long flags = 0; ++ zend_long flags = 0; + #if ZMQ_VERSION_MAJOR < 3 + int64_t value; + #else +@@ -1303,7 +1303,7 @@ PHP_METHOD(zmqpoll, add) + { + php_zmq_poll_object *intern; + zval *object; +- long events; ++ zend_long events; + int error; + zend_string *key; + +@@ -1423,10 +1423,10 @@ PHP_METHOD(zmqpoll, poll) + php_zmq_poll_object *intern; + zval *r_array, *w_array; + +- long timeout = -1; ++ zend_long timeout = -1; + int rc; + +- if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!|l", &r_array, &w_array, &timeout) == FAILURE) { ++ if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!/a!/|l", &r_array, &w_array, &timeout) == FAILURE) { + return; + } + +@@ -1592,7 +1592,7 @@ void s_clear_device_callback (php_zmq_device_cb_t *cb) + } + + static +-void s_init_device_callback (php_zmq_device_cb_t *cb, zend_fcall_info *fci, zend_fcall_info_cache *fci_cache, long timeout, zval *user_data) ++void s_init_device_callback (php_zmq_device_cb_t *cb, zend_fcall_info *fci, zend_fcall_info_cache *fci_cache, zend_long timeout, zval *user_data) + { + memcpy (&cb->fci, fci, sizeof (zend_fcall_info)); + memcpy (&cb->fci_cache, fci_cache, sizeof (zend_fcall_info_cache)); +@@ -1615,7 +1615,7 @@ void s_init_device_callback (php_zmq_device_cb_t *cb, zend_fcall_info *fci, zend + PHP_METHOD(zmqdevice, setidletimeout) + { + php_zmq_device_object *intern; +- long timeout; ++ zend_long timeout; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &timeout) == FAILURE) { + return; +@@ -1644,7 +1644,7 @@ PHP_METHOD(zmqdevice, getidletimeout) + PHP_METHOD(zmqdevice, settimertimeout) + { + php_zmq_device_object *intern; +- long timeout; ++ zend_long timeout; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &timeout) == FAILURE) { + return; +@@ -1676,7 +1676,7 @@ PHP_METHOD(zmqdevice, setidlecallback) + zval *user_data = NULL; + zend_fcall_info fci; + zend_fcall_info_cache fci_cache; +- long timeout = 0; ++ zend_long timeout = 0; + + if (ZEND_NUM_ARGS() == 2) { + php_error_docref(NULL, E_DEPRECATED, "The signature for setIdleCallback has changed, please update your code"); +@@ -1718,7 +1718,7 @@ PHP_METHOD(zmqdevice, settimercallback) + zval *user_data = NULL; + zend_fcall_info fci; + zend_fcall_info_cache fci_cache; +- long timeout; ++ zend_long timeout; + + if (zend_parse_parameters(ZEND_NUM_ARGS(), "fl|z!", &fci, &fci_cache, &timeout, &user_data) == FAILURE) { + return; +diff --git a/zmq_sockopt.c b/zmq_sockopt.c +index 1357032..3a00421 100644 +--- a/zmq_sockopt.c ++++ b/zmq_sockopt.c +@@ -1,5 +1,3 @@ +- +- + /* + +-----------------------------------------------------------------------------------+ + | ZMQ extension for PHP | +@@ -2033,7 +2031,7 @@ PHP_METHOD(zmqsocket, getsockopt) + PHP_METHOD(zmqsocket, setsockopt) + { + php_zmq_socket_object *intern; +- long key; ++ zend_long key; + zval *zv; + + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz/", &key, &zv) == FAILURE) { diff --git a/dev-php/pecl-zmq/metadata.xml b/dev-php/pecl-zmq/metadata.xml new file mode 100644 index 000000000000..7a498192a249 --- /dev/null +++ b/dev-php/pecl-zmq/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + Use the czmq high level bindings + + gentoo-staging + diff --git a/dev-php/pecl-zmq/pecl-zmq-1.1.3-r2.ebuild b/dev-php/pecl-zmq/pecl-zmq-1.1.3-r2.ebuild new file mode 100644 index 000000000000..5e4b0582a2af --- /dev/null +++ b/dev-php/pecl-zmq/pecl-zmq-1.1.3-r2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="PHP Bindings for ZeroMQ messaging" +LICENSE="BSD" +SLOT="0" +IUSE="czmq" + +RDEPEND="net-libs/zeromq czmq? ( '/ManifestDocumentMapper.php', + 'phario\\manifest\\manifestloader' => '/ManifestLoader.php', + 'phario\\manifest\\manifestserializer' => '/ManifestSerializer.php', + 'phario\\manifest\\exception' => '/exceptions/Exception.php', + 'phario\\manifest\\invalidapplicationnameexception' => '/exceptions/InvalidApplicationNameException.php', + 'phario\\manifest\\invalidemailexception' => '/exceptions/InvalidEmailException.php', + 'phario\\manifest\\invalidurlexception' => '/exceptions/InvalidUrlException.php', + 'phario\\manifest\\manifestdocumentexception' => '/exceptions/ManifestDocumentException.php', + 'phario\\manifest\\manifestdocumentmapperexception' => '/exceptions/ManifestDocumentMapperException.php', + 'phario\\manifest\\manifestelementexception' => '/exceptions/ManifestElementException.php', + 'phario\\manifest\\manifestloaderexception' => '/exceptions/ManifestLoaderException.php', + 'phario\\manifest\\application' => '/values/Application.php', + 'phario\\manifest\\applicationname' => '/values/ApplicationName.php', + 'phario\\manifest\\author' => '/values/Author.php', + 'phario\\manifest\\authorcollection' => '/values/AuthorCollection.php', + 'phario\\manifest\\authorcollectioniterator' => '/values/AuthorCollectionIterator.php', + 'phario\\manifest\\bundledcomponent' => '/values/BundledComponent.php', + 'phario\\manifest\\bundledcomponentcollection' => '/values/BundledComponentCollection.php', + 'phario\\manifest\\bundledcomponentcollectioniterator' => '/values/BundledComponentCollectionIterator.php', + 'phario\\manifest\\copyrightinformation' => '/values/CopyrightInformation.php', + 'phario\\manifest\\email' => '/values/Email.php', + 'phario\\manifest\\extension' => '/values/Extension.php', + 'phario\\manifest\\library' => '/values/Library.php', + 'phario\\manifest\\license' => '/values/License.php', + 'phario\\manifest\\manifest' => '/values/Manifest.php', + 'phario\\manifest\\phpextensionrequirement' => '/values/PhpExtensionRequirement.php', + 'phario\\manifest\\phpversionrequirement' => '/values/PhpVersionRequirement.php', + 'phario\\manifest\\requirement' => '/values/Requirement.php', + 'phario\\manifest\\requirementcollection' => '/values/RequirementCollection.php', + 'phario\\manifest\\requirementcollectioniterator' => '/values/RequirementCollectionIterator.php', + 'phario\\manifest\\type' => '/values/Type.php', + 'phario\\manifest\\url' => '/values/Url.php', + 'phario\\manifest\\authorelement' => '/xml/AuthorElement.php', + 'phario\\manifest\\authorelementcollection' => '/xml/AuthorElementCollection.php', + 'phario\\manifest\\bundleselement' => '/xml/BundlesElement.php', + 'phario\\manifest\\componentelement' => '/xml/ComponentElement.php', + 'phario\\manifest\\componentelementcollection' => '/xml/ComponentElementCollection.php', + 'phario\\manifest\\containselement' => '/xml/ContainsElement.php', + 'phario\\manifest\\copyrightelement' => '/xml/CopyrightElement.php', + 'phario\\manifest\\elementcollection' => '/xml/ElementCollection.php', + 'phario\\manifest\\extelement' => '/xml/ExtElement.php', + 'phario\\manifest\\extelementcollection' => '/xml/ExtElementCollection.php', + 'phario\\manifest\\extensionelement' => '/xml/ExtensionElement.php', + 'phario\\manifest\\licenseelement' => '/xml/LicenseElement.php', + 'phario\\manifest\\manifestdocument' => '/xml/ManifestDocument.php', + 'phario\\manifest\\manifestdocumentloadingexception' => '/xml/ManifestDocumentLoadingException.php', + 'phario\\manifest\\manifestelement' => '/xml/ManifestElement.php', + 'phario\\manifest\\phpelement' => '/xml/PhpElement.php', + 'phario\\manifest\\requireselement' => '/xml/RequiresElement.php', + ], + __DIR__ +); + +\Fedora\Autoloader\Dependencies::required([ + '/usr/share/php/PharIo/Version/autoload.php' +]); diff --git a/dev-php/phar-io-manifest/metadata.xml b/dev-php/phar-io-manifest/metadata.xml new file mode 100644 index 000000000000..d1e021e81a4b --- /dev/null +++ b/dev-php/phar-io-manifest/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + phar-io/manifest + + gentoo-staging + diff --git a/dev-php/phar-io-manifest/phar-io-manifest-1.0.3.ebuild b/dev-php/phar-io-manifest/phar-io-manifest-1.0.3.ebuild new file mode 100644 index 000000000000..53576524a259 --- /dev/null +++ b/dev-php/phar-io-manifest/phar-io-manifest-1.0.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Reading phar.io manifest information from a PHP Archive (PHAR)" +HOMEPAGE="https://github.com/phar-io/manifest" +SRC_URI="https://github.com/phar-io/manifest/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples" + +S="${WORKDIR}/manifest-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-php/phar-io-version-2 + dev-lang/php:*[phar]" + +src_install() { + insinto /usr/share/php/PharIo/Manifest + doins -r src/* + doins "${FILESDIR}/autoload.php" + dodoc README.md + use examples && dodoc -r examples +} diff --git a/dev-php/phar-io-version/Manifest b/dev-php/phar-io-version/Manifest new file mode 100644 index 000000000000..941d13b52f32 --- /dev/null +++ b/dev-php/phar-io-version/Manifest @@ -0,0 +1 @@ +DIST phar-io-version-2.0.1.tar.gz 10348 BLAKE2B 22a4f8426c14662781534e63ddb62e4e783fe563ae061c0c3ae87960e0c649d68adff9b19e4388e9aafc52184aa273e8ecc5df08f16e0918258a2a4862950181 SHA512 068d872ecafc3491c7cd27068fa2b35cf1d7e3abe21649677c935e897b6582d2efcdcbcef71a00f3b9b416320f6139c671411821ad41e3b7c906fac5288646ec diff --git a/dev-php/phar-io-version/files/autoload.php b/dev-php/phar-io-version/files/autoload.php new file mode 100644 index 000000000000..0036ced557a9 --- /dev/null +++ b/dev-php/phar-io-version/files/autoload.php @@ -0,0 +1,6 @@ + + + + + php-bugs@gentoo.org + PHP + + + phar-io/version + + gentoo-staging + diff --git a/dev-php/phar-io-version/phar-io-version-2.0.1.ebuild b/dev-php/phar-io-version/phar-io-version-2.0.1.ebuild new file mode 100644 index 000000000000..1ddbd002159e --- /dev/null +++ b/dev-php/phar-io-version/phar-io-version-2.0.1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Library for handling version information and constraints" +HOMEPAGE="https://github.com/phar-io/version" +SRC_URI="https://github.com/phar-io/version/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/version-${PV}" + +RDEPEND="dev-php/fedora-autoloader + dev-lang/php:*" + +src_install() { + insinto /usr/share/php/PharIo/Version + doins src/*.php + doins "${FILESDIR}/autoload.php" + dodoc README.md +} diff --git a/dev-php/phar-utils/Manifest b/dev-php/phar-utils/Manifest new file mode 100644 index 000000000000..5ecf90e2f88c --- /dev/null +++ b/dev-php/phar-utils/Manifest @@ -0,0 +1,3 @@ +DIST phar-utils-1.0.0.tar.gz 3152 BLAKE2B c4dfd3d659989bc22adcc14c79e28d623753988742d2fdd178dfd98590b629083ad85c9f112ab23c6213fa70cdad838ebbdc01c45551892ed9a20a3374abd28c SHA512 bf3d7074a3f1101a7f03e8fb8a5bc1456674bf2f9ded6a5fc5fb2f892c1cc3c4643fab6c003851ed12ea16ce6390f482cf897beee7d7c38922b6c54c90b0934e +DIST phar-utils-1.0.1.tar.gz 3251 BLAKE2B 4d12701c53c3a17a141dd35210bbac16b84be7bb6d87b459d13114b09188487f86aedc13afbf510a2e01741a72e1929e25ee5204b729fa5b23801e429f844a58 SHA512 a1fb09b712add948f7b5c19e2f9e81869c76f91dd7d41c981b3f06870a6f7a15d0c413338751587642e3dc538e181336b9fe80f61148ce304025434e9d01d6bd +DIST phar-utils-1.1.0.tar.gz 3742 BLAKE2B 8be6dd17cd7b6641b52a30f58d0f5615e966b8eaad0f2d9c2927eee98f24a840b4751ba779af2d5b27e05c2ab07333475c22896e165589b4091770356039bf82 SHA512 2d715da6deea878db0ff9dce1aa7ec46c4b25d74411df2498a55228ee9fec9bdc350003f829495dfdebf3f5bbec58810afeaa58c7f762f32af6f26ced8569e58 diff --git a/dev-php/phar-utils/files/autoload.php b/dev-php/phar-utils/files/autoload.php new file mode 100644 index 000000000000..44f0299fd7bd --- /dev/null +++ b/dev-php/phar-utils/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + PHAR file format utilities, for when PHP phars you up + + + Seldaek/phar-utils + + gentoo-staging + diff --git a/dev-php/phar-utils/phar-utils-1.0.0.ebuild b/dev-php/phar-utils/phar-utils-1.0.0.ebuild new file mode 100644 index 000000000000..6607a9e370ae --- /dev/null +++ b/dev-php/phar-utils/phar-utils-1.0.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="PHAR file format utilities, for when PHP phars you up" +HOMEPAGE="https://github.com/Seldaek/phar-utils" +SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:*[phar] + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Seld/PharUtils" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/phar-utils/phar-utils-1.0.1.ebuild b/dev-php/phar-utils/phar-utils-1.0.1.ebuild new file mode 100644 index 000000000000..9ed73f9e628a --- /dev/null +++ b/dev-php/phar-utils/phar-utils-1.0.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHAR file format utilities, for when PHP phars you up" +HOMEPAGE="https://github.com/Seldaek/phar-utils" +SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:*[phar] + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Seld/PharUtils" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/phar-utils/phar-utils-1.1.0.ebuild b/dev-php/phar-utils/phar-utils-1.1.0.ebuild new file mode 100644 index 000000000000..20800e163108 --- /dev/null +++ b/dev-php/phar-utils/phar-utils-1.1.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHAR file format utilities, for when PHP phars you up" +HOMEPAGE="https://github.com/Seldaek/phar-utils" +SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:*[phar] + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Seld/PharUtils" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/phing/Manifest b/dev-php/phing/Manifest new file mode 100644 index 000000000000..f7646e1b8ef8 --- /dev/null +++ b/dev-php/phing/Manifest @@ -0,0 +1 @@ +DIST phing-2.16.1.tgz 4149013 BLAKE2B 266c124237d437361e9e18a42c9358fc18cfacfaa798a3a92a31858b7c1af847cde2cac43e0fcfe3759e8291639de9ec564f977fe00939316dbacdfd266e4e92 SHA512 e0832396dac9fbd43680f01acfa55f3ed2819726ace1db4ec9addf18c9c023c4f63143c6a63bbe1b16c2bd19dba54f503efdc77d772a3239bc8f9efe0ab375bb diff --git a/dev-php/phing/files/autoload.php b/dev-php/phing/files/autoload.php new file mode 100644 index 000000000000..437a7dc7ee1e --- /dev/null +++ b/dev-php/phing/files/autoload.php @@ -0,0 +1,14 @@ + + + + + php-bugs@gentoo.org + PHP + + + phingofficial/phing + + + + Support zip archives by requiring said support in + dev-lang/php. + + + gentoo-staging + diff --git a/dev-php/phing/phing-2.16.1.ebuild b/dev-php/phing/phing-2.16.1.ebuild new file mode 100644 index 000000000000..30583fdb8fe3 --- /dev/null +++ b/dev-php/phing/phing-2.16.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="PHP project build system based on Apache Ant" +HOMEPAGE="https://www.phing.info/" +SRC_URI="https://www.phing.info/get/${P}.tgz" + +LICENSE="FDL-1.3 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples minimal zip" + +RDEPEND="dev-lang/php:*[cli,xml,xslt,zip?] + dev-php/symfony-yaml + !minimal? ( + dev-php/PEAR-HTTP_Request2 + dev-php/PEAR-PEAR_PackageFileManager + dev-php/PEAR-VersionControl_SVN + dev-php/PHP_CodeCoverage + dev-php/phpDocumentor + dev-php/phpmd + dev-php/phpunit + dev-php/simpletest + dev-php/xdebug + )" + +S="${WORKDIR}" + +src_install() { + dodoc CHANGELOG.md CREDITS.md README.md + dodoc -r docs/docbook5/en/output/hlhtml + use doc && dodoc -r docs/api + use examples && dodoc -r docs/example + + # Install the executable (and the PHP file it wraps) outside of the + # PHP include directory, since nobody should be including it. + exeinto "/usr/share/${PN}/bin" + doexe "bin/${PN}" + insinto "/usr/share/${PN}/bin" + doins "bin/${PN}.php" + dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}" + + # Phing tries to get the version number from this file. + insinto "/usr/share/${PN}/etc" + doins etc/VERSION.TXT + + # The executable will only look for autoload.php in one place, so we + # create an (otherwise pointless) vendor directory to house it. + insinto "/usr/share/${PN}/vendor" + doins "${FILESDIR}/autoload.php" + + # But install the library under /usr/share/php. + insinto "/usr/share/php" + doins -r "classes/${PN}" +} diff --git a/dev-php/php-codebrowser/Manifest b/dev-php/php-codebrowser/Manifest new file mode 100644 index 000000000000..f14a52413d4e --- /dev/null +++ b/dev-php/php-codebrowser/Manifest @@ -0,0 +1 @@ +DIST PHP_CodeBrowser-1.0.2.tgz 171746 BLAKE2B ceffe162cc64387d086f6b16b03449ec80a360a34ba2740f6f482f5b592439a9c40fe0b1d2706638967586df06dd2dd601cc48ce03e16f45c7427820bcf884d8 SHA512 6b0a174e25ae76f8218856ee52dcb78a09bfe4084f79c241d6ef5f90ffb2c7cee68aa6557717f26a3ce91b09b0b15cd75352f4f59e04e9a74f7a4a9ed33e2c89 diff --git a/dev-php/php-codebrowser/files/channel.xml b/dev-php/php-codebrowser/files/channel.xml new file mode 100644 index 000000000000..91bb6786f543 --- /dev/null +++ b/dev-php/php-codebrowser/files/channel.xml @@ -0,0 +1,16 @@ + + + pear.phpunit.de + PHPUnit PEAR Channel + phpunit + + + + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + http://pear.phpunit.de/rest/ + + + + \ No newline at end of file diff --git a/dev-php/php-codebrowser/metadata.xml b/dev-php/php-codebrowser/metadata.xml new file mode 100644 index 000000000000..c5fab556d191 --- /dev/null +++ b/dev-php/php-codebrowser/metadata.xml @@ -0,0 +1,12 @@ + + + + +php-bugs@gentoo.org +PHP + + +PHP_CodeBrowser generates a html view for code browsing with higlighted and colored errors, parsed from xml reports generated from codesniffer or phpunit. + + gentoo-staging + diff --git a/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild b/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild new file mode 100644 index 000000000000..2c85f0c8d57a --- /dev/null +++ b/dev-php/php-codebrowser/php-codebrowser-1.0.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml" +PHP_PEAR_DOMAIN="pear.phpunit.de" +PHP_PEAR_PKG_NAME="PHP_CodeBrowser" +inherit php-pear-r2 + +DESCRIPTION="Creates highlighted code by reading xml reports from codesniffer or phpunit" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +HOMEPAGE="http://pear.phpunit.de" +SRC_URI="http://${PHP_PEAR_URI}/get/${PEAR_P}.tgz" + +RDEPEND="${RDEPEND} + >=dev-php/PEAR-Console_CommandLine-1.1.3 + >=dev-php/File_Iterator-1.3.0 + >=dev-php/PEAR-Log-1.12.1" + +src_prepare() { + sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \ + -e "s~@data_dir@~${EPREFIX}/usr/share/php/data~" \ + -e "s~@package_version@~${PV}~" \ + "${S}/src/CLIController.php" || die + sed -i -e "s~@php_dir@~${EPREFIX}/usr/share/php~" \ + "${S}/bin/phpcb.php" || die + eapply_user +} + +src_install() { + local DOCS=( CHANGELOG.markdown README.markdown ) + insinto /usr/share/php/data/${PHP_PEAR_PKG_NAME} + doins -r templates + insinto /usr/share/php/${PHP_PEAR_PKG_NAME} + doins -r src/* + exeinto /usr/bin + newexe bin/phpcb.php phpcb + php-pear-r2_install_packagexml + einstalldocs +} diff --git a/dev-php/php-redmine-api/Manifest b/dev-php/php-redmine-api/Manifest new file mode 100644 index 000000000000..621b8011dcfc --- /dev/null +++ b/dev-php/php-redmine-api/Manifest @@ -0,0 +1,2 @@ +DIST php-redmine-api-1.5.16.tar.gz 34323 BLAKE2B 5879c9a67959ec8104344d1d5c57ead036fc60d3bea2ae94684617a711eae0cf9c7d6d2eae6d94c273fdc06bed82f48e281c2895e37ddef2144be8f0881c5341 SHA512 e25dbcababcde4e0b3160f7060a837aa4e52a2f3b1b91bfb131c04c250c543fc41a3667d87c8a668057d5acbfac84f395dd3180b815921fc05edb6325d34dee5 +DIST php-redmine-api-1.5.9.tar.gz 36297 BLAKE2B 32c8cd500b0134afcb20e792f21585315f9635e038bca118d6ea289e2c0f91632aa5e2db2c023969cb228d592a242902a47bbef119e58560b39ba4b418854f8b SHA512 dd23dcadb27965568c3066f417edbff633eee5e804430568e60abf6b69f0fdfe36b73497984f80b055fae07cd3bb6f94264875f076b98f05327c474eb3f2ae5e diff --git a/dev-php/php-redmine-api/metadata.xml b/dev-php/php-redmine-api/metadata.xml new file mode 100644 index 000000000000..859377ee9efb --- /dev/null +++ b/dev-php/php-redmine-api/metadata.xml @@ -0,0 +1,16 @@ + + + + + mjo@gentoo.org + Michael Orlitzky + + + php-bugs@gentoo.org + PHP + + + kbsali/php-redmine-api + + gentoo-staging + diff --git a/dev-php/php-redmine-api/php-redmine-api-1.5.16.ebuild b/dev-php/php-redmine-api/php-redmine-api-1.5.16.ebuild new file mode 100644 index 000000000000..4752a69d8ab4 --- /dev/null +++ b/dev-php/php-redmine-api/php-redmine-api-1.5.16.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A simple, object-oriented, PHP Redmine API client" +HOMEPAGE="https://github.com/kbsali/php-redmine-api" +SRC_URI="https://github.com/kbsali/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[curl,json,simplexml]" +BDEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-4 )" + +src_install() { + insinto "/usr/share/php/${PN}" + doins -r lib + + dodoc example.php README.markdown +} + +src_test() { + phpunit || die "test suite failed" +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/lib/autoload.php'), and then" + elog "use the Redmine\\Client class normally. Most of the examples in the" + elog "documentation should work without modification." +} diff --git a/dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild b/dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild new file mode 100644 index 000000000000..e08d5e07ace0 --- /dev/null +++ b/dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A simple, object-oriented, PHP Redmine API client" +HOMEPAGE="https://github.com/kbsali/php-redmine-api" +SRC_URI="https://github.com/kbsali/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[curl,json,simplexml]" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-4 )" + +src_install() { + insinto "/usr/share/php/${PN}" + doins -r lib + + dodoc example.php README.markdown +} + +src_test() { + phpunit || die "test suite failed" +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/lib/autoload.php'), and then" + elog "use the Redmine\\Client class normally. Most of the examples in the" + elog "documentation should work without modification." +} diff --git a/dev-php/phpDocumentor/Manifest b/dev-php/phpDocumentor/Manifest new file mode 100644 index 000000000000..837251cdb83c --- /dev/null +++ b/dev-php/phpDocumentor/Manifest @@ -0,0 +1 @@ +DIST phpDocumentor-2.9.0.phar 18276081 BLAKE2B 988d9ae15a369c94d6dd83d68b64054d4d1829d651ae28a5082913ebd47666a73f5e48d331c09561777b58c6716707f4751b047e1aad9545d83ac9c964933b80 SHA512 62efc492d387675f753094bf4c42f890808bc3f45ae4a6908a519722af11ffbda41b47100e68f12e5b73a2eaa49fe8afc8143c751518a2a68b10afa18f896f10 diff --git a/dev-php/phpDocumentor/metadata.xml b/dev-php/phpDocumentor/metadata.xml new file mode 100644 index 000000000000..07bfc8ea01b6 --- /dev/null +++ b/dev-php/phpDocumentor/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + phpDocumentor/phpDocumentor2 + + gentoo-staging + diff --git a/dev-php/phpDocumentor/phpDocumentor-2.9.0.ebuild b/dev-php/phpDocumentor/phpDocumentor-2.9.0.ebuild new file mode 100644 index 000000000000..48f99127a9eb --- /dev/null +++ b/dev-php/phpDocumentor/phpDocumentor-2.9.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Automatic documenting of php api directly from the source" +HOMEPAGE="http://phpdoc.org" +SRC_URI="https://github.com/${PN}/${PN}2/releases/download/v${PV}/${PN}.phar -> ${P}.phar" + +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +# block old version that provides the same binary +RDEPEND="!dev-php/PEAR-PhpDocumentor + media-gfx/graphviz + dev-lang/php:*[cli,iconv,intl,phar,xmlreader,xslt]" +S="${WORKDIR}" + +src_unpack() { :; } + +src_install() { + exeinto /usr/share/php/${PN} + newexe "${DISTDIR}/${P}.phar" ${PN}.phar + dosym "../share/php/${PN}/${PN}.phar" /usr/bin/phpdoc +} diff --git a/dev-php/phpcov/Manifest b/dev-php/phpcov/Manifest new file mode 100644 index 000000000000..9279c3ab2beb --- /dev/null +++ b/dev-php/phpcov/Manifest @@ -0,0 +1 @@ +DIST phpcov-5.0.0.phar 2946681 BLAKE2B e343a9c9b56a9f8a43994cb9ffc5920e01b8b42f3fd6436c519535060f5e678e2c0b4a861ad5e15988b06b921e00e9ca0f9ba31eefedee25188d8c75eddff976 SHA512 780ecf6ef5a07801b107659cac4019ac3738833311408bc43d6fbe1041b974ea311ea581c06a49f7fc1d8ff953c36e7cb92b87fb7ad81e0cc1b8f04e7df5d37e diff --git a/dev-php/phpcov/metadata.xml b/dev-php/phpcov/metadata.xml new file mode 100644 index 000000000000..3b1b719e7cc0 --- /dev/null +++ b/dev-php/phpcov/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/phpcov + + gentoo-staging + diff --git a/dev-php/phpcov/phpcov-5.0.0.ebuild b/dev-php/phpcov/phpcov-5.0.0.ebuild new file mode 100644 index 000000000000..366e9349d37d --- /dev/null +++ b/dev-php/phpcov/phpcov-5.0.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="CLI frontend for PHP_CodeCoverage" +HOMEPAGE="https://github.com/sebastianbergmann/phpcov" +SRC_URI="https://phar.phpunit.de/${P}.phar" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*[phar] + dev-php/xdebug" + +S="${WORKDIR}" + +src_unpack() { + return +} + +src_install() { + exeinto /usr/share/php/${PN} + newexe "${DISTDIR}"/${P}.phar "${PN}.phar" + dosym "../share/php/${PN}/${PN}.phar" /usr/bin/${PN} +} diff --git a/dev-php/phpdepend/Manifest b/dev-php/phpdepend/Manifest new file mode 100644 index 000000000000..98beec1ba268 --- /dev/null +++ b/dev-php/phpdepend/Manifest @@ -0,0 +1 @@ +DIST phpdepend-2.5.0.tar.gz 190823 BLAKE2B 9711a6bd113e912b651a577e1b00f388262843796219cdd26e012f1beccfd54aca62f4998a47d69c5ff3cc8705551fdd86bc538fdaf7173f5f25bc41f509c3e1 SHA512 927ff961773c3b2076b11b374035482c05b2da3a9777418c6fe0a491bd20eec431bfd75cd706674e231c9f73d97b6b0236eea12794cfff2d8ad52a6a6170e137 diff --git a/dev-php/phpdepend/files/autoload.php b/dev-php/phpdepend/files/autoload.php new file mode 100644 index 000000000000..ce186c4f3d86 --- /dev/null +++ b/dev-php/phpdepend/files/autoload.php @@ -0,0 +1,19 @@ + + + + + php-bugs@gentoo.org + PHP + + +Static code analyser for PHP + + + pdepend/pdepend + + gentoo-staging + diff --git a/dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild b/dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild new file mode 100644 index 000000000000..1ea5cc4ab920 --- /dev/null +++ b/dev-php/phpdepend/phpdepend-2.5.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=pdepend + +DESCRIPTION="Static code analysis for PHP" +HOMEPAGE="http://www.pdepend.org/" + +# The test suite is absent from the release tarballs because +# the only build system that Composer understands is "cp -r". +# To obtain the tests, we would need to grab a VCS snapshot. +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/php + dev-php/fedora-autoloader + >=dev-php/symfony-config-2.3 + >=dev-php/symfony-dependency-injection-2.3 + >=dev-php/symfony-filesystem-2.3" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_install() { + dodoc CHANGELOG + + # The executable will only look for autoload.php in one place, so we + # create an (otherwise pointless) vendor directory to house it. + insinto "/usr/share/${PN}/vendor" + doins "${FILESDIR}/autoload.php" + + insinto "/usr/share/${PN}/src" + doins -r src/main + + # The executable uses relative include paths, so the one users will + # actually run needs to be symlinked into the source tree. + exeinto "/usr/share/${PN}/src/bin" + doexe "src/bin/${MY_PN}" + dosym "../share/${PN}/src/bin/${MY_PN}" "/usr/bin/${MY_PN}" +} diff --git a/dev-php/phpdocumentor-reflection-common/Manifest b/dev-php/phpdocumentor-reflection-common/Manifest new file mode 100644 index 000000000000..d17c0119982d --- /dev/null +++ b/dev-php/phpdocumentor-reflection-common/Manifest @@ -0,0 +1 @@ +DIST phpdocumentor-reflection-common-1.0.tar.gz 7746 BLAKE2B 0e7119b9a55e4408160c7e04f569831b491c801f4a12e4b17af21eb4a1fcd9b7f84f23548551f829506649d3accbd3a890bae7ba8ef4390051f45f68143f76a2 SHA512 63d76282d0921535af70e084d3621d8cc6b07f49bc5348429a340730212f3c99f8e64636e43cebb3140fa4f6363b4f2a0c02cbe38036a28123e7bbeb67c61a0d diff --git a/dev-php/phpdocumentor-reflection-common/files/autoload.php b/dev-php/phpdocumentor-reflection-common/files/autoload.php new file mode 100644 index 000000000000..356515b7a000 --- /dev/null +++ b/dev-php/phpdocumentor-reflection-common/files/autoload.php @@ -0,0 +1,8 @@ + + + + + php-bugs@gentoo.org + PHP + + + phpDocumentor/ReflectionCommon + + gentoo-staging + diff --git a/dev-php/phpdocumentor-reflection-common/phpdocumentor-reflection-common-1.0.ebuild b/dev-php/phpdocumentor-reflection-common/phpdocumentor-reflection-common-1.0.ebuild new file mode 100644 index 000000000000..df7fc22e980b --- /dev/null +++ b/dev-php/phpdocumentor-reflection-common/phpdocumentor-reflection-common-1.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="ReflectionCommon" +MY_VENDOR="phpDocumentor" + +DESCRIPTION="Common reflection classes used by phpdocumentor to reflect the code structure" +HOMEPAGE="https://www.phpdoc.org" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/${MY_PN} + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phpdocumentor-reflection-docblock/Manifest b/dev-php/phpdocumentor-reflection-docblock/Manifest new file mode 100644 index 000000000000..34ce44b02c63 --- /dev/null +++ b/dev-php/phpdocumentor-reflection-docblock/Manifest @@ -0,0 +1 @@ +DIST phpdocumentor-reflection-docblock-3.1.1.tar.gz 42935 BLAKE2B a18fbc5012a28e9f0ab59c6f485bec692aed5e7d245845be1c20a34e51b646b3cfd57d84f10f60a5e64c3ad0cc916b1bd97f07629035d3d4991056665012bb39 SHA512 43f1824db3a7a3793db88817e3cedd6379c8e9074fac1a3e781d049a74a13bde3c519c0a9b2a9219d7869339ab16276229d5d3d9398d9bf7f6cdac6dea5a12d5 diff --git a/dev-php/phpdocumentor-reflection-docblock/files/autoload.php b/dev-php/phpdocumentor-reflection-docblock/files/autoload.php new file mode 100644 index 000000000000..70091f310ed1 --- /dev/null +++ b/dev-php/phpdocumentor-reflection-docblock/files/autoload.php @@ -0,0 +1,14 @@ + + + + + php-bugs@gentoo.org + PHP + + + phpDocumentor/ReflectionDocBlock + + gentoo-staging + diff --git a/dev-php/phpdocumentor-reflection-docblock/phpdocumentor-reflection-docblock-3.1.1.ebuild b/dev-php/phpdocumentor-reflection-docblock/phpdocumentor-reflection-docblock-3.1.1.ebuild new file mode 100644 index 000000000000..bade1b51f23c --- /dev/null +++ b/dev-php/phpdocumentor-reflection-docblock/phpdocumentor-reflection-docblock-3.1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="ReflectionDocBlock" +MY_VENDOR="phpDocumentor" + +DESCRIPTION="Provide support for annotations via DocBlocks" +HOMEPAGE="https://www.phpdoc.org" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/${MY_PN} + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phpdocumentor-type-resolver/Manifest b/dev-php/phpdocumentor-type-resolver/Manifest new file mode 100644 index 000000000000..825500cee8d3 --- /dev/null +++ b/dev-php/phpdocumentor-type-resolver/Manifest @@ -0,0 +1 @@ +DIST phpdocumentor-type-resolver-0.2.1.tar.gz 15231 BLAKE2B 1c47c8de34bf97cbfd7fa8c5c138a61e77f8897ab8009ae24b4a05e83bd58b9a0990bf365d3578d6b15f642cdb53b9a62a6485887350e19763320d46bf59d7b7 SHA512 888d165b397831d7319116c71dc34a3c738601bdb9956d250f80ee89374a9f063449ae9a82a43646e9156ad720e84e5d951c35dee746a37354388cd1f69d5154 diff --git a/dev-php/phpdocumentor-type-resolver/files/autoload.php b/dev-php/phpdocumentor-type-resolver/files/autoload.php new file mode 100644 index 000000000000..356515b7a000 --- /dev/null +++ b/dev-php/phpdocumentor-type-resolver/files/autoload.php @@ -0,0 +1,8 @@ + + + + + php-bugs@gentoo.org + PHP + + + phpDocumentor/TypeResolver + + gentoo-staging + diff --git a/dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild b/dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild new file mode 100644 index 000000000000..7cbd16a1c114 --- /dev/null +++ b/dev-php/phpdocumentor-type-resolver/phpdocumentor-type-resolver-0.2.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="TypeResolver" +MY_VENDOR="phpDocumentor" + +DESCRIPTION="PSR-5 based resolver of Class names, Types and Structural Element Names" +HOMEPAGE="https://www.phpdoc.org" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/${MY_PN} + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phpmd/Manifest b/dev-php/phpmd/Manifest new file mode 100644 index 000000000000..9555432143fa --- /dev/null +++ b/dev-php/phpmd/Manifest @@ -0,0 +1 @@ +DIST phpmd-2.6.0.tar.gz 57496 BLAKE2B 447e1b0a18372abc82746e8f2a47ea0df76fdeea51e7012ea63a0d644f7cd71790a3e354584d18f57bab3e7211f1037ff3f61aff367c3419caa44e77e79d1cbb SHA512 7c81bef8457f28dd40b908f535cf432d65ba6910c54f730b4d9f7a0bffa096653af029701a6ce4bd22910ec69453c5ff22c657100757d7d6eacff2226b597023 diff --git a/dev-php/phpmd/files/autoload.php b/dev-php/phpmd/files/autoload.php new file mode 100644 index 000000000000..b0fa4764c7ca --- /dev/null +++ b/dev-php/phpmd/files/autoload.php @@ -0,0 +1,14 @@ + + + + + php-bugs@gentoo.org + PHP + + + phpmd/phpmd + + gentoo-staging + diff --git a/dev-php/phpmd/phpmd-2.6.0.ebuild b/dev-php/phpmd/phpmd-2.6.0.ebuild new file mode 100644 index 000000000000..dc08acef5020 --- /dev/null +++ b/dev-php/phpmd/phpmd-2.6.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="PHP mess detector" +HOMEPAGE="http://www.phpmd.org/" + +# The test suite is absent from the release tarballs because +# the only build system that Composer understands is "cp -r". +# To obtain the tests, we would need to grab a VCS snapshot. +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/php[xml] + dev-php/phpdepend" + +src_install() { + dodoc AUTHORS.rst CHANGELOG CONTRIBUTING.md README.rst + + # The executable will only look for autoload.php in one place, so we + # create an (otherwise pointless) vendor directory to house it. + insinto "/usr/share/${PN}/vendor" + doins "${FILESDIR}/autoload.php" + + insinto "/usr/share/${PN}/src" + doins -r src/main + + # The executable uses relative include paths, so the one users will + # actually run needs to be symlinked into the source tree. + exeinto "/usr/share/${PN}/src/bin" + doexe "src/bin/${PN}" + dosym "../share/${PN}/src/bin/${PN}" "/usr/bin/${PN}" +} diff --git a/dev-php/phpspec-prophecy/Manifest b/dev-php/phpspec-prophecy/Manifest new file mode 100644 index 000000000000..457aaa0ff663 --- /dev/null +++ b/dev-php/phpspec-prophecy/Manifest @@ -0,0 +1,5 @@ +DIST phpspec-prophecy-1.10.0.tar.gz 38663 BLAKE2B 44a292eb24cbef36217c108cc09497847b27e249fa3894bdd6846e7547aab7a514396deb9918f7b1ddfe4e71142beb266914669c1d3ce151dfac2aafe7be214b SHA512 f2f871dfe6db2b405ef57b859f82b7540c233ce3056601aee3a09394416a625445e4b94db50cef240a5b0da0fc972fb8b8ca3216750b6a658f09817a60da21b1 +DIST phpspec-prophecy-1.10.1.tar.gz 38707 BLAKE2B 1eaa3fe0043b0d03341778679683cd388d2cdcc3c386ee5801f22dce453fbc3c276023f1b9dc6f26ee332948f59081e09d0944948feff1a6332195523570e4c9 SHA512 f42d115969894b0c1f4887a2154fe310ddd3c7d5a49abbed3c3cb6ffa86d83b1458b9323203e68a7389f5df3c95b3a25037bed41cb8f3b5e824d45102579b9ca +DIST phpspec-prophecy-1.7.0.tar.gz 60338 BLAKE2B 8171120d8407f2e554150d5e3ea1972c54d4e2ce0e6698763f0b3c7e1645340ce22404da7844fed8412579c46f372852b4553c6d8a65c8094ef3065b0dbbd80c SHA512 e8efb3882d869f10fe39dff7c2185e1ec6f044c794fd6a5785e1c1c69c71b91dc3997f61bd2566d3243dde0becce568beba9a18fa0fd152e6ce74ca43a9a0fb0 +DIST phpspec-prophecy-1.8.0.tar.gz 37907 BLAKE2B 4bdd55d7fc14604c9fade23c60bf51f4c03accc182d7c5ad445dc6212a1e41b1bf392fe8f4a29768ecfcb2af479c0db3e29d5787d12e1f3222b032ba7e64dbc8 SHA512 992673f7cd148cf0b8752bbad614bbe34175a761cd4bf8849625794b505342d1bd918212a0f1463d94513f9e805d3dd127ba129d6622bcda29ea2b5c57a5582f +DIST phpspec-prophecy-1.9.0.tar.gz 38262 BLAKE2B 1642d38afa368be504da73c0bcf34921fe167dff5665651af23142f33979a35d8d10112e3d1c5b1b38448b92b4741ebda2c183dca10473dce833090a603f95f6 SHA512 d0ba1840ca84cf4b0642083858326c593086f35ba3a6d83746956efbe5d538910efc01655eaa14b4e2b7e17e7bd19cd2494cdfad0dd5bdfb43cdee2402a55b05 diff --git a/dev-php/phpspec-prophecy/files/autoload-1.10.0.php b/dev-php/phpspec-prophecy/files/autoload-1.10.0.php new file mode 100644 index 000000000000..fbc88617da61 --- /dev/null +++ b/dev-php/phpspec-prophecy/files/autoload-1.10.0.php @@ -0,0 +1,15 @@ + + + + + php-bugs@gentoo.org + PHP + + + phpspec/prophecy + + gentoo-staging + diff --git a/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild b/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild new file mode 100644 index 000000000000..bdb25fc6a8fd --- /dev/null +++ b/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="prophecy" +MY_VENDOR="phpspec" + +DESCRIPTION="Highly opinionated mocking framework" +HOMEPAGE="https://github.com/phpspec/prophecy" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/Prophecy + doins -r src/Prophecy/* + newins "${FILESDIR}/autoload-1.10.0.php" autoload.php +} diff --git a/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.1.ebuild b/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.1.ebuild new file mode 100644 index 000000000000..bdb25fc6a8fd --- /dev/null +++ b/dev-php/phpspec-prophecy/phpspec-prophecy-1.10.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="prophecy" +MY_VENDOR="phpspec" + +DESCRIPTION="Highly opinionated mocking framework" +HOMEPAGE="https://github.com/phpspec/prophecy" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/Prophecy + doins -r src/Prophecy/* + newins "${FILESDIR}/autoload-1.10.0.php" autoload.php +} diff --git a/dev-php/phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild b/dev-php/phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild new file mode 100644 index 000000000000..e4e8addb9b61 --- /dev/null +++ b/dev-php/phpspec-prophecy/phpspec-prophecy-1.7.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="prophecy" +MY_VENDOR="phpspec" + +DESCRIPTION="Highly opinionated mocking framework" +HOMEPAGE="https://github.com/phpspec/prophecy" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/Prophecy + doins -r src/Prophecy/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phpspec-prophecy/phpspec-prophecy-1.8.0.ebuild b/dev-php/phpspec-prophecy/phpspec-prophecy-1.8.0.ebuild new file mode 100644 index 000000000000..37aeac8fe4fa --- /dev/null +++ b/dev-php/phpspec-prophecy/phpspec-prophecy-1.8.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="prophecy" +MY_VENDOR="phpspec" + +DESCRIPTION="Highly opinionated mocking framework" +HOMEPAGE="https://github.com/phpspec/prophecy" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/Prophecy + doins -r src/Prophecy/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phpspec-prophecy/phpspec-prophecy-1.9.0.ebuild b/dev-php/phpspec-prophecy/phpspec-prophecy-1.9.0.ebuild new file mode 100644 index 000000000000..37aeac8fe4fa --- /dev/null +++ b/dev-php/phpspec-prophecy/phpspec-prophecy-1.9.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="prophecy" +MY_VENDOR="phpspec" + +DESCRIPTION="Highly opinionated mocking framework" +HOMEPAGE="https://github.com/phpspec/prophecy" +SRC_URI="https://github.com/${MY_VENDOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/${MY_VENDOR}/Prophecy + doins -r src/Prophecy/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phptal/Manifest b/dev-php/phptal/Manifest new file mode 100644 index 000000000000..e24092ed7848 --- /dev/null +++ b/dev-php/phptal/Manifest @@ -0,0 +1 @@ +DIST phptal-1.3.1.tar.gz 272883 BLAKE2B 4914b8bb40464f22417fd7ed7dbf88709b95b69a69a905a5152ff640dd5af6af2be7c7d67a622d78029e4075b6b19d8d1bf537a4a6ccc0c97260e5183a961ecd SHA512 74856cbeab3f8d9d552bcb7275a0180fd25e7703230c90e4343fbe9be4001118b091fabbace89efa98a8bf0344f46edf36c4ba709ed0e9b040b82204ea3b7290 diff --git a/dev-php/phptal/metadata.xml b/dev-php/phptal/metadata.xml new file mode 100644 index 000000000000..03be5eb20d8b --- /dev/null +++ b/dev-php/phptal/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/phptal/phptal-1.3.1.ebuild b/dev-php/phptal/phptal-1.3.1.ebuild new file mode 100644 index 000000000000..041baa9a91d1 --- /dev/null +++ b/dev-php/phptal/phptal-1.3.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_LIB_NAME="PHPTAL" + +DESCRIPTION="A templating engine for PHP5 that implements Zope Page Templates syntax" +HOMEPAGE="https://phptal.org/" +SRC_URI="https://github.com/${PN}/${PHP_LIB_NAME}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*" +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +S="${WORKDIR}/${PHP_LIB_NAME}-${PV}" + +src_compile() { :; } + +src_install() { + insinto /usr/share/php/${PN} + doins -r "classes/${PHP_LIB_NAME}" + doins classes/PHPTAL.php tools/phptal_lint.php + + dodoc README.md +} + +src_test() { + [[ -z $(locale -a |grep en_GB) ]] && ewarn "Tests require en_GB locale to complete" + phpunit || die +} diff --git a/dev-php/phpunit-mock-objects/Manifest b/dev-php/phpunit-mock-objects/Manifest new file mode 100644 index 000000000000..d214db2edee0 --- /dev/null +++ b/dev-php/phpunit-mock-objects/Manifest @@ -0,0 +1 @@ +DIST phpunit-mock-objects-3.4.3.tar.gz 37921 BLAKE2B 1d1cb1dc0bf024525f3d226d1fa67eb27a6de747ac90d58c54d145d284bb0edc06821f45b7b7bb8a3378bd68baa01c31e773da9ff522a410b3f5038746eadf67 SHA512 c9305796062a9ef412c194a82322c913b695c74fd9505580707381f9d9f96f6d69a16bde2c35226240e3c2bfaa6f0f9bf1c94c178b8a1f050b5afef7e53611de diff --git a/dev-php/phpunit-mock-objects/files/autoload.php b/dev-php/phpunit-mock-objects/files/autoload.php new file mode 100644 index 000000000000..96bcae916553 --- /dev/null +++ b/dev-php/phpunit-mock-objects/files/autoload.php @@ -0,0 +1,61 @@ + '/Exception/BadMethodCallException.php', + 'phpunit_framework_mockobject_builder_identity' => '/Builder/Identity.php', + 'phpunit_framework_mockobject_builder_invocationmocker' => '/Builder/InvocationMocker.php', + 'phpunit_framework_mockobject_builder_match' => '/Builder/Match.php', + 'phpunit_framework_mockobject_builder_methodnamematch' => '/Builder/MethodNameMatch.php', + 'phpunit_framework_mockobject_builder_namespace' => '/Builder/Namespace.php', + 'phpunit_framework_mockobject_builder_parametersmatch' => '/Builder/ParametersMatch.php', + 'phpunit_framework_mockobject_builder_stub' => '/Builder/Stub.php', + 'phpunit_framework_mockobject_exception' => '/Exception/Exception.php', + 'phpunit_framework_mockobject_generator' => '/Generator.php', + 'phpunit_framework_mockobject_invocation' => '/Invocation.php', + 'phpunit_framework_mockobject_invocationmocker' => '/InvocationMocker.php', + 'phpunit_framework_mockobject_invocation_object' => '/Invocation/Object.php', + 'phpunit_framework_mockobject_invocation_static' => '/Invocation/Static.php', + 'phpunit_framework_mockobject_invokable' => '/Invokable.php', + 'phpunit_framework_mockobject_matcher' => '/Matcher.php', + 'phpunit_framework_mockobject_matcher_anyinvokedcount' => '/Matcher/AnyInvokedCount.php', + 'phpunit_framework_mockobject_matcher_anyparameters' => '/Matcher/AnyParameters.php', + 'phpunit_framework_mockobject_matcher_consecutiveparameters' => '/Matcher/ConsecutiveParameters.php', + 'phpunit_framework_mockobject_matcher_invocation' => '/Matcher/Invocation.php', + 'phpunit_framework_mockobject_matcher_invokedatindex' => '/Matcher/InvokedAtIndex.php', + 'phpunit_framework_mockobject_matcher_invokedatleastcount' => '/Matcher/InvokedAtLeastCount.php', + 'phpunit_framework_mockobject_matcher_invokedatleastonce' => '/Matcher/InvokedAtLeastOnce.php', + 'phpunit_framework_mockobject_matcher_invokedatmostcount' => '/Matcher/InvokedAtMostCount.php', + 'phpunit_framework_mockobject_matcher_invokedcount' => '/Matcher/InvokedCount.php', + 'phpunit_framework_mockobject_matcher_invokedrecorder' => '/Matcher/InvokedRecorder.php', + 'phpunit_framework_mockobject_matcher_methodname' => '/Matcher/MethodName.php', + 'phpunit_framework_mockobject_matcher_parameters' => '/Matcher/Parameters.php', + 'phpunit_framework_mockobject_matcher_statelessinvocation' => '/Matcher/StatelessInvocation.php', + 'phpunit_framework_mockobject_mockbuilder' => '/MockBuilder.php', + 'phpunit_framework_mockobject_mockobject' => '/MockObject.php', + 'phpunit_framework_mockobject_runtimeexception' => '/Exception/RuntimeException.php', + 'phpunit_framework_mockobject_stub' => '/Stub.php', + 'phpunit_framework_mockobject_stub_consecutivecalls' => '/Stub/ConsecutiveCalls.php', + 'phpunit_framework_mockobject_stub_exception' => '/Stub/Exception.php', + 'phpunit_framework_mockobject_stub_matchercollection' => '/Stub/MatcherCollection.php', + 'phpunit_framework_mockobject_stub_return' => '/Stub/Return.php', + 'phpunit_framework_mockobject_stub_returnargument' => '/Stub/ReturnArgument.php', + 'phpunit_framework_mockobject_stub_returncallback' => '/Stub/ReturnCallback.php', + 'phpunit_framework_mockobject_stub_returnreference' => '/Stub/ReturnReference.php', + 'phpunit_framework_mockobject_stub_returnself' => '/Stub/ReturnSelf.php', + 'phpunit_framework_mockobject_stub_returnvaluemap' => '/Stub/ReturnValueMap.php', + 'phpunit_framework_mockobject_verifiable' => '/Verifiable.php', + ), + __DIR__ +); + +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/Doctrine/Instantiator/autoload.php', + '/usr/share/php/SebastianBergmann/Exporter/autoload.php', + '/usr/share/php/Text/Template/autoload.php', +)); diff --git a/dev-php/phpunit-mock-objects/metadata.xml b/dev-php/phpunit-mock-objects/metadata.xml new file mode 100644 index 000000000000..476d06328f4f --- /dev/null +++ b/dev-php/phpunit-mock-objects/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/phpunit-mock-objects + + gentoo-staging + diff --git a/dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3-r1.ebuild b/dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3-r1.ebuild new file mode 100644 index 000000000000..9b0a499ebf29 --- /dev/null +++ b/dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Mock Object library for PHPUnit" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND="dev-php/fedora-autoloader + >=dev-php/Text_Template-1.2 + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/PHPUnit/ + doins -r src/* + insinto /usr/share/php/PHPUnit/Framework/MockObject + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3.ebuild b/dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3.ebuild new file mode 100644 index 000000000000..e409f8167f00 --- /dev/null +++ b/dev-php/phpunit-mock-objects/phpunit-mock-objects-3.4.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Mock Object library for PHPUnit" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +RDEPEND="dev-php/fedora-autoloader + >=dev-php/Text_Template-1.2 + !>=dev-php/Text_Template-2.0 + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/PHPUnit/ + doins -r src/* + insinto /usr/share/php/PHPUnit/Framework/MockObject + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/phpunit/Manifest b/dev-php/phpunit/Manifest new file mode 100644 index 000000000000..afad5b3a7340 --- /dev/null +++ b/dev-php/phpunit/Manifest @@ -0,0 +1,6 @@ +DIST phpunit-5.7.15.tar.gz 205474 BLAKE2B 0220edd59fc3f191b7621f275d3e4ee8f8bf514f74533d99bfb925e11cc54a235fb292ffd1bb54f6bec1e038c06e35a0dc43c1227618590f99e7e85638a7de28 SHA512 6a836e1ad1656fd1d1c5a58ced3c1826b4decc01798b6a804b487c9b4e094ec32f6eb8a84058e268eade62a2fe19d7bd1e760b8b9433299d9fe9c09afdf2bdd3 +DIST phpunit-8.5.0.tar.gz 311500 BLAKE2B 1b21b898f8a933a228bb6f0197e1a884fe1ab67e7774194d32d23393b2ee649a307e0d00cc6a3b89bad19ab5abc22de8fbc99ff41dc69a006117eabe626cd86a SHA512 3f2c615fbe05c2c04db71b237716ffa3a9ac2c0a5e490fea5db9780efe7f825d47ebb04e81dcdbd4c55f2c3667caf2de79cdbeece6c10ec999c9786fee245721 +DIST phpunit-8.5.1.tar.gz 311607 BLAKE2B be746b70df855dd53a7faf61801258e2a3ec4f1ea008575328505e174193990d60d35533a220e03c93a4a013bcf177de71c3f8c1b856767a7cc52ab6aaaef0d6 SHA512 ab2d01d924ed34fc843f33f917e8aab6987ec547e02cdc662ce1f6d6ee383b064bb63a6f71420daee49ef87499471aa4e98b99ab6fc585229738efcbfb87fd46 +DIST phpunit-8.5.2.tar.gz 311677 BLAKE2B 7cc42db3618a9e6ffcc35a7a38a6691193814a036869c78af6ef4d020f43fe00633eeebc81cf5c4cb2db04b06706206d78885a1a2e39deea4d20e55a0f8189b2 SHA512 2b8c82381b3a4712c8cae453924b5b0ec25e6c4ef2de6d36ab31f6414a32806abfaa0de5068e585f203dcdd0f228b7ddffb930f394ca5af325c1f222e0523642 +DIST phpunit-8.5.4.tar.gz 312261 BLAKE2B cd130c5699abce3614e616525f58448283ac77f285dda421d33596a82a815d85a663204a661089373a5f6e9ef0d55ba8f327df759bfda6d6503c25663b6ad197 SHA512 307e441582399b2fbd77b30306702b0de0550e9f7e13a41cb39d665291d19e11d5952940fc198247688b95da7774786e86676053f5c64bd4405a1252f617f259 +DIST phpunit-8.5.5.tar.gz 158108 BLAKE2B ecdc339aa501d6f56eb13a26dae290a60609a8804c4160e339ac6900df70647fa3bba1e4a2fa9fb01b0363d0afa57b3e05305d7d055ac8ec03519c503ac3791e SHA512 22209ec189af58e490c688fe7e72c3388dabb497daa4d8c73f7c84036e39b4ae36d89f72b65c67f46487c8bc96f0c0e6760a3d44a3107c5a27eef52f764dd738 diff --git a/dev-php/phpunit/files/autoload-8.5.0.php b/dev-php/phpunit/files/autoload-8.5.0.php new file mode 100644 index 000000000000..179ff7f276c8 --- /dev/null +++ b/dev-php/phpunit/files/autoload-8.5.0.php @@ -0,0 +1,254 @@ + '/Exception.php', +'phpunit\\framework\\assert' => '/Framework/Assert.php', +'phpunit\\framework\\assertionfailederror' => '/Framework/Exception/AssertionFailedError.php', +'phpunit\\framework\\codecoverageexception' => '/Framework/Exception/CodeCoverageException.php', +'phpunit\\framework\\constraint\\arrayhaskey' => '/Framework/Constraint/ArrayHasKey.php', +'phpunit\\framework\\constraint\\arraysubset' => '/Framework/Constraint/ArraySubset.php', +'phpunit\\framework\\constraint\\attribute' => '/Framework/Constraint/Attribute.php', +'phpunit\\framework\\constraint\\callback' => '/Framework/Constraint/Callback.php', +'phpunit\\framework\\constraint\\classhasattribute' => '/Framework/Constraint/ClassHasAttribute.php', +'phpunit\\framework\\constraint\\classhasstaticattribute' => '/Framework/Constraint/ClassHasStaticAttribute.php', +'phpunit\\framework\\constraint\\composite' => '/Framework/Constraint/Composite.php', +'phpunit\\framework\\constraint\\constraint' => '/Framework/Constraint/Constraint.php', +'phpunit\\framework\\constraint\\count' => '/Framework/Constraint/Count.php', +'phpunit\\framework\\constraint\\directoryexists' => '/Framework/Constraint/DirectoryExists.php', +'phpunit\\framework\\constraint\\exception' => '/Framework/Constraint/Exception.php', +'phpunit\\framework\\constraint\\exceptioncode' => '/Framework/Constraint/ExceptionCode.php', +'phpunit\\framework\\constraint\\exceptionmessage' => '/Framework/Constraint/ExceptionMessage.php', +'phpunit\\framework\\constraint\\exceptionmessageregularexpression' => '/Framework/Constraint/ExceptionMessageRegularExpression.php', +'phpunit\\framework\\constraint\\fileexists' => '/Framework/Constraint/FileExists.php', +'phpunit\\framework\\constraint\\greaterthan' => '/Framework/Constraint/GreaterThan.php', +'phpunit\\framework\\constraint\\isanything' => '/Framework/Constraint/IsAnything.php', +'phpunit\\framework\\constraint\\isempty' => '/Framework/Constraint/IsEmpty.php', +'phpunit\\framework\\constraint\\isequal' => '/Framework/Constraint/IsEqual.php', +'phpunit\\framework\\constraint\\isfalse' => '/Framework/Constraint/IsFalse.php', +'phpunit\\framework\\constraint\\isfinite' => '/Framework/Constraint/IsFinite.php', +'phpunit\\framework\\constraint\\isidentical' => '/Framework/Constraint/IsIdentical.php', +'phpunit\\framework\\constraint\\isinfinite' => '/Framework/Constraint/IsInfinite.php', +'phpunit\\framework\\constraint\\isinstanceof' => '/Framework/Constraint/IsInstanceOf.php', +'phpunit\\framework\\constraint\\isjson' => '/Framework/Constraint/IsJson.php', +'phpunit\\framework\\constraint\\isnan' => '/Framework/Constraint/IsNan.php', +'phpunit\\framework\\constraint\\isnull' => '/Framework/Constraint/IsNull.php', +'phpunit\\framework\\constraint\\isreadable' => '/Framework/Constraint/IsReadable.php', +'phpunit\\framework\\constraint\\istrue' => '/Framework/Constraint/IsTrue.php', +'phpunit\\framework\\constraint\\istype' => '/Framework/Constraint/IsType.php', +'phpunit\\framework\\constraint\\iswritable' => '/Framework/Constraint/IsWritable.php', +'phpunit\\framework\\constraint\\jsonmatches' => '/Framework/Constraint/JsonMatches.php', +'phpunit\\framework\\constraint\\jsonmatcheserrormessageprovider' => '/Framework/Constraint/JsonMatchesErrorMessageProvider.php', +'phpunit\\framework\\constraint\\lessthan' => '/Framework/Constraint/LessThan.php', +'phpunit\\framework\\constraint\\logicaland' => '/Framework/Constraint/LogicalAnd.php', +'phpunit\\framework\\constraint\\logicalnot' => '/Framework/Constraint/LogicalNot.php', +'phpunit\\framework\\constraint\\logicalor' => '/Framework/Constraint/LogicalOr.php', +'phpunit\\framework\\constraint\\logicalxor' => '/Framework/Constraint/LogicalXor.php', +'phpunit\\framework\\constraint\\objecthasattribute' => '/Framework/Constraint/ObjectHasAttribute.php', +'phpunit\\framework\\constraint\\regularexpression' => '/Framework/Constraint/RegularExpression.php', +'phpunit\\framework\\constraint\\samesize' => '/Framework/Constraint/SameSize.php', +'phpunit\\framework\\constraint\\stringcontains' => '/Framework/Constraint/StringContains.php', +'phpunit\\framework\\constraint\\stringendswith' => '/Framework/Constraint/StringEndsWith.php', +'phpunit\\framework\\constraint\\stringmatchesformatdescription' => '/Framework/Constraint/StringMatchesFormatDescription.php', +'phpunit\\framework\\constraint\\stringstartswith' => '/Framework/Constraint/StringStartsWith.php', +'phpunit\\framework\\constraint\\traversablecontains' => '/Framework/Constraint/TraversableContains.php', +'phpunit\\framework\\constraint\\traversablecontainsequal' => '/Framework/Constraint/TraversableContainsEqual.php', +'phpunit\\framework\\constraint\\traversablecontainsidentical' => '/Framework/Constraint/TraversableContainsIdentical.php', +'phpunit\\framework\\constraint\\traversablecontainsonly' => '/Framework/Constraint/TraversableContainsOnly.php', +'phpunit\\framework\\coveredcodenotexecutedexception' => '/Framework/Exception/CoveredCodeNotExecutedException.php', +'phpunit\\framework\\dataprovidertestsuite' => '/Framework/DataProviderTestSuite.php', +'phpunit\\framework\\error\\deprecated' => '/Framework/Error/Deprecated.php', +'phpunit\\framework\\error\\error' => '/Framework/Error/Error.php', +'phpunit\\framework\\error\\notice' => '/Framework/Error/Notice.php', +'phpunit\\framework\\error\\warning' => '/Framework/Error/Warning.php', +'phpunit\\framework\\exception' => '/Framework/Exception/Exception.php', +'phpunit\\framework\\exceptionwrapper' => '/Framework/ExceptionWrapper.php', +'phpunit\\framework\\expectationfailedexception' => '/Framework/Exception/ExpectationFailedException.php', +'phpunit\\framework\\incompletetest' => '/Framework/IncompleteTest.php', +'phpunit\\framework\\incompletetestcase' => '/Framework/IncompleteTestCase.php', +'phpunit\\framework\\incompletetesterror' => '/Framework/Exception/IncompleteTestError.php', +'phpunit\\framework\\invalidargumentexception' => '/Framework/Exception/InvalidArgumentException.php', +'phpunit\\framework\\invalidcoverstargetexception' => '/Framework/Exception/InvalidCoversTargetException.php', +'phpunit\\framework\\invaliddataproviderexception' => '/Framework/Exception/InvalidDataProviderException.php', +'phpunit\\framework\\invalidparametergroupexception' => '/Framework/InvalidParameterGroupException.php', +'phpunit\\framework\\missingcoversannotationexception' => '/Framework/Exception/MissingCoversAnnotationException.php', +'phpunit\\framework\\mockobject\\api' => '/Framework/MockObject/Api/Api.php', +'phpunit\\framework\\mockobject\\badmethodcallexception' => '/Framework/MockObject/Exception/BadMethodCallException.php', +'phpunit\\framework\\mockobject\\builder\\identity' => '/Framework/MockObject/Builder/Identity.php', +'phpunit\\framework\\mockobject\\builder\\invocationmocker' => '/Framework/MockObject/Builder/InvocationMocker.php', +'phpunit\\framework\\mockobject\\builder\\invocationstubber' => '/Framework/MockObject/Builder/InvocationStubber.php', +'phpunit\\framework\\mockobject\\builder\\match' => '/Framework/MockObject/Builder/Match.php', +'phpunit\\framework\\mockobject\\builder\\methodnamematch' => '/Framework/MockObject/Builder/MethodNameMatch.php', +'phpunit\\framework\\mockobject\\builder\\parametersmatch' => '/Framework/MockObject/Builder/ParametersMatch.php', +'phpunit\\framework\\mockobject\\builder\\stub' => '/Framework/MockObject/Builder/Stub.php', +'phpunit\\framework\\mockobject\\configurablemethod' => '/Framework/MockObject/ConfigurableMethod.php', +'phpunit\\framework\\mockobject\\configurablemethodsalreadyinitializedexception' => '/Framework/MockObject/Exception/ConfigurableMethodsAlreadyInitializedException.php', +'phpunit\\framework\\mockobject\\exception' => '/Framework/MockObject/Exception/Exception.php', +'phpunit\\framework\\mockobject\\generator' => '/Framework/MockObject/Generator.php', +'phpunit\\framework\\mockobject\\incompatiblereturnvalueexception' => '/Framework/MockObject/Exception/IncompatibleReturnValueException.php', +'phpunit\\framework\\mockobject\\invocation' => '/Framework/MockObject/Invocation.php', +'phpunit\\framework\\mockobject\\invocationhandler' => '/Framework/MockObject/InvocationHandler.php', +'phpunit\\framework\\mockobject\\matcher' => '/Framework/MockObject/Matcher.php', +'phpunit\\framework\\mockobject\\method' => '/Framework/MockObject/Api/Method.php', +'phpunit\\framework\\mockobject\\methodnameconstraint' => '/Framework/MockObject/MethodNameConstraint.php', +'phpunit\\framework\\mockobject\\mockbuilder' => '/Framework/MockObject/MockBuilder.php', +'phpunit\\framework\\mockobject\\mockclass' => '/Framework/MockObject/MockClass.php', +'phpunit\\framework\\mockobject\\mockmethod' => '/Framework/MockObject/MockMethod.php', +'phpunit\\framework\\mockobject\\mockmethodset' => '/Framework/MockObject/MockMethodSet.php', +'phpunit\\framework\\mockobject\\mockobject' => '/Framework/MockObject/MockObject.php', +'phpunit\\framework\\mockobject\\mocktrait' => '/Framework/MockObject/MockTrait.php', +'phpunit\\framework\\mockobject\\mocktype' => '/Framework/MockObject/MockType.php', +'phpunit\\framework\\mockobject\\mockedclonemethod' => '/Framework/MockObject/Api/MockedCloneMethod.php', +'phpunit\\framework\\mockobject\\rule\\anyinvokedcount' => '/Framework/MockObject/Rule/AnyInvokedCount.php', +'phpunit\\framework\\mockobject\\rule\\anyparameters' => '/Framework/MockObject/Rule/AnyParameters.php', +'phpunit\\framework\\mockobject\\rule\\consecutiveparameters' => '/Framework/MockObject/Rule/ConsecutiveParameters.php', +'phpunit\\framework\\mockobject\\rule\\invocationorder' => '/Framework/MockObject/Rule/InvocationOrder.php', +'phpunit\\framework\\mockobject\\rule\\invokedatindex' => '/Framework/MockObject/Rule/InvokedAtIndex.php', +'phpunit\\framework\\mockobject\\rule\\invokedatleastcount' => '/Framework/MockObject/Rule/InvokedAtLeastCount.php', +'phpunit\\framework\\mockobject\\rule\\invokedatleastonce' => '/Framework/MockObject/Rule/InvokedAtLeastOnce.php', +'phpunit\\framework\\mockobject\\rule\\invokedatmostcount' => '/Framework/MockObject/Rule/InvokedAtMostCount.php', +'phpunit\\framework\\mockobject\\rule\\invokedcount' => '/Framework/MockObject/Rule/InvokedCount.php', +'phpunit\\framework\\mockobject\\rule\\methodname' => '/Framework/MockObject/Rule/MethodName.php', +'phpunit\\framework\\mockobject\\rule\\parameters' => '/Framework/MockObject/Rule/Parameters.php', +'phpunit\\framework\\mockobject\\rule\\parametersrule' => '/Framework/MockObject/Rule/ParametersRule.php', +'phpunit\\framework\\mockobject\\runtimedxception' => '/Framework/MockObject/Exception/RuntimeException.php', +'phpunit\\framework\\mockobject\\stub' => '/Framework/MockObject/Stub.php', +'phpunit\\framework\\mockobject\\stub\\consecutivecalls' => '/Framework/MockObject/Stub/ConsecutiveCalls.php', +'phpunit\\framework\\mockobject\\stub\\exception' => '/Framework/MockObject/Stub/Exception.php', +'phpunit\\framework\\mockobject\\stub\\returnargument' => '/Framework/MockObject/Stub/ReturnArgument.php', +'phpunit\\framework\\mockobject\\stub\\returncallback' => '/Framework/MockObject/Stub/ReturnCallback.php', +'phpunit\\framework\\mockobject\\stub\\returnreference' => '/Framework/MockObject/Stub/ReturnReference.php', +'phpunit\\framework\\mockobject\\stub\\returnself' => '/Framework/MockObject/Stub/ReturnSelf.php', +'phpunit\\framework\\mockobject\\stub\\returnstub' => '/Framework/MockObject/Stub/ReturnStub.php', +'phpunit\\framework\\mockobject\\stub\\returnvaluemap' => '/Framework/MockObject/Stub/ReturnValueMap.php', +'phpunit\\framework\\mockobject\\stub\\stub' => '/Framework/MockObject/Stub/Stub.php', +'phpunit\\framework\\mockobject\\unmockedclonemethod' => '/Framework/MockObject/Api/UnmockedCloneMethod.php', +'phpunit\\framework\\mockobject\\verifiable' => '/Framework/MockObject/Verifiable.php', +'phpunit\\framework\\nochildtestsuiteexception' => '/Framework/Exception/NoChildTestSuiteException.php', +'phpunit\\framework\\outputerror' => '/Framework/Exception/OutputError.php', +'phpunit\\framework\\phptassertionfailederror' => '/Framework/Exception/PHPTAssertionFailedError.php', +'phpunit\\framework\\riskytesterror' => '/Framework/Exception/RiskyTestError.php', +'phpunit\\framework\\selfdescribing' => '/Framework/SelfDescribing.php', +'phpunit\\framework\\skippedtest' => '/Framework/SkippedTest.php', +'phpunit\\framework\\skippedtestcase' => '/Framework/SkippedTestCase.php', +'phpunit\\framework\\skippedtesterror' => '/Framework/Exception/SkippedTestError.php', +'phpunit\\framework\\skippedtestsuiteerror' => '/Framework/Exception/SkippedTestSuiteError.php', +'phpunit\\framework\\syntheticerror' => '/Framework/Exception/SyntheticError.php', +'phpunit\\framework\\syntheticskippederror' => '/Framework/Exception/SyntheticSkippedError.php', +'phpunit\\framework\\test' => '/Framework/Test.php', +'phpunit\\framework\\testbuilder' => '/Framework/TestBuilder.php', +'phpunit\\framework\\testcase' => '/Framework/TestCase.php', +'phpunit\\framework\\testfailure' => '/Framework/TestFailure.php', +'phpunit\\framework\\testlistener' => '/Framework/TestListener.php', +'phpunit\\framework\\testlistenerdefaultimplementation' => '/Framework/TestListenerDefaultImplementation.php', +'phpunit\\framework\\testresult' => '/Framework/TestResult.php', +'phpunit\\framework\\testsuite' => '/Framework/TestSuite.php', +'phpunit\\framework\\testsuiteiterator' => '/Framework/TestSuiteIterator.php', +'phpunit\\framework\\unintentionallycoveredcodeerror' => '/Framework/Exception/UnintentionallyCoveredCodeError.php', +'phpunit\\framework\\warning' => '/Framework/Exception/Warning.php', +'phpunit\\framework\\warningTestCase' => '/Framework/WarningTestCase.php', +'phpunit\\runner\\afterincompletetesthook' => '/Runner/Hook/AfterIncompleteTestHook.php', +'phpunit\\runner\\afterlasttesthook' => '/Runner/Hook/AfterLastTestHook.php', +'phpunit\\runner\\afterriskytesthook' => '/Runner/Hook/AfterRiskyTestHook.php', +'phpunit\\runner\\afterskippedtesthook' => '/Runner/Hook/AfterSkippedTestHook.php', +'phpunit\\runner\\aftersuccessfultesthook' => '/Runner/Hook/AfterSuccessfulTestHook.php', +'phpunit\\runner\\aftertesterrorhook' => '/Runner/Hook/AfterTestErrorHook.php', +'phpunit\\runner\\aftertestfailurehook' => '/Runner/Hook/AfterTestFailureHook.php', +'phpunit\\runner\\aftertesthook' => '/Runner/Hook/AfterTestHook.php', +'phpunit\\runner\\aftertestwarninghook' => '/Runner/Hook/AfterTestWarningHook.php', +'phpunit\\runner\\basetestrunner' => '/Runner/BaseTestRunner.php', +'phpunit\\runner\\beforefirsttesthHook' => '/Runner/Hook/BeforeFirstTestHook.php', +'phpunit\\runner\\beforetesthook' => '/Runner/Hook/BeforeTestHook.php', +'phpunit\\runner\\defaulttestresultcache' => '/Runner/DefaultTestResultCache.php', +'phpunit\\runner\\exception' => '/Runner/Exception.php', +'phpunit\\runner\\filter\\excludegroupfilteriterator' => '/Runner/Filter/ExcludeGroupFilterIterator.php', +'phpunit\\runner\\filter\\factory' => '/Runner/Filter/Factory.php', +'phpunit\\runner\\filter\\groupfilteriterator' => '/Runner/Filter/GroupFilterIterator.php', +'phpunit\\runner\\filter\\includegroupfilteriterator' => '/Runner/Filter/IncludeGroupFilterIterator.php', +'phpunit\\runner\\filter\\namefilteriterator' => '/Runner/Filter/NameFilterIterator.php', +'phpunit\\runner\\hook' => '/Runner/Hook/Hook.php', +'phpunit\\runner\\nulltestresultcache' => '/Runner/NullTestResultCache.php', +'phpunit\\runner\\phpttestcase' => '/Runner/PhptTestCase.php', +'phpunit\\runner\\resultcacheextension' => '/Runner/ResultCacheExtension.php', +'phpunit\\runner\\standardtestsuiteloader' => '/Runner/StandardTestSuiteLoader.php', +'phpunit\\runner\\testhook' => '/Runner/Hook/TestHook.php', +'phpunit\\runner\\testlisteneradapter' => '/Runner/Hook/TestListenerAdapter.php', +'phpunit\\runner\\testresultcache' => '/Runner/TestResultCache.php', +'phpunit\\runner\\testsuiteloader' => '/Runner/TestSuiteLoader.php', +'phpunit\\runner\\testsuitesorter' => '/Runner/TestSuiteSorter.php', +'phpunit\\runner\\version' => '/Runner/Version.php', +'phpunit\\textui\\command' => '/TextUI/Command.php', +'phpunit\\textui\\exception' => '/TextUI/Exception.php', +'phpunit\\textui\\help' => '/TextUI/Help.php', +'phpunit\\textui\\resultprinter' => '/TextUI/ResultPrinter.php', +'phpunit\\textui\\testrunner' => '/TextUI/TestRunner.php', +'phpunit\\util\\annotation\\docblock' => '/Util/Annotation/DocBlock.php', +'phpunit\\util\\annotation\\registry' => '/Util/Annotation/Registry.php', +'phpunit\\util\\blacklist' => '/Util/Blacklist.php', +'phpunit\\util\\color' => '/Util/Color.php', +'phpunit\\util\\configuration' => '/Util/Configuration.php', +'phpunit\\util\\configurationgenerator' => '/Util/ConfigurationGenerator.php', +'phpunit\\util\\errorhandler' => '/Util/ErrorHandler.php', +'phpunit\\util\\exception' => '/Util/Exception.php', +'phpunit\\util\\fileloader' => '/Util/FileLoader.php', +'phpunit\\util\\filesystem' => '/Util/Filesystem.php', +'phpunit\\util\\filter' => '/Util/Filter.php', +'phpunit\\util\\getopt' => '/Util/Getopt.php', +'phpunit\\util\\globalstate' => '/Util/GlobalState.php', +'phpunit\\util\\invaliddatasetexception' => '/Util/InvalidDataSetException.php', +'phpunit\\util\\json' => '/Util/Json.php', +'phpunit\\util\\log\\junit' => '/Util/Log/JUnit.php', +'phpunit\\util\\log\\teamcity' => '/Util/Log/TeamCity.php', +'phpunit\\util\\php\\abstractphpprocess' => '/Util/PHP/AbstractPhpProcess.php', +'phpunit\\util\\php\\defaultphpprocess' => '/Util/PHP/DefaultPhpProcess.php', +'phpunit\\util\\php\\windowsphpprocess' => '/Util/PHP/WindowsPhpProcess.php', +'phpunit\\util\\printer' => '/Util/Printer.php', +'phpunit\\util\\regularexpression' => '/Util/RegularExpression.php', +'phpunit\\util\\test' => '/Util/Test.php', +'phpunit\\util\\testdox\\clitestdoxprinter' => '/Util/TestDox/CliTestDoxPrinter.php', +'phpunit\\util\\testdox\\htmlresultprinter' => '/Util/TestDox/HtmlResultPrinter.php', +'phpunit\\util\\testdox\\nameprettifier' => '/Util/TestDox/NamePrettifier.php', +'phpunit\\util\\testdox\\resultprinter' => '/Util/TestDox/ResultPrinter.php', +'phpunit\\util\\testdox\\testdoxprinter' => '/Util/TestDox/TestDoxPrinter.php', +'phpunit\\util\\testdox\\textresultprinter' => '/Util/TestDox/TextResultPrinter.php', +'phpunit\\util\\testdox\\xmlresultprinter' => '/Util/TestDox/XmlResultPrinter.php', +'phpunit\\util\\texttestlistrenderer' => '/Util/TextTestListRenderer.php', +'phpunit\\util\\type' => '/Util/Type.php', +'phpunit\\util\\xdebugfilterscriptgenerator' => '/Util/XdebugFilterScriptGenerator.php', +'phpunit\\util\\xml' => '/Util/Xml.php', +'phpunit\\util\\xmltestlistrenderer' => '/Util/XmlTestListRenderer.php', +], + "${include_dir}/PHPUnit" +); + +// Dependencies +\Fedora\Autoloader\Dependencies::required([ + "${include_dir}/File/Iterator/autoload.php", + "${include_dir}/PHP/CodeCoverage/autoload.php", + "${include_dir}/PHP/Timer/autoload.php", + "${include_dir}/SebastianBergmann/Version/autoload.php", + "${include_dir}/SebastianBergmann/Diff/autoload.php", + "${include_dir}/SebastianBergmann/Environment/autoload.php", + "${include_dir}/SebastianBergmann/Exporter/autoload.php", + "${include_dir}/SebastianBergmann/GlobalState/autoload.php", + "${include_dir}/SebastianBergmann/Comparator/autoload.php", + "${include_dir}/SebastianBergmann/ObjectEnumerator/autoload.php", + "${include_dir}/SebastianBergmann/ResourceOperations/autoload.php", + "${include_dir}/SebastianBergmann/Type/autoload.php", + "${include_dir}/SebastianBergmann/Version/autoload.php", + "${include_dir}/Symfony/Component/Yaml/autoload.php", + "${include_dir}/Text/Template/autoload.php", + "${include_dir}/myclabs/DeepCopy/autoload.php", + "${include_dir}/phpspec/Prophecy/autoload.php", + "${include_dir}/Doctrine/Instantiator/autoload.php", + "${include_dir}/PharIo/Manifest/autoload.php", + "${include_dir}/PharIo/Version/autoload.php", +]); + diff --git a/dev-php/phpunit/files/autoload.php b/dev-php/phpunit/files/autoload.php new file mode 100644 index 000000000000..f33b4c8881a1 --- /dev/null +++ b/dev-php/phpunit/files/autoload.php @@ -0,0 +1,170 @@ + '/ForwardCompatibility/Assert.php', + 'phpunit\\framework\\basetestlistener' => '/ForwardCompatibility/BaseTestListener.php', + 'phpunit\\framework\\testcase' => '/ForwardCompatibility/TestCase.php', + 'phpunit\\framework\\testlistener' => '/ForwardCompatibility/TestListener.php', + 'phpunit_exception' => '/Exception.php', + 'phpunit_extensions_grouptestsuite' => '/Extensions/GroupTestSuite.php', + 'phpunit_extensions_phpttestcase' => '/Extensions/PhptTestCase.php', + 'phpunit_extensions_phpttestsuite' => '/Extensions/PhptTestSuite.php', + 'phpunit_extensions_repeatedtest' => '/Extensions/RepeatedTest.php', + 'phpunit_extensions_testdecorator' => '/Extensions/TestDecorator.php', + 'phpunit_extensions_ticketlistener' => '/Extensions/TicketListener.php', + 'phpunit_framework_assert' => '/Framework/Assert.php', + 'phpunit_framework_assertionfailederror' => '/Framework/AssertionFailedError.php', + 'phpunit_framework_basetestlistener' => '/Framework/BaseTestListener.php', + 'phpunit_framework_codecoverageexception' => '/Framework/CodeCoverageException.php', + 'phpunit_framework_constraint' => '/Framework/Constraint.php', + 'phpunit_framework_constraint_and' => '/Framework/Constraint/And.php', + 'phpunit_framework_constraint_arrayhaskey' => '/Framework/Constraint/ArrayHasKey.php', + 'phpunit_framework_constraint_arraysubset' => '/Framework/Constraint/ArraySubset.php', + 'phpunit_framework_constraint_attribute' => '/Framework/Constraint/Attribute.php', + 'phpunit_framework_constraint_callback' => '/Framework/Constraint/Callback.php', + 'phpunit_framework_constraint_classhasattribute' => '/Framework/Constraint/ClassHasAttribute.php', + 'phpunit_framework_constraint_classhasstaticattribute' => '/Framework/Constraint/ClassHasStaticAttribute.php', + 'phpunit_framework_constraint_composite' => '/Framework/Constraint/Composite.php', + 'phpunit_framework_constraint_count' => '/Framework/Constraint/Count.php', + 'phpunit_framework_constraint_directoryexists' => '/Framework/Constraint/DirectoryExists.php', + 'phpunit_framework_constraint_exception' => '/Framework/Constraint/Exception.php', + 'phpunit_framework_constraint_exceptioncode' => '/Framework/Constraint/ExceptionCode.php', + 'phpunit_framework_constraint_exceptionmessage' => '/Framework/Constraint/ExceptionMessage.php', + 'phpunit_framework_constraint_exceptionmessageregexp' => '/Framework/Constraint/ExceptionMessageRegExp.php', + 'phpunit_framework_constraint_fileexists' => '/Framework/Constraint/FileExists.php', + 'phpunit_framework_constraint_greaterthan' => '/Framework/Constraint/GreaterThan.php', + 'phpunit_framework_constraint_isanything' => '/Framework/Constraint/IsAnything.php', + 'phpunit_framework_constraint_isempty' => '/Framework/Constraint/IsEmpty.php', + 'phpunit_framework_constraint_isequal' => '/Framework/Constraint/IsEqual.php', + 'phpunit_framework_constraint_isfalse' => '/Framework/Constraint/IsFalse.php', + 'phpunit_framework_constraint_isfinite' => '/Framework/Constraint/IsFinite.php', + 'phpunit_framework_constraint_isidentical' => '/Framework/Constraint/IsIdentical.php', + 'phpunit_framework_constraint_isinfinite' => '/Framework/Constraint/IsInfinite.php', + 'phpunit_framework_constraint_isinstanceof' => '/Framework/Constraint/IsInstanceOf.php', + 'phpunit_framework_constraint_isjson' => '/Framework/Constraint/IsJson.php', + 'phpunit_framework_constraint_isnan' => '/Framework/Constraint/IsNan.php', + 'phpunit_framework_constraint_isnull' => '/Framework/Constraint/IsNull.php', + 'phpunit_framework_constraint_isreadable' => '/Framework/Constraint/IsReadable.php', + 'phpunit_framework_constraint_istrue' => '/Framework/Constraint/IsTrue.php', + 'phpunit_framework_constraint_istype' => '/Framework/Constraint/IsType.php', + 'phpunit_framework_constraint_iswritable' => '/Framework/Constraint/IsWritable.php', + 'phpunit_framework_constraint_jsonmatches' => '/Framework/Constraint/JsonMatches.php', + 'phpunit_framework_constraint_jsonmatches_errormessageprovider' => '/Framework/Constraint/JsonMatches/ErrorMessageProvider.php', + 'phpunit_framework_constraint_lessthan' => '/Framework/Constraint/LessThan.php', + 'phpunit_framework_constraint_not' => '/Framework/Constraint/Not.php', + 'phpunit_framework_constraint_objecthasattribute' => '/Framework/Constraint/ObjectHasAttribute.php', + 'phpunit_framework_constraint_or' => '/Framework/Constraint/Or.php', + 'phpunit_framework_constraint_pcrematch' => '/Framework/Constraint/PCREMatch.php', + 'phpunit_framework_constraint_samesize' => '/Framework/Constraint/SameSize.php', + 'phpunit_framework_constraint_stringcontains' => '/Framework/Constraint/StringContains.php', + 'phpunit_framework_constraint_stringendswith' => '/Framework/Constraint/StringEndsWith.php', + 'phpunit_framework_constraint_stringmatches' => '/Framework/Constraint/StringMatches.php', + 'phpunit_framework_constraint_stringstartswith' => '/Framework/Constraint/StringStartsWith.php', + 'phpunit_framework_constraint_traversablecontains' => '/Framework/Constraint/TraversableContains.php', + 'phpunit_framework_constraint_traversablecontainsonly' => '/Framework/Constraint/TraversableContainsOnly.php', + 'phpunit_framework_constraint_xor' => '/Framework/Constraint/Xor.php', + 'phpunit_framework_coveredcodenotexecutedexception' => '/Framework/CoveredCodeNotExecutedException.php', + 'phpunit_framework_error' => '/Framework/Error.php', + 'phpunit_framework_error_deprecated' => '/Framework/Error/Deprecated.php', + 'phpunit_framework_error_notice' => '/Framework/Error/Notice.php', + 'phpunit_framework_error_warning' => '/Framework/Error/Warning.php', + 'phpunit_framework_exception' => '/Framework/Exception.php', + 'phpunit_framework_exceptionwrapper' => '/Framework/ExceptionWrapper.php', + 'phpunit_framework_expectationfailedexception' => '/Framework/ExpectationFailedException.php', + 'phpunit_framework_incompletetest' => '/Framework/IncompleteTest.php', + 'phpunit_framework_incompletetestcase' => '/Framework/IncompleteTestCase.php', + 'phpunit_framework_incompletetesterror' => '/Framework/IncompleteTestError.php', + 'phpunit_framework_invalidcoverstargetexception' => '/Framework/InvalidCoversTargetException.php', + 'phpunit_framework_missingcoversannotationexception' => '/Framework/MissingCoversAnnotationException.php', + 'phpunit_framework_outputerror' => '/Framework/OutputError.php', + 'phpunit_framework_riskytest' => '/Framework/RiskyTest.php', + 'phpunit_framework_riskytesterror' => '/Framework/RiskyTestError.php', + 'phpunit_framework_selfdescribing' => '/Framework/SelfDescribing.php', + 'phpunit_framework_skippedtest' => '/Framework/SkippedTest.php', + 'phpunit_framework_skippedtestcase' => '/Framework/SkippedTestCase.php', + 'phpunit_framework_skippedtesterror' => '/Framework/SkippedTestError.php', + 'phpunit_framework_skippedtestsuiteerror' => '/Framework/SkippedTestSuiteError.php', + 'phpunit_framework_syntheticerror' => '/Framework/SyntheticError.php', + 'phpunit_framework_test' => '/Framework/Test.php', + 'phpunit_framework_testcase' => '/Framework/TestCase.php', + 'phpunit_framework_testfailure' => '/Framework/TestFailure.php', + 'phpunit_framework_testlistener' => '/Framework/TestListener.php', + 'phpunit_framework_testresult' => '/Framework/TestResult.php', + 'phpunit_framework_testsuite' => '/Framework/TestSuite.php', + 'phpunit_framework_testsuite_dataprovider' => '/Framework/TestSuite/DataProvider.php', + 'phpunit_framework_unintentionallycoveredcodeerror' => '/Framework/UnintentionallyCoveredCodeError.php', + 'phpunit_framework_warning' => '/Framework/Warning.php', + 'phpunit_framework_warningtestcase' => '/Framework/WarningTestCase.php', + 'phpunit_runner_basetestrunner' => '/Runner/BaseTestRunner.php', + 'phpunit_runner_exception' => '/Runner/Exception.php', + 'phpunit_runner_filter_factory' => '/Runner/Filter/Factory.php', + 'phpunit_runner_filter_group_exclude' => '/Runner/Filter/Group/Exclude.php', + 'phpunit_runner_filter_group_include' => '/Runner/Filter/Group/Include.php', + 'phpunit_runner_filter_groupfilteriterator' => '/Runner/Filter/Group.php', + 'phpunit_runner_filter_test' => '/Runner/Filter/Test.php', + 'phpunit_runner_standardtestsuiteloader' => '/Runner/StandardTestSuiteLoader.php', + 'phpunit_runner_testsuiteloader' => '/Runner/TestSuiteLoader.php', + 'phpunit_runner_version' => '/Runner/Version.php', + 'phpunit_textui_command' => '/TextUI/Command.php', + 'phpunit_textui_resultprinter' => '/TextUI/ResultPrinter.php', + 'phpunit_textui_testrunner' => '/TextUI/TestRunner.php', + 'phpunit_util_blacklist' => '/Util/Blacklist.php', + 'phpunit_util_configuration' => '/Util/Configuration.php', + 'phpunit_util_configurationgenerator' => '/Util/ConfigurationGenerator.php', + 'phpunit_util_errorhandler' => '/Util/ErrorHandler.php', + 'phpunit_util_fileloader' => '/Util/Fileloader.php', + 'phpunit_util_filesystem' => '/Util/Filesystem.php', + 'phpunit_util_filter' => '/Util/Filter.php', + 'phpunit_util_getopt' => '/Util/Getopt.php', + 'phpunit_util_globalstate' => '/Util/GlobalState.php', + 'phpunit_util_invalidargumenthelper' => '/Util/InvalidArgumentHelper.php', + 'phpunit_util_log_json' => '/Util/Log/JSON.php', + 'phpunit_util_log_junit' => '/Util/Log/JUnit.php', + 'phpunit_util_log_tap' => '/Util/Log/TAP.php', + 'phpunit_util_log_teamcity' => '/Util/Log/TeamCity.php', + 'phpunit_util_php' => '/Util/PHP.php', + 'phpunit_util_php_default' => '/Util/PHP/Default.php', + 'phpunit_util_php_windows' => '/Util/PHP/Windows.php', + 'phpunit_util_printer' => '/Util/Printer.php', + 'phpunit_util_regex' => '/Util/Regex.php', + 'phpunit_util_string' => '/Util/String.php', + 'phpunit_util_test' => '/Util/Test.php', + 'phpunit_util_testdox_nameprettifier' => '/Util/TestDox/NamePrettifier.php', + 'phpunit_util_testdox_resultprinter' => '/Util/TestDox/ResultPrinter.php', + 'phpunit_util_testdox_resultprinter_html' => '/Util/TestDox/ResultPrinter/HTML.php', + 'phpunit_util_testdox_resultprinter_text' => '/Util/TestDox/ResultPrinter/Text.php', + 'phpunit_util_testdox_resultprinter_xml' => '/Util/TestDox/ResultPrinter/XML.php', + 'phpunit_util_testsuiteiterator' => '/Util/TestSuiteIterator.php', + 'phpunit_util_type' => '/Util/Type.php', + 'phpunit_util_xml' => '/Util/XML.php', +), + "${include_dir}/PHPUnit" +); + +// Dependencies +\Fedora\Autoloader\Dependencies::required(array( + "${include_dir}/File/Iterator/autoload.php", + "${include_dir}/PHP/CodeCoverage/autoload.php", + "${include_dir}/PHP/Timer/autoload.php", + "${include_dir}/SebastianBergmann/Version/autoload.php", + "${include_dir}/SebastianBergmann/Diff/autoload.php", + "${include_dir}/SebastianBergmann/Environment/autoload.php", + "${include_dir}/SebastianBergmann/Exporter/autoload.php", + "${include_dir}/SebastianBergmann/GlobalState/autoload.php", + "${include_dir}/SebastianBergmann/Comparator/autoload.php", + "${include_dir}/SebastianBergmann/ObjectEnumerator/autoload.php", + "${include_dir}/SebastianBergmann/ResourceOperations/autoload.php", + "${include_dir}/Symfony/Component/Yaml/autoload.php", + "${include_dir}/Text/Template/autoload.php", + "${include_dir}/myclabs/DeepCopy/autoload.php", + "${include_dir}/PHPUnit/Framework/MockObject/autoload.php", + "${include_dir}/phpspec/Prophecy/autoload.php", +)); diff --git a/dev-php/phpunit/metadata.xml b/dev-php/phpunit/metadata.xml new file mode 100644 index 000000000000..fdfc45e18015 --- /dev/null +++ b/dev-php/phpunit/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/phpunit + + gentoo-staging + diff --git a/dev-php/phpunit/phpunit-5.7.15-r3.ebuild b/dev-php/phpunit/phpunit-5.7.15-r3.ebuild new file mode 100644 index 000000000000..b5d7ddf00b8f --- /dev/null +++ b/dev-php/phpunit/phpunit-5.7.15-r3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A PHP Unit Testing framework" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +RDEPEND="dev-php/fedora-autoloader + >=dev-php/File_Iterator-1.4.0 + =dev-php/Text_Template-1.2.0 + =dev-php/PHP_CodeCoverage-4.0.4 + =dev-php/PHP_Timer-1.0.6 + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + PSR-3 logger, provide a common interface for logging libraries. + The main goal is to allow libraries to receive a + Psr\Log\LoggerInterface object and write logs to it in a simple + and universal way. + + + php-fig/log + + gentoo-staging + diff --git a/dev-php/psr-log/psr-log-1.0.2.ebuild b/dev-php/psr-log/psr-log-1.0.2.ebuild new file mode 100644 index 000000000000..f8330e5d3cf8 --- /dev/null +++ b/dev-php/psr-log/psr-log-1.0.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Common interface for logging libraries" +HOMEPAGE="https://github.com/php-fig/log" +SRC_URI="https://github.com/php-fig/log/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +S="${WORKDIR}/log-${PV}" + +src_install() { + insinto "/usr/share/php/Psr/Log" + doins -r Psr/Log/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/psr-log/psr-log-1.1.0.ebuild b/dev-php/psr-log/psr-log-1.1.0.ebuild new file mode 100644 index 000000000000..72dbbfd0efa5 --- /dev/null +++ b/dev-php/psr-log/psr-log-1.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Common interface for logging libraries" +HOMEPAGE="https://github.com/php-fig/log" +SRC_URI="https://github.com/php-fig/log/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +S="${WORKDIR}/log-${PV}" + +src_install() { + insinto "/usr/share/php/Psr/Log" + doins -r Psr/Log/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/psr-log/psr-log-1.1.2.ebuild b/dev-php/psr-log/psr-log-1.1.2.ebuild new file mode 100644 index 000000000000..d283c35317f9 --- /dev/null +++ b/dev-php/psr-log/psr-log-1.1.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Common interface for logging libraries" +HOMEPAGE="https://github.com/php-fig/log" +SRC_URI="https://github.com/php-fig/log/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +S="${WORKDIR}/log-${PV}" + +src_install() { + insinto "/usr/share/php/Psr/Log" + doins -r Psr/Log/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/psr-log/psr-log-1.1.3.ebuild b/dev-php/psr-log/psr-log-1.1.3.ebuild new file mode 100644 index 000000000000..f878ec482195 --- /dev/null +++ b/dev-php/psr-log/psr-log-1.1.3.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Common interface for logging libraries" +HOMEPAGE="https://github.com/php-fig/log" +SRC_URI="https://github.com/php-fig/log/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +S="${WORKDIR}/log-${PV}" + +src_install() { + insinto "/usr/share/php/Psr/Log" + doins -r Psr/Log/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/realpath_turbo/Manifest b/dev-php/realpath_turbo/Manifest new file mode 100644 index 000000000000..edbb9d2adfb3 --- /dev/null +++ b/dev-php/realpath_turbo/Manifest @@ -0,0 +1 @@ +DIST realpath_turbo-2.0.0.tar.bz2 9106 BLAKE2B 3275397ab72def1b120d2df1bfe6c233283754539b2ea7dfd558a0773d2f094f9f6b31850a516b883af470cd04d4ebb9d5a7d8492608169a797d1562c7236d11 SHA512 03a03d4a3a067ffac61222c4d71031ab9e289b745fd3b158b5b723f3abf1ad7bb1f691904e3f7b53a98c970f1b0f7c4fe558a4de696aac77d0f9a0f99159fb30 diff --git a/dev-php/realpath_turbo/metadata.xml b/dev-php/realpath_turbo/metadata.xml new file mode 100644 index 000000000000..cb79da98864a --- /dev/null +++ b/dev-php/realpath_turbo/metadata.xml @@ -0,0 +1,16 @@ + + + + + whissi@gentoo.org + Thomas Deutschmann + + + php-bugs@gentoo.org + PHP Project + + + https://github.com/Whissi/realpath_turbo/issues + + gentoo-staging + diff --git a/dev-php/realpath_turbo/realpath_turbo-2.0.0.ebuild b/dev-php/realpath_turbo/realpath_turbo-2.0.0.ebuild new file mode 100644 index 000000000000..fdda0e07336f --- /dev/null +++ b/dev-php/realpath_turbo/realpath_turbo-2.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="realpath_turbo" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-source-r3 + +MY_PV="${PV/_/}" + +DESCRIPTION="PHP extension to re-enable realpath cache when using open_basedir restriction" +HOMEPAGE="https://github.com/Whissi/realpath_turbo/" +SRC_URI="https://github.com/Whissi/${PN}/releases/download/v${MY_PV}/${P}.tar.bz2" + +LICENSE="BSD-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="" + +DOCS=( ChangeLog CREDITS LICENSE README.md ) diff --git a/dev-php/recaptcha/Manifest b/dev-php/recaptcha/Manifest new file mode 100644 index 000000000000..d82a9d1c40af --- /dev/null +++ b/dev-php/recaptcha/Manifest @@ -0,0 +1 @@ +DIST recaptcha-1.2.1.tar.gz 19935 BLAKE2B 43077b25d484940951bf070fa440b5d13c6992c2a157e06b81961b9692683a277d9507e44102dd0ba0cde66c892fd4736ed34cae4b001bdce0d4ab619828b432 SHA512 62df22a6f4b05006a6051db689994e455ada43f76406dd62c5c13f1d90ae64401e9d75c6a92f2c620a14c070d2b49199c20e70eb6284e42e676d37412a98abe4 diff --git a/dev-php/recaptcha/metadata.xml b/dev-php/recaptcha/metadata.xml new file mode 100644 index 000000000000..28bef526381f --- /dev/null +++ b/dev-php/recaptcha/metadata.xml @@ -0,0 +1,12 @@ + + + + + mjo@gentoo.org + Michael Orlitzky + + + google/recaptcha + + gentoo-staging + diff --git a/dev-php/recaptcha/recaptcha-1.2.1.ebuild b/dev-php/recaptcha/recaptcha-1.2.1.ebuild new file mode 100644 index 000000000000..b5d70a8d7ba6 --- /dev/null +++ b/dev-php/recaptcha/recaptcha-1.2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHP client library for Google's reCAPTCHA service" +HOMEPAGE="https://github.com/google/recaptcha" +SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php" +BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_install() { + insinto "/usr/share/php/${PN}" + doins -r src/autoload.php src/ReCaptcha + dodoc CONTRIBUTING.md README.md + use examples && dodoc -r examples +} + +src_test() { + phpunit || die "test suite failed" +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/autoload.php')," + elog "and then use the ${PN} class normally. Most of the examples in" + elog "the documentation should work without further modification." +} diff --git a/dev-php/sebastian-code-unit-reverse-lookup/Manifest b/dev-php/sebastian-code-unit-reverse-lookup/Manifest new file mode 100644 index 000000000000..97faed5fc413 --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/Manifest @@ -0,0 +1 @@ +DIST sebastian-code-unit-reverse-lookup-1.0.1.tar.gz 4326 BLAKE2B 1c1f65d70a90b9f6d665cb80f3272d95f003bb61e7f682b7c2d7d0010ddd2b26a90ce0cb2a217445df6fff6aa0c7d414e8951d7ad5a0763fc715504e8f649c5d SHA512 bb6419a13b645a4f35d688d3dd47b0d10de8c996721e95805c08119925fa66ef89cca38f94d3818c62c2eb9a978ee231e91fdeb47bf3b640eeefceaaca135469 diff --git a/dev-php/sebastian-code-unit-reverse-lookup/files/autoload.php b/dev-php/sebastian-code-unit-reverse-lookup/files/autoload.php new file mode 100644 index 000000000000..b721c7324032 --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/files/autoload.php @@ -0,0 +1,13 @@ + '/Wizard.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-code-unit-reverse-lookup/metadata.xml b/dev-php/sebastian-code-unit-reverse-lookup/metadata.xml new file mode 100644 index 000000000000..d9564e0a2c2e --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/code-unit-reverse-lookup + + gentoo-staging + diff --git a/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.1.ebuild b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.1.ebuild new file mode 100644 index 000000000000..fe3fe4c57312 --- /dev/null +++ b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-/}" + +DESCRIPTION="Looks up which function or method a line of code belongs to" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/CodeUnitReverseLookup + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-comparator/Manifest b/dev-php/sebastian-comparator/Manifest new file mode 100644 index 000000000000..333288ad55d1 --- /dev/null +++ b/dev-php/sebastian-comparator/Manifest @@ -0,0 +1,2 @@ +DIST sebastian-comparator-1.2.4.tar.gz 13402 BLAKE2B 5fc664e42408a188ed8601f2413f0b6517e5fd9b26f85be3177f09d6aaf4fda8eaa2e9e643e08914fb18aca0c795989d1e341d28476e3857c7d991bd2c06d51c SHA512 b7ca4bbdd91c9d59f83c4ccbd63d7755205f6686de7d7e41808faba404df8f58173a0699a0e4d1fbc09914c2fcf841ddc4df41a86aa5cd0fdffa3be4d438a8aa +DIST sebastian-comparator-3.0.2.tar.gz 16305 BLAKE2B 3cc8551fad28542823fba182abf6e9f33bafa0fea004ceee7d2b192f250678ec7f2014b7e9ae16eee1ec84ff37e656f5612a0d45d3bc10c5959831d39d851fee SHA512 05d5cdb5ce6346325c3f7c6f7b6669de7d599e0b65a95505a85aca887df5498d5baa22f22e9065bf185ac50df1abc969bf86263d31a3923034607938a5eace58 diff --git a/dev-php/sebastian-comparator/files/autoload.php b/dev-php/sebastian-comparator/files/autoload.php new file mode 100644 index 000000000000..696ae0327d79 --- /dev/null +++ b/dev-php/sebastian-comparator/files/autoload.php @@ -0,0 +1,32 @@ + '/ArrayComparator.php', + 'sebastianbergmann\comparator\comparator' => '/Comparator.php', + 'sebastianbergmann\comparator\comparisonfailure' => '/ComparisonFailure.php', + 'sebastianbergmann\comparator\domnodecomparator' => '/DOMNodeComparator.php', + 'sebastianbergmann\comparator\datetimecomparator' => '/DateTimeComparator.php', + 'sebastianbergmann\comparator\doublecomparator' => '/DoubleComparator.php', + 'sebastianbergmann\comparator\exceptioncomparator' => '/ExceptionComparator.php', + 'sebastianbergmann\comparator\factory' => '/Factory.php', + 'sebastianbergmann\comparator\mockobjectcomparator' => '/MockObjectComparator.php', + 'sebastianbergmann\comparator\numericcomparator' => '/NumericComparator.php', + 'sebastianbergmann\comparator\objectcomparator' => '/ObjectComparator.php', + 'sebastianbergmann\comparator\resourcecomparator' => '/ResourceComparator.php', + 'sebastianbergmann\comparator\scalarcomparator' => '/ScalarComparator.php', + 'sebastianbergmann\comparator\splobjectstoragecomparator' => '/SplObjectStorageComparator.php', + 'sebastianbergmann\comparator\typecomparator' => '/TypeComparator.php', + ), + __DIR__ +); + +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/SebastianBergmann/Diff/autoload.php', + '/usr/share/php/SebastianBergmann/Exporter/autoload.php', +)); diff --git a/dev-php/sebastian-comparator/metadata.xml b/dev-php/sebastian-comparator/metadata.xml new file mode 100644 index 000000000000..3bf47ef60938 --- /dev/null +++ b/dev-php/sebastian-comparator/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/ + + gentoo-staging + diff --git a/dev-php/sebastian-comparator/sebastian-comparator-1.2.4.ebuild b/dev-php/sebastian-comparator/sebastian-comparator-1.2.4.ebuild new file mode 100644 index 000000000000..b7d54c4f9eb3 --- /dev/null +++ b/dev-php/sebastian-comparator/sebastian-comparator-1.2.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Compare PHP values for equality" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:* +" +src_install() { + insinto /usr/share/php/SebastianBergmann/Comparator + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-comparator/sebastian-comparator-3.0.2.ebuild b/dev-php/sebastian-comparator/sebastian-comparator-3.0.2.ebuild new file mode 100644 index 000000000000..6a72c10c4c37 --- /dev/null +++ b/dev-php/sebastian-comparator/sebastian-comparator-3.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Compare PHP values for equality" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-php/sebastian-diff-3.0 + =dev-php/sebastian-exporter-3.1 + =dev-lang/php-7.1:* +" +src_install() { + insinto /usr/share/php/SebastianBergmann/Comparator + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-diff/Manifest b/dev-php/sebastian-diff/Manifest new file mode 100644 index 000000000000..da56572dda16 --- /dev/null +++ b/dev-php/sebastian-diff/Manifest @@ -0,0 +1,2 @@ +DIST sebastian-diff-1.4.1.tar.gz 10310 BLAKE2B facb81bb6ec7a60714493b531eecd0cea6fc8fde0811de982f3a149b2446cfe71f32bfca62bb830dee734966ac6161990e14b666426f5b34c4068922c544f36f SHA512 b355f1407619ea6f1e9153a7946c339e790530c1c86369005998dc0c1078b96ef1ca369fec32f134b056dd8833770fcdb30443334275c8cb17b69e95ef8325a9 +DIST sebastian-diff-3.0.2.tar.gz 30918 BLAKE2B 33c307c97d30573c913e4a696710c7b0091b3d0a612661b900dfdb749e4fa5c8970d993c0ee8828c4b0342336c39db4c74702114a5a6ae0daf650fc625baade7 SHA512 c06176de492970f3e55a5fdf1901eb56299b3e49cb838b8cdcbb93bc9cfe9fe9c1b693acb0c598c618760c4de0e49deb2f7bad15a929bd13ef08d30fab41b677 diff --git a/dev-php/sebastian-diff/files/autoload-3.0.2.php b/dev-php/sebastian-diff/files/autoload-3.0.2.php new file mode 100644 index 000000000000..13d6bb4216ab --- /dev/null +++ b/dev-php/sebastian-diff/files/autoload-3.0.2.php @@ -0,0 +1,28 @@ + '/Chunk.php', + 'sebastianbergmann\diff\diff' => '/Diff.php', + 'sebastianbergmann\diff\differ' => '/Differ.php', + 'sebastianbergmann\diff\line' => '/Line.php', + 'sebastianbergmann\diff\longestcommonsubsequencecalculator' => '/LongestCommonSubsequenceCalculator.php', + 'sebastianbergmann\diff\memoryefficientlongestcommonsubsequencecalculator' => '/MemoryEfficientLongestCommonSubsequenceCalculator.php', + 'sebastianbergmann\diff\parser' => '/Parser.php', + 'sebastianbergmann\diff\timeefficientlongestcommonsubsequencecalculator' => '/TimeEfficientLongestCommonSubsequenceCalculator.php', + 'sebastianbergmann\diff\configurationexception' => '/Exception/ConfigurationException.php', + 'sebastianbergmann\diff\exception' => '/Exception/Exception.php', + 'sebastianbergmann\diff\invalidargumentexception' => '/Exception/InvalidArgumentException.php', + 'sebastianbergmann\diff\output\abstractchunkoutputbuilder' => '/Output/AbstractChunkOutputBuilder.php', + 'sebastianbergmann\diff\output\diffonlyoutputbuilder' => '/Output/DiffOnlyOutputBuilder.php', + 'sebastianbergmann\diff\output\diffoutputbuilderinterface' => '/Output/DiffOutputBuilderInterface.php', + 'sebastianbergmann\diff\output\strictunifieddiffoutputbuilder' => '/Output/StrictUnifiedDiffOutputBuilder.php', + 'sebastianbergmann\diff\output\unifieddiffoutputbuilder' => '/Output/UnifiedDiffOutputBuilder.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-diff/files/autoload.php b/dev-php/sebastian-diff/files/autoload.php new file mode 100644 index 000000000000..5b72dc303318 --- /dev/null +++ b/dev-php/sebastian-diff/files/autoload.php @@ -0,0 +1,20 @@ + '/Chunk.php', + 'sebastianbergmann\diff\diff' => '/Diff.php', + 'sebastianbergmann\diff\differ' => '/Differ.php', + 'sebastianbergmann\diff\line' => '/Line.php', + 'sebastianbergmann\diff\parser' => '/Parser.php', + 'sebastianbergmann\diff\lcs\longestcommonsubsequence' => '/LCS/LongestCommonSubsequence.php', + 'sebastianbergmann\diff\lcs\memoryefficientimplementation' => '/LCS/MemoryEfficientLongestCommonSubsequenceImplementation.php', + 'sebastianbergmann\diff\lcs\timeefficientimplementation' => '/LCS/TimeEfficientLongestCommonSubsequenceImplementation.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-diff/metadata.xml b/dev-php/sebastian-diff/metadata.xml new file mode 100644 index 000000000000..6d3d4fdf3087 --- /dev/null +++ b/dev-php/sebastian-diff/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/diff + + gentoo-staging + diff --git a/dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild b/dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild new file mode 100644 index 000000000000..af5f88ca992b --- /dev/null +++ b/dev-php/sebastian-diff/sebastian-diff-1.4.1-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="diff" + +DESCRIPTION="PHP Diff implementation" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Diff + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild b/dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild new file mode 100644 index 000000000000..50d48dc717ed --- /dev/null +++ b/dev-php/sebastian-diff/sebastian-diff-3.0.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="diff" + +DESCRIPTION="PHP Diff implementation" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Diff + doins -r src/* + newins "${FILESDIR}/autoload-3.0.2.php" autoload.php +} diff --git a/dev-php/sebastian-environment/Manifest b/dev-php/sebastian-environment/Manifest new file mode 100644 index 000000000000..c7e3c89a8d15 --- /dev/null +++ b/dev-php/sebastian-environment/Manifest @@ -0,0 +1,2 @@ +DIST sebastian-environment-2.0.0.tar.gz 5607 BLAKE2B 3c34c6e61d9a0bdc5df8083331390935bd513d735a1509890a9af05be8b5a718bbb1d5826ab0cb80da2ee5c4cd436b22ef4ccb50c7b4e1c11d361a78b51621c3 SHA512 cf91f0a5f057007f318c5d6b11f8a1345b8df35d513c6291c5b725f0874ed301a64d1097c3fac1e6b32533caa96b3f78ac415d99b9b6ef63dc4a303b90d49c88 +DIST sebastian-environment-4.2.3.tar.gz 9622 BLAKE2B d90b181c3aae7c4ea8e172e5b7f897f8a93bf1edbeca19cc8a7a6f10963730ece1f267fed325a6734b1677b75cc8f5b84a5aa55be383a40b1ec2aa7a603bc668 SHA512 871a15297196b21364000d72afa73c2319e741a284c5446443ae3cacd8ce1a07b1ea3b1d8b6b1a88356fb261d093b889508cea63706341413b15f23348f77e80 diff --git a/dev-php/sebastian-environment/files/autoload-4.2.3.php b/dev-php/sebastian-environment/files/autoload-4.2.3.php new file mode 100644 index 000000000000..299c469e1906 --- /dev/null +++ b/dev-php/sebastian-environment/files/autoload-4.2.3.php @@ -0,0 +1,15 @@ + '/Console.php', + 'sebastianbergmann\environment\operatingsystem' => '/OperatingSystem.php', + 'sebastianbergmann\environment\runtime' => '/Runtime.php', + ], + __DIR__ +); diff --git a/dev-php/sebastian-environment/files/autoload.php b/dev-php/sebastian-environment/files/autoload.php new file mode 100644 index 000000000000..3abd16ee357b --- /dev/null +++ b/dev-php/sebastian-environment/files/autoload.php @@ -0,0 +1,14 @@ + '/Console.php', + 'sebastianbergmann\environment\runtime' => '/Runtime.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-environment/metadata.xml b/dev-php/sebastian-environment/metadata.xml new file mode 100644 index 000000000000..3bf47ef60938 --- /dev/null +++ b/dev-php/sebastian-environment/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/ + + gentoo-staging + diff --git a/dev-php/sebastian-environment/sebastian-environment-2.0.0.ebuild b/dev-php/sebastian-environment/sebastian-environment-2.0.0.ebuild new file mode 100644 index 000000000000..a3609d1ece99 --- /dev/null +++ b/dev-php/sebastian-environment/sebastian-environment-2.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Helps writing PHP code that has runtime-specific execution paths" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Environment + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-environment/sebastian-environment-4.2.3.ebuild b/dev-php/sebastian-environment/sebastian-environment-4.2.3.ebuild new file mode 100644 index 000000000000..e9350c665068 --- /dev/null +++ b/dev-php/sebastian-environment/sebastian-environment-4.2.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Helps writing PHP code that has runtime-specific execution paths" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Environment + doins -r src/* + newins "${FILESDIR}/autoload-4.2.3.php" autoload.php +} diff --git a/dev-php/sebastian-exporter/Manifest b/dev-php/sebastian-exporter/Manifest new file mode 100644 index 000000000000..80befeadcd3f --- /dev/null +++ b/dev-php/sebastian-exporter/Manifest @@ -0,0 +1,2 @@ +DIST sebastian-exporter-2.0.0.tar.gz 7473 BLAKE2B c8f39c9fb19d146959e184ca1356a2f802bb29d31792575fe624072fcc7fc44f5d5d619dbc9dafc9114c46e91ba64338af6902abc2fecc96cfbd0b28294a97cc SHA512 0d418973a6e272e327c16f2393bde09424f8dea6991a804259ac57261efddeb99e33a904bbf2ede99b07def897c0baa12ad9fc04c8c33af684f1fd19d976948a +DIST sebastian-exporter-3.1.2.tar.gz 9996 BLAKE2B 214acefe5679a45d5e67ce635790a12002aca0e380a087e96358200001400458ce907bb4f424ee3683b2fe17fb4bfbb674ebe0afbdcd51b24c654de2b4075736 SHA512 bc6cb070c8c7cd5262262337950ffc70081137c4513c427cc94ac491e2ebe0e91ca4caf7858eb7957f9abe5b4b2b2d6237020a0a6df556439191724f3cda1db8 diff --git a/dev-php/sebastian-exporter/files/autoload.php b/dev-php/sebastian-exporter/files/autoload.php new file mode 100644 index 000000000000..7803f5f61891 --- /dev/null +++ b/dev-php/sebastian-exporter/files/autoload.php @@ -0,0 +1,17 @@ + '/Exporter.php', + ), + __DIR__ +); + +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/SebastianBergmann/RecursionContext/autoload.php', +)); diff --git a/dev-php/sebastian-exporter/metadata.xml b/dev-php/sebastian-exporter/metadata.xml new file mode 100644 index 000000000000..3bf47ef60938 --- /dev/null +++ b/dev-php/sebastian-exporter/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/ + + gentoo-staging + diff --git a/dev-php/sebastian-exporter/sebastian-exporter-2.0.0.ebuild b/dev-php/sebastian-exporter/sebastian-exporter-2.0.0.ebuild new file mode 100644 index 000000000000..fed44830adf0 --- /dev/null +++ b/dev-php/sebastian-exporter/sebastian-exporter-2.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Export PHP variables for visualization" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-php/sebastian-recursion-context-2* + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Exporter + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-exporter/sebastian-exporter-3.1.2.ebuild b/dev-php/sebastian-exporter/sebastian-exporter-3.1.2.ebuild new file mode 100644 index 000000000000..05fd48dc1ca7 --- /dev/null +++ b/dev-php/sebastian-exporter/sebastian-exporter-3.1.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Export PHP variables for visualization" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-php/sebastian-recursion-context-3* + =dev-lang/php-7*:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Exporter + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-global-state/Manifest b/dev-php/sebastian-global-state/Manifest new file mode 100644 index 000000000000..edc11eb7be53 --- /dev/null +++ b/dev-php/sebastian-global-state/Manifest @@ -0,0 +1,2 @@ +DIST sebastian-global-state-1.1.1.tar.gz 7659 BLAKE2B 9793e68f226901cb2d67e3d4ac03cc41323485a1b7d819dfe0a4cd9c00b19eb79ebf539a8705545a4c132ef8a2a286edc804016cb76400256008ecd298f2f3c5 SHA512 dec6387183ea6cf869b1302e641a9d85b6dd69ebf299354825ab2f8a06a82609f8e3a2bdeea6924b5520f813af7493fc8e957c3f9876dcaa302066770997186c +DIST sebastian-global-state-3.0.0.tar.gz 10550 BLAKE2B 58ad62cce7f94805add12105b3000c54e73624c780fa12970e779538f3ff06f145001c6d19e98e817982b092be992b4e1e55638f727fb3e7bad9d12c242546a5 SHA512 2a081fbf7b26afab0eeaf1933887dea12973c6cde1fe7115fe560d56e81ab69dceb7b3431818c51641778f6526abb0055e2a27420e53b2fe90e3f95ee57b01d0 diff --git a/dev-php/sebastian-global-state/files/autoload-3.0.0.php b/dev-php/sebastian-global-state/files/autoload-3.0.0.php new file mode 100644 index 000000000000..01a691b3140d --- /dev/null +++ b/dev-php/sebastian-global-state/files/autoload-3.0.0.php @@ -0,0 +1,25 @@ + '/Blacklist.php', + 'sebastianbergmann\globalstate\codeexporter' => '/CodeExporter.php', + 'sebastianbergmann\globalstate\exception' => '/exceptions/Exception.php', + 'sebastianbergmann\globalstate\restorer' => '/Restorer.php', + 'sebastianbergmann\globalstate\runtimeexception' => '/exceptions/RuntimeException.php', + 'sebastianbergmann\globalstate\snapshot' => '/Snapshot.php', + ], + __DIR__ +); + +// Required dependencies. +\Fedora\Autoloader\Dependencies::required([ + __DIR__."/../ObjectReflector/autoload.php", + __DIR__."/../RecursionContext/autoload.php", +]); + diff --git a/dev-php/sebastian-global-state/files/autoload.php b/dev-php/sebastian-global-state/files/autoload.php new file mode 100644 index 000000000000..e7c855e9b3f3 --- /dev/null +++ b/dev-php/sebastian-global-state/files/autoload.php @@ -0,0 +1,18 @@ + '/Blacklist.php', + 'sebastianbergmann\globalstate\codeexporter' => '/CodeExporter.php', + 'sebastianbergmann\globalstate\exception' => '/Exception.php', + 'sebastianbergmann\globalstate\restorer' => '/Restorer.php', + 'sebastianbergmann\globalstate\runtimeexception' => '/RuntimeException.php', + 'sebastianbergmann\globalstate\snapshot' => '/Snapshot.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-global-state/metadata.xml b/dev-php/sebastian-global-state/metadata.xml new file mode 100644 index 000000000000..3bf47ef60938 --- /dev/null +++ b/dev-php/sebastian-global-state/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/ + + gentoo-staging + diff --git a/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild b/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild new file mode 100644 index 000000000000..100d9e83a7c2 --- /dev/null +++ b/dev-php/sebastian-global-state/sebastian-global-state-1.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Snapshotting of global state" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/GlobalState + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild b/dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild new file mode 100644 index 000000000000..f2aaba7905c9 --- /dev/null +++ b/dev-php/sebastian-global-state/sebastian-global-state-3.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Snapshotting of global state" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.2:* + >=dev-php/sebastian-object-reflector-1.1.1 + '/Enumerator.php', + 'sebastianbergmann\objectenumerator\exception' => '/Exception.php', + 'sebastianbergmann\objectenumerator\invalidargumentexception' => '/InvalidArgumentException.php', + ], + __DIR__ +); + +\Fedora\Autoloader\Dependencies::required([ + __DIR__.'/../ObjectReflector/autoload.php', + __DIR__.'/../RecursionContext/autoload.php', +]); diff --git a/dev-php/sebastian-object-enumerator/files/autoload.php b/dev-php/sebastian-object-enumerator/files/autoload.php new file mode 100644 index 000000000000..cac71a54f125 --- /dev/null +++ b/dev-php/sebastian-object-enumerator/files/autoload.php @@ -0,0 +1,19 @@ + '/Enumerator.php', + 'sebastianbergmann\objectenumerator\exception' => '/Exception.php', + 'sebastianbergmann\objectenumerator\invalidargumentexception' => '/InvalidArgumentException.php', + ), + __DIR__ +); + +\Fedora\Autoloader\Dependencies::required(array( + '/usr/share/php/SebastianBergmann/RecursionContext/autoload.php', +)); diff --git a/dev-php/sebastian-object-enumerator/metadata.xml b/dev-php/sebastian-object-enumerator/metadata.xml new file mode 100644 index 000000000000..3bf47ef60938 --- /dev/null +++ b/dev-php/sebastian-object-enumerator/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/ + + gentoo-staging + diff --git a/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-2.0.1.ebuild b/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-2.0.1.ebuild new file mode 100644 index 000000000000..3a50601608a6 --- /dev/null +++ b/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-2.0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Traverses array structures and object graphs to enumerate all referenced objects" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/ObjectEnumerator + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild b/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild new file mode 100644 index 000000000000..c0b63b0beb3e --- /dev/null +++ b/dev-php/sebastian-object-enumerator/sebastian-object-enumerator-3.0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Traverses array structures and object graphs to enumerate all referenced objects" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-php/sebastian-recursion-context-3.0 + '/Exception.php', + 'sebastianbergmann\objectreflector\invalidargumentexception' => '/InvalidArgumentException.php', + 'sebastianbergmann\objectreflector\objectreflector' => '/ObjectReflector.php', + ], + __DIR__ +); diff --git a/dev-php/sebastian-object-reflector/metadata.xml b/dev-php/sebastian-object-reflector/metadata.xml new file mode 100644 index 000000000000..2cec1aaa56e9 --- /dev/null +++ b/dev-php/sebastian-object-reflector/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/version + + gentoo-staging + diff --git a/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.1.ebuild b/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.1.ebuild new file mode 100644 index 000000000000..56dd2650e473 --- /dev/null +++ b/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="object-reflector" + +DESCRIPTION="Allows reflection of object attributes, including inherited and non-public ones" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-7*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/ObjectReflector + doins src/ObjectReflector.php src/{,InvalidArgument}Exception.php + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-recursion-context/Manifest b/dev-php/sebastian-recursion-context/Manifest new file mode 100644 index 000000000000..75c7c5f109e9 --- /dev/null +++ b/dev-php/sebastian-recursion-context/Manifest @@ -0,0 +1,2 @@ +DIST sebastian-recursion-context-2.0.0.tar.gz 4526 BLAKE2B 54ecdfc255c3bdbedc2a909f5b569c62b19e2e66fc5ea4ae7be8401516c142b43e611d5e8f1c056be329983f21e1a8b85e7fb2ff1ddb92a2f6aad4d4191418a6 SHA512 9d25d148decc81f5a21d7a4e1f966563bf6ec765fcc1b1ce779668b74dfa39959db07cf296e9cffcbcb3943c8911709bb73f22c5bfcc81c5d2fcbb51967cf75e +DIST sebastian-recursion-context-3.0.0.tar.gz 4414 BLAKE2B 04a0aca4b6012013306c813109c0ed6f60d2f4f1381ba6506398388b5065d69375191290d33cdc4b82359dc30b1fd98ef61005a657fa8db302472597950255b5 SHA512 0fce5709cb22818de6bbfda1ba2a99fea511d5b36bcbe7955661d756a6f82ba84cbf8fb4eb421d6b51ae9e36a8edac56c5bafbccf8b665a0296883ea0dbb3b91 diff --git a/dev-php/sebastian-recursion-context/files/autoload.php b/dev-php/sebastian-recursion-context/files/autoload.php new file mode 100644 index 000000000000..5f7e83143612 --- /dev/null +++ b/dev-php/sebastian-recursion-context/files/autoload.php @@ -0,0 +1,15 @@ + '/Context.php', + 'sebastianbergmann\recursioncontext\exception' => '/Exception.php', + 'sebastianbergmann\recursioncontext\invalidargumentexception' => '/InvalidArgumentException.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-recursion-context/metadata.xml b/dev-php/sebastian-recursion-context/metadata.xml new file mode 100644 index 000000000000..3bf47ef60938 --- /dev/null +++ b/dev-php/sebastian-recursion-context/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/ + + gentoo-staging + diff --git a/dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild b/dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild new file mode 100644 index 000000000000..940e38fd87db --- /dev/null +++ b/dev-php/sebastian-recursion-context/sebastian-recursion-context-2.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Recursively process PHP variables" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/RecursionContext + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-recursion-context/sebastian-recursion-context-3.0.0.ebuild b/dev-php/sebastian-recursion-context/sebastian-recursion-context-3.0.0.ebuild new file mode 100644 index 000000000000..830d78275012 --- /dev/null +++ b/dev-php/sebastian-recursion-context/sebastian-recursion-context-3.0.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Recursively process PHP variables" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + =dev-lang/php-7*:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/RecursionContext + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-resource-operations/Manifest b/dev-php/sebastian-resource-operations/Manifest new file mode 100644 index 000000000000..3fedbbc8c9eb --- /dev/null +++ b/dev-php/sebastian-resource-operations/Manifest @@ -0,0 +1,2 @@ +DIST sebastian-resource-operations-1.0.0.tar.gz 6449 BLAKE2B 0f748d4792a3d4705560c79047fbdb9c6371435600dbd8373e4c60c8edc436f3487264107b7f3d76125bde3ec7b30062587c96dad7612fdc4e4132d3912813ef SHA512 d11d06c9b8b4a1507238443588f34a85836fcd65d2afdb9bcf3cecfe352cba46c9349988550e901c301db8a21f19cc960a8164653ac66e57661cebddf52ad906 +DIST sebastian-resource-operations-2.0.1.tar.gz 17772 BLAKE2B 8a98c2735973f063fefba9079bf10e1b4a1317eab2e9326bf338d50b2c278673ade93bc20fb415d4d33046575045d0e2d147b5b1ba38812c84031c7a691d1946 SHA512 991716a948f3492b2f3c886f07485fec26ad7e31f8588a2cbf6deff8ef4791e403962578590b117ed43def7753a5f44f0f8c8f92994bc58295d58db3f7d71021 diff --git a/dev-php/sebastian-resource-operations/files/autoload.php b/dev-php/sebastian-resource-operations/files/autoload.php new file mode 100644 index 000000000000..f7b9a4d6f681 --- /dev/null +++ b/dev-php/sebastian-resource-operations/files/autoload.php @@ -0,0 +1,13 @@ + '/ResourceOperations.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-resource-operations/metadata.xml b/dev-php/sebastian-resource-operations/metadata.xml new file mode 100644 index 000000000000..3bf47ef60938 --- /dev/null +++ b/dev-php/sebastian-resource-operations/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/ + + gentoo-staging + diff --git a/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild b/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild new file mode 100644 index 000000000000..f0216f9ebff8 --- /dev/null +++ b/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Provides a list of PHP built-in functions that operate on resources" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:* + " + +src_install() { + insinto /usr/share/php/SebastianBergmann/ResourceOperations + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-resource-operations/sebastian-resource-operations-2.0.1.ebuild b/dev-php/sebastian-resource-operations/sebastian-resource-operations-2.0.1.ebuild new file mode 100644 index 000000000000..678588caefb6 --- /dev/null +++ b/dev-php/sebastian-resource-operations/sebastian-resource-operations-2.0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Provides a list of PHP built-in functions that operate on resources" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.1:* + " + +src_install() { + insinto /usr/share/php/SebastianBergmann/ResourceOperations + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-type/Manifest b/dev-php/sebastian-type/Manifest new file mode 100644 index 000000000000..922b2aba2311 --- /dev/null +++ b/dev-php/sebastian-type/Manifest @@ -0,0 +1 @@ +DIST sebastian-type-1.1.3.tar.gz 19031 BLAKE2B 5e0d191cbc9315661f226aca14849ac4afa6d9e1dc59ca6033c60e425c94ee8b9ad49ab1c2b94c7814654bbadbaadd0164fadb1494f88c9521b2583985ba0281 SHA512 27b455c7a5f1125c916ea56fd933ef9ffa659b3fa6addf8d2c5956e4efef5bd8ffadc686e5dddfc50ba09a300c8148af7dded4249f404e15923e77102ab777fc diff --git a/dev-php/sebastian-type/files/autoload.php b/dev-php/sebastian-type/files/autoload.php new file mode 100644 index 000000000000..91b60dbf64b2 --- /dev/null +++ b/dev-php/sebastian-type/files/autoload.php @@ -0,0 +1,24 @@ + '/CallableType.php', + 'sebastianbergmann\type\genericobjecttype' => '/GenericObjectType.php', + 'sebastianbergmann\type\iterabletype' => '/IterableType.php', + 'sebastianbergmann\type\nulltype' => '/NullType.php', + 'sebastianbergmann\type\objecttype' => '/ObjectType.php', + 'sebastianbergmann\type\simpletype' => '/SimpleType.php', + 'sebastianbergmann\type\type' => '/Type.php', + 'sebastianbergmann\type\typename' => '/TypeName.php', + 'sebastianbergmann\type\unknowntype' => '/UnknownType.php', + 'sebastianbergmann\type\voidtype' => '/VoidType.php', + 'sebastianbergmann\type\exception' => '/exception/Exception.php', + 'sebastianbergmann\type\runtimeexception' => '/exception/RuntimeException.php', + ], + __DIR__ +); diff --git a/dev-php/sebastian-type/metadata.xml b/dev-php/sebastian-type/metadata.xml new file mode 100644 index 000000000000..a036b877938f --- /dev/null +++ b/dev-php/sebastian-type/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/type + + gentoo-staging + diff --git a/dev-php/sebastian-type/sebastian-type-1.1.3.ebuild b/dev-php/sebastian-type/sebastian-type-1.1.3.ebuild new file mode 100644 index 000000000000..f3e2397ed3a3 --- /dev/null +++ b/dev-php/sebastian-type/sebastian-type-1.1.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="type" + +DESCRIPTION="Collection of value objects that represent the types of the PHP type system" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.2:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann/Type + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/sebastian-version/Manifest b/dev-php/sebastian-version/Manifest new file mode 100644 index 000000000000..629901c1b48d --- /dev/null +++ b/dev-php/sebastian-version/Manifest @@ -0,0 +1 @@ +DIST sebastian-version-2.0.1.tar.gz 3581 BLAKE2B c6da754aa5ef6f46309d52f7d36a30a1d1b9b847aa90d62481633e0c290fe58554772d4016aa90f79b153b0e3df377269f7dbf007dc7049226899ef9bc2aa868 SHA512 12a813ff08996f8a6e53069ea297fb00f5fc9b58ce463b4008791cadc19575539bdb17acbf1f2fa67b18ce5a9207c9acd47183d520b60d6a188569f513d8a661 diff --git a/dev-php/sebastian-version/files/autoload.php b/dev-php/sebastian-version/files/autoload.php new file mode 100644 index 000000000000..3839169bafb5 --- /dev/null +++ b/dev-php/sebastian-version/files/autoload.php @@ -0,0 +1,13 @@ + '/../Version.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-version/metadata.xml b/dev-php/sebastian-version/metadata.xml new file mode 100644 index 000000000000..2cec1aaa56e9 --- /dev/null +++ b/dev-php/sebastian-version/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + sebastianbergmann/version + + gentoo-staging + diff --git a/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild b/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild new file mode 100644 index 000000000000..81d4571947e0 --- /dev/null +++ b/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="version" + +DESCRIPTION="Helps with managing the version number of Git-hosted PHP projects" +HOMEPAGE="https://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann + doins src/Version.php + insinto /usr/share/php/SebastianBergmann/Version + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/securimage/Manifest b/dev-php/securimage/Manifest new file mode 100644 index 000000000000..0ebeca561686 --- /dev/null +++ b/dev-php/securimage/Manifest @@ -0,0 +1 @@ +DIST securimage-3.6.5.tar.gz 7590487 BLAKE2B 0285860497edf6c89e043b8cb660a6f5948e6ae7d80dacdd83ed37705856fd225e0c9ed43973eb837e85734f1d3c528d210f251d5cbc68c457cac224fea55fb7 SHA512 776130271f54d50cae5d9a71fed4bfe4870c187cbda55314b49706b3d88c8e76c283c09ead195f89b074fba8b16ddb22e25c268d80d01ee34e9dc5d624e12e7d diff --git a/dev-php/securimage/metadata.xml b/dev-php/securimage/metadata.xml new file mode 100644 index 000000000000..3d4429370ed8 --- /dev/null +++ b/dev-php/securimage/metadata.xml @@ -0,0 +1,6 @@ + + + + + gentoo-staging + diff --git a/dev-php/securimage/securimage-3.6.5.ebuild b/dev-php/securimage/securimage-3.6.5.ebuild new file mode 100644 index 000000000000..29e513246e5c --- /dev/null +++ b/dev-php/securimage/securimage-3.6.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="PHP captcha creator and validator library" +HOMEPAGE="https://www.phpcaptcha.org/" +SRC_URI="https://github.com/dapphp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/php[gd,truetype] + virtual/httpd-php" + +src_install() +{ + # Grab all PHP files except the examples. + set *.php + local php_files=${@/*example*/} + + insinto /usr/share/php/${PN} + doins -r ${php_files} *.{ttf,swf} audio backgrounds database images words + + dodoc README* +} diff --git a/dev-php/semver/Manifest b/dev-php/semver/Manifest new file mode 100644 index 000000000000..56e67ef5872d --- /dev/null +++ b/dev-php/semver/Manifest @@ -0,0 +1,2 @@ +DIST semver-1.4.2.tar.gz 10408 BLAKE2B 1504b6dff157e1b3c5ca338060e668f478fdd4e6a61be7835af6da669d22ef15a2143551e96bd01926fd2b408736fd8e70df22e1364b80712dc7d65608889b27 SHA512 2e41e2e70e9e62b280bff40b1a05b3803d95fb088eb4ce395e1f1fed79a40efc3a0ad16f8506d83a81b0e1d08e069640b2b084cc91aeb1ed41d934fd18249fe2 +DIST semver-1.5.1.tar.gz 10534 BLAKE2B ca6743415867db96696cc604c00a1ffabb35617af055a621079621fb73d951453f4c893ccf1377a142c05f5481a42884b380455c37e4e945c382f811a3917f72 SHA512 c9b582217060124fe20dcd7821e669173b9deffa976ad8921f48d22793f03af5deb4006380932e49e06da13a63db9aaa63254118d43448575446b78226d9cf3f diff --git a/dev-php/semver/files/autoload.php b/dev-php/semver/files/autoload.php new file mode 100644 index 000000000000..bf9e65beee0b --- /dev/null +++ b/dev-php/semver/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Semantic versioning utilities with the addition of version constraints parsing and checking. + + + composer/semver + + gentoo-staging + diff --git a/dev-php/semver/semver-1.4.2.ebuild b/dev-php/semver/semver-1.4.2.ebuild new file mode 100644 index 000000000000..98683b0d6256 --- /dev/null +++ b/dev-php/semver/semver-1.4.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Semantic versioning utilities, constraint parsing, and checking" +HOMEPAGE="https://github.com/composer/semver" +SRC_URI="https://github.com/composer/semver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" + +# The releases don't contain the test suite at the moment, see +# https://github.com/composer/semver/issues/59 + +src_install() { + insinto '/usr/share/php/Composer/Semver' + doins -r src/. "${FILESDIR}/autoload.php" + dodoc README.md +} diff --git a/dev-php/semver/semver-1.5.1.ebuild b/dev-php/semver/semver-1.5.1.ebuild new file mode 100644 index 000000000000..1301f1d01d41 --- /dev/null +++ b/dev-php/semver/semver-1.5.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Semantic versioning utilities, constraint parsing, and checking" +HOMEPAGE="https://github.com/composer/semver" +SRC_URI="https://github.com/composer/semver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" + +# The releases don't contain the test suite at the moment, see +# https://github.com/composer/semver/issues/59 + +src_install() { + insinto '/usr/share/php/Composer/Semver' + doins -r src/. "${FILESDIR}/autoload.php" + dodoc README.md +} diff --git a/dev-php/simpletest/Manifest b/dev-php/simpletest/Manifest new file mode 100644 index 000000000000..1d52062da053 --- /dev/null +++ b/dev-php/simpletest/Manifest @@ -0,0 +1 @@ +DIST simpletest-1.1.7.tar.gz 763745 BLAKE2B 20c61b8dce5c628c6f26ef60b605b7ce3bb61c95a43a8f29bf5d176c03bc43f1e463d5ff301c93ddd71e43419773f2c99a3cb52561c6a8d6b0d586ef2341708e SHA512 105ce73a36bb3885ee27052b5bc7fde775ec04afc725ab45c79cf103639e9c7d8bd7f9e279f5b07ad5d1e9ccf3797741506e3bf07b57283b5f1b3f39901ad852 diff --git a/dev-php/simpletest/metadata.xml b/dev-php/simpletest/metadata.xml new file mode 100644 index 000000000000..74102eac1fb2 --- /dev/null +++ b/dev-php/simpletest/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + simpletest/simpletest + + gentoo-staging + diff --git a/dev-php/simpletest/simpletest-1.1.7.ebuild b/dev-php/simpletest/simpletest-1.1.7.ebuild new file mode 100644 index 000000000000..90a8205b07e1 --- /dev/null +++ b/dev-php/simpletest/simpletest-1.1.7.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="A PHP testing framework" +HOMEPAGE="http://www.simpletest.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/php:*" + +src_install() { + local DOCS=( docs HELP_MY_TESTS_DONT_WORK_ANYMORE README.md TODO.xml ) + einstalldocs + + insinto "/usr/share/php/${PN}" + doins -r *.php extensions packages tutorials +} diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest new file mode 100644 index 000000000000..8a87b2c43603 --- /dev/null +++ b/dev-php/smarty/Manifest @@ -0,0 +1,2 @@ +DIST manual-en.3.1.14.zip 408414 BLAKE2B 03d4e7a386eb3bd5b19e5c555ec34b86812838a5b5fac8ec0ab9701fba89a5867714da57d950f68224a89bbe2267c18d638ee850681860de309c74bbfb3d0a0b SHA512 d384e3856b45ed3f992f3732a5465120abe9fb947cdf13ff67a9c4264f72987d24885ee61cd7309b728e64cdfe4f34c3e7f757096d35de56d962f3b78def9e58 +DIST smarty-3.1.33.tar.gz 249999 BLAKE2B 1e174b190238c8b20d5dae9c0c9fdf264c4716ba850599a2a028fe6c307eb3d9d2611e3b928efb9471e051496e4e31502458cd7a71a9318e012d5af7eca2c50e SHA512 443473cf12c7e053744daef7a70d4172979d760278aa1593216d0b70f0c12ca2b48eb79486a1c10a1cf2264da671804b94ee9d538b9013ff0bdc42e28639ca5d diff --git a/dev-php/smarty/metadata.xml b/dev-php/smarty/metadata.xml new file mode 100644 index 000000000000..59a16d89eecf --- /dev/null +++ b/dev-php/smarty/metadata.xml @@ -0,0 +1,22 @@ + + + + + php-bugs@gentoo.org + PHP + + + mjo@gentoo.org + Michael Orlitzky + + + Smarty is a template engine for PHP, facilitating the separation + of presentation (HTML/CSS) from application logic. This implies + that PHP code is application logic, and is separated from the + presentation. + + + smarty-php/smarty + + gentoo-staging + diff --git a/dev-php/smarty/smarty-3.1.33.ebuild b/dev-php/smarty/smarty-3.1.33.ebuild new file mode 100644 index 000000000000..17f7e0785596 --- /dev/null +++ b/dev-php/smarty/smarty-3.1.33.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DOC_PV="3.1.14" + +DESCRIPTION="A template engine for PHP" +HOMEPAGE="https://www.smarty.net/" +SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="doc" + +BDEPEND="doc? ( app-arch/unzip )" + +# PHP unicode support is detected at runtime, and the cached templates +# that smarty generates depend on it. If, later on, PHP is reinstalled +# without unicode support, all of the previously-generated cached +# templates will begin to throw 500 errrors for missing mb_foo +# functions. See bug #532618. +RDEPEND="dev-lang/php:*[unicode]" + +src_install() { + insinto "/usr/share/php/${PN}" + doins -r libs/* + + local DOCS=( *.txt README README.md ) + local HTML_DOCS + use doc && HTML_DOCS="${WORKDIR}/manual-en/"* + einstalldocs +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog + elog 'To use it in your scripts, include the Smarty.class.php file' + elog "from the \"${PN}\" directory; for example," + elog + elog " require('${PN}/Smarty.class.php');" + elog + elog 'After that, the Smarty class will be available to you.' +} diff --git a/dev-php/spdx-licenses/Manifest b/dev-php/spdx-licenses/Manifest new file mode 100644 index 000000000000..554d7e5ff645 --- /dev/null +++ b/dev-php/spdx-licenses/Manifest @@ -0,0 +1,4 @@ +DIST spdx-licenses-1.2.0.tar.gz 10974 BLAKE2B 52cba9837202b1ae598b6d3b36f4ef67ec27988fa5911f2dfff92d39515d0401f5636922a3d205413489d21fd1dfacbf68f72c907503807317c7c9e51392e016 SHA512 fdb63dd29a099afbc116b30d1deec3d2b46be998a55fd741126f1bc393c5037a9a7477e55f7e030585d826be7d72db26be5ce0b5bb57dd536137cc45890ea9c9 +DIST spdx-licenses-1.4.0.tar.gz 11318 BLAKE2B bbeca0301c98bcbefe9ab09ab3f421480a4a777cd666dcbd870c193bb9af3083853561a3a49ea37a4534bef6c8f7e7c31d85b62355ab11dce006fe5f36864a10 SHA512 0ed7bc6e42e7cebe0763dcda8180d1c20da3f79587457e04be0f1331aa8464a1459ec584a8ef06db76b90eff1b6fd365196a2402384d00ddb5352afdc07afb0d +DIST spdx-licenses-1.5.0.tar.gz 11576 BLAKE2B a427969df68a0ecc0f1234b1da3945c50f5f8163d182ec47a1fef31d309f216a410db95a9dd9e5b6057659a4a0afd5fad01919624e0b6ff0aee20d5bfff7d88a SHA512 184dc4c07f1d7b55539d32e4793c3ffbd8aa5a0b23439965a44450154e63e9afb74adb82031544e9e76e2ea9c5f57308d876c541dbd1583d498d3db71097fb06 +DIST spdx-licenses-1.5.3.tar.gz 12132 BLAKE2B c4f4086903769f8dffba496ed07fb490bd8def142be60c808726e52f4e059df1ffb1a2e8bd3d557b6c531c62d7e64776da1d482ff5958bfc687c11ef963925eb SHA512 b6e7fbaa422ff6d2f227f8fea24de514c0e2c34c7381930f1aabac9523a56565ab2a3df524029143f2e305967dcc0af09721ed9cf74b6e8780306c91d42c74ee diff --git a/dev-php/spdx-licenses/files/autoload.php b/dev-php/spdx-licenses/files/autoload.php new file mode 100644 index 000000000000..6ebf96e7378c --- /dev/null +++ b/dev-php/spdx-licenses/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + Tools for working with the SPDX license list and validating licenses. + + + composer/spdx-licenses + + gentoo-staging + diff --git a/dev-php/spdx-licenses/spdx-licenses-1.2.0.ebuild b/dev-php/spdx-licenses/spdx-licenses-1.2.0.ebuild new file mode 100644 index 000000000000..c23832e1773c --- /dev/null +++ b/dev-php/spdx-licenses/spdx-licenses-1.2.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Tools for working with and validating SPDX licenses" +HOMEPAGE="https://github.com/composer/spdx-licenses" +SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Composer/Spdx" + doins -r src/. res "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/spdx-licenses/spdx-licenses-1.4.0-r1.ebuild b/dev-php/spdx-licenses/spdx-licenses-1.4.0-r1.ebuild new file mode 100644 index 000000000000..57236bd1ba3c --- /dev/null +++ b/dev-php/spdx-licenses/spdx-licenses-1.4.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tools for working with and validating SPDX licenses" +HOMEPAGE="https://github.com/composer/spdx-licenses" +SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Composer/res" + doins -r res/. + + insinto "/usr/share/php/Composer/Spdx" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/spdx-licenses/spdx-licenses-1.5.0.ebuild b/dev-php/spdx-licenses/spdx-licenses-1.5.0.ebuild new file mode 100644 index 000000000000..8b9ab0e5b041 --- /dev/null +++ b/dev-php/spdx-licenses/spdx-licenses-1.5.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tools for working with and validating SPDX licenses" +HOMEPAGE="https://github.com/composer/spdx-licenses" +SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Composer/res" + doins -r res/. + + insinto "/usr/share/php/Composer/Spdx" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/spdx-licenses/spdx-licenses-1.5.3.ebuild b/dev-php/spdx-licenses/spdx-licenses-1.5.3.ebuild new file mode 100644 index 000000000000..98621560f378 --- /dev/null +++ b/dev-php/spdx-licenses/spdx-licenses-1.5.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Tools for working with and validating SPDX licenses" +HOMEPAGE="https://github.com/composer/spdx-licenses" +SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Composer/res" + doins -r res/. + + insinto "/usr/share/php/Composer/Spdx" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/stringparser_bbcode/Manifest b/dev-php/stringparser_bbcode/Manifest new file mode 100644 index 000000000000..2f44d12f7846 --- /dev/null +++ b/dev-php/stringparser_bbcode/Manifest @@ -0,0 +1 @@ +DIST stringparser_bbcode-0.3.3.tar.gz 338784 BLAKE2B 4f3d53fa42ddf0dc15c88d84d5b590a3d1611f0cf99ea19e6eaf015febf723d5ea16b24669ed51e1134098150188974e5dcb576e1c88dbe76fa50696f003ba17 SHA512 45cdbe717d8c11a138ed700b987dc4e0f5c85048b402a6ef24c35941342680c341c4ddbdc2ac984976a56128a2a80a8457d5b884ea92dab019f094886c77d1bd diff --git a/dev-php/stringparser_bbcode/metadata.xml b/dev-php/stringparser_bbcode/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/stringparser_bbcode/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3-r1.ebuild b/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3-r1.ebuild new file mode 100644 index 000000000000..6b8bd6e4d4da --- /dev/null +++ b/dev-php/stringparser_bbcode/stringparser_bbcode-0.3.3-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A PHP class to parse BB codes" +HOMEPAGE="http://christian-seiler.de/projekte/php/bbcode/index_en.html" +SRC_URI="http://christian-seiler.de/projekte/php/bbcode/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND="dev-lang/php" + +src_install() { + insinto "/usr/share/php/${PN}" + doins -r src/* + + dodoc AUTHORS ChangeLog THANKS + use doc && dodoc -r doc/* +} diff --git a/dev-php/swoole-async/Manifest b/dev-php/swoole-async/Manifest new file mode 100644 index 000000000000..4735139323d5 --- /dev/null +++ b/dev-php/swoole-async/Manifest @@ -0,0 +1,2 @@ +DIST swoole-async-4.4.12.tar.gz 417674 BLAKE2B 77a96f53b1b159b558eb4759fe172e4a3b8f2648cd9f49252d89508eb56b4d342b178fa3c84d6a425c300a286063b4d32a05d09a3da4f3769be4c25a9800783c SHA512 adfb761803e5ec93c30aa2a4bbc312a2f43287a54cd237c0a87237dfcbfe1e6daa3d57ec2cdf15720202aa9a7830ed67ab2efdf2f7dd81989c3693e91bc22143 +DIST swoole-async-4.4.16.tar.gz 419094 BLAKE2B 7b93a0d2eb8a9597a68871783c60746c832b2eb1dce89a0f82ca6df2ee20151f910ad4f8ebb6a453bea3b7c2cc274266614f147b34c21a089ff9cc4ca0f73d1c SHA512 cf4bfc3c86740e343774b2cddc0ef2386f522e7929c160bc10d47ebe0b8f8d63dbcc82e70b7f3f30e7f7c102ebd42b02cddf4c3e1a0289f0e45147ddbd9aa546 diff --git a/dev-php/swoole-async/metadata.xml b/dev-php/swoole-async/metadata.xml new file mode 100644 index 000000000000..a37817371b0e --- /dev/null +++ b/dev-php/swoole-async/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP Project + + gentoo-staging + diff --git a/dev-php/swoole-async/swoole-async-4.4.12.ebuild b/dev-php/swoole-async/swoole-async-4.4.12.ebuild new file mode 100644 index 000000000000..845bfc568cc0 --- /dev/null +++ b/dev-php/swoole-async/swoole-async-4.4.12.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole_async" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +SRC_URI="https://github.com/swoole/ext-async/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/ext-async-${PV}" +PHP_EXT_S="${S}" + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="An extension of Swoole, including the async callback style API" +LICENSE="Apache-2.0" +SLOT="0" +# Tests will require pre-configured endpoint +RESTRICT="test" + +DEPEND=">=dev-php/swoole-4.3" + +RDEPEND="${DEPEND}" + +IUSE="debug" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-swoole_async + $(use_enable debug) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/swoole-async/swoole-async-4.4.16.ebuild b/dev-php/swoole-async/swoole-async-4.4.16.ebuild new file mode 100644 index 000000000000..09b9d48a22e1 --- /dev/null +++ b/dev-php/swoole-async/swoole-async-4.4.16.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole_async" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +SRC_URI="https://github.com/swoole/ext-async/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/ext-async-${PV}" +PHP_EXT_S="${S}" + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="An extension of Swoole, including the async callback style API" +LICENSE="Apache-2.0" +SLOT="0" +# Tests will require pre-configured endpoint +RESTRICT="test" + +DEPEND=">=dev-php/swoole-4.3" + +RDEPEND="${DEPEND}" + +IUSE="debug" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --enable-swoole_async + $(use_enable debug) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest new file mode 100644 index 000000000000..d7f433f861cf --- /dev/null +++ b/dev-php/swoole/Manifest @@ -0,0 +1,6 @@ +DIST swoole-4.2.13.tgz 1305634 BLAKE2B bb30180f7ca7b024a2aab8aff1149f6b19035315c9518dfc9e9e2e02acde09aa4cd09fbe146aefd39fc09c25af68347a5c188ca8a21677926b1adea5b549858b SHA512 f2438ce761766d20a24279a2d6f2094c718324585b1d396344f64e8a4facc1cc025a3afb2deff3b1accd5266763bdaa0a2b15e831ea4b9bdb107c83b0046636d +DIST swoole-4.4.12.tgz 1436554 BLAKE2B cc9e64e108aa9b393265708a6922f53824c2e9941c0f47f4f6aacf93239829381cdf4625af8f30e2ca8ceb1663047c6be8b2d7808dbc29d27100135288f7ac85 SHA512 8899bb048b85c048903c80fe1af045ea4f82a25b3b4fd9995d51c8a2ab144306f9f5651276776e3f6a29c83322fb0aeee2822d131247070fe9e2e87b26f2e0e9 +DIST swoole-4.4.14.tgz 1440095 BLAKE2B 8a893604a84f750b95bb63a3c6ce9869a80a700b58e744e0da588dcdb88b9d9ae8fa5b73548cc182e255d7fe4e49139c3da9bcec40a54af94c35d355ee4cbfe0 SHA512 73b598069d38dcc3201a31fdd93c1bcf0ce31ab5399bade8c31f6decae25ef6e9c0aefe0412409158c1dd0fe502751c8e669e0a34561cb1b36448366708572c6 +DIST swoole-4.4.15.tgz 1454897 BLAKE2B 38f804e5f2f41ba2bc32ac2e6fd7be3e03f7a361487d7dad41bdc2ee3f2489d41824f60a841de1e3dea0cbf105d11dc1b5c2225ae49a02155604bc09c990ed61 SHA512 5ad797b38a20cfa17b0aa1fc5ab4f6446b84debb38babc05630e07833895401c778f1c6cf9eb32d7204b02c0e170ba6e613f356a054baa29ac511c19ce59620f +DIST swoole-4.4.16.tgz 1457270 BLAKE2B 4b65270aa1014ea68cadae8eb021d37498dc3fe0bf2d681c95bf7113928138bc26ab73f3be91185eb5ecebcb4940906814913c7908c87592aafd33fbc1820bf7 SHA512 7be4705967ed6b7a955f679f8c39585d34dc8c87ba608ac3ae2b0fc3cae9513d9639c8e9aac4278ce85acc215b500044626aab9b2aac725c9ffaef72dfb02dd7 +DIST swoole-4.4.19.tgz 1469420 BLAKE2B 0240b5fbd6a4625d426d0c960859b8215122fff10be9e70823eb32f196d3ec075a952dc133258b04c323439de982079f5acbab9039958c457aa18f1687118ce3 SHA512 be4671da9fdbf65daf6364e5eaca9b25fd3557bec848a04b636ace48c896d4dbf08f6e877d6166571aa966732a70037bf2d4ba2f302696dd2b1371e2de993106 diff --git a/dev-php/swoole/metadata.xml b/dev-php/swoole/metadata.xml new file mode 100644 index 000000000000..1e5f1ff2bd88 --- /dev/null +++ b/dev-php/swoole/metadata.xml @@ -0,0 +1,12 @@ + + + + +php-bugs@gentoo.org +PHP Project + + +Add support for HTTP/2 protocol via net-libs/nghttp2 + + gentoo-staging + diff --git a/dev-php/swoole/swoole-4.2.13.ebuild b/dev-php/swoole/swoole-4.2.13.ebuild new file mode 100644 index 000000000000..04aa2e40c373 --- /dev/null +++ b/dev-php/swoole/swoole-4.2.13.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3" + +inherit php-ext-pecl-r3 + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="amd64 ~x86" + +DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" +LICENSE="Apache-2.0" +SLOT="0" +# Tests can hang. Disable until this no longer happens +RESTRICT="test" + +DEPEND=" + dev-libs/libaio + dev-libs/boost:0= + dev-libs/libpcre + http2? ( net-libs/nghttp2:0= ) + ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) ) + php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) + mysql? ( + php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) + php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) + php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) + ) +" + +RDEPEND="${DEPEND}" + +IUSE="debug http2 libressl mysql sockets ssl" + +src_configure() { + # PostgreSQL disabled due to Gentoo's slot system + # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory + local PHP_EXT_ECONF_ARGS=( + --enable-swoole + --disable-coroutine-postgresql + $(use_enable debug) + $(use_enable http2) + $(use_enable mysql mysqlnd) + $(use_enable ssl openssl) + $(use_with ssl openssl-dir "${EROOT}/usr") + $(use_enable sockets) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/swoole/swoole-4.4.12.ebuild b/dev-php/swoole/swoole-4.4.12.ebuild new file mode 100644 index 000000000000..7df45e4948c0 --- /dev/null +++ b/dev-php/swoole/swoole-4.4.12.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" +LICENSE="Apache-2.0" +SLOT="0" +# Tests can hang. Disable until this no longer happens +RESTRICT="test" + +DEPEND=" + app-arch/brotli:0= + dev-libs/libaio + dev-libs/boost:0= + dev-libs/libpcre + sys-libs/zlib:0= + http2? ( net-libs/nghttp2:0= ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) + php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) + mysql? ( + php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) + php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) + php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) + php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) + ) +" + +RDEPEND="${DEPEND}" + +IUSE="debug http2 libressl mysql sockets ssl" + +src_configure() { + # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory + local PHP_EXT_ECONF_ARGS=( + --enable-swoole + $(use_enable debug) + $(use_enable http2) + $(use_enable mysql mysqlnd) + $(use_enable ssl openssl) + $(use_with ssl openssl-dir "${EROOT}/usr") + $(use_enable sockets) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/swoole/swoole-4.4.14.ebuild b/dev-php/swoole/swoole-4.4.14.ebuild new file mode 100644 index 000000000000..146edf124e9f --- /dev/null +++ b/dev-php/swoole/swoole-4.4.14.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" +LICENSE="Apache-2.0" +SLOT="0" +# Tests can hang. Disable until this no longer happens +RESTRICT="test" + +DEPEND=" + app-arch/brotli:0= + dev-libs/libaio + dev-libs/boost:0= + dev-libs/libpcre + sys-libs/zlib:0= + http2? ( net-libs/nghttp2:0= ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) + php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) + mysql? ( + php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) + php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) + php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) + php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) + ) +" + +RDEPEND="${DEPEND}" + +IUSE="debug http2 libressl mysql sockets ssl" + +src_configure() { + # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory + local PHP_EXT_ECONF_ARGS=( + --enable-swoole + $(use_enable debug) + $(use_enable http2) + $(use_enable mysql mysqlnd) + $(use_enable ssl openssl) + $(use_with ssl openssl-dir "${EROOT}/usr") + $(use_enable sockets) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/swoole/swoole-4.4.15.ebuild b/dev-php/swoole/swoole-4.4.15.ebuild new file mode 100644 index 000000000000..146edf124e9f --- /dev/null +++ b/dev-php/swoole/swoole-4.4.15.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" +LICENSE="Apache-2.0" +SLOT="0" +# Tests can hang. Disable until this no longer happens +RESTRICT="test" + +DEPEND=" + app-arch/brotli:0= + dev-libs/libaio + dev-libs/boost:0= + dev-libs/libpcre + sys-libs/zlib:0= + http2? ( net-libs/nghttp2:0= ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) + php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) + mysql? ( + php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) + php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) + php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) + php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) + ) +" + +RDEPEND="${DEPEND}" + +IUSE="debug http2 libressl mysql sockets ssl" + +src_configure() { + # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory + local PHP_EXT_ECONF_ARGS=( + --enable-swoole + $(use_enable debug) + $(use_enable http2) + $(use_enable mysql mysqlnd) + $(use_enable ssl openssl) + $(use_with ssl openssl-dir "${EROOT}/usr") + $(use_enable sockets) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/swoole/swoole-4.4.16.ebuild b/dev-php/swoole/swoole-4.4.16.ebuild new file mode 100644 index 000000000000..146edf124e9f --- /dev/null +++ b/dev-php/swoole/swoole-4.4.16.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" +LICENSE="Apache-2.0" +SLOT="0" +# Tests can hang. Disable until this no longer happens +RESTRICT="test" + +DEPEND=" + app-arch/brotli:0= + dev-libs/libaio + dev-libs/boost:0= + dev-libs/libpcre + sys-libs/zlib:0= + http2? ( net-libs/nghttp2:0= ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) + php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) + mysql? ( + php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) + php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) + php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) + php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) + ) +" + +RDEPEND="${DEPEND}" + +IUSE="debug http2 libressl mysql sockets ssl" + +src_configure() { + # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory + local PHP_EXT_ECONF_ARGS=( + --enable-swoole + $(use_enable debug) + $(use_enable http2) + $(use_enable mysql mysqlnd) + $(use_enable ssl openssl) + $(use_with ssl openssl-dir "${EROOT}/usr") + $(use_enable sockets) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/swoole/swoole-4.4.19.ebuild b/dev-php/swoole/swoole-4.4.19.ebuild new file mode 100644 index 000000000000..146edf124e9f --- /dev/null +++ b/dev-php/swoole/swoole-4.4.19.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_NAME="swoole" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_SAPIS="cli" +DOCS=( README.md ) + +USE_PHP="php7-1 php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +HOMEPAGE="https://www.swoole.co.uk" +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine" +LICENSE="Apache-2.0" +SLOT="0" +# Tests can hang. Disable until this no longer happens +RESTRICT="test" + +DEPEND=" + app-arch/brotli:0= + dev-libs/libaio + dev-libs/boost:0= + dev-libs/libpcre + sys-libs/zlib:0= + http2? ( net-libs/nghttp2:0= ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] ) + php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] ) + php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] ) + php_targets_php7-4? ( dev-lang/php:7.4[cli,sockets?] ) + mysql? ( + php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] ) + php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] ) + php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] ) + php_targets_php7-4? ( dev-lang/php:7.4[mysql,mysqli(+)] ) + ) +" + +RDEPEND="${DEPEND}" + +IUSE="debug http2 libressl mysql sockets ssl" + +src_configure() { + # JEMalloc not included as it refuses to find a ${EROOT}/usr/includes/jemalloc subdirectory + local PHP_EXT_ECONF_ARGS=( + --enable-swoole + $(use_enable debug) + $(use_enable http2) + $(use_enable mysql mysqlnd) + $(use_enable ssl openssl) + $(use_with ssl openssl-dir "${EROOT}/usr") + $(use_enable sockets) + ) + + php-ext-source-r3_src_configure +} + +src_test() { + local slot + for slot in $(php_get_slots); do + php_init_slot_env "${slot}" + [[ -f tests/template.phpt ]] && rm tests/template.phpt + SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test + done +} diff --git a/dev-php/symfony-config/Manifest b/dev-php/symfony-config/Manifest new file mode 100644 index 000000000000..8cda3b2d737f --- /dev/null +++ b/dev-php/symfony-config/Manifest @@ -0,0 +1 @@ +DIST symfony-config-2.8.20.tar.gz 52587 BLAKE2B 540ed96ebc9d3c5e6d460003c47e2d0612037acc2e40ff413d4195a1f7d48e7e7edb2b0bbf17f982d9ea48242439d819f2b6b442dcd22fa7cc9fa0b29ef2b6e7 SHA512 f515f9886be8daa85a3cfe70935b4586ee749a62c3c73c6f2c934af16d4a81f9e49445bdae85329f88fa4dacaf87c56b9b599793d7926e712242bd1fc9dc0675 diff --git a/dev-php/symfony-config/files/autoload.php b/dev-php/symfony-config/files/autoload.php new file mode 100644 index 000000000000..6c6f5c501beb --- /dev/null +++ b/dev-php/symfony-config/files/autoload.php @@ -0,0 +1,20 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The Config component provides several classes to help you find, + load, combine, autofill and validate configuration values of any + kind, whatever their source may be (YAML, XML, INI files, or for + instance a database). + + + symfony/config + + gentoo-staging + diff --git a/dev-php/symfony-config/symfony-config-2.8.20.ebuild b/dev-php/symfony-config/symfony-config-2.8.20.ebuild new file mode 100644 index 000000000000..9fe027e06223 --- /dev/null +++ b/dev-php/symfony-config/symfony-config-2.8.20.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Symfony Config Component" +HOMEPAGE="https://github.com/symfony/config" +SRC_URI="https://github.com/symfony/config/archive/v${PV}.tar.gz + -> symfony-config-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + dev-php/symfony-filesystem" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/config-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Config" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed' +} diff --git a/dev-php/symfony-console/Manifest b/dev-php/symfony-console/Manifest new file mode 100644 index 000000000000..4e5766a7b313 --- /dev/null +++ b/dev-php/symfony-console/Manifest @@ -0,0 +1,5 @@ +DIST symfony-console-2.7.9.tar.gz 116610 BLAKE2B 1b1da6f81a88b2887a6a5eb5553c4aa2d3a013b68d8e469e27da42409d5bc50208cc0ff8983afd22163a724e61cf7637728939f2a92137f0b1619ad5a833ba2a SHA512 3de7d78b92c8f0c99d3c90e83a23f6b61eecc195cf92b5c9ebea03a1dc85d2166287e619822238a2f2cd54a430b4a38c7c88be3ba74dab0b66c6104e980a088b +DIST symfony-console-2.8.43.tar.gz 131451 BLAKE2B f3a0c57f6c746c9cf18b0b9f6ae32aea055f0c3d5ba0c1a43d5492efcfab897184db49dc8ace1c465ca8b04194d10f1acab6b2c1ea2d3c62c3aa54524f514f39 SHA512 e5177052bb826fe5f023c569e24440588f75d34d4caf56f69ee1a88a5e7d3b639741c1262600543d617b80d5a086472d54b45f48e7eb79375759d4e5cce742d8 +DIST symfony-console-2.8.48.tar.gz 132206 BLAKE2B 970d4e7526681159aa76fdede0e533875c163cb7fdb2156f0eebb9540602c8e29b3ee8b5a9bb5509a629b9a910d00cfc5625f203a77807ed0da670a0e41e4be9 SHA512 358e0f44e516ffdb626bd7da29b415f1a563bd400b627991928e5014aee8a5ec9bd1c61fa4f6c25f6f28b1f88f6f16d9d718bdda22b9f3b906db4cc85cfadb1a +DIST symfony-console-2.8.50.tar.gz 132180 BLAKE2B 25611de88061feafb6fcf26bc5c89145d02ddacff1f6bc3d81a30ea89314a33c5231dcf050f5c22817eed3c2bb7e2defcd820bf586436693c47a9ceca7384ffe SHA512 e1229f8855ad6d48e75abddc2953c3e48c6ceb025536c748c4aec75e9b1c4c482bf36de2070b62c0d31904e45df02b3241c42b48e24c2d609c8280b6126a49bd +DIST symfony-console-2.8.52.tar.gz 132191 BLAKE2B 0eb276cb1d7faac0e21558906d4c7f299901cd06911d8bcdbf5842dec508ed5ec48bd8fc32d186dff24968471549912083864b726ec177eb53cfb11bcbae7604 SHA512 a066c6e81e7cb64a819271e188e25fcc7bced16a9f2408fd55d765dff052d331b2e68df05b2c107070a67c919eb46619a5626aaf4866620d9075653390824e5c diff --git a/dev-php/symfony-console/files/autoload.php b/dev-php/symfony-console/files/autoload.php new file mode 100644 index 000000000000..14a8fabf46cb --- /dev/null +++ b/dev-php/symfony-console/files/autoload.php @@ -0,0 +1,16 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The Console component eases the creation of beautiful and testable + command line interfaces. + + + symfony/console + + gentoo-staging + diff --git a/dev-php/symfony-console/symfony-console-2.7.9-r1.ebuild b/dev-php/symfony-console/symfony-console-2.7.9-r1.ebuild new file mode 100644 index 000000000000..1cdcfc26ca55 --- /dev/null +++ b/dev-php/symfony-console/symfony-console-2.7.9-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Subtree split of the Symfony Console Component" +HOMEPAGE="https://github.com/symfony/console" +SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2 + >=dev-php/symfony-event-dispatcher-2.1.0 + >=dev-php/symfony-process-2.8.12" + +S="${WORKDIR}/console-${PV}" + +src_install() { + insinto "/usr/share/php/Symfony/Component/Console" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/symfony-console/symfony-console-2.8.43.ebuild b/dev-php/symfony-console/symfony-console-2.8.43.ebuild new file mode 100644 index 000000000000..b543b5440226 --- /dev/null +++ b/dev-php/symfony-console/symfony-console-2.8.43.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Subtree split of the Symfony Console Component" +HOMEPAGE="https://github.com/symfony/console" +SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2 + >=dev-php/symfony-event-dispatcher-2.1.0 + >=dev-php/symfony-process-2.8.12" + +S="${WORKDIR}/console-${PV}" + +src_install() { + insinto "/usr/share/php/Symfony/Component/Console" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/symfony-console/symfony-console-2.8.48.ebuild b/dev-php/symfony-console/symfony-console-2.8.48.ebuild new file mode 100644 index 000000000000..e3887444f9e9 --- /dev/null +++ b/dev-php/symfony-console/symfony-console-2.8.48.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Subtree split of the Symfony Console Component" +HOMEPAGE="https://github.com/symfony/console" +SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2 + >=dev-php/symfony-event-dispatcher-2.1.0 + >=dev-php/symfony-process-2.8.12" + +S="${WORKDIR}/console-${PV}" + +src_install() { + insinto "/usr/share/php/Symfony/Component/Console" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/symfony-console/symfony-console-2.8.50.ebuild b/dev-php/symfony-console/symfony-console-2.8.50.ebuild new file mode 100644 index 000000000000..3586a72bfe27 --- /dev/null +++ b/dev-php/symfony-console/symfony-console-2.8.50.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Subtree split of the Symfony Console Component" +HOMEPAGE="https://github.com/symfony/console" +SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2 + >=dev-php/symfony-event-dispatcher-2.1.0 + >=dev-php/symfony-process-2.8.12" + +S="${WORKDIR}/console-${PV}" + +src_install() { + insinto "/usr/share/php/Symfony/Component/Console" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/symfony-console/symfony-console-2.8.52.ebuild b/dev-php/symfony-console/symfony-console-2.8.52.ebuild new file mode 100644 index 000000000000..492cf785652a --- /dev/null +++ b/dev-php/symfony-console/symfony-console-2.8.52.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Subtree split of the Symfony Console Component" +HOMEPAGE="https://github.com/symfony/console" +SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2 + >=dev-php/symfony-event-dispatcher-2.1.0 + >=dev-php/symfony-process-2.8.12" + +S="${WORKDIR}/console-${PV}" + +src_install() { + insinto "/usr/share/php/Symfony/Component/Console" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} diff --git a/dev-php/symfony-dependency-injection/Manifest b/dev-php/symfony-dependency-injection/Manifest new file mode 100644 index 000000000000..4102180b8f32 --- /dev/null +++ b/dev-php/symfony-dependency-injection/Manifest @@ -0,0 +1,2 @@ +DIST symfony-dependency-injection-2.8.20.tar.gz 117123 BLAKE2B 469b11d55bbfdffe46b5cc94592f0bf81c1ddf82c656bbf9914a78cb7e5164960455c2ef1a70ef905b35775e91e279693af19015e586ddb3c95a0184d1737f32 SHA512 9ab6a4b36fde3908f26c2211066df501dd73387a7ec3d0aae85f8289257653bb54393bd9f4b50c347a4d5ba47214f13c089e475eaace3868f5c18f67b69bd829 +DIST symfony-dependency-injection-2.8.50.tar.gz 117771 BLAKE2B b71535619a45a03640064b987a7b5996dc991458c737661a983782d7af53bf89865bf511dbac99384f8ece583b628a2cde0def2cdd3e8c133055d84d9dbed1e1 SHA512 690b3f373c2fb549115f7fdb35880a2c94bf7afa28be2c75d718373e8925897f89d5e34f82b709b11cd8940547289345a8def4debe657f495a0b636a6aa72baa diff --git a/dev-php/symfony-dependency-injection/files/autoload.php b/dev-php/symfony-dependency-injection/files/autoload.php new file mode 100644 index 000000000000..4df35ec39a58 --- /dev/null +++ b/dev-php/symfony-dependency-injection/files/autoload.php @@ -0,0 +1,15 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The DependencyInjection component allows you to standardize + and centralize the way objects are constructed in your application. + + + symfony/dependency-injection + + gentoo-staging + diff --git a/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.20.ebuild b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.20.ebuild new file mode 100644 index 000000000000..9b26caf5c58d --- /dev/null +++ b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.20.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Symfony DependencyInjection Component" +HOMEPAGE="https://github.com/symfony/dependency-injection" +SRC_URI="https://github.com/symfony/dependency-injection/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# The test suite requires the unpackaged symfony-expression-language. +RESTRICT=test + +# I'm not sure if symfony-config and symfony-yaml are actually needed if +# you're not running the test suite... +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/symfony-config-2.1.0 + >=dev-php/symfony-yaml-2.1.0" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/dependency-injection-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/DependencyInjection" + doins -r Compiler Dumper Exception Extension LazyProxy Loader ParameterBag + doins *.php "${FILESDIR}/autoload.php" + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed' +} diff --git a/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.50.ebuild b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.50.ebuild new file mode 100644 index 000000000000..e1ab01ad6686 --- /dev/null +++ b/dev-php/symfony-dependency-injection/symfony-dependency-injection-2.8.50.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Symfony DependencyInjection Component" +HOMEPAGE="https://github.com/symfony/dependency-injection" +SRC_URI="https://github.com/symfony/dependency-injection/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# The test suite requires the unpackaged symfony-expression-language. +RESTRICT=test + +# I'm not sure if symfony-config and symfony-yaml are actually needed if +# you're not running the test suite... +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/symfony-config-2.1.0 + >=dev-php/symfony-yaml-2.1.0" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/dependency-injection-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/DependencyInjection" + doins -r Compiler Dumper Exception Extension LazyProxy Loader ParameterBag + doins *.php "${FILESDIR}/autoload.php" + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed' +} diff --git a/dev-php/symfony-event-dispatcher/Manifest b/dev-php/symfony-event-dispatcher/Manifest new file mode 100644 index 000000000000..f050f1dad3dc --- /dev/null +++ b/dev-php/symfony-event-dispatcher/Manifest @@ -0,0 +1,2 @@ +DIST symfony-event-dispatcher-2.1.0.tar.gz 10271 BLAKE2B 0fcb3fd95643a24ff31d4e60c31e801e488c323358dc723be95471dc01df9d052fc6cb19ce5401ba4512cc4e308fd149975f969cf89406b48d11e48ef6313ee1 SHA512 2430e0955322aa938635b34cfa151166218da51bcc7ac1ff52789fc16aef9eeaa5c504f9d03daa819f47652e5207703314c8695e5023369fe8edf88af06bc54b +DIST symfony-event-dispatcher-2.8.50.tar.gz 15682 BLAKE2B dff817cc540074caabef6bbcd24fedee8bc377fbd688ead9d7a95df9987c79446bac630f806dfa190572a214393676042682b84bed58a6e0d5bb47d0dfd64986 SHA512 ecb5e17d5f0639c49fa35e9dc33d3b7d6a7792c95d9020ede9ceebe0de5e0192101607ac6f797e35a7ea5ced36231e616d76fe4f8ab74c0d42014782de590a35 diff --git a/dev-php/symfony-event-dispatcher/files/autoload.php b/dev-php/symfony-event-dispatcher/files/autoload.php new file mode 100644 index 000000000000..e1accd4c7a6a --- /dev/null +++ b/dev-php/symfony-event-dispatcher/files/autoload.php @@ -0,0 +1,14 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The EventDispatcher component provides tools that allow your + application components to communicate with each other by + dispatching events and listening to them. + + + symfony/event-dispatcher + + gentoo-staging + diff --git a/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild new file mode 100644 index 000000000000..43e947bc1128 --- /dev/null +++ b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.1.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Symfony EventDispatcher Component" +HOMEPAGE="https://github.com/symfony/event-dispatcher" +SRC_URI="https://github.com/symfony/event-dispatcher/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/symfony-dependency-injection-2.1.0" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/event-dispatcher-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/EventDispatcher" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild new file mode 100644 index 000000000000..43e947bc1128 --- /dev/null +++ b/dev-php/symfony-event-dispatcher/symfony-event-dispatcher-2.8.50.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Symfony EventDispatcher Component" +HOMEPAGE="https://github.com/symfony/event-dispatcher" +SRC_URI="https://github.com/symfony/event-dispatcher/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/symfony-dependency-injection-2.1.0" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/event-dispatcher-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/EventDispatcher" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/symfony-filesystem/Manifest b/dev-php/symfony-filesystem/Manifest new file mode 100644 index 000000000000..549662a3198d --- /dev/null +++ b/dev-php/symfony-filesystem/Manifest @@ -0,0 +1,2 @@ +DIST symfony-filesystem-3.4.28.tar.gz 19238 BLAKE2B dcb9752a5691834aa87b3866b6c2f53b54d5953cf721547cf3ae8aa03e826bcacb2393f324bf9a767013a2daebcf9654c7ce18822ac40758d96b35b174b8ab6d SHA512 4a2e19bf6df69396e503e11112d9b37e9deaaba5eb4fa95857b7b19e1ce073462d2ca18442b6cc1c30021f925d0878f635aa9bc1c5de55318f0c521a291efcc8 +DIST symfony-filesystem-3.4.36.tar.gz 19282 BLAKE2B fd084715356b49588ff6a589372ab1958e3bd58b3af690b554ef1562553bf57504ca184fea06a3aa58ea12381773cebb57e11ba385be5c23ebce3f9e576413ec SHA512 2a43d22e64adfe50a1915f3833c70962f90a8da3cf7bb8b7bf30b1e0f17d6bd4857b35687207e019037d24ad71f46228ddd6eb46713117b82a92f94653cb2384 diff --git a/dev-php/symfony-filesystem/files/autoload.php b/dev-php/symfony-filesystem/files/autoload.php new file mode 100644 index 000000000000..8ea8655d904f --- /dev/null +++ b/dev-php/symfony-filesystem/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The Filesystem component provides basic utilities for the filesystem. + + + symfony/filesystem + + gentoo-staging + diff --git a/dev-php/symfony-filesystem/symfony-filesystem-3.4.28.ebuild b/dev-php/symfony-filesystem/symfony-filesystem-3.4.28.ebuild new file mode 100644 index 000000000000..f9398c26fd35 --- /dev/null +++ b/dev-php/symfony-filesystem/symfony-filesystem-3.4.28.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Symfony Filesystem Component" +HOMEPAGE="https://github.com/symfony/filesystem" +SRC_URI="https://github.com/symfony/filesystem/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/filesystem-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Filesystem" + doins -r Exception + doins *.php "${FILESDIR}/autoload.php" + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" \ + --exclude-group network || die 'test suite failed' +} diff --git a/dev-php/symfony-filesystem/symfony-filesystem-3.4.36.ebuild b/dev-php/symfony-filesystem/symfony-filesystem-3.4.36.ebuild new file mode 100644 index 000000000000..03a6ae68819b --- /dev/null +++ b/dev-php/symfony-filesystem/symfony-filesystem-3.4.36.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Symfony Filesystem Component" +HOMEPAGE="https://github.com/symfony/filesystem" +SRC_URI="https://github.com/symfony/filesystem/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/filesystem-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Filesystem" + doins -r Exception + doins *.php "${FILESDIR}/autoload.php" + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" \ + --exclude-group network || die 'test suite failed' +} diff --git a/dev-php/symfony-finder/Manifest b/dev-php/symfony-finder/Manifest new file mode 100644 index 000000000000..ea7b76dad6bb --- /dev/null +++ b/dev-php/symfony-finder/Manifest @@ -0,0 +1,3 @@ +DIST symfony-finder-3.2.8.tar.gz 24452 BLAKE2B eed88ea672381fa3a0fef9390109fa7b89b8de87f4e0174fcb24c009044818b7c56846eec0b3240eed1c05fe7d682713fdd41c84e5d766cc2632e5576b38b741 SHA512 7eff457c6c70bf58b4af7e9adbeeb68a1ad684b95510d929f137545be6b755ece37949687f4de27c7fb4d5f208e30c6b0b3a32a804f7a6a6b8ed0d4ed7dfd9cd +DIST symfony-finder-3.4.28.tar.gz 25618 BLAKE2B 592a10a5e8d7f1782242d79bc11ebfde6d528025a65bb18d5c36b238c418a3df10e637a285d0859bb79ab152aafdad5d61d32396efed6f6fe0e800aff03fae69 SHA512 5b1754e47eb484fddfb1d29f181efaabb371e62c2afe5c7c1d0552ac82de81aff0fbc6594498b859b64cd34cf35e57cf29110d59e5f376263f1b136a4d184b69 +DIST symfony-finder-3.4.38.tar.gz 25631 BLAKE2B e15224294373f35222ba5af10598339714892d637e7ee6e52ad6e0fd22802c3ea7fd9eda2e172ff0f73a3788afc640ff8093440ab71f1182d13783f96d5b70df SHA512 60987869275547b097ce8492164a443f4535d41d8b4453da3aadf96af536dd1ed6148fbb7100959e5ca7f560b2333359c9256e5d76a71e98aa6e3ccd808df051 diff --git a/dev-php/symfony-finder/files/autoload.php b/dev-php/symfony-finder/files/autoload.php new file mode 100644 index 000000000000..f08b7856a720 --- /dev/null +++ b/dev-php/symfony-finder/files/autoload.php @@ -0,0 +1,8 @@ +markTestSkipped('Sorting by atime or ctime is not supported on Windows'); +- } +- $this->assertOrderedIteratorForGroups($expected, $iterator); ++ $this->markTestSkipped('Sorting by time is failure-prone on Gentoo'); + } else { + $this->assertOrderedIterator($expected, $iterator); + } diff --git a/dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch b/dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch new file mode 100644 index 000000000000..25729f89e1ef --- /dev/null +++ b/dev-php/symfony-finder/files/symfony-finder-3.4.28-skip-file-time-sort-tests.patch @@ -0,0 +1,20 @@ +There's one set of tests that tries to sort an array of files by their +access and modification times, and that doesn't work if your filesystem +is mounted with noatime (a lot of our users do that). + +This should probably be fixed upstream, and has been reported here: + +https://github.com/symfony/symfony/issues/17489 + +--- a/Tests/Iterator/SortableIteratorTest.php ++++ b/Tests/Iterator/SortableIteratorTest.php +@@ -65,7 +65,8 @@ class SortableIteratorTest extends RealIteratorTestCase + if ('\\' === \DIRECTORY_SEPARATOR && SortableIterator::SORT_BY_MODIFIED_TIME !== $mode) { + $this->markTestSkipped('Sorting by atime or ctime is not supported on Windows'); + } +- $this->assertOrderedIteratorForGroups($expected, $iterator); ++ // $this->assertOrderedIteratorForGroups($expected, $iterator); ++ $this->markTestSkipped('Sorting by time is failure-prone on Gentoo'); + } else { + $this->assertOrderedIterator($expected, $iterator); + } diff --git a/dev-php/symfony-finder/metadata.xml b/dev-php/symfony-finder/metadata.xml new file mode 100644 index 000000000000..a55acf577330 --- /dev/null +++ b/dev-php/symfony-finder/metadata.xml @@ -0,0 +1,23 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The Finder component finds files and directories + via an intuitive fluent interface. + + + symfony/finder + + gentoo-staging + diff --git a/dev-php/symfony-finder/symfony-finder-3.2.8.ebuild b/dev-php/symfony-finder/symfony-finder-3.2.8.ebuild new file mode 100644 index 000000000000..e23f14897771 --- /dev/null +++ b/dev-php/symfony-finder/symfony-finder-3.2.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Symfony Finder Component" +HOMEPAGE="https://github.com/symfony/finder" +SRC_URI="https://github.com/symfony/finder/archive/v${PV}.tar.gz -> symfony-finder-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/finder-${PV}" + +PATCHES=( "${FILESDIR}/skip-file-time-sort-tests.patch" ) + +src_prepare() { + default + if use test; then + cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Finder" + doins -r Comparator Exception Iterator + doins *.php "${FILESDIR}"/autoload.php + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed' +} diff --git a/dev-php/symfony-finder/symfony-finder-3.4.28.ebuild b/dev-php/symfony-finder/symfony-finder-3.4.28.ebuild new file mode 100644 index 000000000000..a798357e9391 --- /dev/null +++ b/dev-php/symfony-finder/symfony-finder-3.4.28.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Symfony Finder Component" +HOMEPAGE="https://github.com/symfony/finder" +SRC_URI="https://github.com/symfony/finder/archive/v${PV}.tar.gz -> symfony-finder-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/finder-${PV}" + +PATCHES=( "${FILESDIR}"/${PN}-3.4.28-skip-file-time-sort-tests.patch ) + +src_prepare() { + default + if use test; then + cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Finder" + doins -r Comparator Exception Iterator + doins *.php "${FILESDIR}"/autoload.php + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed' +} diff --git a/dev-php/symfony-finder/symfony-finder-3.4.38.ebuild b/dev-php/symfony-finder/symfony-finder-3.4.38.ebuild new file mode 100644 index 000000000000..cf2ac3ad9a12 --- /dev/null +++ b/dev-php/symfony-finder/symfony-finder-3.4.38.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Symfony Finder Component" +HOMEPAGE="https://github.com/symfony/finder" +SRC_URI="https://github.com/symfony/finder/archive/v${PV}.tar.gz -> symfony-finder-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-5.7.15 )" + +S="${WORKDIR}/finder-${PV}" + +PATCHES=( "${FILESDIR}"/${PN}-3.4.28-skip-file-time-sort-tests.patch ) + +src_prepare() { + default + if use test; then + cp "${FILESDIR}/autoload.php" "${S}/autoload-test.php" || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Finder" + doins -r Comparator Exception Iterator + doins *.php "${FILESDIR}"/autoload.php + dodoc CHANGELOG.md README.md +} + +src_test() { + phpunit --bootstrap "${S}/autoload-test.php" || die 'test suite failed' +} diff --git a/dev-php/symfony-process/Manifest b/dev-php/symfony-process/Manifest new file mode 100644 index 000000000000..21376989361c --- /dev/null +++ b/dev-php/symfony-process/Manifest @@ -0,0 +1,2 @@ +DIST symfony-process-3.4.29.tar.gz 34684 BLAKE2B 87f79a17ac321b395a634f0b83a0d218c39a06f0b5b553904c1c00431ffaf94f7bd26aa015cd426f5ba7726f09328b4b1d4475f4f8c229eedc1d52fc3f0142c1 SHA512 9e19406cad79f51d4ec811460a762c3a5004679e53777ca37049f5d8eb73bc3b569e266bd11ecddfc42481d7f05a4850bd6901c3ec2dd1d398d5077cdbe2e0bd +DIST symfony-process-3.4.38.tar.gz 34424 BLAKE2B d990ba77e1d1e9b00e1b22381c9b3c454d94a8705ff7bd9830b59a32108f590efbb7e434e0f11421ccb143aa72d659d7211062c07c0cb36d18aae1f01e073b3a SHA512 14ff5f874904166978cb4021c87fde42611f05505498a8257089f97ae6f65051427c0f8e720a28b57e64de436818967676e35ddfc273e86b809ea0bf590662af diff --git a/dev-php/symfony-process/files/autoload.php b/dev-php/symfony-process/files/autoload.php new file mode 100644 index 000000000000..f0b5ceb02c9b --- /dev/null +++ b/dev-php/symfony-process/files/autoload.php @@ -0,0 +1,9 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The Process component executes commands in sub-processes. + + + symfony/process + + gentoo-staging + diff --git a/dev-php/symfony-process/symfony-process-3.4.29.ebuild b/dev-php/symfony-process/symfony-process-3.4.29.ebuild new file mode 100644 index 000000000000..27f884f7d553 --- /dev/null +++ b/dev-php/symfony-process/symfony-process-3.4.29.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Symfony Process Component" +HOMEPAGE="https://github.com/symfony/process" +SRC_URI="https://github.com/symfony/process/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/process-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Process" + doins -r Exception/ Pipes/ ExecutableFinder.php InputStream.php \ + LICENSE PhpExecutableFinder.php PhpProcess.php ProcessBuilder.php \ + Process.php ProcessUtils.php "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/symfony-process/symfony-process-3.4.38.ebuild b/dev-php/symfony-process/symfony-process-3.4.38.ebuild new file mode 100644 index 000000000000..569fa48b0205 --- /dev/null +++ b/dev-php/symfony-process/symfony-process-3.4.38.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="Symfony Process Component" +HOMEPAGE="https://github.com/symfony/process" +SRC_URI="https://github.com/symfony/process/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/process-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Process" + doins -r Exception/ Pipes/ ExecutableFinder.php InputStream.php \ + LICENSE PhpExecutableFinder.php PhpProcess.php ProcessBuilder.php \ + Process.php ProcessUtils.php "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/symfony-yaml/Manifest b/dev-php/symfony-yaml/Manifest new file mode 100644 index 000000000000..cbac5dad0cbc --- /dev/null +++ b/dev-php/symfony-yaml/Manifest @@ -0,0 +1 @@ +DIST symfony-yaml-2.1.0.tar.gz 37056 BLAKE2B df1eb0164db026e8157ec8e61941b158b252c048349acc37a060ab44e27004653c3deafc48d6d99e61cda1d67978742d1dd7e74e144adf114d8bcc39610a2b9a SHA512 984fbd624d4bf70ae964da60d55b6d9883642eabce54f080c04d3d12b4d64e63f036683bc12052b0958bd4575f1b693f1453b2505e5e5666ddf2fb13c40e927f diff --git a/dev-php/symfony-yaml/files/autoload.php b/dev-php/symfony-yaml/files/autoload.php new file mode 100644 index 000000000000..32b88aa583a0 --- /dev/null +++ b/dev-php/symfony-yaml/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + php-bugs@gentoo.org + + + The Yaml component loads and dumps YAML files. + + + symfony/yaml + + gentoo-staging + diff --git a/dev-php/symfony-yaml/symfony-yaml-2.1.0.ebuild b/dev-php/symfony-yaml/symfony-yaml-2.1.0.ebuild new file mode 100644 index 000000000000..cb87bb539e18 --- /dev/null +++ b/dev-php/symfony-yaml/symfony-yaml-2.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Symfony YAML Component" +HOMEPAGE="https://github.com/symfony/yaml" +SRC_URI="https://github.com/symfony/yaml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="test" +RESTRICT="test" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader" +DEPEND=" + test? ( + ${RDEPEND} + dev-php/phpunit )" + +S="${WORKDIR}/yaml-${PV}" + +src_prepare() { + default + if use test; then + cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die + fi +} + +src_install() { + insinto "/usr/share/php/Symfony/Component/Yaml" + doins -r . "${FILESDIR}"/autoload.php + dodoc README.md +} + +src_test() { + phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" +} diff --git a/dev-php/tcpdf/Manifest b/dev-php/tcpdf/Manifest new file mode 100644 index 000000000000..a40e40fbcab7 --- /dev/null +++ b/dev-php/tcpdf/Manifest @@ -0,0 +1,2 @@ +DIST tcpdf-6.2.25.tar.gz 17006366 BLAKE2B f95d9d4931d56459d5ae9ea9bcaad72a31abaa8e9404fea17bc69089fb93b89d94a027512568282b6b8758651c3d347c3190a38db7ee200939cc045b9f12650b SHA512 d2e2bdf080c0a6af918a14c4f5704ee4bf7adad76044c89c3165afe392e39fa7bf98271da976cec7f024e3047e1df49090cb0206084efa77bb5b76708d6524c8 +DIST tcpdf-6.2.26.tar.gz 17004923 BLAKE2B bd99f036a808c0063d0cb48e59dab09f313d1dd19095d8131b38c161876f325736da73745a9e47d1ecc4b29b4e961db13761037cfa453d16127761c3518a9c96 SHA512 8ea2b1f2b3cfaa07a903cf286a63ab6b7e5e49881395f905e35740bcecf2ea8ffb1fd569d5dd4f6908918c8be1467be3051dff912416bc8ec80b8848068066be diff --git a/dev-php/tcpdf/metadata.xml b/dev-php/tcpdf/metadata.xml new file mode 100644 index 000000000000..86e6a346125d --- /dev/null +++ b/dev-php/tcpdf/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + tecnickcom/TCPDF + + gentoo-staging + diff --git a/dev-php/tcpdf/tcpdf-6.2.25.ebuild b/dev-php/tcpdf/tcpdf-6.2.25.ebuild new file mode 100644 index 000000000000..ff9b6ad05128 --- /dev/null +++ b/dev-php/tcpdf/tcpdf-6.2.25.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="TCPDF is a FLOSS PHP class for generating PDF documents" +HOMEPAGE="http://www.tcpdf.org/" +SRC_URI="https://github.com/tecnickcom/TCPDF/archive/${PV}.tar.gz + -> ${P}.tar.gz" +# Main source is LGPL-3+, some included fonts have other licenses +LICENSE="LGPL-3+ GPL-3 BitstreamVera GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="dev-lang/php" + +S="${WORKDIR}/${P^^}" + +src_install() { + insinto /etc + doins config/tcpdf_config.php + # Create a symlink for the config file, because the library will only + # look for it in its own source tree (not in /etc where we've put it). + dosym ../../../../../etc/tcpdf_config.php "/usr/share/php/${PN}/config/tcpdf_config.php" + + exeinto "/usr/share/php/${PN}/tools" + doexe tools/tcpdf_addfont.php + + insinto "/usr/share/php/${PN}" + doins tcpdf*.php + doins -r include fonts + DOCS=( CHANGELOG.TXT README.md ) + + use examples && HTML_DOCS=( examples ) + einstalldocs +} diff --git a/dev-php/tcpdf/tcpdf-6.2.26.ebuild b/dev-php/tcpdf/tcpdf-6.2.26.ebuild new file mode 100644 index 000000000000..533692a50169 --- /dev/null +++ b/dev-php/tcpdf/tcpdf-6.2.26.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="TCPDF is a FLOSS PHP class for generating PDF documents" +HOMEPAGE="http://www.tcpdf.org/" +SRC_URI="https://github.com/tecnickcom/TCPDF/archive/${PV}.tar.gz + -> ${P}.tar.gz" +# Main source is LGPL-3+, some included fonts have other licenses +LICENSE="LGPL-3+ GPL-3 BitstreamVera GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +RDEPEND="dev-lang/php" + +S="${WORKDIR}/${P^^}" + +src_install() { + insinto /etc + doins config/tcpdf_config.php + # Create a symlink for the config file, because the library will only + # look for it in its own source tree (not in /etc where we've put it). + dosym ../../../../../etc/tcpdf_config.php "/usr/share/php/${PN}/config/tcpdf_config.php" + + exeinto "/usr/share/php/${PN}/tools" + doexe tools/tcpdf_addfont.php + + insinto "/usr/share/php/${PN}" + doins tcpdf*.php + doins -r include fonts + DOCS=( CHANGELOG.TXT README.md ) + + use examples && HTML_DOCS=( examples ) + einstalldocs +} diff --git a/dev-php/theseer-tokenizer/Manifest b/dev-php/theseer-tokenizer/Manifest new file mode 100644 index 000000000000..e15e922ad4c2 --- /dev/null +++ b/dev-php/theseer-tokenizer/Manifest @@ -0,0 +1,2 @@ +DIST theseer-tokenizer-1.1.0.tar.gz 10163 BLAKE2B b2360f901d60f784db2045912707a8e293a55967d60d4e72168a1c4b0c9a2d5bdb739fbed9bfec02075476e7bf6762eb1cc7e36870b84fcc341b609527579ca2 SHA512 8b500565dc0d6c8513db3aa72a7ee1fa04510a712ce9b0977feccddc6b2dae53825e39182d43508e196f326776115789e81697116418f6f9f63d08f0c05d0543 +DIST theseer-tokenizer-1.1.3.tar.gz 10553 BLAKE2B 4bed1623abe110cec432a97fbd28752618420a188b450c935c77b5771d6986be9a51c8f100fd81a89d892b0c1e2b46b0124e3c35e3cbe2138eee2d520c74933a SHA512 e29fd41b311bac8021f4c0593d79a9c1bde4b6ccf4774e94d27a0e8a97bac3844109f9312c4aab6e239365630394b602b56a084c291dc13fb439dc8ac22944e3 diff --git a/dev-php/theseer-tokenizer/files/autoload.php b/dev-php/theseer-tokenizer/files/autoload.php new file mode 100644 index 000000000000..67f5bd3506e0 --- /dev/null +++ b/dev-php/theseer-tokenizer/files/autoload.php @@ -0,0 +1,20 @@ + '/Exception.php', + 'theseer\\tokenizer\\namespaceuri' => '/NamespaceUri.php', + 'theseer\\tokenizer\\namespaceuriexception' => '/NamespaceUriException.php', + 'theseer\\tokenizer\\token' => '/Token.php', + 'theseer\\tokenizer\\tokencollection' => '/TokenCollection.php', + 'theseer\\tokenizer\\tokencollectionexception' => '/TokenCollectionException.php', + 'theseer\\tokenizer\\tokenizer' => '/Tokenizer.php', + 'theseer\\tokenizer\\xmlserializer' => '/XMLSerializer.php', + ], + __DIR__ +); diff --git a/dev-php/theseer-tokenizer/metadata.xml b/dev-php/theseer-tokenizer/metadata.xml new file mode 100644 index 000000000000..0ec9ecaeef62 --- /dev/null +++ b/dev-php/theseer-tokenizer/metadata.xml @@ -0,0 +1,12 @@ + + + + + php-bugs@gentoo.org + PHP + + + theseer/tokenizer + + gentoo-staging + diff --git a/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.0.ebuild b/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.0.ebuild new file mode 100644 index 000000000000..f55bd6c3895a --- /dev/null +++ b/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Convert tokenized PHP source code into XML and other formats" +HOMEPAGE="https://github.com/theseer/tokenizer" +SRC_URI="https://github.com/theseer/tokenizer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +S="${WORKDIR}/tokenizer-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.0:*[tokenizer,xmlwriter]" + +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_prepare() { + cp "${FILESDIR}/autoload.php" src/ || die + default +} + +src_install() { + insinto /usr/share/php/TheSeer/Tokenizer + doins src/*.php + dodoc README.md +} + +src_test() { + phpunit || die "Unit testing failed!" +} diff --git a/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.3.ebuild b/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.3.ebuild new file mode 100644 index 000000000000..88e27eb644ac --- /dev/null +++ b/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Convert tokenized PHP source code into XML and other formats" +HOMEPAGE="https://github.com/theseer/tokenizer" +SRC_URI="https://github.com/theseer/tokenizer/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +S="${WORKDIR}/tokenizer-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.0:*[tokenizer,xmlwriter]" + +DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_prepare() { + cp "${FILESDIR}/autoload.php" src/ || die + default +} + +src_install() { + insinto /usr/share/php/TheSeer/Tokenizer + doins src/*.php + dodoc README.md +} + +src_test() { + phpunit || die "Unit testing failed!" +} diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest new file mode 100644 index 000000000000..5f5c81ed5330 --- /dev/null +++ b/dev-php/twig/Manifest @@ -0,0 +1,2 @@ +DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1 +DIST twig-1.42.3.tar.gz 278164 BLAKE2B 4bff9f7f85ce8ca00871e9342ec11a68d4b930f7761bc7404f504322483d328570e9e540e2518b5e1ad513002ce95686b7a1a47ff7aa4b28c16b2871ba759b01 SHA512 9dc892d80445f9fa9a3bde5cfdc49f2975a43f36123c1f4bbbb40740269e9aa4355d0d8668552e535f74a8ff27cc8ee1dc6983b50567993c1deab09569a7c5e3 diff --git a/dev-php/twig/files/Autoloader.php b/dev-php/twig/files/Autoloader.php new file mode 100644 index 000000000000..e4bef5471257 --- /dev/null +++ b/dev-php/twig/files/Autoloader.php @@ -0,0 +1,18 @@ + + + + + djc@gentoo.org + Dirkjan Ochtman + + + php-bugs@gentoo.org + PHP + + + twigphp/Twig + + gentoo-staging + diff --git a/dev-php/twig/twig-1.40.1-r1.ebuild b/dev-php/twig/twig-1.40.1-r1.ebuild new file mode 100644 index 000000000000..5935eab4bd1d --- /dev/null +++ b/dev-php/twig/twig-1.40.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="Twig" +S="${WORKDIR}/${MY_PN}-${PV}" + +DESCRIPTION="PHP templating engine with syntax similar to Django" +HOMEPAGE="http://twig.sensiolabs.org/" +SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-lang/php:*[ctype] dev-php/fedora-autoloader" +DEPEND="test? ( dev-php/phpunit ${RDEPEND} )" +# Test fail due to missing Symphony dependencies +RESTRICT="test" + +src_install() { + # The autoloader requires the 'T' in "Twig" capitalized. + insinto "/usr/share/php/${MY_PN}/lib" + doins -r lib/"${MY_PN}"/* + insinto "/usr/share/php/${MY_PN}/src" + doins -r src/* + insinto "/usr/share/php/${MY_PN}" + doins "${FILESDIR}/Autoloader.php" + + dodoc README.rst CHANGELOG + + # This installs the reStructuredText source documents. There's got + # to be some way to turn them into HTML using Sphinx, but upstream + # doesn't provide for it. + use doc && dodoc -r doc +} + +src_test() { + cp "${FILESDIR}/Autoloader.php" "${S}" || die + phpunit --bootstrap Autoloader.php || die "test suite failed" + rm "${S}/Autoloader.php" || die +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${MY_PN}/." + elog "To use it in a script, require('${MY_PN}/Autoloader.php')" +} diff --git a/dev-php/twig/twig-1.42.3-r1.ebuild b/dev-php/twig/twig-1.42.3-r1.ebuild new file mode 100644 index 000000000000..1b651a90eb5c --- /dev/null +++ b/dev-php/twig/twig-1.42.3-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="Twig" +S="${WORKDIR}/${MY_PN}-${PV}" + +DESCRIPTION="PHP templating engine with syntax similar to Django" +HOMEPAGE="http://twig.sensiolabs.org/" +SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-lang/php:*[ctype] dev-php/fedora-autoloader" +DEPEND="test? ( dev-php/phpunit ${RDEPEND} )" +# Test fail due to missing Symphony dependencies +RESTRICT="test" + +src_install() { + # The autoloader requires the 'T' in "Twig" capitalized. + insinto "/usr/share/php/${MY_PN}/lib/${MY_PN}" + doins -r lib/"${MY_PN}"/* + insinto "/usr/share/php/${MY_PN}/src" + doins -r src/* + insinto "/usr/share/php/${MY_PN}" + doins "${FILESDIR}/Autoloader.php" + + dodoc README.rst CHANGELOG + + # This installs the reStructuredText source documents. There's got + # to be some way to turn them into HTML using Sphinx, but upstream + # doesn't provide for it. + use doc && dodoc -r doc +} + +src_test() { + cp "${FILESDIR}/Autoloader.php" "${S}" || die + phpunit --bootstrap Autoloader.php || die "test suite failed" + rm "${S}/Autoloader.php" || die +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${MY_PN}/." + elog "To use it in a script, require('${MY_PN}/Autoloader.php')" +} diff --git a/dev-php/twig/twig-1.42.3.ebuild b/dev-php/twig/twig-1.42.3.ebuild new file mode 100644 index 000000000000..5935eab4bd1d --- /dev/null +++ b/dev-php/twig/twig-1.42.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="Twig" +S="${WORKDIR}/${MY_PN}-${PV}" + +DESCRIPTION="PHP templating engine with syntax similar to Django" +HOMEPAGE="http://twig.sensiolabs.org/" +SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-lang/php:*[ctype] dev-php/fedora-autoloader" +DEPEND="test? ( dev-php/phpunit ${RDEPEND} )" +# Test fail due to missing Symphony dependencies +RESTRICT="test" + +src_install() { + # The autoloader requires the 'T' in "Twig" capitalized. + insinto "/usr/share/php/${MY_PN}/lib" + doins -r lib/"${MY_PN}"/* + insinto "/usr/share/php/${MY_PN}/src" + doins -r src/* + insinto "/usr/share/php/${MY_PN}" + doins "${FILESDIR}/Autoloader.php" + + dodoc README.rst CHANGELOG + + # This installs the reStructuredText source documents. There's got + # to be some way to turn them into HTML using Sphinx, but upstream + # doesn't provide for it. + use doc && dodoc -r doc +} + +src_test() { + cp "${FILESDIR}/Autoloader.php" "${S}" || die + phpunit --bootstrap Autoloader.php || die "test suite failed" + rm "${S}/Autoloader.php" || die +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${MY_PN}/." + elog "To use it in a script, require('${MY_PN}/Autoloader.php')" +} diff --git a/dev-php/webmozart-assert/Manifest b/dev-php/webmozart-assert/Manifest new file mode 100644 index 000000000000..6519cc55db61 --- /dev/null +++ b/dev-php/webmozart-assert/Manifest @@ -0,0 +1,2 @@ +DIST webmozart-assert-1.2.0.tar.gz 11866 BLAKE2B 86cb0f299efff9822ea79964153b17337eac3e17a968b5201680186cfb3f6721b2ca561e041e71b304c6d29d227b446f7f52b65d5a6fc490c8535dd4fee0160c SHA512 36bae648cfe5bbd258d738574a820ea3de2e95b59700d556dd5eadbb1657bc09a7e73000e3436d020e060ecd2a99944199795f315a278acbeeea90570b0a4a22 +DIST webmozart-assert-1.4.0.tar.gz 9241 BLAKE2B bbe5d42732c99700f11db6a3a8b6d6753d60b3e6fbfb8412383459199139f31e3ec55e4abee03295adea19c9c48edb0f13a11597b654fdd0de0a7823ed545586 SHA512 1ed2328de800bb98b7c00264009182934006ae146d86aa313f3478b9f3a7e6eed9dee026ed80d18393724840711ecd9891ee34178676470d12cac8124f819309 diff --git a/dev-php/webmozart-assert/files/autoload.php b/dev-php/webmozart-assert/files/autoload.php new file mode 100644 index 000000000000..45ece0641b6b --- /dev/null +++ b/dev-php/webmozart-assert/files/autoload.php @@ -0,0 +1,8 @@ + + + + + php-bugs@gentoo.org + PHP + + + webmozart/ + + gentoo-staging + diff --git a/dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild b/dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild new file mode 100644 index 000000000000..2aa48ea7b94c --- /dev/null +++ b/dev-php/webmozart-assert/webmozart-assert-1.2.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/webmozart-//}" + +DESCRIPTION="Assertions to validate method input/output with nice error messages" +HOMEPAGE="https://github.com/webmozart/assert" +SRC_URI="https://github.com/webmozart/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~s390 sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/Webmozart/Assert + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/webmozart-assert/webmozart-assert-1.4.0.ebuild b/dev-php/webmozart-assert/webmozart-assert-1.4.0.ebuild new file mode 100644 index 000000000000..fcfe27496da6 --- /dev/null +++ b/dev-php/webmozart-assert/webmozart-assert-1.4.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="${PN/webmozart-//}" + +DESCRIPTION="Assertions to validate method input/output with nice error messages" +HOMEPAGE="https://github.com/webmozart/assert" +SRC_URI="https://github.com/webmozart/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/Webmozart/Assert + doins -r src/* + doins "${FILESDIR}/autoload.php" +} diff --git a/dev-php/xdebug-client/Manifest b/dev-php/xdebug-client/Manifest new file mode 100644 index 000000000000..3c5d6ff6eee5 --- /dev/null +++ b/dev-php/xdebug-client/Manifest @@ -0,0 +1,3 @@ +DIST xdebug-2.9.4.tar.gz 434622 BLAKE2B bd0d0c6a46867ffba88693f142346d11b5abfab3254c549b74ff9169536c42903b1fb1cb94c3344060590b63e287878ea05c6ef7ad8343234bada3857e0dbe75 SHA512 cf19fb9fd12c32e04c18f296694d0667dfe6e14617da932804d17526c88ab19dd2307ad43d036a8c0cb1f871a964523473879da8815f346faf83ec3b9e3952e3 +DIST xdebug-2.9.5.tar.gz 434947 BLAKE2B 08fd7cc92880c9b00180d495341fc7e54998cf3c2294b824d94c3c4ed982ae5b087084b776bcc4f8f4e1aa420396c803d330bc76748cf972cccab4e3f1416d38 SHA512 2a937d08468d3a2963559a56bdf9c9aa6ede3f0ee63797aa14831bcab33a5ede65b87791171a0c794eefdfcffa65bb4d0c06b5377fe03ade65f4defa6e328c72 +DIST xdebug-2.9.6.tar.gz 436208 BLAKE2B 00cfb42c41bfb44f285b97779d6ba625641fc34494465e9e791ab5458c6a608e432df0ad45c561df2f8c9aba04ab34b3a98bb5e6bfb92ace39a3ad4145f3514a SHA512 13ed07a1489ba7bc0b4e85bf56306c733e7894cea8cb442649635196606b12d92e5618ab2485e7cde4aaee2ac6752993aecd933c24fd64b5113ef619339403d2 diff --git a/dev-php/xdebug-client/metadata.xml b/dev-php/xdebug-client/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/xdebug-client/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/xdebug-client/xdebug-client-2.9.4.ebuild b/dev-php/xdebug-client/xdebug-client-2.9.4.ebuild new file mode 100644 index 000000000000..e78a7cba61c8 --- /dev/null +++ b/dev-php/xdebug-client/xdebug-client-2.9.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +KEYWORDS="amd64 ~hppa ppc ppc64 x86" + +MY_PN="xdebug" +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +inherit autotools + +DESCRIPTION="Xdebug client for the Common Debugger Protocol (DBGP)" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="http://pecl.php.net/get/xdebug-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="libedit" + +S="${WORKDIR}/${MY_PN}-${MY_PV}/debugclient" + +DEPEND="libedit? ( dev-libs/libedit ) net-libs/libnsl:0=" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_with libedit) +} + +src_install() { + newbin debugclient xdebug +} diff --git a/dev-php/xdebug-client/xdebug-client-2.9.5.ebuild b/dev-php/xdebug-client/xdebug-client-2.9.5.ebuild new file mode 100644 index 000000000000..ad1c2866a297 --- /dev/null +++ b/dev-php/xdebug-client/xdebug-client-2.9.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +MY_PN="xdebug" +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +inherit autotools + +DESCRIPTION="Xdebug client for the Common Debugger Protocol (DBGP)" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="http://pecl.php.net/get/xdebug-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="libedit" + +S="${WORKDIR}/${MY_PN}-${MY_PV}/debugclient" + +DEPEND="libedit? ( dev-libs/libedit ) net-libs/libnsl:0=" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_with libedit) +} + +src_install() { + newbin debugclient xdebug +} diff --git a/dev-php/xdebug-client/xdebug-client-2.9.6.ebuild b/dev-php/xdebug-client/xdebug-client-2.9.6.ebuild new file mode 100644 index 000000000000..ad1c2866a297 --- /dev/null +++ b/dev-php/xdebug-client/xdebug-client-2.9.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +MY_PN="xdebug" +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +inherit autotools + +DESCRIPTION="Xdebug client for the Common Debugger Protocol (DBGP)" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="http://pecl.php.net/get/xdebug-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="libedit" + +S="${WORKDIR}/${MY_PN}-${MY_PV}/debugclient" + +DEPEND="libedit? ( dev-libs/libedit ) net-libs/libnsl:0=" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf $(use_with libedit) +} + +src_install() { + newbin debugclient xdebug +} diff --git a/dev-php/xdebug-handler/Manifest b/dev-php/xdebug-handler/Manifest new file mode 100644 index 000000000000..2ea6a104365d --- /dev/null +++ b/dev-php/xdebug-handler/Manifest @@ -0,0 +1,3 @@ +DIST xdebug-handler-1.3.0.tar.gz 12363 BLAKE2B ad89580e57728a444958d72f236fee14665f6fbed998018a28b181cdfc3a448da0a06dc335c3d95413eff6f6b92fc3d44ac8c03da282eb3dc65ae14600430825 SHA512 ed0206982c5ffab3c8ff56dcf8055230aaa358fbe89c15880cfce33abc27adb3b13f75bf7d78988f6bae4d0d072c66f557cd93082e89e7ca7993b257c04a2c61 +DIST xdebug-handler-1.3.1.tar.gz 12589 BLAKE2B fcee0a2412473f5e7a07defa96b991803728f831c8ab0dfa053c3ff8671a2dd187d5199e51ac90579830f5a005038411c2097be8a1f1370e8e06d090922f508a SHA512 a00d9cb8e23cd6bbad6c25f82c8db314451a88f49d90e755a9c81fa57794ecc79612481e031d60cdb2ee4fd4e256ffc02e847c76089daf720f8811659799131e +DIST xdebug-handler-1.4.1.tar.gz 13190 BLAKE2B 05637bbe52896f779026258e5b69d6fae03d575e8a497ea983fe67354af6277a7769ec32ce3c10682ce2f654c135086710836005561211b04958546180228d50 SHA512 ac79debf0cb6a31f90354115b6fda1d373b148691dd0b86044ae7a257f2fc6998a773e1b150519d12e6dcbeddf326ed38f9b8fbdc0dec736ebfc4cc6e83a462d diff --git a/dev-php/xdebug-handler/files/autoload.php b/dev-php/xdebug-handler/files/autoload.php new file mode 100644 index 000000000000..387e9d01ac7d --- /dev/null +++ b/dev-php/xdebug-handler/files/autoload.php @@ -0,0 +1,8 @@ + + + + + guillaumeseren@gmail.com + Guillaume Seren + + + proxy-maint@gentoo.org + Proxy Maintainers + + + composer/xdebug-handler + + gentoo-staging + diff --git a/dev-php/xdebug-handler/xdebug-handler-1.3.0.ebuild b/dev-php/xdebug-handler/xdebug-handler-1.3.0.ebuild new file mode 100644 index 000000000000..806a747fbd38 --- /dev/null +++ b/dev-php/xdebug-handler/xdebug-handler-1.3.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Restart a CLI process without loading the xdebug extension" +HOMEPAGE="https://github.com/composer/xdebug-handler" +SRC_URI="https://github.com/composer/xdebug-handler/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2" + +src_install() { + insinto /usr/share/php/Composer/XdebugHandler + doins src/*.php "${FILESDIR}/autoload.php" + dodoc README.md +} diff --git a/dev-php/xdebug-handler/xdebug-handler-1.3.1.ebuild b/dev-php/xdebug-handler/xdebug-handler-1.3.1.ebuild new file mode 100644 index 000000000000..806a747fbd38 --- /dev/null +++ b/dev-php/xdebug-handler/xdebug-handler-1.3.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Restart a CLI process without loading the xdebug extension" +HOMEPAGE="https://github.com/composer/xdebug-handler" +SRC_URI="https://github.com/composer/xdebug-handler/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2" + +src_install() { + insinto /usr/share/php/Composer/XdebugHandler + doins src/*.php "${FILESDIR}/autoload.php" + dodoc README.md +} diff --git a/dev-php/xdebug-handler/xdebug-handler-1.4.1.ebuild b/dev-php/xdebug-handler/xdebug-handler-1.4.1.ebuild new file mode 100644 index 000000000000..806a747fbd38 --- /dev/null +++ b/dev-php/xdebug-handler/xdebug-handler-1.4.1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Restart a CLI process without loading the xdebug extension" +HOMEPAGE="https://github.com/composer/xdebug-handler" +SRC_URI="https://github.com/composer/xdebug-handler/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:* + dev-php/fedora-autoloader + >=dev-php/psr-log-1.0.2" + +src_install() { + insinto /usr/share/php/Composer/XdebugHandler + doins src/*.php "${FILESDIR}/autoload.php" + dodoc README.md +} diff --git a/dev-php/xdebug/Manifest b/dev-php/xdebug/Manifest new file mode 100644 index 000000000000..3c5d6ff6eee5 --- /dev/null +++ b/dev-php/xdebug/Manifest @@ -0,0 +1,3 @@ +DIST xdebug-2.9.4.tar.gz 434622 BLAKE2B bd0d0c6a46867ffba88693f142346d11b5abfab3254c549b74ff9169536c42903b1fb1cb94c3344060590b63e287878ea05c6ef7ad8343234bada3857e0dbe75 SHA512 cf19fb9fd12c32e04c18f296694d0667dfe6e14617da932804d17526c88ab19dd2307ad43d036a8c0cb1f871a964523473879da8815f346faf83ec3b9e3952e3 +DIST xdebug-2.9.5.tar.gz 434947 BLAKE2B 08fd7cc92880c9b00180d495341fc7e54998cf3c2294b824d94c3c4ed982ae5b087084b776bcc4f8f4e1aa420396c803d330bc76748cf972cccab4e3f1416d38 SHA512 2a937d08468d3a2963559a56bdf9c9aa6ede3f0ee63797aa14831bcab33a5ede65b87791171a0c794eefdfcffa65bb4d0c06b5377fe03ade65f4defa6e328c72 +DIST xdebug-2.9.6.tar.gz 436208 BLAKE2B 00cfb42c41bfb44f285b97779d6ba625641fc34494465e9e791ab5458c6a608e432df0ad45c561df2f8c9aba04ab34b3a98bb5e6bfb92ace39a3ad4145f3514a SHA512 13ed07a1489ba7bc0b4e85bf56306c733e7894cea8cb442649635196606b12d92e5618ab2485e7cde4aaee2ac6752993aecd933c24fd64b5113ef619339403d2 diff --git a/dev-php/xdebug/files/2.6.0-xdebug.ini b/dev-php/xdebug/files/2.6.0-xdebug.ini new file mode 100644 index 000000000000..e37ada0ef8fe --- /dev/null +++ b/dev-php/xdebug/files/2.6.0-xdebug.ini @@ -0,0 +1,54 @@ +;xdebug.auto_trace = 0 +;xdebug.cli_color = 0 +;xdebug.collect_assignments = 0 +;xdebug.collect_includes = 1 +;xdebug.collect_params = 0 +;xdebug.collect_return = 0 +;xdebug.collect_vars = 0 +;xdebug.coverage_enable = 1 +xdebug.default_enable = 0 +;xdebug.dump.* = Empty +;xdebug.dump_globals = 1 +;xdebug.dump_once = 1 +;xdebug.dump_undefined = 0 +;xdebug.extended_info = 1 +;xdebug.file_link_format = +;xdebug.force_display_errors = 0 +;xdebug.force_error_reporting = 0 +;xdebug.halt_level = 0 +;xdebug.idekey = *complex* +;xdebug.manual_url = http://www.php.net +;xdebug.max_nesting_level = 256 +;xdebug.max_stack_frames = -1 +;xdebug.overload_var_dump = 2 +;xdebug.profiler_aggregate = 0 +;xdebug.profiler_append = 0 +;xdebug.profiler_enable = 0 +;xdebug.profiler_enable_trigger = 0 +;xdebug.profiler_enable_trigger_value = "" +;xdebug.profiler_output_dir = /tmp +;xdebug.profiler_output_name = cachegrind.out.%p +;xdebug.remote_addr_header = "" +;xdebug.remote_autostart = 0 +;xdebug.remote_connect_back = 0 +;xdebug.remote_cookie_expire_time = 3600 +;xdebug.remote_enable = 0 +;xdebug.remote_handler = dbgp +;xdebug.remote_host = localhost +;xdebug.remote_log = +;xdebug.remote_mode = req +;xdebug.remote_port = 9000 +;xdebug.scream = 0 +;xdebug.show_error_trace = 0 +;xdebug.show_exception_trace = 0 +;xdebug.show_local_vars = 0 +;xdebug.show_mem_delta = 0 +;xdebug.trace_enable_trigger = 0 +;xdebug.trace_enable_trigger_value = "" +;xdebug.trace_format = 0 +;xdebug.trace_options = 0 +;xdebug.trace_output_dir = /tmp +;xdebug.trace_output_name = trace.%c +;xdebug.var_display_max_children = 128 +;xdebug.var_display_max_data = 512 +;xdebug.var_display_max_depth = 3 diff --git a/dev-php/xdebug/metadata.xml b/dev-php/xdebug/metadata.xml new file mode 100644 index 000000000000..c1bab239ddaa --- /dev/null +++ b/dev-php/xdebug/metadata.xml @@ -0,0 +1,9 @@ + + + + + php-bugs@gentoo.org + PHP + + gentoo-staging + diff --git a/dev-php/xdebug/xdebug-2.9.4.ebuild b/dev-php/xdebug/xdebug-2.9.4.ebuild new file mode 100644 index 000000000000..c1072c7b3cba --- /dev/null +++ b/dev-php/xdebug/xdebug-2.9.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="xdebug" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="yes" +PHP_EXT_INIFILE="2.6.0-xdebug.ini" + +USE_PHP="php7-2 php7-3 php7-4" + +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +inherit php-ext-source-r3 + +KEYWORDS="amd64 ~hppa ppc ppc64 x86" + +DESCRIPTION="A PHP debugging and profiling extension" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="https://pecl.php.net/get/${PN}-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + ~dev-php/xdebug-client-${PV}" +DOCS=( README.rst CREDITS ) +PHP_EXT_ECONF_ARGS=() + +pkg_postinst() { + ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be" + ewarn "installed as a dependency, and not all users will want xdebug to be" + ewarn "enabled by default. If you want to enable it, you should edit the" + ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can" + ewarn "call xdebug_enable() in your code." +} diff --git a/dev-php/xdebug/xdebug-2.9.5.ebuild b/dev-php/xdebug/xdebug-2.9.5.ebuild new file mode 100644 index 000000000000..95745e2c779d --- /dev/null +++ b/dev-php/xdebug/xdebug-2.9.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="xdebug" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="yes" +PHP_EXT_INIFILE="2.6.0-xdebug.ini" + +USE_PHP="php7-2 php7-3 php7-4" + +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +inherit php-ext-source-r3 + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +DESCRIPTION="A PHP debugging and profiling extension" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="https://pecl.php.net/get/${PN}-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + ~dev-php/xdebug-client-${PV}" +DOCS=( README.rst CREDITS ) +PHP_EXT_ECONF_ARGS=() + +pkg_postinst() { + ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be" + ewarn "installed as a dependency, and not all users will want xdebug to be" + ewarn "enabled by default. If you want to enable it, you should edit the" + ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can" + ewarn "call xdebug_enable() in your code." +} diff --git a/dev-php/xdebug/xdebug-2.9.6.ebuild b/dev-php/xdebug/xdebug-2.9.6.ebuild new file mode 100644 index 000000000000..95745e2c779d --- /dev/null +++ b/dev-php/xdebug/xdebug-2.9.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PHP_EXT_NAME="xdebug" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="yes" +PHP_EXT_INIFILE="2.6.0-xdebug.ini" + +USE_PHP="php7-2 php7-3 php7-4" + +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +inherit php-ext-source-r3 + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +DESCRIPTION="A PHP debugging and profiling extension" +HOMEPAGE="https://xdebug.org/" +# Using tarball from GitHub for tests +#SRC_URI="https://pecl.php.net/get/${PN}-${MY_PV}.tgz" +SRC_URI="https://github.com/xdebug/xdebug/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Xdebug" +SLOT="0" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + ~dev-php/xdebug-client-${PV}" +DOCS=( README.rst CREDITS ) +PHP_EXT_ECONF_ARGS=() + +pkg_postinst() { + ewarn "We have set xdebug.default_enable to 0 (off), as xdebug can be" + ewarn "installed as a dependency, and not all users will want xdebug to be" + ewarn "enabled by default. If you want to enable it, you should edit the" + ewarn "ini file and set xdebug.default_enable to 1. Alternatively you can" + ewarn "call xdebug_enable() in your code." +} diff --git a/dev-php/xhprof/Manifest b/dev-php/xhprof/Manifest new file mode 100644 index 000000000000..28f5f886a5a8 --- /dev/null +++ b/dev-php/xhprof/Manifest @@ -0,0 +1,2 @@ +DIST xhprof-0.9.10.tar.gz 850440 BLAKE2B f277c4e798c63337d7319ece9e5405fe2aa87677b146bd0a3c73079cda70b005b8a97647a4bfee66e8263eb413b60d685f617d1f8faefe3aff01c5eb5cbcd364 SHA512 f078c7d025d4712858f55a6a212f888cdb67f862c912639db4bd50b9d601e824c7a0bf9e0f9d1b04673230c7a04d9e00fff42f729055677db021ee47e7128088 +DIST xhprof-2.1.4.tgz 841444 BLAKE2B 33be85d55f2636af5664aeb017ccaab6ad03962d44b3143c0eb9d9f9cc0fa74048fbca6beae89d02ed47db8ffe1ea77df1f6a41aa62fbc90fea2c52c467a422d SHA512 8777d29c16bce9e7698cf37c7dd631e951a018fa63ab5a4ab0df8e7621643e7fb905cd9bc189b238d76e32408a43f522bbab455caab6b89f7b6c26590b2733a3 diff --git a/dev-php/xhprof/metadata.xml b/dev-php/xhprof/metadata.xml new file mode 100644 index 000000000000..4b992d598e3d --- /dev/null +++ b/dev-php/xhprof/metadata.xml @@ -0,0 +1,15 @@ + + + + + php-bugs@gentoo.org + PHP + + +XHProf is a function-level hierarchical profiler for PHP + + + phacility/xhprof + + gentoo-staging + diff --git a/dev-php/xhprof/xhprof-0.9.10.ebuild b/dev-php/xhprof/xhprof-0.9.10.ebuild new file mode 100644 index 000000000000..340be6e1183e --- /dev/null +++ b/dev-php/xhprof/xhprof-0.9.10.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +MY_PV="dab44f76da5c8a0d4f1339f7d2ea2bc42408e8e9" +PHP_EXT_S="${WORKDIR}/${PN}-${MY_PV}/extension" +PHP_EXT_ECONF_ARGS="" +USE_PHP="php7-2 php7-3" + +inherit php-ext-pecl-r3 + +SRC_URI="https://github.com/phacility/xhprof/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" + +HOMEPAGE="https://pecl.php.net/package/xhprof" +DESCRIPTION="A Hierarchical Profiler for PHP" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +S="${WORKDIR}" diff --git a/dev-php/xhprof/xhprof-2.1.4.ebuild b/dev-php/xhprof/xhprof-2.1.4.ebuild new file mode 100644 index 000000000000..6d7187add699 --- /dev/null +++ b/dev-php/xhprof/xhprof-2.1.4.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PHP_EXT_S="${S}/extension" +PHP_EXT_ECONF_ARGS="" +USE_PHP="php7-2 php7-3 php7-4" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~x86" + +HOMEPAGE="https://pecl.php.net/package/xhprof" +DESCRIPTION="A Hierarchical Profiler for PHP" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" -- cgit v1.3