diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2011-03-13 21:01:06 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2011-03-13 21:01:06 +0000 |
commit | f6d32e80820460b6750b42f115e9a71f8b1b5d1c (patch) | |
tree | 5ff4eb1428cbdff9d859b7d5a27306e668c4b30e /net-fs/davfs2 | |
parent | Remove old. (diff) | |
download | gentoo-2-f6d32e80820460b6750b42f115e9a71f8b1b5d1c.tar.gz gentoo-2-f6d32e80820460b6750b42f115e9a71f8b1b5d1c.tar.bz2 gentoo-2-f6d32e80820460b6750b42f115e9a71f8b1b5d1c.zip |
Added required davfs2 group. Fix by Urs Joss (bug #274312)
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'net-fs/davfs2')
-rw-r--r-- | net-fs/davfs2/ChangeLog | 10 | ||||
-rw-r--r-- | net-fs/davfs2/davfs2-1.4.5-r1.ebuild (renamed from net-fs/davfs2/davfs2-1.4.5.ebuild) | 24 |
2 files changed, 28 insertions, 6 deletions
diff --git a/net-fs/davfs2/ChangeLog b/net-fs/davfs2/ChangeLog index 8777d360bd7c..477bfd9150a1 100644 --- a/net-fs/davfs2/ChangeLog +++ b/net-fs/davfs2/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-fs/davfs2 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.51 2010/08/17 19:20:50 ssuominen Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.52 2011/03/13 21:01:06 slyfox Exp $ + +*davfs2-1.4.5-r1 (13 Mar 2011) + + 13 Mar 2011; Sergei Trofimovich <slyfox@gentoo.org> -davfs2-1.4.5.ebuild, + +davfs2-1.4.5-r1.ebuild: + Added required davfs2 group. Fix by Urs Joss (bug #274312) 17 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> davfs2-1.4.5.ebuild, +files/davfs2-1.4.5-glibc212.patch: diff --git a/net-fs/davfs2/davfs2-1.4.5.ebuild b/net-fs/davfs2/davfs2-1.4.5-r1.ebuild index cdcd9d4c61b1..563ae3ce6037 100644 --- a/net-fs/davfs2/davfs2-1.4.5.ebuild +++ b/net-fs/davfs2/davfs2-1.4.5-r1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-1.4.5.ebuild,v 1.3 2010/08/17 19:20:50 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-1.4.5-r1.ebuild,v 1.1 2011/03/13 21:01:06 slyfox Exp $ EAPI="2" inherit autotools eutils linux-mod -DESCRIPTION="a Linux file system driver that allows you to mount a WebDAV server as a local disk drive. Davfs2 uses fuse (or coda) for kernel driver and neon for WebDAV interface" +DESCRIPTION="Linux FUSE (or coda) driver that allows you to mount a WebDAV resource." HOMEPAGE="http://savannah.nongnu.org/projects/davfs2" SRC_URI="http://mirror.lihnidos.org/GNU/savannah/davfs2/${P}.tar.gz" @@ -21,6 +21,10 @@ DEPEND="dev-libs/libxml2 sys-libs/zlib" RDEPEND="${DEPEND}" +pkg_setup() { + enewgroup davfs2 +} + src_prepare() { epatch "${FILESDIR}"/${P}-glibc212.patch sed -e "s/^NE_REQUIRE_VERSIONS.*29/& 30/" -i configure.ac @@ -45,7 +49,7 @@ src_install() { dodir /var/run/mount.davfs keepdir /var/run/mount.davfs - fowners root:users /var/run/mount.davfs + fowners root:davfs2 /var/run/mount.davfs fperms 1774 /var/run/mount.davfs # Ignore nobody's home @@ -55,3 +59,15 @@ src_install() { ignore_home nobody EOF } + +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 +} |