summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-02-12 22:33:06 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-02-12 22:33:06 +0000
commit6734dc17a55572a1660d4645445d29dae1bb495d (patch)
tree9008eb092735181c2c42567caf6d536597d1f4b8
parentIUSE added (diff)
downloadhistorical-6734dc17a55572a1660d4645445d29dae1bb495d.tar.gz
historical-6734dc17a55572a1660d4645445d29dae1bb495d.tar.bz2
historical-6734dc17a55572a1660d4645445d29dae1bb495d.zip
version bump
-rw-r--r--sys-apps/lufs/ChangeLog9
-rw-r--r--sys-apps/lufs/files/digest-lufs-0.9.31
-rw-r--r--sys-apps/lufs/files/lufs-0.9.3-init24
-rw-r--r--sys-apps/lufs/lufs-0.9.3.ebuild54
4 files changed, 87 insertions, 1 deletions
diff --git a/sys-apps/lufs/ChangeLog b/sys-apps/lufs/ChangeLog
index 1effa796c22c..a436b94552d4 100644
--- a/sys-apps/lufs/ChangeLog
+++ b/sys-apps/lufs/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for sys-apps/lufs
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lufs/ChangeLog,v 1.5 2003/02/12 09:02:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lufs/ChangeLog,v 1.6 2003/02/12 22:33:06 lu_zero Exp $
+
+*lufs-0.9.31 (12 Feb 2003)
+
+ 12 Feb 2003; Luca Barbato <lu_zero@gentoo.org> lufs-0.9.3.ebuild
+ files/digest-lufs-0.9.3 lufs-0.9.3-init
+ ebuild submitted by Fred Point <fpoint@club-internet.fr>
+
*lufs-0.8.0-r1 (24 Nov 2002)
24 Nov 2002; Matt Keadle <mkeadle@gentoo.org> lufs-0.8.0-r1.ebuild
diff --git a/sys-apps/lufs/files/digest-lufs-0.9.3 b/sys-apps/lufs/files/digest-lufs-0.9.3
new file mode 100644
index 000000000000..f029989b67c2
--- /dev/null
+++ b/sys-apps/lufs/files/digest-lufs-0.9.3
@@ -0,0 +1 @@
+MD5 9015829e47f5c7e68f29c04956826ab6 lufs-0.9.3.tar.gz 410725
diff --git a/sys-apps/lufs/files/lufs-0.9.3-init b/sys-apps/lufs/files/lufs-0.9.3-init
new file mode 100644
index 000000000000..1723f880e796
--- /dev/null
+++ b/sys-apps/lufs/files/lufs-0.9.3-init
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+
+# lufsd
+#
+# description: LUFS Userspace Daemon
+#
+# processname: lufs
+# chkconfig: - 91 91
+
+depend () {
+ need localmount
+}
+
+start () {
+ echo -n "Starting lufsd... "
+ su - lufs -c "lufsd -d 2>~/lufsd.err >~/lufsd.log"
+ echo
+}
+
+stop () {
+ echo -n "Shutting down lufsd... "
+ killall lufsd
+ echo
+}
diff --git a/sys-apps/lufs/lufs-0.9.3.ebuild b/sys-apps/lufs/lufs-0.9.3.ebuild
new file mode 100644
index 000000000000..dd952645c956
--- /dev/null
+++ b/sys-apps/lufs/lufs-0.9.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lufs/lufs-0.9.3.ebuild,v 1.1 2003/02/12 22:33:06 lu_zero 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"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+
+ 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
+}
+
+src_install () {
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/${P} lufs
+
+ 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
+
+}
+
+pkg_postinst() {
+ id lufs 2>/dev/null || useradd -g nobody -d /home/lufs -m -s /bin/sh -c "LUFS user" lufs
+}
+
+pkg_postrm() {
+ userdel lufs
+}