commit:     fa69c49c2d4e94d55de17bb7608f7c5873227662
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Thu Dec  3 21:43:24 2020 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Thu Dec  3 21:43:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa69c49c

net-fs/httpdirfs: new pkg; add 1.2.0 and 9999

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 net-fs/httpdirfs/Manifest               |  1 +
 net-fs/httpdirfs/httpdirfs-1.2.0.ebuild | 35 +++++++++++++++++++++++++++++++++
 net-fs/httpdirfs/httpdirfs-9999.ebuild  | 35 +++++++++++++++++++++++++++++++++
 net-fs/httpdirfs/metadata.xml           | 27 +++++++++++++++++++++++++
 4 files changed, 98 insertions(+)

diff --git a/net-fs/httpdirfs/Manifest b/net-fs/httpdirfs/Manifest
new file mode 100644
index 00000000..db6b4f4a
--- /dev/null
+++ b/net-fs/httpdirfs/Manifest
@@ -0,0 +1 @@
+DIST 1.2.0.tar.gz 74794 BLAKE2B 
a142e10f46db69ea106ad2a0df7a1853e9109693ac89c42d3669d5a3ce239d156d8bf5fc73a1180a5770e832ff2827f05aac79303a8ee7b52ac02f4518b7e5c1
 SHA512 
9774d7cf573c16135315a87e09667f706518254ea8d57744ce437c1e3f47128a3ca77684506570a6b74dfef236843a107947503deb50c999395ad2a08d341919

diff --git a/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild 
b/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild
new file mode 100644
index 00000000..13e127a4
--- /dev/null
+++ b/net-fs/httpdirfs/httpdirfs-1.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Filesystem to mount HTTP directory listings, with a permanent 
cache"
+HOMEPAGE="https://github.com/fangfufu/httpdirfs";
+
+if [[ "${PV}" == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/fangfufu/${PN}.git";
+else
+       SRC_URI="https://github.com/fangfufu/${PN}/archive/${PV}.tar.gz";
+       KEYWORDS="~amd64"
+fi
+
+RESTRICT="test"
+LICENSE="GPL-3"
+SLOT="0"
+# Doc generation fails
+# uses app-doc/doxygen[dot]
+# IUSE="doc"
+
+DEPEND="
+       dev-libs/expat
+       dev-libs/gumbo
+       net-misc/curl
+       sys-fs/e2fsprogs
+       sys-fs/fuse:0
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+       emake prefix="${D}"/usr install
+}

diff --git a/net-fs/httpdirfs/httpdirfs-9999.ebuild 
b/net-fs/httpdirfs/httpdirfs-9999.ebuild
new file mode 100644
index 00000000..13e127a4
--- /dev/null
+++ b/net-fs/httpdirfs/httpdirfs-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Filesystem to mount HTTP directory listings, with a permanent 
cache"
+HOMEPAGE="https://github.com/fangfufu/httpdirfs";
+
+if [[ "${PV}" == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/fangfufu/${PN}.git";
+else
+       SRC_URI="https://github.com/fangfufu/${PN}/archive/${PV}.tar.gz";
+       KEYWORDS="~amd64"
+fi
+
+RESTRICT="test"
+LICENSE="GPL-3"
+SLOT="0"
+# Doc generation fails
+# uses app-doc/doxygen[dot]
+# IUSE="doc"
+
+DEPEND="
+       dev-libs/expat
+       dev-libs/gumbo
+       net-misc/curl
+       sys-fs/e2fsprogs
+       sys-fs/fuse:0
+"
+RDEPEND="${DEPEND}"
+
+src_install() {
+       emake prefix="${D}"/usr install
+}

diff --git a/net-fs/httpdirfs/metadata.xml b/net-fs/httpdirfs/metadata.xml
new file mode 100644
index 00000000..e4ba7638
--- /dev/null
+++ b/net-fs/httpdirfs/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+    <maintainer type="person">
+        <email>[email protected]</email>
+        <name>Maciej Barć</name>
+    </maintainer>
+    <upstream>
+        <remote-id type="github">fangfufu/httpdirfs</remote-id>
+    </upstream>
+    <longdescription>
+        A filesystem which allows you to mount HTTP directory listings, with a 
permanent cache.
+        Now with Airsonic / Subsonic support!
+        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.
+    </longdescription>
+</pkgmetadata>

Reply via email to