diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-10-14 03:00:44 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-10-14 03:00:44 +0000 |
commit | 9fbd387f0aa30cde075408c20c567fa5df5fd9c3 (patch) | |
tree | c82b299ac432b0a2e407210f6aab2d2e26488f97 /sys-fs/efsd | |
parent | old (diff) | |
download | gentoo-2-9fbd387f0aa30cde075408c20c567fa5df5fd9c3.tar.gz gentoo-2-9fbd387f0aa30cde075408c20c567fa5df5fd9c3.tar.bz2 gentoo-2-9fbd387f0aa30cde075408c20c567fa5df5fd9c3.zip |
ver bump
Diffstat (limited to 'sys-fs/efsd')
-rw-r--r-- | sys-fs/efsd/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/efsd/efsd-0.0.1.20030220-r1.ebuild | 44 | ||||
-rw-r--r-- | sys-fs/efsd/efsd-0.0.1.20031013.ebuild (renamed from sys-fs/efsd/efsd-0.0.1.20030629.ebuild) | 8 | ||||
-rw-r--r-- | sys-fs/efsd/files/digest-efsd-0.0.1.20030220-r1 | 1 | ||||
-rw-r--r-- | sys-fs/efsd/files/digest-efsd-0.0.1.20030629 | 1 | ||||
-rw-r--r-- | sys-fs/efsd/files/digest-efsd-0.0.1.20031013 | 1 | ||||
-rw-r--r-- | sys-fs/efsd/metadata.xml | 73 |
7 files changed, 84 insertions, 51 deletions
diff --git a/sys-fs/efsd/ChangeLog b/sys-fs/efsd/ChangeLog index aa0d56e6d331..8983d0c3b300 100644 --- a/sys-fs/efsd/ChangeLog +++ b/sys-fs/efsd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/efsd # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/efsd/ChangeLog,v 1.1 2003/09/15 17:46:24 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/efsd/ChangeLog,v 1.2 2003/10/14 02:56:43 vapier Exp $ + +*efsd-0.0.1.20031013 (13 Oct 2003) + + 13 Oct 2003; Mike Frysinger <vapier@gentoo.org> : + Version bump. *efsd-0.0.1.20030629 (15 Sep 2003) diff --git a/sys-fs/efsd/efsd-0.0.1.20030220-r1.ebuild b/sys-fs/efsd/efsd-0.0.1.20030220-r1.ebuild deleted file mode 100644 index 308dd6f32c3e..000000000000 --- a/sys-fs/efsd/efsd-0.0.1.20030220-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/efsd/efsd-0.0.1.20030220-r1.ebuild,v 1.1 2003/09/15 17:46:24 seemant Exp $ - -inherit flag-o-matic - -S=${WORKDIR}/${PN} -DESCRIPTION="daemon that provides commonly needed file system functionality to clients" -HOMEPAGE="http://www.enlightenment.org/pages/efsd.html" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -SLOT="0" -LICENSE="as-is" -KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa ~arm" - -DEPEND="dev-lang/perl" - -RDEPEND="${DEPEND} - app-admin/fam-oss - >=dev-libs/libxml2-2.3.10" -# See the other ebuild for comment -# >=dev-db/edb-1.0.3.2003* - -pkg_setup() { - # the stupid gettextize script prevents non-interactive mode, so we hax it - cp `which gettextize` ${T} || die "could not copy gettextize" - cp ${T}/gettextize ${T}/gettextize.old - sed -e 's:read dummy < /dev/tty::' ${T}/gettextize.old > ${T}/gettextize -} - -src_compile() { - env PATH="${T}:${PATH}" WANT_AUTOCONF_2_5=1 NOCONFIGURE=yes ./autogen.sh || die - use alpha && append-flags -fPIC - econf --with-gnu-ld || die - emake || die -} - -src_install() { - make install DESTDIR=${D} || die - dodoc AUTHORS ChangeLog NEWS README TODO - dohtml -r doc - docinto example - doins example/* -} diff --git a/sys-fs/efsd/efsd-0.0.1.20030629.ebuild b/sys-fs/efsd/efsd-0.0.1.20031013.ebuild index d8db002f4f3f..50ba365d90bf 100644 --- a/sys-fs/efsd/efsd-0.0.1.20030629.ebuild +++ b/sys-fs/efsd/efsd-0.0.1.20031013.ebuild @@ -1,14 +1,14 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/efsd/efsd-0.0.1.20030629.ebuild,v 1.1 2003/09/15 17:46:24 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/efsd/efsd-0.0.1.20031013.ebuild,v 1.1 2003/10/14 02:56:43 vapier Exp $ inherit enlightenment flag-o-matic DESCRIPTION="daemon that provides commonly needed file system functionality to clients" HOMEPAGE="http://www.enlightenment.org/pages/efsd.html" -SLOT="0" LICENSE="as-is" +SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc ~sparc ~alpha ~mips ~hppa ~arm" DEPEND="${DEPEND} @@ -16,7 +16,7 @@ DEPEND="${DEPEND} RDEPEND="${DEPEND} app-admin/fam-oss >=dev-libs/libxml2-2.3.10 - >=dev-db/edb-1.0.3.2003*" + >=dev-db/edb-1.0.4.20031013" S=${WORKDIR}/${PN} @@ -28,7 +28,7 @@ src_unpack() { src_compile() { env PATH="${T}:${PATH}" WANT_AUTOCONF_2_5=1 NOCONFIGURE=yes ./autogen.sh || die use alpha && append-flags -fPIC - econf --with-gnu-ld || die + econf || die emake || die } diff --git a/sys-fs/efsd/files/digest-efsd-0.0.1.20030220-r1 b/sys-fs/efsd/files/digest-efsd-0.0.1.20030220-r1 deleted file mode 100644 index 966f41c2a3da..000000000000 --- a/sys-fs/efsd/files/digest-efsd-0.0.1.20030220-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 93e99cbbce9061e327ef611065b8a637 efsd-0.0.1.20030220.tar.bz2 221622 diff --git a/sys-fs/efsd/files/digest-efsd-0.0.1.20030629 b/sys-fs/efsd/files/digest-efsd-0.0.1.20030629 deleted file mode 100644 index 99937bbebfd5..000000000000 --- a/sys-fs/efsd/files/digest-efsd-0.0.1.20030629 +++ /dev/null @@ -1 +0,0 @@ -MD5 869a0d22ddde93979d8f227824d92baf efsd-0.0.1.20030629.tar.bz2 223438 diff --git a/sys-fs/efsd/files/digest-efsd-0.0.1.20031013 b/sys-fs/efsd/files/digest-efsd-0.0.1.20031013 new file mode 100644 index 000000000000..4ff8d5be3914 --- /dev/null +++ b/sys-fs/efsd/files/digest-efsd-0.0.1.20031013 @@ -0,0 +1 @@ +MD5 b1014e722122024edb728f317fcb32c5 efsd-0.0.1.20031013.tar.bz2 223786 diff --git a/sys-fs/efsd/metadata.xml b/sys-fs/efsd/metadata.xml new file mode 100644 index 000000000000..62d46ec24f17 --- /dev/null +++ b/sys-fs/efsd/metadata.xml @@ -0,0 +1,73 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>vapier@gentoo.org</email> + <name>Mike Frysinger</name> +</maintainer> +<longdescription> +Efsd, the Enlightenment File System Daemon, is a daemon that provides commonly +needed file system functionality to one or more clients. It comes as a library that +clients (like e17) use, sending commands to the daemon, which asynchronously reports +back the outcome of the commands when their execution is finished. Efsd therefore +decouples the client 100% from any file system related tasks (which means that you +will for example not see a GUI application hang, assuming it is coded sanely), +specifically, it does the following: + +* Implements basic file operations (ls, cp, rm, ln -s, stat ...), with a +flexible option passing system to provide equivalents of recursive processing, force +options, alphabetical sorting etc. + +* Reports file change events, currently using FAM, so that a client gets instant +reports when files are removed, deleted, renamed etc. I've looked at BSD's kqueue +mechanism and Linux 2.4's dnotify, and it seems Rusty and his friends at SGI are +planning on adding direct support for these to FAM (well, at least for the kqueue +mechanism). + +* Delivers file type requests to the clients, i.e. clients ask for a file's +type, and Efsd does its best to come up with a good reply. Efsd extends the concept +of MIME types for data type specification to more than two levels (e.g. +"image/gif/89a"), to allow arbitrary levels of granularity. A three-tiered approach +is used to determine the file type, not unlike the way the Unix file(1) command +works. These three levels are tried in order of decreasing reliability: + + o First, the result of stat() and statfs() calls are checked to see if a file is a +directory, socket, fifo etc. In that case, a reply like "ext2/directory" is +reported. + + o If that didn't help, file magic is used to check for detailed file +characteristics. A database based on a magic file (check man magic for details) is +used to put together a detailed file type. Efsd can therefore deliver file types +with the same high level of granularity that file(1) provides, for example, asking +for an mp3's file type results in a reply as detailed as +audio/mp3/160-kbit-s/44-1-khz/jstereo. It is up to the client to make as much use of +the information as necessary. + + o If that also didn't help, classic file name pattern matching is used, +e.g. anything *.foo is a foobar file etc. +File type lookups are cached in order to increase performance. + +With a client that uses Efsd, no user will ever click on what seems to be an +mp3, accidentally executing a malicious script. + +* Handles setting and retrieval of arbitrary metadata, e.g. like +storing/querying for file icons, icon coordinates etc. The type of data to be +stored/retrieved is entirely up to the clients. + +* Can monitor metadata and sent events to the client when metadata entries +change. + +* Caches results of stat() calls to increase performance. FAM is used to let +Efsd know internally when a file has changed, so that cached stats can be updated. + +* Supports multiple clients. Besides the simpler case of regular fs commands, +Efsd implements filechange event (de-)multiplexing, i.e. file monitoring requests +are use-counted and resulting events are forwarded to the appropriate clients which +requested the monitoring. efsdsh, an interactive command line interface to libefsd +is a nifty little tool for testing things like these ... + +* Multi-threaded implementation, as long as POSIX threads (pthreads) are +available on a system. +</longdescription> +</pkgmetadata> |