summaryrefslogtreecommitdiff
path: root/net-fs
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
commite0e90d33fbc090b9d32f772b5a8950b498687f5a (patch)
tree9051c78e543cfa0cf6219f2092682bede58f4af8 /net-fs
parent-sparc until we figure out the source of the gcc-3.3.5 weirdness... chances a... (diff)
downloadhistorical-e0e90d33fbc090b9d32f772b5a8950b498687f5a.tar.gz
historical-e0e90d33fbc090b9d32f772b5a8950b498687f5a.tar.bz2
historical-e0e90d33fbc090b9d32f772b5a8950b498687f5a.zip
Adding debug use flag and modules.d file for autoloading the module on demand
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/davfs2/ChangeLog5
-rw-r--r--net-fs/davfs2/Manifest4
-rw-r--r--net-fs/davfs2/davfs2-0.2.3.ebuild22
3 files changed, 25 insertions, 6 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/Manifest b/net-fs/davfs2/Manifest
index 236a361979c7..01468b953e7f 100644
--- a/net-fs/davfs2/Manifest
+++ b/net-fs/davfs2/Manifest
@@ -1,8 +1,8 @@
MD5 d0057c0ad166e1aefc9bcf89ec876efe davfs2-0.2.2.ebuild 805
MD5 f1654452dc14d2898b09e9c3aee7a424 davfs2-0.2.2-r1.ebuild 909
MD5 ef94e04d2bfa9bb77cd4397541e0b513 davfs2-0.2.1.ebuild 801
-MD5 20a4a064d71efa28bb43fde0e0223831 davfs2-0.2.3.ebuild 1142
-MD5 1ad53b797760d332f226b6769a1d8099 ChangeLog 1665
+MD5 2454167ba923103a52adfc201b3e92e1 davfs2-0.2.3.ebuild 1413
+MD5 3047771913fe6a99b171f11d201b3616 ChangeLog 1820
MD5 90d54af17451a3725b7244f94d7ac81a metadata.xml 264
MD5 222bb7c9a0ba144f42b188211d562cd3 files/digest-davfs2-0.2.1 64
MD5 340445f0521e173e52743ac4f2889f56 files/digest-davfs2-0.2.2 64
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
}