diff --git a/php-ssh2-0.12-fix_crash_sftp_wordpress.patch b/php-ssh2-0.12-fix_crash_sftp_wordpress.patch deleted file mode 100644 index 1cd3e1d..0000000 --- a/php-ssh2-0.12-fix_crash_sftp_wordpress.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Nru ssh2-0.12.orig/ssh2_fopen_wrappers.c ssh2-0.12/ssh2_fopen_wrappers.c ---- ssh2-0.12.orig/ssh2_fopen_wrappers.c 2012-10-02 22:18:07.000000000 +0200 -+++ ssh2-0.12/ssh2_fopen_wrappers.c 2015-02-21 19:06:32.274837384 +0100 -@@ -218,14 +218,6 @@ - return NULL; - } - -- /* -- Find resource->path in the path string, then copy the entire string from the original path. -- This includes ?query#fragment in the path string -- */ -- s = resource->path; -- resource->path = estrdup(strstr(path, resource->path)); -- efree(s); -- - /* Look for a resource ID to reuse a session */ - s = resource->host; - if (strncmp(resource->host, "Resource id #", sizeof("Resource id #") - 1) == 0) { diff --git a/php-ssh2.spec b/php-ssh2.spec index ab977e7..0b847d8 100644 --- a/php-ssh2.spec +++ b/php-ssh2.spec @@ -1,7 +1,7 @@ %define php_majver %(php-config --version | cut -d. -f1-2) Name: php-ssh2 Version: 1.4 -Release: 1mamba +Release: 2mamba Summary: PHP bindings for the libssh2 library Group: Applications/Web Vendor: openmamba @@ -9,16 +9,12 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://pecl.php.net/package/ssh2 Source: https://pecl.php.net/get/ssh2-%{version}.tgz -#Source: https://git.php.net/repository/pecl/networking/ssh2.git/master/ssh2-%{version}.tar.bz2 -#Source: https://github.com/Sean-Der/pecl-networking-ssh2.git/php7/pecl-networking-ssh2-%{version}.tar.bz2 -#Source: http://pecl.php.net/get/ssh2-%{version}.tgz -Patch0: php-ssh2-0.12-fix_crash_sftp_wordpress.patch License: PHP License ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libssh2-devel ## AUTOBUILDREQ-END -BuildRequires: php-devel >= 7.4.6 +BuildRequires: php-devel >= 8.3.1-1mamba Requires: php >= %{php_majver} Requires: php <= %{php_majver}.99 %systemd_requires @@ -30,7 +26,6 @@ PHP bindings for the libssh2 library. %prep %setup -q -n ssh2-%{version} -#%patch0 -p1 %build phpize @@ -69,6 +64,9 @@ fi %doc LICENSE %changelog +* Tue Jan 16 2024 Automatic Build System 1.4-2mamba +- rebuilt by autoport with build requirements: php-devel>=8.3.1-1mamba + * Sun Apr 23 2023 Automatic Build System 1.4-1mamba - automatic version update by autodist