diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2006-06-29 16:00:27 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2006-06-29 16:00:27 +0000 |
commit | b38b404c82b08a237e471ae72d61d79a983b207e (patch) | |
tree | 127060e30652b327ea01620b7f96d4916e0b5981 | |
parent | Digest fix (diff) | |
download | overlay-b38b404c82b08a237e471ae72d61d79a983b207e.tar.gz overlay-b38b404c82b08a237e471ae72d61d79a983b207e.tar.bz2 overlay-b38b404c82b08a237e471ae72d61d79a983b207e.zip |
Added cvs ebuild for the FUSE filesystem.
svn path=/stable/; revision=728
-rw-r--r-- | sys-fs/fuse/Manifest | 11 | ||||
-rw-r--r-- | sys-fs/fuse/files/digest-fuse-9999 | 1 | ||||
-rw-r--r-- | sys-fs/fuse/files/digest-fuse-cvs-0 | 1 | ||||
-rw-r--r-- | sys-fs/fuse/files/fuse-fix-lazy-binding.patch | 11 | ||||
-rw-r--r-- | sys-fs/fuse/fuse-9999.ebuild | 79 |
5 files changed, 103 insertions, 0 deletions
diff --git a/sys-fs/fuse/Manifest b/sys-fs/fuse/Manifest new file mode 100644 index 0000000..ec8029f --- /dev/null +++ b/sys-fs/fuse/Manifest @@ -0,0 +1,11 @@ +AUX fuse-fix-lazy-binding.patch 398 RMD160 e8663cdbf720378839bf3ac786a49a9927b81afe SHA1 59a923f6263e954a7db488021005448cefcc8f5a SHA256 d9733aaece65a0c864edbfebae205cdec096174165e943a569adb216ec73f9e1 +MD5 c1ef6366ba5892111ddef08887328663 files/fuse-fix-lazy-binding.patch 398 +RMD160 e8663cdbf720378839bf3ac786a49a9927b81afe files/fuse-fix-lazy-binding.patch 398 +SHA256 d9733aaece65a0c864edbfebae205cdec096174165e943a569adb216ec73f9e1 files/fuse-fix-lazy-binding.patch 398 +EBUILD fuse-9999.ebuild 1985 RMD160 876ae82f71f6a8f65340acad61da73666338794c SHA1 5e1cfb6ef1ce5d81f7615987a71be2374f3d63fe SHA256 0f57754a12c2b41b4bb67cc361fcf34c72d301147be6b77dbc4dfc549851ae73 +MD5 98496c1246e887bad022bb523d77beec fuse-9999.ebuild 1985 +RMD160 876ae82f71f6a8f65340acad61da73666338794c fuse-9999.ebuild 1985 +SHA256 0f57754a12c2b41b4bb67cc361fcf34c72d301147be6b77dbc4dfc549851ae73 fuse-9999.ebuild 1985 +MD5 68b329da9893e34099c7d8ad5cb9c940 files/digest-fuse-9999 1 +RMD160 c0da025038ed83c687ddc430da9846ecb97f3998 files/digest-fuse-9999 1 +SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b files/digest-fuse-9999 1 diff --git a/sys-fs/fuse/files/digest-fuse-9999 b/sys-fs/fuse/files/digest-fuse-9999 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/sys-fs/fuse/files/digest-fuse-9999 @@ -0,0 +1 @@ + diff --git a/sys-fs/fuse/files/digest-fuse-cvs-0 b/sys-fs/fuse/files/digest-fuse-cvs-0 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/sys-fs/fuse/files/digest-fuse-cvs-0 @@ -0,0 +1 @@ + diff --git a/sys-fs/fuse/files/fuse-fix-lazy-binding.patch b/sys-fs/fuse/files/fuse-fix-lazy-binding.patch new file mode 100644 index 0000000..2583d1a --- /dev/null +++ b/sys-fs/fuse/files/fuse-fix-lazy-binding.patch @@ -0,0 +1,11 @@ +diff -pur fuse-1.4.orig/util/Makefile.in fuse-1.4/util/Makefile.in +--- fuse-1.4.orig/util/Makefile.in 2005-01-02 21:09:09.000000000 +0100 ++++ fuse-1.4/util/Makefile.in 2005-01-03 08:49:25.333258992 +0100 +@@ -36,6 +36,7 @@ NORMAL_UNINSTALL = : + PRE_UNINSTALL = : + POST_UNINSTALL = : + ACLOCAL = @ACLOCAL@ ++AM_CFLAGS=-Wl,-z,now + AMDEP_FALSE = @AMDEP_FALSE@ + AMDEP_TRUE = @AMDEP_TRUE@ + AMTAR = @AMTAR@ diff --git a/sys-fs/fuse/fuse-9999.ebuild b/sys-fs/fuse/fuse-9999.ebuild new file mode 100644 index 0000000..d07af8b --- /dev/null +++ b/sys-fs/fuse/fuse-9999.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/fuse/fuse-2.6.0_pre2.ebuild,v 1.11 2006/06/08 12:06:18 genstef Exp $ + +ECVS_SERVER="fuse.cvs.sourceforge.net:/cvsroot/fuse" +ECVS_MODULE="fuse" +ECVS_AUTH="pserver" +ECVS_USER="anonymous" +if [ -z "${ECVS_BRANCH}" ]; then + ECVS_BRANCH="HEAD" +fi + +inherit cvs linux-mod eutils libtool autotools + +DESCRIPTION="An interface for filesystems implemented in userspace." +HOMEPAGE="http://fuse.sourceforge.net" +SRC_URI="" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="kernel_linux" + +PDEPEND="kernel_FreeBSD? ( sys-fs/fuse4bsd )" + +MODULE_NAMES="fuse(fs:${S}/kernel)" +CONFIG_CHECK="@FUSE_FS:fuse" +BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR} + fusemoduledir=${ROOT}/lib/modules/${KV_FULL}/fs" +BUILD_TARGETS="all" +ECONF_PARAMS="--with-kernel=${KV_OUT_DIR}" +FUSE_FS_ERROR="We have detected FUSE already built into the kernel. +We will continue, but we wont build the module this time." + +S=${WORKDIR}/${PN} + +pkg_setup() { + use kernel_linux && linux-mod_pkg_setup +} + +src_unpack() { + cvs_src_unpack + cd ${S} + eautoreconf + epatch ${FILESDIR}/fuse-fix-lazy-binding.patch + elibtoolize +# ./makeconf.sh +} + +src_compile() { + einfo "Preparing fuse userland" + econf --disable-kernel-module --disable-example || \ + die "econf failed for fuse userland" + emake || die "emake failed" + + if use kernel_linux; then + sed -i -e 's/.*depmod.*//g' ${S}/kernel/Makefile.in + convert_to_m ${S}/kernel/Makefile.in + linux-mod_src_compile + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS ChangeLog Filesystems README README-2.4 \ + README.NFS NEWS doc/how-fuse-works + docinto example + dodoc example/* + + if use kernel_linux; then + linux-mod_src_install + else + insinto /usr/include/fuse + doins include/fuse_kernel.h + fi +} + +pkg_postinst() { + use kernel_linux && linux-mod_pkg_postinst +} |