From c943284ec42dd978a229b89e7f422032ffc3ff86 Mon Sep 17 00:00:00 2001 From: kristuff Date: Tue, 16 May 2023 17:49:39 +0200 Subject: [PATCH] Fix missing requirement (php-mbstring module) --- README.md | 4 ++-- bin/abuseipdb | 2 +- config/conf.ini | 2 +- deb/changelog | 6 ++++++ deb/control | 4 ++-- src/AbstractClient.php | 4 ++-- src/AbuseIPDBClient.php | 2 +- src/BulkReportTrait.php | 2 +- src/CheckBlockTrait.php | 2 +- src/CheckTrait.php | 2 +- src/ShellErrorHandler.php | 2 +- src/ShellUtils.php | 2 +- src/UtilsTrait.php | 2 +- 13 files changed, 21 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 3f38006..5f0a65c 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ Features Requirements ------------ -- PHP >= 7.1 -- PHP's cURL +- PHP version: >= 7.1 +- PHP's modules: `php-curl`, `php-mbstring` - A valid [abuseipdb.com](https://abuseipdb.com) account with an API key - Composer for install (not required if you install the `.deb` package) diff --git a/bin/abuseipdb b/bin/abuseipdb index 050541a..e763e4c 100644 --- a/bin/abuseipdb +++ b/bin/abuseipdb @@ -14,7 +14,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ diff --git a/config/conf.ini b/config/conf.ini index 0893fbf..622ee20 100644 --- a/config/conf.ini +++ b/config/conf.ini @@ -4,7 +4,7 @@ ; \__,_|_.__/\_,_/__/\___|___|_| |___/|___/ ; ; Kristuff\AbuseIPDB-client configuration file. -; v0.9.19 | (c) Kristuff +; v0.9.20 | (c) Kristuff ; ----------------------------------------------------------- ; WARNING: In most of the cases you should not modify this diff --git a/deb/changelog b/deb/changelog index 5158489..3e821ee 100644 --- a/deb/changelog +++ b/deb/changelog @@ -1,3 +1,9 @@ +abuseipdb-client (0.9.20) unstable; urgency=medium + + * Fix missing dependencies (php mbstring module was missing) + + -- kristuff Thu, 16 May 2023 13:00:00 +0200 + abuseipdb-client (0.9.19) unstable; urgency=medium * Update dependencies (improve email pattern when cleaning report diff --git a/deb/control b/deb/control index 30db1f8..80b4aa4 100644 --- a/deb/control +++ b/deb/control @@ -1,8 +1,8 @@ Package: abuseipdb-client -Version: 0.9.19 +Version: 0.9.20 Maintainer: kristuff Architecture: all -Depends: php-cli, php-curl +Depends: php-cli, php-curl, php-mbstring Description: AbuseIPDB APIv2 client: check, report IP address, download blacklist AbuseIPDB.com provides an API to report an IP address associated with malicious activity, check to see if an IP address has been reported, diff --git a/src/AbstractClient.php b/src/AbstractClient.php index 7db0428..ad2d691 100644 --- a/src/AbstractClient.php +++ b/src/AbstractClient.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB; @@ -41,7 +41,7 @@ abstract class AbstractClient extends ShellErrorHandler /** * @var string */ - const VERSION = 'v0.9.19'; + const VERSION = 'v0.9.20'; /** * @var QuietApiHandler diff --git a/src/AbuseIPDBClient.php b/src/AbuseIPDBClient.php index 36a3e83..0413365 100644 --- a/src/AbuseIPDBClient.php +++ b/src/AbuseIPDBClient.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB; diff --git a/src/BulkReportTrait.php b/src/BulkReportTrait.php index bbd87e9..523baed 100644 --- a/src/BulkReportTrait.php +++ b/src/BulkReportTrait.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB; diff --git a/src/CheckBlockTrait.php b/src/CheckBlockTrait.php index c11dd38..76261c2 100644 --- a/src/CheckBlockTrait.php +++ b/src/CheckBlockTrait.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB; diff --git a/src/CheckTrait.php b/src/CheckTrait.php index 052cd37..c4b9299 100644 --- a/src/CheckTrait.php +++ b/src/CheckTrait.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB; diff --git a/src/ShellErrorHandler.php b/src/ShellErrorHandler.php index d11fb77..a322df3 100644 --- a/src/ShellErrorHandler.php +++ b/src/ShellErrorHandler.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB; diff --git a/src/ShellUtils.php b/src/ShellUtils.php index 49673f2..b8764ee 100644 --- a/src/ShellUtils.php +++ b/src/ShellUtils.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB; diff --git a/src/UtilsTrait.php b/src/UtilsTrait.php index 62cb9e8..43ea766 100644 --- a/src/UtilsTrait.php +++ b/src/UtilsTrait.php @@ -13,7 +13,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.19 + * @version 0.9.20 * @copyright 2020-2022 Kristuff */ namespace Kristuff\AbuseIPDB;