[arch-commits] Commit in curlftpfs/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:59:26 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:59:26
  Author: felixonmars
Revision: 659061

archrelease: copy trunk to community-staging-x86_64

Added:
  curlftpfs/repos/community-staging-x86_64/
  curlftpfs/repos/community-staging-x86_64/PKGBUILD
    (from rev 659060, curlftpfs/trunk/PKGBUILD)
  curlftpfs/repos/community-staging-x86_64/ioerror.patch
    (from rev 659060, curlftpfs/trunk/ioerror.patch)
  curlftpfs/repos/community-staging-x86_64/no-verify-hostname.patch
    (from rev 659060, curlftpfs/trunk/no-verify-hostname.patch)

--------------------------+
 PKGBUILD                 |   34 ++++++++++++++++++++++++++++++++++
 ioerror.patch            |   11 +++++++++++
 no-verify-hostname.patch |   14 ++++++++++++++
 3 files changed, 59 insertions(+)

Copied: curlftpfs/repos/community-staging-x86_64/PKGBUILD (from rev 659060, curlftpfs/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:59:26 UTC (rev 659061)
@@ -0,0 +1,34 @@
+# Maintainer: Chris Brannon <cmbrannon79 at gmail.com>
+# Contributor: Allan McRae <mcrae_allan at hotmail.com>
+# Contributor: Philip Nilsson <leffeman at gmail.com>
+
+pkgname=curlftpfs
+pkgver=0.9.2
+pkgrel=8
+pkgdesc="A filesystem for acessing FTP hosts based on FUSE and libcurl."
+url="http://curlftpfs.sourceforge.net/"
+license=('GPL')
+depends=('curl' 'fuse2' 'glib2')
+arch=('x86_64')
+source=(https://downloads.sourceforge.net/sourceforge/curlftpfs/$pkgname-$pkgver.tar.gz
+        ioerror.patch no-verify-hostname.patch)
+sha512sums=('df07c418d175f766c89525017fc56e79726061eee0c3a6607ded0e1bf24f64f1475ba0e546157b65892194e3c4414c120822bf8fb175437e68366f82de216067'
+            '6d5454dc9b09279067028175458dd3dd1cecc7f99d11e2fe7048b9b9c31d9ed213ed916698f9311c5278e9389b4a53e0fde5fe735e613d80cbd6423041fe8122'
+            '737db3bcd12ee04ef1d63e22ae97588f9ea0156ba425241ebf176a6437df474990e081f05c6656a6b02c93d41ce1e88b0beb805253f11c09de9d37892baedf56')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../ioerror.patch
+  patch -p1 -i ../no-verify-hostname.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install 
+}

Copied: curlftpfs/repos/community-staging-x86_64/ioerror.patch (from rev 659060, curlftpfs/trunk/ioerror.patch)
===================================================================
--- community-staging-x86_64/ioerror.patch	                        (rev 0)
+++ community-staging-x86_64/ioerror.patch	2020-07-07 15:59:26 UTC (rev 659061)
@@ -0,0 +1,11 @@
+--- curlftpfs-0.9.2.orig/ftpfs.c	2008-04-30 03:05:47.000000000 +0400
++++ curlftpfs-0.9.2.orig/ftpfs.c	2011-01-20 20:33:38.000000000 +0300
+@@ -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_UPLOAD, 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_READDATA, fh);
+   curl_easy_setopt_or_die(fh->write_conn, CURLOPT_LOW_SPEED_LIMIT, 1);

Copied: curlftpfs/repos/community-staging-x86_64/no-verify-hostname.patch (from rev 659060, curlftpfs/trunk/no-verify-hostname.patch)
===================================================================
--- community-staging-x86_64/no-verify-hostname.patch	                        (rev 0)
+++ community-staging-x86_64/no-verify-hostname.patch	2020-07-07 15:59:26 UTC (rev 659061)
@@ -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);



More information about the arch-commits mailing list