+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 d9443f8a72726d8e779c1a9064122fa7 fuse-1.4.ebuild 1555
MD5 61f3c8ddc1e887be58825483427d13ff fuse-2.1.ebuild 1250
MD5 b356b597461b75a9bf7b555c46f3863e ChangeLog 1813
MD5 6e89ba8198764bfd079a0cfa18dca593 metadata.xml 264
-MD5 43ecf3436a60528ada68a114daf74975 fuse-2.2_pre3.ebuild 1671
+MD5 cf4db735cee0982360608e90a3faa392 fuse-2.2_pre3.ebuild 1470
MD5 a24d5bc33d0d36527f183fce45e5c78e files/fuse-1.4-kernel-2.6.10.patch 1052
MD5 86c18e0aa1b9961decf250349afc0fdc files/digest-fuse-1.4 60
MD5 fd5c3c8819559265b221879ca45deae3 files/digest-fuse-2.1 60
MD5 c1ef6366ba5892111ddef08887328663 files/fuse-fix-lazy-binding.patch 398
MD5 1a9d13833510849d37a9ab5a7e34b83c files/digest-fuse-2.2_pre3 65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFB6vChm/TpOlox+n8RAtiLAJwImxvEBVD1DlZXhHLbHdvmSzQV5wCg+UCH
+rEJaC5AexgEgUTDEy7JzmDw=
+=9ldF
+-----END PGP SIGNATURE-----
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.2_pre3.ebuild,v 1.1 2005/01/15 19:32:24 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.2_pre3.ebuild,v 1.2 2005/01/16 22:54:17 johnm Exp $
inherit linux-mod eutils
KEYWORDS="~x86 ~ppc"
IUSE=""
S=${WORKDIR}/${MY_P}
+
+CONFIG_CHECK="@FUSE_FS:fuse"
MODULE_NAMES="fuse(fs:${S}/kernel)"
BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR}
- fusemoduledir=${ROOT}/lib/modules/${KV_FULL}/fs"
+ fusemoduledir=${ROOT}/lib/modules/${KV_FULL}/fs"
BUILD_TARGETS="all"
-
-pkg_setup() {
- linux-mod_pkg_setup
-
- if linux_chkconfig_present FUSE_FS
- then
- einfo "Not compiling the kernel module as it is already in the kernel"
- FUSEMOD=""
- else
- einfo "Compiling the kernel module as it is not yet in the kernel"
- FUSEMOD="true"
- fi
-}
+ECONF_PARAMS="--with-kernel=${KV_DIR}"
+FUSE_FS_ERROR="We have detected FUSE already built into the kernel. \
+ We will continue, but we wont build the module this time."
src_unpack() {
unpack ${A}
}
src_compile() {
- econf --disable-kernel-module --disable-example || die "econf failed"
+ einfo "Preparing fuse userland"
+ econf --disable-kernel-module --disable-example || \
+ die "econf failed for fuse userland"
emake || die "emake failed"
- if [ -n "${FUSEMOD}" ]
- then
- cd kernel
- econf --with-kernel="${ROOT}${KV_DIR}" || die "econf kernel failed"
- sed -i 's/.*depmod.*//' Makefile
- convert_to_m Makefile
- linux-mod_src_compile
- fi
+ sed -i 's/.*depmod.*//g' ${S}/kernel/Makefile.in
+ convert_to_m ${S}/kernel/Makefile.in
+ linux-mod_src_compile
}
src_install() {
docinto example
dodoc example/*
- if [ -n "${FUSEMOD}" ]
- then
- linux-mod_src_install
- fi
-}
-
-pkg_postinst() {
- if [ -n "${FUSEMOD}" ]
- then
- linux-mod_pkg_postinst
- fi
+ linux-mod_src_install
}