diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 17:46:26 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 17:46:26 +0000 |
commit | ac473605b2a5b4138218869a7f6140686c664e1c (patch) | |
tree | aeabad1544e1c315445e0d3361afa57a8e40b715 /sys-fs/lufs | |
parent | added filesystem related apps to sys-fs from sys-apps (diff) | |
download | gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.tar.gz gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.tar.bz2 gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.zip |
added filesystem related apps to sys-fs from sys-apps
Diffstat (limited to 'sys-fs/lufs')
-rw-r--r-- | sys-fs/lufs/ChangeLog | 59 | ||||
-rw-r--r-- | sys-fs/lufs/Manifest | 20 | ||||
-rw-r--r-- | sys-fs/lufs/files/digest-lufs-0.7.0 | 1 | ||||
-rw-r--r-- | sys-fs/lufs/files/digest-lufs-0.8.0 | 1 | ||||
-rw-r--r-- | sys-fs/lufs/files/digest-lufs-0.8.0-r1 | 1 | ||||
-rw-r--r-- | sys-fs/lufs/files/digest-lufs-0.9.3 | 1 | ||||
-rw-r--r-- | sys-fs/lufs/files/digest-lufs-0.9.4 | 1 | ||||
-rw-r--r-- | sys-fs/lufs/files/digest-lufs-0.9.5 | 1 | ||||
-rw-r--r-- | sys-fs/lufs/files/lufs-0.7.0-init | 24 | ||||
-rw-r--r-- | sys-fs/lufs/files/lufs-0.8.0-init | 24 | ||||
-rw-r--r-- | sys-fs/lufs/files/lufs-0.9.3-init | 27 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.7.0.ebuild | 53 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.8.0-r1.ebuild | 54 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.8.0.ebuild | 53 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.9.3.ebuild | 56 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.9.4.ebuild | 53 | ||||
-rw-r--r-- | sys-fs/lufs/lufs-0.9.5.ebuild | 58 |
17 files changed, 477 insertions, 10 deletions
diff --git a/sys-fs/lufs/ChangeLog b/sys-fs/lufs/ChangeLog new file mode 100644 index 000000000000..6892edabe2c5 --- /dev/null +++ b/sys-fs/lufs/ChangeLog @@ -0,0 +1,59 @@ +# ChangeLog for sys-fs/lufs +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufs/ChangeLog,v 1.1 2003/09/15 17:46:25 seemant Exp $ + +*lufs-0.8.0 (15 Sep 2003) + + 15 Sep 2003; Seemant Kulleen <seemant@gentoo.org> lufs-0.7.0.ebuild, + lufs-0.8.0-r1.ebuild, lufs-0.8.0.ebuild, lufs-0.9.3.ebuild, + lufs-0.9.4.ebuild, lufs-0.9.5.ebuild, files/lufs-0.7.0-init, + files/lufs-0.8.0-init, files/lufs-0.9.3-init: + moved to sys-fs + + 26 Apr 2003; Wout Mertens <wmertens@gentoo.org> lufs-0.9.5.ebuild : + Fix sandbox failure for kernel 2.5. No revision bump because it just didn't + build for 2.5. Fixes #18740, thanks to Jedi/Sector One. + +*lufs-0.9.5 (05 Apr 2003) + 05 Apr 2003; Wout Mertens <wmertens@gentoo.org> lufs-0.9.5.ebuild : + New upstream version, and it builds and works fine on all my test systems, + and nothing depends on it. Only, if you do ldd /usr/bin/lufsd, you + get many dependencies, and I want to have them in DEPEND before I + declare these ebuilds stable. + +*lufs-0.9.4 (18 Mar 2003) + 18 Mar 2003; Wout Mertens <wmertens@gentoo.org> lufs-0.9.4.ebuild : + Turns out there was a new upstream version, and the init script and + lufs user don't make sense any more because the daemon was rewritten. + + 18 Mar 2003; Wout Mertens <wmertens@gentoo.org> lufs-0.9.3.ebuild : + Fixed typo in install, -init was missing from the init script. Didn't + bump revision since the people that have it running probably + figured that out by themselves. + +*lufs-0.9.3 (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 + files/digest-lufs-0.8.0-r1 + + Fixed a symlink creation that has it's parameters reversed. + +*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-fs/lufs/Manifest b/sys-fs/lufs/Manifest index 38f9833c1950..38fa7c5c0054 100644 --- a/sys-fs/lufs/Manifest +++ b/sys-fs/lufs/Manifest @@ -1,16 +1,16 @@ -MD5 f70dc43e2c7ce3bfe38b4bfcd078a3a8 ChangeLog 2077 -MD5 605357e00850584d8323df2e3e928512 lufs-0.7.0.ebuild 1342 -MD5 8c9527338eee71a4e88e8bad8d5e0adc lufs-0.8.0-r1.ebuild 1376 -MD5 dfe6e358ebe4d72ccd7b392179a8ab59 lufs-0.8.0.ebuild 1360 -MD5 f20441971994360ab22c72a3b08269cc lufs-0.9.3.ebuild 1433 -MD5 1409bb8a711fe5eb364c9b66e2d723ff lufs-0.9.4.ebuild 1440 -MD5 60e407d4ff53b4a283575c03ba63c806 lufs-0.9.5.ebuild 1601 +MD5 20536a19a24f3e7915e1311010411ead lufs-0.9.5.ebuild 1598 +MD5 d3c1ff3a56cb6c2b189be121b22a25f2 lufs-0.9.4.ebuild 1437 +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 +MD5 5d6b76b1655d6e6a9e57b92844a2142f ChangeLog 2361 +MD5 e4c2423261807f6ddba1fb14b8baea19 lufs-0.9.3.ebuild 1430 +MD5 3f5d97db2f2eedc51f0ae99618a924c2 files/lufs-0.7.0-init 361 +MD5 589f3dad16a475a1f541a2be26ff9d33 files/digest-lufs-0.8.0-r1 62 +MD5 09d17da22336bf2a8b5327a76a02e72c files/lufs-0.9.3-init 471 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 MD5 f800115ecf5209516be61e1a9e29aa68 files/digest-lufs-0.9.3 62 MD5 fdc68173408348637bf80f972b46f828 files/digest-lufs-0.9.4 62 MD5 c5059868c2a7c434b87106a9b7901a96 files/digest-lufs-0.9.5 62 -MD5 3f5d97db2f2eedc51f0ae99618a924c2 files/lufs-0.7.0-init 361 MD5 3f5d97db2f2eedc51f0ae99618a924c2 files/lufs-0.8.0-init 361 -MD5 09d17da22336bf2a8b5327a76a02e72c files/lufs-0.9.3-init 471 diff --git a/sys-fs/lufs/files/digest-lufs-0.7.0 b/sys-fs/lufs/files/digest-lufs-0.7.0 new file mode 100644 index 000000000000..6f30d7a3320e --- /dev/null +++ b/sys-fs/lufs/files/digest-lufs-0.7.0 @@ -0,0 +1 @@ +MD5 b2523519b90ff4d77861f243c843f608 lufs-0.7.0.tar.gz 287792 diff --git a/sys-fs/lufs/files/digest-lufs-0.8.0 b/sys-fs/lufs/files/digest-lufs-0.8.0 new file mode 100644 index 000000000000..93fcf0b2d34c --- /dev/null +++ b/sys-fs/lufs/files/digest-lufs-0.8.0 @@ -0,0 +1 @@ +MD5 0a90155e92d0bff030017b3a370def8b lufs-0.8.0.tar.gz 345135 diff --git a/sys-fs/lufs/files/digest-lufs-0.8.0-r1 b/sys-fs/lufs/files/digest-lufs-0.8.0-r1 new file mode 100644 index 000000000000..93fcf0b2d34c --- /dev/null +++ b/sys-fs/lufs/files/digest-lufs-0.8.0-r1 @@ -0,0 +1 @@ +MD5 0a90155e92d0bff030017b3a370def8b lufs-0.8.0.tar.gz 345135 diff --git a/sys-fs/lufs/files/digest-lufs-0.9.3 b/sys-fs/lufs/files/digest-lufs-0.9.3 new file mode 100644 index 000000000000..f029989b67c2 --- /dev/null +++ b/sys-fs/lufs/files/digest-lufs-0.9.3 @@ -0,0 +1 @@ +MD5 9015829e47f5c7e68f29c04956826ab6 lufs-0.9.3.tar.gz 410725 diff --git a/sys-fs/lufs/files/digest-lufs-0.9.4 b/sys-fs/lufs/files/digest-lufs-0.9.4 new file mode 100644 index 000000000000..ecd7a6b2082e --- /dev/null +++ b/sys-fs/lufs/files/digest-lufs-0.9.4 @@ -0,0 +1 @@ +MD5 5965236d501468488442f3c87181e947 lufs-0.9.4.tar.gz 413150 diff --git a/sys-fs/lufs/files/digest-lufs-0.9.5 b/sys-fs/lufs/files/digest-lufs-0.9.5 new file mode 100644 index 000000000000..78e58894f03f --- /dev/null +++ b/sys-fs/lufs/files/digest-lufs-0.9.5 @@ -0,0 +1 @@ +MD5 71dc7c5709952b50914ab9790d652230 lufs-0.9.5.tar.gz 412920 diff --git a/sys-fs/lufs/files/lufs-0.7.0-init b/sys-fs/lufs/files/lufs-0.7.0-init new file mode 100644 index 000000000000..1723f880e796 --- /dev/null +++ b/sys-fs/lufs/files/lufs-0.7.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-fs/lufs/files/lufs-0.8.0-init b/sys-fs/lufs/files/lufs-0.8.0-init new file mode 100644 index 000000000000..1723f880e796 --- /dev/null +++ b/sys-fs/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-fs/lufs/files/lufs-0.9.3-init b/sys-fs/lufs/files/lufs-0.9.3-init new file mode 100644 index 000000000000..011ae995693f --- /dev/null +++ b/sys-fs/lufs/files/lufs-0.9.3-init @@ -0,0 +1,27 @@ +#!/sbin/runscript + +# lufsd +# +# description: LUFS Userspace Daemon +# +# processname: lufs +# chkconfig: - 91 91 +# +# lufsd is started by the lufs user, and logs are kept in its homedir. +# + +depend () { + need localmount +} + +start () { + ebegin "Starting lufsd" + su - lufs -c "lufsd -d 2>~/lufsd.err >~/lufsd.log" + eend $? "Error starting lufsd" +} + +stop () { + ebegin "Stopping lufsd" + pkill lufsd + eend $? "Error stopping lufsd" +} diff --git a/sys-fs/lufs/lufs-0.7.0.ebuild b/sys-fs/lufs/lufs-0.7.0.ebuild new file mode 100644 index 000000000000..a1c5630f01fe --- /dev/null +++ b/sys-fs/lufs/lufs-0.7.0.ebuild @@ -0,0 +1,53 @@ +# 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.7.0.ebuild,v 1.1 2003/09/15 17:46:25 seemant 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="" + +src_unpack() { + unpack ${A} + + cd ${S}/lufsd + mv Makefile.in Makefile.in.orig + sed -e '416s/install-exec-hook//' Makefile.in.orig > Makefile.in + + cd ${S}/util + mv Makefile.in Makefile.in.orig + sed -e '332s/install-exec-hook//' Makefile.in.orig > Makefile.in + + cd ${S}/kernel2.4 + mv Makefile.in Makefile.in.orig + sed -e '291s/install-data-hook//' Makefile.in.orig > Makefile.in +} + +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 2>/dev/null || useradd -g nobody -d /home/lufs -m -s /bin/sh -c "LUFS user" lufs +} + +pkg_postrm() { + userdel lufs +} diff --git a/sys-fs/lufs/lufs-0.8.0-r1.ebuild b/sys-fs/lufs/lufs-0.8.0-r1.ebuild new file mode 100644 index 000000000000..be6a4daac752 --- /dev/null +++ b/sys-fs/lufs/lufs-0.8.0-r1.ebuild @@ -0,0 +1,54 @@ +# 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.8.0-r1.ebuild,v 1.1 2003/09/15 17:46:25 seemant 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="" + +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 + 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 +} diff --git a/sys-fs/lufs/lufs-0.8.0.ebuild b/sys-fs/lufs/lufs-0.8.0.ebuild new file mode 100644 index 000000000000..c074f5e3fc4f --- /dev/null +++ b/sys-fs/lufs/lufs-0.8.0.ebuild @@ -0,0 +1,53 @@ +# 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.8.0.ebuild,v 1.1 2003/09/15 17:46:25 seemant 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="" + +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 2>/dev/null || useradd -g nobody -d /home/lufs -m -s /bin/sh -c "LUFS user" lufs +} + +pkg_postrm() { + userdel lufs +} diff --git a/sys-fs/lufs/lufs-0.9.3.ebuild b/sys-fs/lufs/lufs-0.9.3.ebuild new file mode 100644 index 000000000000..5b3306ad78a8 --- /dev/null +++ b/sys-fs/lufs/lufs-0.9.3.ebuild @@ -0,0 +1,56 @@ +# 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.3.ebuild,v 1.1 2003/09/15 17:46:25 seemant 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="" + +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}-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 + 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 + /usr/sbin/update-modules || return 0 +} + +pkg_postrm() { + /sbin/modprobe -r lufs + userdel lufs +} diff --git a/sys-fs/lufs/lufs-0.9.4.ebuild b/sys-fs/lufs/lufs-0.9.4.ebuild new file mode 100644 index 000000000000..6ed55a9866d1 --- /dev/null +++ b/sys-fs/lufs/lufs-0.9.4.ebuild @@ -0,0 +1,53 @@ +# 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.4.ebuild,v 1.1 2003/09/15 17:46:25 seemant 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="" + +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 () { + 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() { + /usr/sbin/update-modules + 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 +} + +pkg_postrm() { + /sbin/modprobe -r lufs +} diff --git a/sys-fs/lufs/lufs-0.9.5.ebuild b/sys-fs/lufs/lufs-0.9.5.ebuild new file mode 100644 index 000000000000..3e1708ec15d5 --- /dev/null +++ b/sys-fs/lufs/lufs-0.9.5.ebuild @@ -0,0 +1,58 @@ +# 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.5.ebuild,v 1.1 2003/09/15 17:46:25 seemant 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="" + +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 + + cd ${S}/kernel/Linux/2.5 + mv Makefile.in Makefile.in.orig + sed -e 's/install-data-hook//' Makefile.in.orig > Makefile.in || die +} + +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 +} + +pkg_postinst() { + /usr/sbin/update-modules + 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 +} + +pkg_postrm() { + /sbin/modprobe -r lufs +} |