rebuilt by autoport with build requirements: php-devel>=8.3.1-1mamba [release 1.4-2mamba;Tue Jan 16 2024]

This commit is contained in:
Automatic Build System 2024-01-19 17:59:39 +01:00
parent 58a3ba42c2
commit 9df5770794
2 changed files with 5 additions and 25 deletions

View File

@ -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) {

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 1.4-2mamba
- rebuilt by autoport with build requirements: php-devel>=8.3.1-1mamba
* Sun Apr 23 2023 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
- automatic version update by autodist