diff options
Diffstat (limited to 'filesystems/httpdirfs')
-rw-r--r-- | filesystems/httpdirfs/Makefile | 38 | ||||
-rw-r--r-- | filesystems/httpdirfs/distinfo | 7 | ||||
-rw-r--r-- | filesystems/httpdirfs/pkg-descr | 11 |
3 files changed, 56 insertions, 0 deletions
diff --git a/filesystems/httpdirfs/Makefile b/filesystems/httpdirfs/Makefile new file mode 100644 index 000000000000..8cda154772d7 --- /dev/null +++ b/filesystems/httpdirfs/Makefile @@ -0,0 +1,38 @@ +PORTNAME= httpdirfs +DISTVERSION= 1.2.6 +CATEGORIES= filesystems +PKGNAMEPREFIX= fusefs- + +PATCH_SITES= https://github.com/fangfufu/httpdirfs/commit/ +PATCHFILES= 43bdf7e71fde43084519e86051533a6b20c31474.patch:-p1 \ + 08700415d7b61d9f611a858481b26858fe92eb7a.patch:-p1 + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= FUSE filesystem to mount HTTP directory listings, with a permanent cache +WWW= https://github.com/fangfufu/httpdirfs + +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 \ + libgumbo.so:devel/gumbo \ + libuuid.so:misc/e2fsprogs-libuuid + +USES= fuse:3 meson pkgconfig ssl + +USE_GITHUB= yes +GH_ACCOUNT= fangfufu + +PLIST_FILES= bin/httpdirfs +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/ + +.include <bsd.port.mk> diff --git a/filesystems/httpdirfs/distinfo b/filesystems/httpdirfs/distinfo new file mode 100644 index 000000000000..49205edda4c0 --- /dev/null +++ b/filesystems/httpdirfs/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1730405732 +SHA256 (fangfufu-httpdirfs-1.2.6_GH0.tar.gz) = 0d5b7f846947c2cf61e7851658f29501a7934d23a6a2c914e76efb889d7e1993 +SIZE (fangfufu-httpdirfs-1.2.6_GH0.tar.gz) = 81582 +SHA256 (43bdf7e71fde43084519e86051533a6b20c31474.patch) = f6022cf2d14226606a6dbca676f31e7f0f859ca634725e87f0d299d063145004 +SIZE (43bdf7e71fde43084519e86051533a6b20c31474.patch) = 4476 +SHA256 (08700415d7b61d9f611a858481b26858fe92eb7a.patch) = fb01a8e7e6a8416ff549147a89bd6ddf865a08e74c5d7808cc9fb7710732aa6d +SIZE (08700415d7b61d9f611a858481b26858fe92eb7a.patch) = 1726 diff --git a/filesystems/httpdirfs/pkg-descr b/filesystems/httpdirfs/pkg-descr new file mode 100644 index 000000000000..14bcef6ad8c5 --- /dev/null +++ b/filesystems/httpdirfs/pkg-descr @@ -0,0 +1,11 @@ +HTTPDirFS stands for Hyper Text Transfer Protocol Directory Filesystem. It may +be used to to mount HTTP directory listings as if it was a partition. + +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 that +have been downloaded. + +The support for Airsonic / Subsonic server is also included. This allows the +user to mount a remote music collection locally. |