summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-03-03 10:18:27 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-03-03 10:18:27 +0000
commitba0b6e4ac9e4cdf77b020a45da309cbcc7f82c4a (patch)
tree33960545627dcda33bd24b68b0e6579e68793b65 /sys-fs/avfs
parentinherit autotools (diff)
downloadgentoo-2-ba0b6e4ac9e4cdf77b020a45da309cbcc7f82c4a.tar.gz
gentoo-2-ba0b6e4ac9e4cdf77b020a45da309cbcc7f82c4a.tar.bz2
gentoo-2-ba0b6e4ac9e4cdf77b020a45da309cbcc7f82c4a.zip
New ebuild thanks to Peter Hyman <pete4abw@comcast.net> in bug 23112
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-fs/avfs')
-rw-r--r--sys-fs/avfs/ChangeLog10
-rw-r--r--sys-fs/avfs/Manifest12
-rw-r--r--sys-fs/avfs/avfs-0.9.6_p20060301.ebuild91
-rw-r--r--sys-fs/avfs/metadata.xml13
4 files changed, 126 insertions, 0 deletions
diff --git a/sys-fs/avfs/ChangeLog b/sys-fs/avfs/ChangeLog
new file mode 100644
index 000000000000..f58f2af55090
--- /dev/null
+++ b/sys-fs/avfs/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/avfs
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/avfs/ChangeLog,v 1.1 2006/03/03 10:18:27 genstef Exp $
+
+*avfs-0.9.6_p20060301 (03 Mar 2006)
+
+ 03 Mar 2006; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+ +avfs-0.9.6_p20060301.ebuild:
+ New ebuild thanks to Peter Hyman <pete4abw@comcast.net> in bug 23112
+
diff --git a/sys-fs/avfs/Manifest b/sys-fs/avfs/Manifest
new file mode 100644
index 000000000000..d3c675980658
--- /dev/null
+++ b/sys-fs/avfs/Manifest
@@ -0,0 +1,12 @@
+MD5 e4b34931b2eb40d5d303e9c44914d10c ChangeLog 321
+RMD160 299660adb1d826d28e053f5de51686b164db0f98 ChangeLog 321
+SHA256 bf8a9be6b929a397d1b5ed944005b2420e2cfb9b501c9f805dd854c979749180 ChangeLog 321
+MD5 eeeb223f5b1b65b5dcec8e1b9e621f19 avfs-0.9.6_p20060301.ebuild 2668
+RMD160 dccb87f074b96d20d75b6379021f5a4d1d58ce3b avfs-0.9.6_p20060301.ebuild 2668
+SHA256 dbfa839729cc1027c1e8a306f50536d2d93d53d41dd4d24b05003f5722bd285e avfs-0.9.6_p20060301.ebuild 2668
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-avfs-0.9.6_p20060301 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-avfs-0.9.6_p20060301 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-avfs-0.9.6_p20060301 0
+MD5 b359a03773330a06accbfbec97c58550 metadata.xml 364
+RMD160 6c3d5b83910e9c9aefb34d57c49ba805b1b589f6 metadata.xml 364
+SHA256 806075edc124d929ea73e585c9a76dc2222f7bb603276b23841a819fc6b6aae2 metadata.xml 364
diff --git a/sys-fs/avfs/avfs-0.9.6_p20060301.ebuild b/sys-fs/avfs/avfs-0.9.6_p20060301.ebuild
new file mode 100644
index 000000000000..dddb0e16d8fc
--- /dev/null
+++ b/sys-fs/avfs/avfs-0.9.6_p20060301.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/avfs/avfs-0.9.6_p20060301.ebuild,v 1.1 2006/03/03 10:18:27 genstef Exp $
+
+
+inherit cvs
+
+# this module is for pulling in AVFS CVS.
+# this ebuild will only permit fuse functionality
+# as avfs really does not work with coda or preloaded now.
+
+# as this IS CVS, it is "use at your own risk!"
+# and this ebuild is appropriately marked -*
+# ebuild contributed by Peter Hyman (pete4abw@comcast.net), November 2005
+
+# modified 3/2006 at suggestion of Stefan Schweizer to alter CVS fetch
+# to be date sensitive for easier version tracking.
+
+ECVS_SERVER="cvs.sourceforge.net:/cvsroot/avf"
+ECVS_MODULE="${PN}"
+# Branch not needed
+# ECVS_BRANCH="MAIN"
+# extract date from version
+ECVS_CO_OPTS="-D ${PV: -8}"
+ECVS_UP_OPTS="-dP ${ECVS_CO_OPTS}"
+
+DESCRIPTION="AVFS is a virtual filesystem that allows browsing of compressed files."
+HOMEPAGE="http://sourceforge.net/projects/avf"
+
+# mark all as testing
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+# Setting depend on current stable version of fuse.
+DEPEND="sys-fs/fuse"
+
+S=${WORKDIR}/${PN}
+src_compile() {
+ # set up
+ # need to compile the whole shebang even though we just want
+ # the fuse part. Yuck!
+
+ chmod 0755 autogen.sh
+ ./autogen.sh || die "Sorry, autogen.sh failed :("
+ econf --enable-library || die "Sorry, can't configure :("
+ emake || die "Sorry make failed :("
+
+ # now chdir to fuse and run the provided compile script
+ # I know this is ugly, and we probably should use CFLAGS
+ # but for now, let's just get it done.
+
+ einfo "Compiling fuse support..."
+ cd fuse
+ ./compile.sh || die "Sorry, fuse module support compile failed :("
+
+ # one file, avfsd, is created and needed!
+}
+
+src_install() {
+ # install standard documentation, even though we are just
+ # installing the fuse daemon
+ cd doc
+ dodoc api-overview background FORMAT INSTALL.* README.avfs-fuse
+ cd ..
+ dodoc AUTHORS ChangeLog COPYING* INSTALL NEWS README TODO
+
+ # copy scripts, including mountavfs and umountavfs
+ docinto scripts
+ dodoc scripts/avfs* scripts/*pass scripts/*mountavfs
+
+ # install our one file! Put it in /usr/bin so users can run.
+ # also install our userland startup and shutdown scripts.
+ dobin fuse/avfsd scripts/*mountavfs
+}
+
+pkg_postinst() {
+ echo
+ ewarn "***** THIS IS CVS CODE *****"
+ ewarn "It may not work. YOU ARE WARNED!"
+ echo
+ einfo "This version of AVFS includes FUSE support. It is user-based."
+ einfo "To execute:"
+ einfo "1) as user, mkdir ~/.avfs"
+ einfo "2) make sure fuse is either compiled into the kernel OR"
+ einfo " modprobe fuse or add to startup."
+ einfo "3) run mountavfs"
+ einfo "To unload daemon, type umountavfs"
+ echo
+ einfo "READ the documentation! Enjoy :)"
+}
diff --git a/sys-fs/avfs/metadata.xml b/sys-fs/avfs/metadata.xml
new file mode 100644
index 000000000000..083aa41d6dce
--- /dev/null
+++ b/sys-fs/avfs/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kernel</herd>
+ <maintainer>
+ <email>pete4abw@comcast.net</email>
+ <name>Peter Hyman</name>
+ </maintainer>
+ <maintainer>
+ <email>genstef@gentoo.org</email>
+ <name>Stefan Schweizer</name>
+ </maintainer>
+</pkgmetadata>