update to 0.12.20160127 [release 0.12.20160127-1mamba;Wed Jan 27 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 09:59:45 +01:00
parent ca77aee2fa
commit 60c39465e8

View File

@ -1,14 +1,15 @@
%define php_majver %(php-config --version | cut -d. -f1-2) %define php_majver %(php-config --version | cut -d. -f1-2)
Name: php-ssh2 Name: php-ssh2
Version: 0.12 Version: 0.12.20160127
Release: 2mamba Release: 1mamba
Summary: PHP bindings for the libssh2 library Summary: PHP bindings for the libssh2 library
Group: Applications/Web Group: Applications/Web
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pecl.php.net/package/ssh2 URL: http://pecl.php.net/package/ssh2
Source: http://pecl.php.net/get/ssh2-%{version}.tgz 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 Patch0: php-ssh2-0.12-fix_crash_sftp_wordpress.patch
License: PHP License License: PHP License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -27,19 +28,16 @@ PHP bindings for the libssh2 library.
%debug_package %debug_package
%prep %prep
%setup -q -c %{name}-%{version} %setup -q -n pecl-networking-ssh2-%{version}
cd ssh2-%{version}
%patch0 -p1 %patch0 -p1
%build %build
cd ssh2-%{version}
phpize phpize
%configure %configure
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd ssh2-%{version}
%makeinstall INSTALL_ROOT=%{buildroot} %makeinstall INSTALL_ROOT=%{buildroot}
install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d
@ -67,9 +65,12 @@ fi
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/php/php.d/ssh2.ini %config(noreplace) %{_sysconfdir}/php/php.d/ssh2.ini
%{_libdir}/php/extensions/ssh2.so %{_libdir}/php/extensions/ssh2.so
%doc ssh2-%{version}/LICENSE %doc LICENSE
%changelog %changelog
* Wed Jan 27 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.20160127-1mamba
- update to 0.12.20160127
* Sat Feb 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-2mamba * Sat Feb 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-2mamba
- path to fix crash with sftp/wordpress (https://bugs.launchpad.net/ubuntu/+source/php-ssh2/+bug/1407377) - path to fix crash with sftp/wordpress (https://bugs.launchpad.net/ubuntu/+source/php-ssh2/+bug/1407377)