diff options
author | Wout Mertens <wmertens@gentoo.org> | 2003-11-26 01:25:46 +0000 |
---|---|---|
committer | Wout Mertens <wmertens@gentoo.org> | 2003-11-26 01:25:46 +0000 |
commit | 7a3b4773a95a4cf6cacdb65546210e397ca55b30 (patch) | |
tree | cd488562a8684ddd1896cfbe953c3b78f46a3e46 /sys-fs | |
parent | version bump + gcc 3.3.2 fix (diff) | |
download | historical-7a3b4773a95a4cf6cacdb65546210e397ca55b30.tar.gz historical-7a3b4773a95a4cf6cacdb65546210e397ca55b30.tar.bz2 historical-7a3b4773a95a4cf6cacdb65546210e397ca55b30.zip |
version bump + gcc 3.3.2 fix
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/lufs/Manifest | 4 | ||||
-rw-r--r-- | sys-fs/lufs/files/digest-lufs-0.9.7 | 1 | ||||
-rw-r--r-- | sys-fs/lufs/files/gentoo-gcc332fix-0.9.7.patch | 12 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.9.7.ebuild | 65 |
4 files changed, 80 insertions, 2 deletions
diff --git a/sys-fs/lufs/Manifest b/sys-fs/lufs/Manifest index e377fddbaeee..cc9d8169f35b 100644 --- a/sys-fs/lufs/Manifest +++ b/sys-fs/lufs/Manifest @@ -1,4 +1,4 @@ -MD5 3a8a3da4df0db9ab76459d3b2d35a60a ChangeLog 2901 +MD5 85b57fe8103b9d33dcaf5902bd632297 ChangeLog 2901 MD5 f4293dfe7ffad2144ef4c5150ae3e517 lufs-0.7.0.ebuild 1339 MD5 4ee3cf88550ec19b1efed98628d65662 lufs-0.8.0-r1.ebuild 1373 MD5 c5caac9761cac69c861867120f7af652 lufs-0.8.0.ebuild 1357 @@ -6,7 +6,7 @@ MD5 e4c2423261807f6ddba1fb14b8baea19 lufs-0.9.3.ebuild 1430 MD5 d3c1ff3a56cb6c2b189be121b22a25f2 lufs-0.9.4.ebuild 1437 MD5 20536a19a24f3e7915e1311010411ead lufs-0.9.5.ebuild 1598 MD5 6b748e2a47959100c4fc22e438297ae7 lufs-0.9.6.ebuild 1798 -MD5 c5d12f4f12829c9efea466d567eab8c3 lufs-0.9.7.ebuild 1822 +MD5 0d23e3584f5ace4996a53e208a7dac4d lufs-0.9.7.ebuild 1822 MD5 c574a7036eebafdb31765fec945e0498 files/digest-lufs-0.7.0 62 MD5 589f3dad16a475a1f541a2be26ff9d33 files/digest-lufs-0.8.0 62 MD5 589f3dad16a475a1f541a2be26ff9d33 files/digest-lufs-0.8.0-r1 62 diff --git a/sys-fs/lufs/files/digest-lufs-0.9.7 b/sys-fs/lufs/files/digest-lufs-0.9.7 new file mode 100644 index 000000000000..54c98d3ea5f8 --- /dev/null +++ b/sys-fs/lufs/files/digest-lufs-0.9.7 @@ -0,0 +1 @@ +MD5 23f58fe232254a65df6eb4736a81d524 lufs-0.9.7.tar.gz 537772 diff --git a/sys-fs/lufs/files/gentoo-gcc332fix-0.9.7.patch b/sys-fs/lufs/files/gentoo-gcc332fix-0.9.7.patch new file mode 100644 index 000000000000..8f7a2ab113fd --- /dev/null +++ b/sys-fs/lufs/files/gentoo-gcc332fix-0.9.7.patch @@ -0,0 +1,12 @@ +--- lufs-0.9.7-orig/filesystems/sshfs/sshfs.cpp.orig 2003-11-26 03:03:02.000000000 +0100 ++++ lufs-0.9.7/filesystems/sshfs/sshfs.cpp 2003-11-26 03:04:08.000000000 +0100 +@@ -345,7 +345,8 @@ + if(!handle.size()) + return -1; + +- handles.push_back((struct atbl){string(file), handle, time(NULL), mode}); ++ struct atbl ni = {string(file), handle, time(NULL), mode}; ++ handles.push_back(ni); + + TRACE(handles.size() << " files still opened."); + diff --git a/sys-fs/lufs/lufs-0.9.7.ebuild b/sys-fs/lufs/lufs-0.9.7.ebuild new file mode 100644 index 000000000000..02a07971e0af --- /dev/null +++ b/sys-fs/lufs/lufs-0.9.7.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2003 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.ebuild,v 1.1 2003/11/26 01:25:42 wmertens Exp $ + +S="${WORKDIR}/${P}" +DESCRIPTION="User-mode filesystem implementation" +SRC_URI="mirror://sourceforge/lufs/${P}.tar.gz" +HOMEPAGE="http://lufs.sourceforge.net/lufs/" +LICENSE="GPL-2" +DEPEND="virtual/linux-sources" +RDEPEND="" +KEYWORDS="~x86 ~amd64" +SLOT="0" +IUSE="lufsusermount" + +src_unpack() { + unpack ${A} + + # Fix some sandbox failures + cd ${S}/lufsd + mv Makefile.in Makefile.in.orig + sed -e 's/install-exec-hook//' Makefile.in.orig > Makefile.in || die + + cd ${S}/util + mv Makefile.in Makefile.in.orig + sed -e 's/install-exec-hook//' Makefile.in.orig > Makefile.in || die + + cd ${S}/kernel/Linux/2.4 + mv Makefile.in Makefile.in.orig + sed -e 's/install-data-hook//' Makefile.in.orig > Makefile.in || die + + # Fix GCC 3.3.2 build failure (see also + # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13192) + cd ${S} + epatch ${FILESDIR}/gentoo-gcc332fix-${PV}.patch +} + +src_install () { + dodoc AUTHORS COPYING ChangeLog Contributors INSTALL \ + NEWS README THANKS TODO + dohtml docs/lufs.html + make DESTDIR=${D} install + + dosym /usr/bin/auto.sshfs /etc/auto.sshfs + dosym /usr/bin/auto.ftpfs /etc/auto.ftpfs + dodir /sbin + dosym /usr/bin/lufsd /sbin/mount.lufs + use lufsusermount && chmod +s ${D}/usr/bin/lufs{mnt,umount} +} + +pkg_postinst() { + /usr/sbin/update-modules + 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() { + /sbin/modprobe -r lufs +} |