diff options
Diffstat (limited to 'net-fs/davfs2')
-rw-r--r-- | net-fs/davfs2/Manifest | 5 | ||||
-rw-r--r-- | net-fs/davfs2/davfs2-1.5.5.ebuild | 5 | ||||
-rw-r--r-- | net-fs/davfs2/davfs2-1.5.6.ebuild | 53 | ||||
-rw-r--r-- | net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch | 18 |
4 files changed, 79 insertions, 2 deletions
diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest index 23d70f541bba..75d96d17de50 100644 --- a/net-fs/davfs2/Manifest +++ b/net-fs/davfs2/Manifest @@ -1,5 +1,8 @@ +AUX davfs2-1.5.5-gcc-10.patch 410 BLAKE2B 51854a72a87e36dc069071dadbbd13badff4fcdcfcc3d91f4949ecc80f4cc4e4f2ba33f3b66dd056014e9cbeee8a70b3196c9bcb229fc7cca7c0c24d0a92602d SHA512 09c764c1d762bd05f4f338827182172024b77cac8d7bd06919e897f8af645f4add4a90ef20e98c6ced14910a7c88e330e6a923c45a014efd524220ca3b9aff96 DIST davfs2-1.5.4.tar.gz 478377 BLAKE2B 25c7dba1a6cda384a60c8ce2e0a56d5c805f5c30f35f086bfe1f55ee4eb79b8228beca2e7214e9858a1c49c8f782c6de8f4f0631cf0e2090991a0e35ba5d8ed2 SHA512 08550f171f4b196f55f3fb71c6c75ed24063f8a5afc31c52502d0c911cf7aca4da01f7a123269d410dadc497c44ef5a3573e455aca6eafe48eb86f18429b94b2 DIST davfs2-1.5.5.tar.gz 481021 BLAKE2B bff2f1a48caa74009209ea1422b20d46022358339f650228584ed1d7b8218be9fd360666cdd3f12a9e110af36caadc7de2daf4134ed4a34f498999ff09f6327a SHA512 3a660b29eab15226acf3cc896ec387beb96cb4a94beae40d5970d8d4f7f370afb7da2b637584d953b5dc342d81454d9a954990b04f3cb032fb2a0a469fd7983c +DIST davfs2-1.5.6.tar.gz 481448 BLAKE2B 44a36d78f77222356dcde7733bd2aacc1b643c14d9d441b480002140881007f26fe4addb8dc70f3d3d185bdbe6eb4e74c7e8cb0539c035f220ed865c4526d3c1 SHA512 97c3f2eef93b418d89bb387a441d0624d4eb3de614973e3f25ded5e29d6913c7aa724022b610ff36d050ca11db63c47651413a93297e235725a42879bc8ac0c2 EBUILD davfs2-1.5.4.ebuild 963 BLAKE2B 8d3d90d343aad9165f1bb0101fe3c8f79a4bc67246971b5a4c7ba018ba5e9d3ef9208cee0ef9647652d2c25cfb0dc80e4f0174c9f40ea92dd84157962935a54a SHA512 2d437012f6c6c96ff85bebbfc90ac60b967a7500fee0403676cb6e0579f3e20e0050e00077d3e1ba68c308086d6a4fca662a3f1531de5a3d001d0088b72941c0 -EBUILD davfs2-1.5.5.ebuild 1123 BLAKE2B fbf5db293c9050d41e872847aba58b7ed11ec964027829f6fa2a35f50e9ebc0e2f733970282737e2851a3ecafbbe2340c628ad6691ffe8ee85c60267ce2e128d SHA512 c8313e75944fd4c17d1b2370fe9be02d5ec4a32517ddbaef79d971b0dffa16ab771d146de06659166743523fc720e646e010305ed92bc6f4cf50f808baf17361 +EBUILD davfs2-1.5.5.ebuild 1210 BLAKE2B 868962e2aa411620cc694bcc9689beabc498fbddec1d18998b0337d8d469f676dee3df6a9bdb869b22c60d10c4ae0034239a21b9d5ea9cae0c4fb695bdf0c6d5 SHA512 f092ccc716d45056247427d9e3aaae49142d0a89814de4339205f8aed825ce2775cd239ca7f059c2dfc431f939fe3a71cb9cb193b40d1f1f7083eb95311af734 +EBUILD davfs2-1.5.6.ebuild 1166 BLAKE2B e03e1c6a0851168427c46a1520d3996be44efac07ef76475d596cf4d46f144f794956a382d1b8904cc04b1faf35f8872028221c7284667635c6e3f927188849e SHA512 6324cb3dccbdd9f9ecf73dfac55869bf07bb88078a280e1cb5229856f0c76a087709b48a04ed4a7fa205e56b95863ac8ac79e54512eb4fb9331c9e4581c930c5 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 index 3ef5dd25f003..e90fe83a11dd 100644 --- a/net-fs/davfs2/davfs2-1.5.5.ebuild +++ b/net-fs/davfs2/davfs2-1.5.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -33,6 +33,9 @@ src_prepare() { sed -e '/^manual[58]_DATA/ s/\.gz//g' \ -i "${S}"/man/Makefile.in || die + # Bug: https://bugs.gentoo.org/706356 + eapply "${FILESDIR}"/${PN}-1.5.5-gcc-10.patch + default } diff --git a/net-fs/davfs2/davfs2-1.5.6.ebuild b/net-fs/davfs2/davfs2-1.5.6.ebuild new file mode 100644 index 000000000000..320e82d5c52d --- /dev/null +++ b/net-fs/davfs2/davfs2-1.5.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ) +" +RDEPEND="${RDEPEND} + acct-group/davfs2 + acct-user/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 + + eapply "${FILESDIR}"/${PN}-1.5.5-gcc-10.patch + + default +} + +src_configure() { + econf --enable-largefile $(use_enable nls) +} + +pkg_postinst() { + elog + elog "Quick setup:" + elog " (as root)" + elog " # gpasswd -a \${your_user} davfs2" + elog " # echo 'https://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 +} diff --git a/net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch b/net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch new file mode 100644 index 000000000000..56b0bab44918 --- /dev/null +++ b/net-fs/davfs2/files/davfs2-1.5.5-gcc-10.patch @@ -0,0 +1,18 @@ +Handle building with '-fno-common' for gcc 10. +See: https://bugs.gentoo.org/706356 + + +--- a/src/dav_coda.c ++++ b/src/dav_coda.c +@@ -99,3 +99,3 @@ static size_t alignment; + /* Send debug messages to syslog if != 0. */ +-int debug; ++static int debug; + +--- a/src/dav_fuse.c ++++ b/src/dav_fuse.c +@@ -86,3 +86,3 @@ static uint64_t root; + /* Send debug messages to syslog if != 0. */ +-int debug; ++static int debug; + |