summaryrefslogtreecommitdiff
path: root/sys-fs/avfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
commitabaa75b10f899ada8dd05b23cc03205064394bc6 (patch)
treeeca3dd248b73b92013cba00a0fcc1edf2696e19a /sys-fs/avfs
parent24fd814c326e282c4321965c31f341dad77e270d (diff)
gentoo resync : 22.01.2021
Diffstat (limited to 'sys-fs/avfs')
-rw-r--r--sys-fs/avfs/Manifest4
-rw-r--r--sys-fs/avfs/avfs-1.1.3.ebuild70
-rw-r--r--sys-fs/avfs/metadata.xml4
3 files changed, 77 insertions, 1 deletions
diff --git a/sys-fs/avfs/Manifest b/sys-fs/avfs/Manifest
index f3f6944cbdb0..2d258e7ad466 100644
--- a/sys-fs/avfs/Manifest
+++ b/sys-fs/avfs/Manifest
@@ -1,3 +1,5 @@
DIST avfs-1.1.1.tar.bz2 606819 BLAKE2B 240bb342dc9f993ac8deb60941411b1419c190f9909b5b1bde65777b82f622e121f44f238d2bd8ddc303c86ef376950d4af773c8fae79848b466ec3a3c5aafc1 SHA512 0707f8e746d8d3633755b1a1efb944a400c095b517a7befd75de4d25e2fad1a1b5132b9cf94285b05ad1344bfc138ec75e9cb5f8a5d7775a69595b9b35266f92
+DIST avfs-1.1.3.tar.bz2 609901 BLAKE2B 2eea31365533372fc5ea252d57da97a8e0d362b6db5f0a6e10af9255105ccdcadbd7f5157aafd63244da2c7a53dcbc6781d0c4ba5ca231ce2937855d400ea4e5 SHA512 8e87655cbdb64f0cbbcc399142957ea9e04a998953cc64def9c8bb338b46abffc85a35e09b5fa52bb9ddcf56e27c4f62503050d32c8201eaad61c54e22bdd005
EBUILD avfs-1.1.1.ebuild 1491 BLAKE2B 4456b482d395814bcc942b915c443593d661284f5d8ac25f6a143b474f00b6bec645af06ffb56f355597195d01213285082bb7288c10f95e238ee9db98100538 SHA512 f983cbc72aaba0a55f88a26d8cb76b34baaa6f0cefd816ab9952eefdb2530dafb2b49ea5790b7281324d27159e37fef63cea9884ce9c6e052f2b5c44e0395e0e
-MISC metadata.xml 240 BLAKE2B 05f9c153e966797f11510a8083c2a005bc9fd8e5522e9277599ece1f0c8581033c5e7dff68cb7ca6dcec1a8971073ee3630a0ada4e7be509f05894dc5574f2db SHA512 390e25208a56dc50700ef8e1ad421c72bff56b77aded5ac130433d89be4b9d9df74fb5e54017eacfa795e94c64989dbb2be071358e5f63a1eff84a0018234f3f
+EBUILD avfs-1.1.3.ebuild 1616 BLAKE2B d6c930d1dad4142a1fcf45634b3adb3f7dc8983874a88b3f2170b61574c41569ba957552a0c8869f5f20f30d7d4800da55fcf9a57d6f0eef6c023e93290709ab SHA512 22f38e1341d2cb976c5fffed5c886d13111cb6ea1d2dfaa704e73a231380a8021adc9ff0d58decc88d8257a259e807d7ffeb887c1267f39c70ef91fc2dd56ba7
+MISC metadata.xml 421 BLAKE2B f4c3e8cd39e16235b32a251153c5ff5aab035dc31394cec6029ceef4e99c3e34dc4a58c9f0030dfa4c3618e30da404e4dc5e4802b9b4eca1def912cac902d1d2 SHA512 05215354a0ab9d2a810c2b917d345b1cc061fe20c58799d85549efdc7211bfd6be7ae4ad8bd4b7f5e34239c782cf103a272b2b7e04f356c4271e159758b23c89
diff --git a/sys-fs/avfs/avfs-1.1.3.ebuild b/sys-fs/avfs/avfs-1.1.3.ebuild
new file mode 100644
index 000000000000..a9d5071514cd
--- /dev/null
+++ b/sys-fs/avfs/avfs-1.1.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="AVFS is a virtual filesystem that allows browsing of compressed files"
+HOMEPAGE="https://sourceforge.net/projects/avf/"
+SRC_URI="mirror://sourceforge/avf/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="+lzma webdav +zstd"
+
+BDEPEND="
+ sys-devel/libtool
+ virtual/pkgconfig
+"
+RDEPEND="
+ app-arch/bzip2:=
+ >=sys-fs/fuse-2.4:0
+ sys-libs/zlib
+ lzma? ( app-arch/xz-utils )
+ webdav? ( net-libs/neon:= )
+ zstd? ( app-arch/zstd:= )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ --enable-fuse \
+ --enable-library \
+ --enable-shared \
+ --with-system-zlib \
+ --with-system-bzlib \
+ --disable-static \
+ $(use_enable webdav dav) \
+ $(use_with lzma xz) \
+ $(use_with zstd)
+}
+
+src_install() {
+ default
+
+ # remove cruft
+ rm "${ED}"/usr/bin/{davpass,ftppass} || die
+
+ # install docs
+ dodoc doc/{api-overview,background,FORMAT,INSTALL.*,README.avfs-fuse}
+ dosym ../../../$(get_libdir)/avfs/extfs/README /usr/share/doc/${PF}/README.extfs
+
+ docinto scripts
+ dodoc scripts/*pass
+
+ find "${ED}" -name "*.la" -delete || die
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ einfo "This version of AVFS includes FUSE support. It is user-based."
+ einfo "To execute:"
+ einfo "1) as user, mkdir ~/.avfs"
+ einfo "2) make sure fuse is either compiled into the kernel OR"
+ einfo " modprobe fuse or add to startup."
+ einfo "3) run mountavfs"
+ einfo "To unload daemon, type umountavfs"
+ einfo
+ einfo "READ the documentation! Enjoy :)"
+ fi
+}
diff --git a/sys-fs/avfs/metadata.xml b/sys-fs/avfs/metadata.xml
index 1b7b6a05415d..293141f061c2 100644
--- a/sys-fs/avfs/metadata.xml
+++ b/sys-fs/avfs/metadata.xml
@@ -2,7 +2,11 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
+ <use>
+ <flag name="webdav">Allow mounting WebDAV shares via <pkg>net-libs/neon</pkg></flag>
+ </use>
<upstream>
<remote-id type="sourceforge">avf</remote-id>
+ <changelog>https://sourceforge.net/p/avf/git/ci/master/tree/NEWS</changelog>
</upstream>
</pkgmetadata>