From: Danny Milosavljevic <dannym@scratchpost.org>
To: 30136@debbugs.gnu.org
Subject: [bug#30136] [PATCH] gnu: Add curlftpfs.
Date: Tue, 16 Jan 2018 11:08:55 +0100 [thread overview]
Message-ID: <20180116100855.24353-1-dannym@scratchpost.org> (raw)
* gnu/packages/linux.scm (curlftpfs): New variable.
---
gnu/packages/linux.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index c33a8c2e5..efe5d90c9 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -57,6 +57,7 @@
#:use-module (gnu packages calendar)
#:use-module (gnu packages check)
#:use-module (gnu packages crypto)
+ #:use-module (gnu packages curl)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages datastructures)
@@ -1833,6 +1834,41 @@ up: on the server side there's nothing to do; on the client side mounting the
file system is as easy as logging into the server with an SSH client.")
(license license:gpl2+)))
+(define-public curlftpfs
+ (package
+ (name "curlftpfs")
+ (version "0.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/curlftpfs/curlftpfs/" version
+ "/curlftpfs-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0n397hmv21jsr1j7zx3m21i7ryscdhkdsyqpvvns12q7qwwlgd2f"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-test
+ (lambda _
+ ;; One of the 512-Byte block counts is definitely wrong.
+ ;; See <https://sourceforge.net/p/curlftpfs/bugs/73/>.
+ (substitute* "tests/ftpfs-ls_unittest.c"
+ (("4426192") "12814800"))
+ #t)))))
+ (inputs
+ `(("curl" ,curl)
+ ("glib" ,glib)
+ ("fuse", fuse)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (home-page "http://curlftpfs.sourceforge.net/")
+ (synopsis "Mount remote filesystems over FTP")
+ (description
+ "This is a file system client based on the FTP File Transfer Protocol.")
+ (license license:gpl2+)))
+
(define-public archivemount
(package
(name "archivemount")
next reply other threads:[~2018-01-16 10:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-16 10:08 Danny Milosavljevic [this message]
2018-01-16 14:45 ` [bug#30136] [PATCH] gnu: Add curlftpfs Ludovic Courtès
2018-01-16 16:03 ` Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180116100855.24353-1-dannym@scratchpost.org \
--to=dannym@scratchpost.org \
--cc=30136@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).