summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Cox <steel300@gentoo.org>2004-05-19 23:53:18 +0000
committerJason Cox <steel300@gentoo.org>2004-05-19 23:53:18 +0000
commit83e638ab6094209198c409d3a338160956314f77 (patch)
tree3afb4a8d72a1251b746f5ae6b684ed877c1bbde7 /sys-fs/lufs
parentcorrect bug number, 51306 instead of 49823. (Manifest recommit) (diff)
downloadgentoo-2-83e638ab6094209198c409d3a338160956314f77.tar.gz
gentoo-2-83e638ab6094209198c409d3a338160956314f77.tar.bz2
gentoo-2-83e638ab6094209198c409d3a338160956314f77.zip
Fix Broken Ebuild
Diffstat (limited to 'sys-fs/lufs')
-rw-r--r--sys-fs/lufs/ChangeLog7
-rw-r--r--sys-fs/lufs/files/digest-lufs-0.9.7-r21
-rw-r--r--sys-fs/lufs/lufs-0.9.7-r2.ebuild83
3 files changed, 90 insertions, 1 deletions
diff --git a/sys-fs/lufs/ChangeLog b/sys-fs/lufs/ChangeLog
index 0e601ad71ed4..62f4747784c5 100644
--- a/sys-fs/lufs/ChangeLog
+++ b/sys-fs/lufs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/lufs
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/ChangeLog,v 1.8 2004/04/27 21:53:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/ChangeLog,v 1.9 2004/05/19 23:53:18 steel300 Exp $
+
+*lufs-0.9.7-r2 (19 May 2004)
+
+ 19 May 2004; <coxj@gentoo.org> lufs-0.9.7-r2.ebuild:
+ Fix Broken Ebuild
27 Apr 2004; Aron Griffis <agriffis@gentoo.org> lufs-0.9.7-r1.ebuild,
lufs-0.9.7.ebuild:
diff --git a/sys-fs/lufs/files/digest-lufs-0.9.7-r2 b/sys-fs/lufs/files/digest-lufs-0.9.7-r2
new file mode 100644
index 000000000000..54c98d3ea5f8
--- /dev/null
+++ b/sys-fs/lufs/files/digest-lufs-0.9.7-r2
@@ -0,0 +1 @@
+MD5 23f58fe232254a65df6eb4736a81d524 lufs-0.9.7.tar.gz 537772
diff --git a/sys-fs/lufs/lufs-0.9.7-r2.ebuild b/sys-fs/lufs/lufs-0.9.7-r2.ebuild
new file mode 100644
index 000000000000..5e0d80b4c6c9
--- /dev/null
+++ b/sys-fs/lufs/lufs-0.9.7-r2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/lufs-0.9.7-r2.ebuild,v 1.1 2004/05/19 23:53:18 steel300 Exp $
+
+inherit kmod
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="User-mode filesystem implementation"
+SRC_URI="mirror://sourceforge/lufs/${P}.tar.gz"
+KMOD_SOURCES="${P}.tar.gz"
+HOMEPAGE="http://lufs.sourceforge.net/lufs/"
+LICENSE="GPL-2"
+DEPEND="virtual/linux-sources
+ sys-kernel/config-kernel"
+RDEPEND=""
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+IUSE="debug lufsusermount disablekernelsupport"
+
+src_unpack() {
+ kmod_src_unpack
+ cd ${S}
+ epatch ${FILESDIR}/${P}-fPIC.patch
+
+ # Fix some sandbox failures
+ sed -i -e's/install-data-hook//' \
+ lufsd/Makefile.in util/Makefile.in kernel/Linux/2.4/Makefile.in
+
+ # Fix GCC 3.3.2 build failure (see also
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13192)
+ epatch ${FILESDIR}/gentoo-gcc332fix-${PV}.patch
+}
+
+src_compile() {
+ kmod_make_linux_writable
+ local myconf
+ myconf="--enable-wavfs --enable-cardfs"
+ if use nokernelsupport; then
+ myconf="${myconf} --disable-kernel-support"
+ fi
+ if ! use lufsusermount; then
+ myconf="${myconf} --disable-suid"
+ fi
+ if [ "`portageq has_version / sys-fs/autofs`" == "0" ] ; then
+ myconf="${myconf} --enable-autofs-install"
+ fi
+ if use debug; then
+ myconf="${myconf} --enable-debug --enable-kdebug"
+ fi
+ unset ARCH
+ econf ${myconf} || die
+ kmod_src_compile || die "kmod_src_compile failed"
+}
+
+src_install () {
+ kmod_make_linux_writable
+ dodoc AUTHORS COPYING ChangeLog Contributors INSTALL \
+ NEWS README THANKS TODO
+ dohtml docs/lufs.html
+ env -u ARCH make DESTDIR=${D} install
+ if ! use nokernelsupport; then
+ insinto ${ROOT}/lib/modules/${KV}/fs/lufs
+ doins kernel/Linux/2.${KV_PATCH}/lufs.$KV_OB
+ fi
+}
+
+pkg_postinst() {
+ kmod_pkg_postinst
+ if ! use lufsusermount
+ then
+ einfo If you want regular users to be able to mount lufs filesystems,
+ einfo you need to run the following command as root:
+ einfo \# chmod +s /usr/bin/lufsmnt /usr/bin/lufsumount
+ einfo You can also set the lufsusermount USE flag to do this
+ einfo automatically.
+ fi
+}
+
+pkg_postrm() {
+ if [ ! "$( egrep "^CONFIG_LUFS_FS=[ym]" /lib/modules/${KV}/build/.config )" ]; then
+ /sbin/modprobe -r lufs
+ fi
+}