svn commit: r517323 - in head/www: . httpdirfs httpdirfs/files
Mateusz Piotrowski
0mp at FreeBSD.org
Tue Nov 12 10:55:00 UTC 2019
Author: 0mp
Date: Tue Nov 12 10:54:59 2019
New Revision: 517323
URL: https://svnweb.freebsd.org/changeset/ports/517323
Log:
New port: www/httpdirfs: FUSE filesystem to mount HTTP directory listings, with a permanent cache
Have you ever wanted to mount those HTTP directory listings as if it was a
partition? Look no further, this is your solution. HTTPDirFS stands for
Hyper Text Transfer Protocol Directory Filesystem.
The performance of the program is excellent. HTTP connections are reused
due to the use of curl-multi interface. The FUSE component runs in
multithreaded mode.
There is a permanent cache system which can cache all the file segments you
have downloaded, so you don't need to these segments again if you access
them later. This feature is triggered by the --cache flag. This makes this
filesystem much faster than rclone mount.
The support for Airsonic / Subsonic server has also been added. This allows
you to mount a remote music collection locally.
WWW: https://github.com/fangfufu/httpdirfs
Added:
head/www/httpdirfs/
head/www/httpdirfs/Makefile (contents, props changed)
head/www/httpdirfs/distinfo (contents, props changed)
head/www/httpdirfs/files/
head/www/httpdirfs/files/patch-Makefile (contents, props changed)
head/www/httpdirfs/pkg-descr (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Tue Nov 12 10:45:54 2019 (r517322)
+++ head/www/Makefile Tue Nov 12 10:54:59 2019 (r517323)
@@ -253,6 +253,7 @@
SUBDIR += httpasyncclient
SUBDIR += httpclient
SUBDIR += httpcore
+ SUBDIR += httpdirfs
SUBDIR += httptunnel
SUBDIR += httrack
SUBDIR += hypermail
Added: head/www/httpdirfs/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/httpdirfs/Makefile Tue Nov 12 10:54:59 2019 (r517323)
@@ -0,0 +1,40 @@
+# $FreeBSD$
+
+PORTNAME= httpdirfs
+DISTVERSION= 1.2.0
+CATEGORIES= www
+
+MAINTAINER= 0mp at FreeBSD.org
+COMMENT= FUSE filesystem to mount HTTP directory listings, with a permanent cache
+
+LICENSE= GPL3OPENSSL
+LICENSE_NAME= GPLv3 or later with execption to link with OpenSSL
+LICENSE_FILE= ${WRKSRC}/LICENSE
+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libexpat.so:textproc/expat2 \
+ libfuse.so:sysutils/fusefs-libs \
+ libgumbo.so:devel/gumbo \
+ libuuid.so:misc/e2fsprogs-libuuid
+
+USES= gmake localbase pkgconfig ssl
+USE_GITHUB= yes
+GH_ACCOUNT= fangfufu
+
+MAKE_ENV= prefix=${PREFIX}
+
+PLIST_FILES= bin/httpdirfs \
+ man/man1/httpdirfs.1.gz
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/httpdirfs
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
+
+.include <bsd.port.mk>
Added: head/www/httpdirfs/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/httpdirfs/distinfo Tue Nov 12 10:54:59 2019 (r517323)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1573554310
+SHA256 (fangfufu-httpdirfs-1.2.0_GH0.tar.gz) = 05be4d83434eaea002f550b77aed6c05ff135927662d53a6e2b224e766a50a9a
+SIZE (fangfufu-httpdirfs-1.2.0_GH0.tar.gz) = 74794
Added: head/www/httpdirfs/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/httpdirfs/files/patch-Makefile Tue Nov 12 10:54:59 2019 (r517323)
@@ -0,0 +1,10 @@
+--- Makefile.orig 2019-11-12 10:38:03 UTC
++++ Makefile
+@@ -1,6 +1,6 @@
+ VERSION=1.2.0
+
+-CFLAGS += -O2 -Wall -Wextra -Wshadow -rdynamic -D_GNU_SOURCE\
++CFLAGS += -Wall -Wextra -Wshadow -D_GNU_SOURCE\
+ -D_FILE_OFFSET_BITS=64 -DVERSION=\"$(VERSION)\"\
+ `pkg-config --cflags-only-I gumbo libcurl fuse uuid expat`
+ LDFLAGS += `pkg-config --libs-only-L gumbo libcurl fuse uuid expat`
Added: head/www/httpdirfs/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/httpdirfs/pkg-descr Tue Nov 12 10:54:59 2019 (r517323)
@@ -0,0 +1,16 @@
+Have you ever wanted to mount those HTTP directory listings as if it was a
+partition? Look no further, this is your solution. HTTPDirFS stands for Hyper
+Text Transfer Protocol Directory Filesystem.
+
+The performance of the program is excellent. HTTP connections are reused due to
+the use of curl-multi interface. The FUSE component runs in multithreaded mode.
+
+There is a permanent cache system which can cache all the file segments you
+have downloaded, so you don't need to these segments again if you access them
+later. This feature is triggered by the --cache flag. This makes this
+filesystem much faster than rclone mount.
+
+The support for Airsonic / Subsonic server has also been added. This allows you
+to mount a remote music collection locally.
+
+WWW: https://github.com/fangfufu/httpdirfs
More information about the svn-ports-all
mailing list