mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-fs/davfs2: bump to 1.5.4, eapi bump, add nls flag, update license
- Bump to EAPI 6 - Add a "nls" USE flag along with the gettext build time, and libintl and libiconv runtime deps - The source is licensed with GPL-3+ now Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1475 Signed-off-by: Ian Delaney <idella4@gentoo.org>
This commit is contained in:
committed by
Ian Delaney
parent
53682a32f2
commit
80446750d4
@@ -1 +1,2 @@
|
||||
DIST davfs2-1.5.2.tar.gz 464458 SHA256 be34a19ab57a6ea77ecb82083e9e4c1882e12b2de64257de567ad5ee7a17b358 SHA512 c912049e23b76bda19c2ae2d07bc2b1da7ed9bf82b338c57c0f9fb8a3144cbbb52a0e8f8c2f8996342c7aa434470d062996c30bbbe0f1c6623c81af6414fbb45 WHIRLPOOL b1147d93f188635293726cad27a5ef8f79ab4dd102c59143c7bffef26f513633ca16f4328b053cc4c430fa9112dbbf468e0d199695225bbe6ca8c9e92a96b633
|
||||
DIST davfs2-1.5.4.tar.gz 478377 SHA256 c9c4e0f0912a782386216b2147eb9c36c47f193b8fcf3d637719e0b9fe7c96e0 SHA512 08550f171f4b196f55f3fb71c6c75ed24063f8a5afc31c52502d0c911cf7aca4da01f7a123269d410dadc497c44ef5a3573e455aca6eafe48eb86f18429b94b2 WHIRLPOOL f22962bf770867b2e5b54f810004325d3d782c43448787223de4c203f959630fb0a43ab61bff355563fb1bee3a47444e1ee9baeb47f13b200c48852eb4332972
|
||||
|
||||
46
net-fs/davfs2/davfs2-1.5.4.ebuild
Normal file
46
net-fs/davfs2/davfs2-1.5.4.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
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 ~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_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
|
||||
}
|
||||
Reference in New Issue
Block a user