From owner-svn-ports-head@freebsd.org Tue Nov 12 10:55:00 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BF7841A97E3; Tue, 12 Nov 2019 10:55:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47C4QD4YLrz4Pbr; Tue, 12 Nov 2019 10:55:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7F9E9269F7; Tue, 12 Nov 2019 10:55:00 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xACAt0H6031607; Tue, 12 Nov 2019 10:55:00 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xACAsxDE031564; Tue, 12 Nov 2019 10:54:59 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <201911121054.xACAsxDE031564@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Tue, 12 Nov 2019 10:54:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517323 - in head/www: . httpdirfs httpdirfs/files X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/www: . httpdirfs httpdirfs/files X-SVN-Commit-Revision: 517323 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2019 10:55:00 -0000 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@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 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