rebuilt [release 0.9.2-3mamba;Mon Mar 03 2025]

This commit is contained in:
Silvan Calarco 2025-03-03 17:28:44 +01:00
parent 884f278af4
commit 1fd2955116
3 changed files with 30 additions and 10 deletions

View File

@ -1,10 +1,11 @@
--- ftpfs.c.orig 2008-04-30 01:05:47.000000000 +0200 --- curlftpfs-0.9.2.orig/ftpfs.c 2008-04-30 03:05:47.000000000 +0400
+++ ftpfs.c 2010-05-21 13:01:42.569006163 +0200 +++ curlftpfs-0.9.2.orig/ftpfs.c 2011-01-20 20:33:38.000000000 +0300
@@ -503,7 +503,6 @@ static void *ftpfs_write_thread(void *da @@ -503,7 +503,7 @@ static void *ftpfs_write_thread(void *da
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_URL, fh->full_path);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_UPLOAD, 1);
- curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1); - curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, -1);
+ curl_easy_setopt_or_die(fh->write_conn, CURLOPT_INFILESIZE, (curl_off_t)-1);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READFUNCTION, write_data_bg);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_READDATA, fh);
curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1); curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);

View File

@ -0,0 +1,14 @@
diff -aur curlftpfs-0.9.2.orig/ftpfs.c curlftpfs-0.9.2.new/ftpfs.c
--- curlftpfs-0.9.2.orig/ftpfs.c 2016-01-25 17:01:32.150581272 +0100
+++ curlftpfs-0.9.2.new/ftpfs.c 2016-01-25 17:02:08.566538053 +0100
@@ -1625,9 +1625,7 @@
}
if (ftpfs.no_verify_hostname) {
- /* The default is 2 which verifies even the host string. This sets to 1
- * which means verify the host but not the string. */
- curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 1);
+ curl_easy_setopt_or_die(easy, CURLOPT_SSL_VERIFYHOST, 0);
}
curl_easy_setopt_or_die(easy, CURLOPT_INTERFACE, ftpfs.interface);

View File

@ -1,14 +1,15 @@
Name: curlftpfs Name: curlftpfs
Version: 0.9.2 Version: 0.9.2
Release: 2mamba Release: 3mamba
Summary: A FTP filesystem based on cURL and FUSE Summary: A FTP filesystem based on cURL and FUSE
Group: Applications/Networking Group: Applications/Networking
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://curlftpfs.sourceforge.net/ URL: https://curlftpfs.sourceforge.net/
Source: http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/%{version}/curlftpfs-%{version}.tar.gz Source: http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/%{version}/curlftpfs-%{version}.tar.gz
Patch: curlftpfs-0.9.2-file_upload.patch Patch0: curlftpfs-0.9.2-ioerror.patch
Patch1: curlftpfs-0.9.2-no-verify-hostname.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -23,7 +24,8 @@ CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE and libcurl.
%prep %prep
%setup -q %setup -q
%patch %patch 0 -p1 -b .ioerror
%patch 1 -p1 -b .no-verify-hostname
%build %build
%configure %configure
@ -39,10 +41,13 @@ CurlFtpFS is a filesystem for accessing FTP hosts based on FUSE and libcurl.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/curlftpfs %{_bindir}/curlftpfs
%{_mandir}/man1/curlftpfs.1.gz %{_mandir}/man1/curlftpfs.1*
%doc COPYING ChangeLog README %doc COPYING
%changelog %changelog
* Mon Mar 03 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.2-3mamba
- rebuilt
* Sat Sep 03 2022 Automatic Build System <autodist@mambasoft.it> 0.9.2-2mamba * Sat Sep 03 2022 Automatic Build System <autodist@mambasoft.it> 0.9.2-2mamba
- automatic rebuild by autodist - automatic rebuild by autodist