summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-11-20 13:41:52 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-11-20 13:41:52 +0000
commite8c3d88c3d8edb40ca5ee2028fe31a5d8bb5e8e8 (patch)
tree64f4d2995cb71a91b90bc73126a4922a8b62fff7 /sys-apps
parentmark 3.2-r4 stable (diff)
downloadgentoo-2-e8c3d88c3d8edb40ca5ee2028fe31a5d8bb5e8e8.tar.gz
gentoo-2-e8c3d88c3d8edb40ca5ee2028fe31a5d8bb5e8e8.tar.bz2
gentoo-2-e8c3d88c3d8edb40ca5ee2028fe31a5d8bb5e8e8.zip
Various fixes and new version
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/lufs/ChangeLog11
-rw-r--r--sys-apps/lufs/files/digest-lufs-0.8.01
-rw-r--r--sys-apps/lufs/files/lufs-0.8.0-init24
-rw-r--r--sys-apps/lufs/lufs-0.7.0.ebuild10
-rw-r--r--sys-apps/lufs/lufs-0.8.0.ebuild53
5 files changed, 95 insertions, 4 deletions
diff --git a/sys-apps/lufs/ChangeLog b/sys-apps/lufs/ChangeLog
index f2dd20016fdc..aedb645d2e58 100644
--- a/sys-apps/lufs/ChangeLog
+++ b/sys-apps/lufs/ChangeLog
@@ -1,8 +1,17 @@
# ChangeLog for sys-apps/lufs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lufs/ChangeLog,v 1.2 2002/11/05 23:01:26 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lufs/ChangeLog,v 1.3 2002/11/20 13:41:52 aliz Exp $
+
+*lufs-0.8.0 (20 Nov 2002)
+
+ 20 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Initial import.
*lufs-0.7.0 (01 Nov 2002)
+ 20 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> lufs-0.7.0.ebuild :
+ Fixed a typo, updated HOMEPAGE. Jan Andersson <janneand@yahoo.com> in #10992 found the typo.
+ Repoman:ed and lintool:ed.
+
01 Nov 2002; Daniel Ahlberg <aliz@gentoo.org> :
Initial import. Ebuild submitted by Marko Mikulicic <marko@seul.org> in #7314.
diff --git a/sys-apps/lufs/files/digest-lufs-0.8.0 b/sys-apps/lufs/files/digest-lufs-0.8.0
new file mode 100644
index 000000000000..93fcf0b2d34c
--- /dev/null
+++ b/sys-apps/lufs/files/digest-lufs-0.8.0
@@ -0,0 +1 @@
+MD5 0a90155e92d0bff030017b3a370def8b lufs-0.8.0.tar.gz 345135
diff --git a/sys-apps/lufs/files/lufs-0.8.0-init b/sys-apps/lufs/files/lufs-0.8.0-init
new file mode 100644
index 000000000000..1723f880e796
--- /dev/null
+++ b/sys-apps/lufs/files/lufs-0.8.0-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.7.0.ebuild b/sys-apps/lufs/lufs-0.7.0.ebuild
index 10587ade4671..39bba6603dea 100644
--- a/sys-apps/lufs/lufs-0.7.0.ebuild
+++ b/sys-apps/lufs/lufs-0.7.0.ebuild
@@ -1,13 +1,17 @@
# 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.7.0.ebuild,v 1.1 2002/11/01 10:29:43 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lufs/lufs-0.7.0.ebuild,v 1.2 2002/11/20 13:41:52 aliz Exp $
S="${WORKDIR}/${P}"
DESCRIPTION="User-mode filesystem implementation"
SRC_URI="mirror://sourceforge/lufs/${P}.tar.gz"
-HOMEPAGE="http://switch.dl.sourceforge.net/sourceforge/lufs"
+HOMEPAGE="http://lufs.sourceforge.net/lufs/"
LICENSE="GPL-2"
DEPEND="virtual/linux-sources"
+#RDEPEND=""
+KEYWORDS="~x86"
+SLOT="0"
+IUSE=""
src_unpack() {
unpack ${A}
@@ -22,7 +26,7 @@ src_unpack() {
cd ${S}/kernel2.4
mv Makefile.in Makefile.in.orig
- sed -s '291s/install-data-hook//' Makefile.in.orig > Makefile.in
+ sed -e '291s/install-data-hook//' Makefile.in.orig > Makefile.in
}
src_install () {
diff --git a/sys-apps/lufs/lufs-0.8.0.ebuild b/sys-apps/lufs/lufs-0.8.0.ebuild
new file mode 100644
index 000000000000..15bcaa82dace
--- /dev/null
+++ b/sys-apps/lufs/lufs-0.8.0.ebuild
@@ -0,0 +1,53 @@
+# 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.8.0.ebuild,v 1.1 2002/11/20 13:41:52 aliz 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 '497s/install-exec-hook//' Makefile.in.orig > Makefile.in || die
+
+ cd ${S}/util
+ mv Makefile.in Makefile.in.orig
+ sed -e '429s/install-exec-hook//' Makefile.in.orig > Makefile.in || die
+
+ cd ${S}/kernel2.4
+ mv Makefile.in Makefile.in.orig
+ sed -e '366s/install-data-hook//' Makefile.in.orig > Makefile.in || die
+}
+
+src_install () {
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/${P}-init 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
+ dosym /sbin/mount.lufs /usr/bin/lufsd
+
+}
+
+pkg_postinst() {
+ id lufs || useradd -g nobody -d /home/lufs -m -s /bin/sh -c "LUFS user" lufs
+}
+
+pkg_postrm() {
+ userdel lufs
+}