Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
9b86eb3
Fix memset in init_url
hramrach Jul 11, 2016
3b905bd
Add some fine informative messages.
hramrach Jul 11, 2016
d752315
Fix httpfs-ssl crash with http URL.
hramrach Jul 11, 2016
a9d073e
make ssl prints use stderr to match rest of prints.
hramrach Jul 13, 2016
e9b5166
make indentation uniform.
hramrach Jul 13, 2016
654b998
Update GnuTLS code to work better with GnuTLS 3.
hramrach Jul 13, 2016
902193c
Fix recommends of fusermount fuse-utils -> fuse in Jessie
hramrach Jul 13, 2016
a2317d6
fix man page typo
hramrach Jul 13, 2016
b6cd288
Reorder options in help text alphabetically.
hramrach Jul 13, 2016
e595bd8
Improve help text formatting.
hramrach Jul 13, 2016
70ade57
Add SSL options to man page.
hramrach Jul 13, 2016
2d51165
HTTP Redirect support.
hramrach Jul 14, 2016
0072b35
Fix temporary redirect.
hramrach Jul 14, 2016
afacbdf
More uniform log messages.
hramrach Jul 14, 2016
bbd157f
Saner name for a couple of symbols.
hramrach Jul 14, 2016
7c559f9
Improve handling of ECONNRESET
hramrach Jul 15, 2016
9e8f181
Set errno on getaddrinfo error.
hramrach Jul 15, 2016
8a5889c
Unify error reporting in open_client_socket
hramrach Jul 15, 2016
4676d9a
Rebuild request when returning from redirect.
hramrach Jul 15, 2016
e6b546e
Reset redirect count only when a socket was closed.
hramrach Jul 15, 2016
99a92ee
Fix crash in option parsing.
hramrach Jul 15, 2016
2482808
Update Debian changelog
hramrach Jul 15, 2016
6f29450
Update copyright
hramrach Jul 15, 2016
433f677
Install multithreaded version in Debian.
hramrach Jul 19, 2016
ac859fd
changeset: 92:01d9ffef99d4 user: Michal Suchanek <hramrach@centrum.cz…
hramrach Jul 28, 2016
c649b2a
Handle non-fatal SSL errors.
hramrach Aug 9, 2016
47ba620
Convert ssl_error from gnutls_session to struct_url
hramrach Aug 9, 2016
499e053
Fix non-fatal SSL error handling.
hramrach Aug 10, 2016
28ce0c6
Alwas set errno when returning from parse_header
hramrach Aug 10, 2016
598c008
Always set errno when returning from exchange()
hramrach Aug 10, 2016
763ada0
fix handle_ssl_error
hramrach Aug 10, 2016
4da2bb1
Add option to take filename from HTTP header
jenya Nov 28, 2011
8c40fff
Minor fixes
danielg4 Mar 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
MAIN_CFLAGS := -g -Os -Wall $(shell pkg-config fuse --cflags)
MAIN_CPPFLAGS := -Wall -Wno-unused-function -Wconversion -Wtype-limits -DUSE_AUTH -D_XOPEN_SOURCE=700 -D_ISOC99_SOURCE
THR_CPPFLAGS := -DUSE_THREAD
MAIN_CPPFLAGS := -Wall -Wno-unused-function -Wconversion -Wtype-limits -DUSE_AUTH -D_XOPEN_SOURCE=700 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
THR_CPPFLAGS := -DUSE_THREAD -pthread
THR_LDFLAGS := -lpthread
GNUTLS_VERSION := 2.10
MAIN_LDFLAGS := $(shell pkg-config fuse --libs | sed -e s/-lrt// -e s/-ldl// -e s/-pthread// -e "s/ / /g")
variants := -mt
intermediates =

ifeq ($(shell pkg-config --atleast-version 2.10 gnutls ; echo $$?), 0)
ifeq ($(shell pkg-config --atleast-version $(GNUTLS_VERSION) gnutls ; echo $$?), 0)

variants += -ssl -ssl-mt

CERT_STORE := /etc/ssl/certs/ca-certificates.crt
SSL_CPPFLAGS := -DUSE_SSL $(shell pkg-config gnutls --cflags) -DCERT_STORE=\"$(CERT_STORE)\"
SSL_LDFLAGS := $(shell pkg-config gnutls --libs)
else
$(info GNUTLS version at least $(GNUTLS_VERSION) required for SSL support.)
endif

binbase = httpfs2
Expand Down
31 changes: 31 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
httpfs2 (0.1.5+nmu1) unstable; urgency=medium

* Non-maintainer upload.
* Use source format 3.0 (native).
* Fix CPPFLAGS and large file support.
* Add patch from Eugene Vorobev to take filename from HTTP header.

-- Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> Mon, 28 Feb 2022 21:23:03 -0800

httpfs2 (0.1.5-2) UNRELEASED; urgency=medium

* New upstream release:
- (Closes: #705310) (LP: #1046266)
- miscellaneous bug fixes
(Closes: #698179, #716022, #729027)
- HTTP redirect support
* Install multithreaded version.

-- Michal Suchanek <hramrach@gmail.com> Fri, 15 Jul 2016 17:16:08 +0200

httpfs2 (0.1.5-1) unstable; urgency=low

* New upstream release:
Expand All @@ -8,6 +28,17 @@ httpfs2 (0.1.5-1) unstable; urgency=low

-- Michal Suchanek <hramrach@gmail.com> Fri, 31 Aug 2012 13:01:28 +0200

httpfs2 (0.1.4-1.1) unstable; urgency=medium

* Non-maintainer upload.
* Use source format 3.0 (quilt). Closes: #651312
* Recommend fuse instead of fuse-utils. Closes: #698179
* Add patch from Ubuntu to fix FTBFS with libc 2.22. Closes: #811890
* Add patch from Ubuntu to fix linking with --as-needed. Closes: #641728
* Bump Standards-Version to 3.9.8, no changes needed.

-- Mattia Rizzolo <mattia@debian.org> Fri, 10 Mar 2017 13:27:02 +0100

httpfs2 (0.1.4-1) unstable; urgency=low

* New upstream release:
Expand Down
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7
9
12 changes: 6 additions & 6 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Source: httpfs2
Section: web
Priority: extra
Maintainer: Michal Suchanek <hramrach@centrum.cz>
Maintainer: Michal Suchanek <hramrach@gmail.com>
Build-Depends:
debhelper (>= 7.0.50~),
debhelper (>= 9~), dh-exec,
asciidoc, xmlto,
libfuse-dev (>> 2.6), pkg-config,
libgnutls-dev (>= 2.10~),
Standards-Version: 3.8.4
libgnutls-dev (>= 2.10~) | libgnutls28-dev,
Standards-Version: 3.9.8
Homepage: http://sourceforge.net/projects/httpfs/

Package: httpfs2
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends},
Recommends: fuse-utils
Recommends: fuse-utils | fuse (>= 2.9.3~)
Description: FUSE filesystem for mounting files from http servers
httpfs2 is a FUSE based filesystem for mounting http or https URLS as files in
the filesystem. There is no notion of listable directories in http so only a
Expand All @@ -22,7 +22,7 @@ Description: FUSE filesystem for mounting files from http servers
Package: httpfs2-ssl
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends},
Recommends: fuse-utils
Recommends: fuse-utils | fuse (>= 2.9.3~)
Description: FUSE filesystem for mounting files from http servers (SSL enabled)
httpfs2 is a FUSE based filesystem for mounting http or https URLS as files in
the filesystem. There is no notion of listable directories in http so only a
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Download: http://sourceforge.net/projects/httpfs/

Files: *
Copyright:
(C) 2008-2012 Michal Suchanek <hramrach@gmail.com>
(C) 2008-2012,2016 Michal Suchanek <hramrach@gmail.com>
(C) 2006 hmb <marionraven@users.sourceforge.net>
(C) 2001-2007 Miklos Szeredi <miklos@szeredi.hu>
License: GPL-2+
Expand Down
3 changes: 2 additions & 1 deletion debian/httpfs2-ssl.install
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
httpfs2-ssl /usr/bin
#!/usr/bin/dh-exec
httpfs2-ssl-mt => /usr/bin/httpfs2-ssl
3 changes: 2 additions & 1 deletion debian/httpfs2.install
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
httpfs2 /usr/bin
#!/usr/bin/dh-exec
httpfs2-mt => /usr/bin/httpfs2
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)
40 changes: 32 additions & 8 deletions httpfs2.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,50 @@ single URL can be mounted. The server must be able to send byte ranges.

