summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-01-01 23:00:13 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-01-01 23:00:13 +0000
commitffd07a991a819d070b176c621bfc12aa6a085e04 (patch)
tree9a3c2eaa1d35d0240684852e013c44a684d82fa4 /sys-fs/fuse
parentadd in delete_ functions, make index parameters able to take a character as w... (diff)
downloadhistorical-ffd07a991a819d070b176c621bfc12aa6a085e04.tar.gz
historical-ffd07a991a819d070b176c621bfc12aa6a085e04.tar.bz2
historical-ffd07a991a819d070b176c621bfc12aa6a085e04.zip
Conversion to linux-mod
Diffstat (limited to 'sys-fs/fuse')
-rw-r--r--sys-fs/fuse/ChangeLog8
-rw-r--r--sys-fs/fuse/Manifest6
-rw-r--r--sys-fs/fuse/fuse-1.4.ebuild42
-rw-r--r--sys-fs/fuse/fuse-2.1.ebuild42
4 files changed, 39 insertions, 59 deletions
diff --git a/sys-fs/fuse/ChangeLog b/sys-fs/fuse/ChangeLog
index f6ea4adfd0c6..c64cbff6c9e0 100644
--- a/sys-fs/fuse/ChangeLog
+++ b/sys-fs/fuse/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/fuse
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.4 2004/12/26 14:56:43 lu_zero Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/ChangeLog,v 1.5 2005/01/01 23:00:13 genstef Exp $
+
+ 01 Jan 2005; Stefan Schweizer <genstef@gentoo.org> fuse-1.4.ebuild,
+ fuse-2.1.ebuild:
+ Conversion to linux-mod
26 Dec 2004; Luca Barbato <lu_zero@gentoo.org> fuse-2.1.ebuild:
Marked ~ppc
diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest
index 83fa3e20f2ca..16d19f0d14e4 100644
--- a/sys-fs/fuse/Manifest
+++ b/sys-fs/fuse/Manifest
@@ -1,6 +1,6 @@
-MD5 d3eb58f31cb59b3345e9d018c3d5d37f ChangeLog 860
-MD5 cc4cfb332a5e8f5c9d64480d68542c60 fuse-2.1.ebuild 1378
+MD5 57511c1dfa1d27b60581cdcce129fb4f fuse-1.4.ebuild 1151
+MD5 b013f85dfbc6a56f0c407b1c5a6df29c fuse-2.1.ebuild 1156
+MD5 bf103a5b6c7f0f2b89de1c5c7c0ccbaa ChangeLog 976
MD5 6e89ba8198764bfd079a0cfa18dca593 metadata.xml 264
-MD5 285c5262d448eec41b6576936e1bc12a fuse-1.4.ebuild 1373
MD5 86c18e0aa1b9961decf250349afc0fdc files/digest-fuse-1.4 60
MD5 fd5c3c8819559265b221879ca45deae3 files/digest-fuse-2.1 60
diff --git a/sys-fs/fuse/fuse-1.4.ebuild b/sys-fs/fuse/fuse-1.4.ebuild
index 7e1a625a448c..234b9502b8d7 100644
--- a/sys-fs/fuse/fuse-1.4.ebuild
+++ b/sys-fs/fuse/fuse-1.4.ebuild
@@ -1,53 +1,41 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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-1.4.ebuild,v 1.1 2004/11/16 17:21:49 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-1.4.ebuild,v 1.2 2005/01/01 23:00:13 genstef Exp $
-inherit kernel-mod
+inherit linux-mod
MY_P=${P/_/-}
DESCRIPTION="An interface for filesystems implemented in userspace."
HOMEPAGE="http://sourceforge.net/projects/fuse"
SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
LICENSE="GPL-2"
-SLOT="0"
KEYWORDS="~x86"
IUSE=""
S=${WORKDIR}/${MY_P}
+MODULE_NAMES="fuse(fs:${S}/kernel)"
+BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR}
+ fusemoduledir=${ROOT}/lib/modules/${KV_FULL}/fs"
+BUILD_TARGETS="all"
-DEPEND="virtual/linux-sources"
-
-pkg_setup() {
- kernel-mod_check_modules_supported
-}
src_compile() {
- econf --disable-example --with-kernel="${ROOT}/usr/src/linux" || die "econf failed"
-
- sed -i 's/.*depmod.*//' kernel/Makefile
-
- # http://marc.theaimsgroup.com/?l=gentoo-dev&m=109672618708314&w=2
- kernel-mod_getversion
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i 's:SUBDIRS=:M=:g' kernel/Makefile
- fi
-
- unset ARCH
+ econf --disable-kernel-module --disable-example || die "econf failed"
emake || die "emake failed"
+
+ 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
}
src_install() {
- unset ARCH
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog Filesystems README README-2.4 \
README-2.6 README.NFS NEWS doc/how-fuse-works
docinto example
dodoc example/*
-}
-pkg_postinst() {
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
+ linux-mod_src_install
}
diff --git a/sys-fs/fuse/fuse-2.1.ebuild b/sys-fs/fuse/fuse-2.1.ebuild
index 64862f378f43..ed2d894cd296 100644
--- a/sys-fs/fuse/fuse-2.1.ebuild
+++ b/sys-fs/fuse/fuse-2.1.ebuild
@@ -1,53 +1,41 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.1.ebuild,v 1.2 2004/12/26 14:56:43 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.1.ebuild,v 1.3 2005/01/01 23:00:13 genstef Exp $
-inherit kernel-mod
+inherit linux-mod
MY_P=${P/_/-}
DESCRIPTION="An interface for filesystems implemented in userspace."
HOMEPAGE="http://sourceforge.net/projects/fuse"
SRC_URI="mirror://sourceforge/fuse/${MY_P}.tar.gz"
LICENSE="GPL-2"
-SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
S=${WORKDIR}/${MY_P}
+MODULE_NAMES="fuse(fs:${S}/kernel)"
+BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR}
+ fusemoduledir=${ROOT}/lib/modules/${KV_FULL}/fs"
+BUILD_TARGETS="all"
-DEPEND="virtual/linux-sources"
-
-pkg_setup() {
- kernel-mod_check_modules_supported
-}
src_compile() {
- econf --disable-example --with-kernel="${ROOT}/usr/src/linux" || die "econf failed"
-
- sed -i 's/.*depmod.*//' kernel/Makefile
-
- # http://marc.theaimsgroup.com/?l=gentoo-dev&m=109672618708314&w=2
- kernel-mod_getversion
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i 's:SUBDIRS=:M=:g' kernel/Makefile
- fi
-
- unset ARCH
+ econf --disable-kernel-module --disable-example || die "econf failed"
emake || die "emake failed"
+
+ 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
}
src_install() {
- unset ARCH
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS BUGS ChangeLog Filesystems README README-2.4 \
README-2.6 README.NFS NEWS doc/how-fuse-works
docinto example
dodoc example/*
-}
-pkg_postinst() {
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
+ linux-mod_src_install
}