diff options
author | David Seifert <soap@gentoo.org> | 2024-12-11 15:28:20 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2024-12-11 15:28:20 +0100 |
commit | 3b8cd61f05973d3fc4bc00ad83c0a1ddca16bdf5 (patch) | |
tree | 66a86bf00a937eadf68fb9e9a686f4f23d13596c /net-fs | |
parent | app-containers/containerd: revbump to fix the runc dependency (diff) | |
download | gentoo-3b8cd61f05973d3fc4bc00ad83c0a1ddca16bdf5.tar.gz gentoo-3b8cd61f05973d3fc4bc00ad83c0a1ddca16bdf5.tar.bz2 gentoo-3b8cd61f05973d3fc4bc00ad83c0a1ddca16bdf5.zip |
net-fs/davfs2: add 1.7.1
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/davfs2/Manifest | 1 | ||||
-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, 130 insertions, 0 deletions
diff --git a/net-fs/davfs2/Manifest b/net-fs/davfs2/Manifest index 0d4bcf722961..bedcef185580 100644 --- a/net-fs/davfs2/Manifest +++ b/net-fs/davfs2/Manifest @@ -1,2 +1,3 @@ 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 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 > $@ |