summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2004-11-27 22:12:02 +0000
committerStefan Schweizer <genstef@gentoo.org>2004-11-27 22:12:02 +0000
commit944172c9a9df22b9328d9aa7e4ac22dccd00febf (patch)
treeb93a6e4d24635070419b496becc006a06e00a5f9 /net-fs/davfs2
parent-sparc until we figure out the source of the gcc-3.3.5 weirdness... chances a... (diff)
downloadgentoo-2-944172c9a9df22b9328d9aa7e4ac22dccd00febf.tar.gz
gentoo-2-944172c9a9df22b9328d9aa7e4ac22dccd00febf.tar.bz2
gentoo-2-944172c9a9df22b9328d9aa7e4ac22dccd00febf.zip
Adding debug use flag and modules.d file for autoloading the module on demand
Diffstat (limited to 'net-fs/davfs2')
-rw-r--r--net-fs/davfs2/ChangeLog5
-rw-r--r--net-fs/davfs2/davfs2-0.2.3.ebuild22
2 files changed, 23 insertions, 4 deletions
diff --git a/net-fs/davfs2/ChangeLog b/net-fs/davfs2/ChangeLog
index 8528ca50e12f..24f287282aa9 100644
--- a/net-fs/davfs2/ChangeLog
+++ b/net-fs/davfs2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-fs/davfs2
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.6 2004/11/27 14:12:32 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/ChangeLog,v 1.7 2004/11/27 22:12:02 genstef Exp $
+
+ 27 Nov 2004; Stefan Schweizer <genstef@gentoo.org> davfs2-0.2.3.ebuild:
+ Adding debug use flag and modules.d file for autoloading the module on demand
27 Nov 2004; Stefan Schweizer <genstef@gentoo.org>
+files/davfs2.nokernelsrc.patch, davfs2-0.2.3.ebuild:
diff --git a/net-fs/davfs2/davfs2-0.2.3.ebuild b/net-fs/davfs2/davfs2-0.2.3.ebuild
index 5efdb1dfeac5..f3b4e9d55da1 100644
--- a/net-fs/davfs2/davfs2-0.2.3.ebuild
+++ b/net-fs/davfs2/davfs2-0.2.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-0.2.3.ebuild,v 1.2 2004/11/27 14:12:32 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/davfs2/davfs2-0.2.3.ebuild,v 1.3 2004/11/27 22:12:02 genstef Exp $
inherit kernel-mod eutils
-IUSE="ssl"
+IUSE="ssl debug"
DESCRIPTION="a Linux file system driver that allows you to mount a WebDAV server as a local disk drive. Davfs2 uses Coda for kernel driver and neon for WebDAV interface"
SRC_URI="mirror://sourceforge/dav/${P}.tar.gz"
@@ -36,7 +36,8 @@ src_unpack() {
}
src_compile() {
- econf $(use_with ssl) || die "econf failed"
+ econf $(use_with ssl) \
+ $(use_with debug) || die "econf failed"
emake || die "emake failed"
}
@@ -44,4 +45,19 @@ src_install() {
einstall || die "einstall failed"
dodoc BUGS ChangeLog FAQ README THANKS TODO
+
+ dodir /etc/modules.d
+ cat >${D}/etc/modules.d/davfs2 <<EOF
+alias char-major-67 coda
+alias /dev/davfs* coda
+EOF
+}
+
+pkg_postinst() {
+ if [ -x /sbin/modules-update ] ;
+ then
+ ebegin "Updating modules.conf"
+ /sbin/modules-update
+ eend $?
+ fi
}