OPTIONS
-------

*-c 'console'*::
Attempt to use the file ior device 'console' for output after fork.
Attempt to use the file or device 'console' for output after fork.
The default is '/dev/console'.

*-f*::
Do not fork, stay in foreground.

*-r 'retries'*::
(if 'ECONNRESET' is defined) Retry connecting to server after receiving
'ECONNRESET'. Defaults to 8 times which gives about 30s timeout.

*-t 'timeout'*::
Use different timeout for connections. Default '30's.

*'URL'*::
The url should specify the protocol as http or https, and it may specify
basic authentication username and password. Currently special characters
like whitespace are not handled so the URL cannot contain them. See a
sample URL below:
SSL OPTIONS
~~~~~~~~~~~
Available when SSL support is compiled in.

*-2*::
Allow server certificates signed with RSA-MD2 (strongly discouraged)

*-5*::
Allow server certificates signed with RSA-MD5 (discouraged)

*-a 'CA file'*::
Specify a file to load trusted CA root certificates from.
A default location is set at build time.

*-d 'n'*::
Set GnuTLS debug level to numeric value n.

*'URL'*
~~~~~~~
The url should specify the protocol as http or https, and it may specify basic
authentication username and password. Currently special characters like
whitespace are not handled so the URL cannot contain them. See a sample URL
below:

http://user:password@server.com/dir/file

*'FUSE-OPTIONS'*::
These options are passed to the *FUSE* library. At the very least the mount point should be specified.
*'FUSE-OPTIONS'*
~~~~~~~~~~~~~~~~
These options are passed to the *FUSE* library. At the very least the mount point should be specified.


EXIT STATUS
Expand Down
Loading