diff options
Diffstat (limited to 'net-fs/davfs2')
-rw-r--r-- | net-fs/davfs2/Manifest | 3 | ||||
-rw-r--r-- | net-fs/davfs2/davfs2-1.7.1.ebuild | 54 | ||||
-rw-r--r-- | net-fs/davfs2/files/davfs2-1.7.1-man-page-compression.patch | 75 |
3 files changed, 132 insertions, 0 deletions
diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest index 517e23f3e17b..2624339ceda7 100644 --- a/net-fs/davfs2/Manifest +++ b/net-fs/davfs2/Manifest @@ -1,6 +1,9 @@ AUX davfs2-1.6.1-neon-version-support.patch 496 BLAKE2B c5edb051ae20c9d4b2cbb19d1231c7939bc7d7f86309a06ed240bec3db76117cee83d74324493a723ee4d7374a03624cc9be292dd3e5619011f3b1005870f78a SHA512 6ee74c461f410757d9ca3872f7592efdd4706c04ed59f824faad577f45c8b7738e6d909980f618633348eccc505f7b80f2b12de1da97881b807ff82923f6cab9 +AUX davfs2-1.7.1-man-page-compression.patch 2474 BLAKE2B 9a02ee0ff10f6668a1c38b8221ee44a0338556f3401473d7b16cea2f2c08ff970611bf7b6154356e98e60782bc10c9973b05b0df4a45479fc24ac26a16fbf2e2 SHA512 582856e3d8afec6cfa022791535add2b15985854226350c0aa3b5fbd8947d5b6c5857872d2acaf71f070852d94ff9b85498ef080b9dfd4aaf5293955984f00f0 DIST davfs2-1.6.1.tar.gz 472426 BLAKE2B b24a3f17604838e763cbcf86f62719ee41b5569e58732441a621d210dd0c2e619d4f363d90e9b13d1616e84a3da940da941a15ad6eadfa2b339d14a6e26c75a2 SHA512 12f9eadd2049741b7cb61c5583be6c6982559e702e5cbd4767c655110187524d7afad0a6ff8ad00d457e194ad75b3ce391f5fe566fb4a0bbaed0a705caa3f163 DIST davfs2-1.7.0.tar.gz 476244 BLAKE2B 671d473bc94c2a0cfc3d2cfb47b6eb558fee0e834ed4de9c3670279643f8903568d9fb077b6fbc2f81e848d076ff02ea5b07d885f16e89331393a28df62055a6 SHA512 6ee5820b60ed28ad100949bb4db65ea07bbae1ad0128cd35e7bb69f7f6bdde99606e8cf704ddb197f1400abadc3934d34ab85f298f9100b6ea9e60813c2345f2 +DIST davfs2-1.7.1.tar.gz 480381 BLAKE2B 7c5f38f221e2dcfb07ce335a34638b7eb4bfe4a7c500e1a3cf3b36e42df35e92d4dad1e01f4ef1e55e5e9b7eb5f87ad1f940219f4a493f41066224ac76d3304f SHA512 187a2ccd8946fbd659cbb96165fe5523c9c4f2ba855087bc0493ebce198a5ec581543576f0dd2a8e5da96c4abcc10bb83fcb3d5b573aa72bd1871a9f3914c364 EBUILD davfs2-1.6.1-r3.ebuild 1320 BLAKE2B 58f2d6bb3cc1f904c8adcd2af6575e817c2360c435630ab8583b3f1d65316675981a5b6e1ad0e4c270aafa8349d0207aaf25fbc13f9c8a2e7c0407f496464c51 SHA512 cd799cb6a0d91c3e875076981ebaab775dce1e09e99a925ef10cd26b5b40129f9f05862c6a78ab52a0853fe5a69429acda844dd854c97b0d95363c12dd718db6 EBUILD davfs2-1.7.0-r1.ebuild 1292 BLAKE2B 0c1674105955cf1664a83aafde1bd3f5ad81fd34755c090a062d26e9ed6dfb5c017f657d07250f6917de7bdc459dc411ea6b5fdef10dc9b54cf2332f57114561 SHA512 c57d275f7c0b6bebd23ef7b86a6306209e5d4c2c3bdec8cbca68559f9a5535a609efb26ac756b7e1e234235de7772d685bd8d72559568a6d50b6477ebb4a8a60 +EBUILD davfs2-1.7.1.ebuild 1068 BLAKE2B 29a3a37173658585ae1afcec2f3377a00d821c30b3d05576362e20de24412b04001c39b7e5c4cf196655d8a18beadca3813f374fa684b7658e209afac4753aeb SHA512 1c50320996677d5fe17db5184d6358dd15ef477d3900f898063e87adea65b8b7264c11e5142fc0a99cabf61441ba05e1c48637935060132f5b4160bb37f0ec6e MISC metadata.xml 342 BLAKE2B 00339b6e849aa8ae26de58e48ece3d3df8d176fa6171756f297cabe81ec6037d3b82add01fcfb915c82fcfa74d4c7816882adc581c0f8a3ed4635fffa3c6727f SHA512 472d5f316a3b1c0b7f2f0f11bd567e9bd3b4b3f4e54c8018e38b179b293e2ac42a7452fae43994929b7f8647e866e612a499e322ef8719beba0d1fae32a1fbb8 diff --git a/net-fs/davfs2/davfs2-1.7.1.ebuild b/net-fs/davfs2/davfs2-1.7.1.ebuild new file mode 100644 index 000000000000..a9a3f2c89a05 --- /dev/null +++ b/net-fs/davfs2/davfs2-1.7.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +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 ~arm64 ~ppc ~x86" +IUSE="nls" +RESTRICT="test" + +DEPEND=" + net-libs/neon:=" +RDEPEND=" + ${DEPEND} + acct-group/davfs2 + acct-user/davfs2 + nls? ( + virtual/libintl + virtual/libiconv + )" +BDEPEND=" + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-1.7.1-man-page-compression.patch # backport +) + +src_prepare() { + default + eautoreconf +} + +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.7.1-man-page-compression.patch b/net-fs/davfs2/files/davfs2-1.7.1-man-page-compression.patch new file mode 100644 index 000000000000..a6992f67c3cf --- /dev/null +++ b/net-fs/davfs2/files/davfs2-1.7.1-man-page-compression.patch @@ -0,0 +1,75 @@ +https://github.com/alisarctl/davfs2/pull/1 + +From 789656d8c8144d4781795658524b3f8b15fb0d11 Mon Sep 17 00:00:00 2001 +From: David Seifert <soap@gentoo.org> +Date: Wed, 20 Nov 2024 19:49:53 +0100 +Subject: [PATCH] Do not compress manpages + +* In general, manpage compression should be left to packagers. +--- + man/Makefile.am | 7 ++----- + man/de/Makefile.am | 7 ++----- + man/es/Makefile.am | 5 +---- + 3 files changed, 5 insertions(+), 14 deletions(-) + +diff --git a/man/Makefile.am b/man/Makefile.am +index ea10e83..d1f34db 100644 +--- a/man/Makefile.am ++++ b/man/Makefile.am +@@ -42,13 +42,10 @@ edit = sed \ + -e 's|@USER[@]|$(dav_user)|g' \ + -e 's|@GROUP[@]|$(dav_group)|g' + +-manual5_DATA = davfs2.conf.5.gz +-manual8_DATA = mount.davfs.8.gz umount.davfs.8.gz ++manual5_DATA = davfs2.conf.5 ++manual8_DATA = mount.davfs.8 umount.davfs.8 + + EXTRA_DIST = davfs2.conf.5 mount.davfs.8 umount.davfs.8 \ + davfs2.conf.5.pot mount.davfs.8.pot umount.davfs.8.pot \ + po4a.conf template.translator + CLEANFILES = $(manual5_DATA) $(manual8_DATA) +- +-%.gz: % +- $(edit) $< | gzip -9 > $@ +diff --git a/man/de/Makefile.am b/man/de/Makefile.am +index 6965857..8489c9f 100644 +--- a/man/de/Makefile.am ++++ b/man/de/Makefile.am +@@ -40,14 +40,11 @@ edit = sed \ + -e 's|@USER[@]|$(dav_user)|g' \ + -e 's|@GROUP[@]|$(dav_group)|g' + +-manual5_DATA = davfs2.conf.5.gz +-manual8_DATA = mount.davfs.8.gz umount.davfs.8.gz ++manual5_DATA = davfs2.conf.5 ++manual8_DATA = mount.davfs.8 umount.davfs.8 + + EXTRA_DIST = davfs2.conf.5 mount.davfs.8 umount.davfs.8 \ + davfs2.conf.5.po mount.davfs.8.po umount.davfs.8.po \ + davfs2.conf.5.translator mount.davfs.8.translator \ + umount.davfs.8.translator + CLEANFILES = $(manual5_DATA) $(manual8_DATA) +- +-%.gz: % +- $(edit) $< | gzip -9 > $@ +diff --git a/man/es/Makefile.am b/man/es/Makefile.am +index 4a427b6..2ccf0d8 100644 +--- a/man/es/Makefile.am ++++ b/man/es/Makefile.am +@@ -40,7 +40,7 @@ edit = sed \ + -e 's|@USER[@]|$(dav_user)|g' \ + -e 's|@GROUP[@]|$(dav_group)|g' + +-manual5_DATA = davfs2.conf.5.gz ++manual5_DATA = davfs2.conf.5 + #manual8_DATA = mount.davfs.8.gz umount.davfs.8.gz + + #EXTRA_DIST = davfs2.conf.5 mount.davfs.8 umount.davfs.8 \ +@@ -49,6 +49,3 @@ manual5_DATA = davfs2.conf.5.gz + # umount.davfs.8.translator + EXTRA_DIST = davfs2.conf.5 davfs2.conf.5.po + CLEANFILES = $(manual5_DATA) $(manual8_DATA) +- +-%.gz: % +- $(edit) $< | gzip -9 > $@ |