summaryrefslogtreecommitdiff
path: root/net-fs/davfs2
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/davfs2')
-rw-r--r--net-fs/davfs2/Manifest2
-rw-r--r--net-fs/davfs2/davfs2-1.5.5.ebuild53
2 files changed, 55 insertions, 0 deletions
diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest
index f3023f3c471b..23d70f541bba 100644
--- a/net-fs/davfs2/Manifest
+++ b/net-fs/davfs2/Manifest
@@ -1,3 +1,5 @@
DIST davfs2-1.5.4.tar.gz 478377 BLAKE2B 25c7dba1a6cda384a60c8ce2e0a56d5c805f5c30f35f086bfe1f55ee4eb79b8228beca2e7214e9858a1c49c8f782c6de8f4f0631cf0e2090991a0e35ba5d8ed2 SHA512 08550f171f4b196f55f3fb71c6c75ed24063f8a5afc31c52502d0c911cf7aca4da01f7a123269d410dadc497c44ef5a3573e455aca6eafe48eb86f18429b94b2
+DIST davfs2-1.5.5.tar.gz 481021 BLAKE2B bff2f1a48caa74009209ea1422b20d46022358339f650228584ed1d7b8218be9fd360666cdd3f12a9e110af36caadc7de2daf4134ed4a34f498999ff09f6327a SHA512 3a660b29eab15226acf3cc896ec387beb96cb4a94beae40d5970d8d4f7f370afb7da2b637584d953b5dc342d81454d9a954990b04f3cb032fb2a0a469fd7983c
EBUILD davfs2-1.5.4.ebuild 963 BLAKE2B 8d3d90d343aad9165f1bb0101fe3c8f79a4bc67246971b5a4c7ba018ba5e9d3ef9208cee0ef9647652d2c25cfb0dc80e4f0174c9f40ea92dd84157962935a54a SHA512 2d437012f6c6c96ff85bebbfc90ac60b967a7500fee0403676cb6e0579f3e20e0050e00077d3e1ba68c308086d6a4fca662a3f1531de5a3d001d0088b72941c0
+EBUILD davfs2-1.5.5.ebuild 1123 BLAKE2B fbf5db293c9050d41e872847aba58b7ed11ec964027829f6fa2a35f50e9ebc0e2f733970282737e2851a3ecafbbe2340c628ad6691ffe8ee85c60267ce2e128d SHA512 c8313e75944fd4c17d1b2370fe9be02d5ec4a32517ddbaef79d971b0dffa16ab771d146de06659166743523fc720e646e010305ed92bc6f4cf50f808baf17361
MISC metadata.xml 251 BLAKE2B 50ac338c9f09535de32ea2a1300195c358edff81cc3517de13846dbbc8b34331fa634e33633828beefb727a53bce0299ed784f4d0e18c07c977abfcfdd312074 SHA512 6d9ef84f36e3ce79747ee806d0194543d1c5a004e612ecbe308644829cf03234d7f52ef0dbbe57144da5d4af86e3a9a5df297a01c95c4d9938f49605e92aea32
diff --git a/net-fs/davfs2/davfs2-1.5.5.ebuild b/net-fs/davfs2/davfs2-1.5.5.ebuild
new file mode 100644
index 000000000000..3ef5dd25f003
--- /dev/null
+++ b/net-fs/davfs2/davfs2-1.5.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit user
+
+DESCRIPTION="Linux FUSE (or coda) driver that allows you to mount a WebDAV resource"
+HOMEPAGE="https://savannah.nongnu.org/projects/davfs2"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="nls"
+RESTRICT="test"
+
+RDEPEND="dev-libs/libxml2
+ net-libs/neon
+ sys-libs/zlib
+ nls? ( virtual/libintl virtual/libiconv )
+"
+DEPEND="${REPEND}
+ nls? ( sys-devel/gettext )
+"
+
+pkg_setup() {
+ enewgroup davfs2
+}
+
+src_prepare() {
+ # Let the package manager handle man page compression
+ sed -e '/^manual[58]_DATA/ s/\.gz//g' \
+ -i "${S}"/man/Makefile.in || die
+
+ default
+}
+
+src_configure() {
+ econf dav_user=nobody --enable-largefile $(use_enable nls)
+}
+
+pkg_postinst() {
+ elog
+ elog "Quick setup:"
+ elog " (as root)"
+ elog " # gpasswd -a \${your_user} davfs2"
+ elog " # echo 'http://path/to/dav /home/\${your_user}/dav davfs rw,user,noauto 0 0' >> /etc/fstab"
+ elog " (as user)"
+ elog " \$ mkdir -p ~/dav"
+ elog " \$ mount ~/dav"
+ elog
+}