summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-01 13:04:21 +0000
committerJustin Lecher <jlec@gentoo.org>2011-12-01 13:04:21 +0000
commit5338ab3c41a8d68ce2ab46062ff04a5e61c019da (patch)
treefd093d1d1ed24f29e6cf5fdd827f99294c877e6c /sys-fs
parentdrop old plugincache wiping code that is now invalidly causing issues; >0.7.6... (diff)
downloadhistorical-5338ab3c41a8d68ce2ab46062ff04a5e61c019da.tar.gz
historical-5338ab3c41a8d68ce2ab46062ff04a5e61c019da.tar.bz2
historical-5338ab3c41a8d68ce2ab46062ff04a5e61c019da.zip
Version Bump
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/cachefilesd/ChangeLog10
-rw-r--r--sys-fs/cachefilesd/Manifest17
-rw-r--r--sys-fs/cachefilesd/cachefilesd-0.10.4.ebuild50
-rw-r--r--sys-fs/cachefilesd/files/0.10.4-makefile.patch24
-rw-r--r--sys-fs/cachefilesd/metadata.xml6
5 files changed, 94 insertions, 13 deletions
diff --git a/sys-fs/cachefilesd/ChangeLog b/sys-fs/cachefilesd/ChangeLog
index 512197754109..8d3512690fbe 100644
--- a/sys-fs/cachefilesd/ChangeLog
+++ b/sys-fs/cachefilesd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/cachefilesd
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/ChangeLog,v 1.3 2010/09/20 08:45:22 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/ChangeLog,v 1.4 2011/12/01 13:04:21 jlec Exp $
+
+*cachefilesd-0.10.4 (01 Dec 2011)
+
+ 01 Dec 2011; Justin Lecher <jlec@gentoo.org> +files/0.10.4-makefile.patch,
+ +cachefilesd-0.10.4.ebuild, metadata.xml:
+ Version Bump
20 Sep 2010; Justin Lecher <jlec@gentoo.org> files/cachefilesd.init:
Corrected typo in init script, 338124
diff --git a/sys-fs/cachefilesd/Manifest b/sys-fs/cachefilesd/Manifest
index 7990d9d0e03d..464e947df15b 100644
--- a/sys-fs/cachefilesd/Manifest
+++ b/sys-fs/cachefilesd/Manifest
@@ -1,19 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX 0.10.1-makefile.patch 393 RMD160 66ff09058f703768b63127d7a071ab04cac5bb10 SHA1 0c175c824ae6873927f1c9e70db5db95859190de SHA256 7e855c5fa9099ebb5b088fb2f6f66eaed4479ba622daf9cfaabc2a052a2e2335
+AUX 0.10.4-makefile.patch 628 RMD160 068a7f3e9aeaae4f09822a2a76c5ade4eaa68cef SHA1 d1c3d39354ac9af43a4149629355ff1d6e18c8c1 SHA256 615df8e77a409f852749cd607c6a4efc03780c2105bd0ce8fbcb1b02df87fdc9
AUX cachefilesd.conf 410 RMD160 72ab2295f9aafacb424fea456e066d33f90dd651 SHA1 2405679f247ba8cf78ed1122a355c40cd52cf67f SHA256 138297a340a6437cc39d2634b0d74d3efa13a29a7077d7e2dffa8197a24007ad
AUX cachefilesd.init 1660 RMD160 0c22b5782586269db16bf02c0656608d8123fe35 SHA1 1cd82775e0ad3cebb7f079dd06c9047b842a4d33 SHA256 9f3cdd4e2641ec24ab0b6aa6d23d04eaebe976bc6fb804c2f438309e4ce35d4a
DIST cachefilesd-0.10.1.tar.bz2 23763 RMD160 293fe9aef77d296dde95af2939a13d62356a0ceb SHA1 73fc9424c485cc4b724c1f11764d7616cddebc5e SHA256 8964ec1ff571025db74b89385486299173cd2b6ed6944f92db95bf09871a43d5
+DIST cachefilesd-0.10.4.tar 112640 RMD160 da8296cf27b09ce8554334bb15d2a0bea1b301a6 SHA1 2415496a1ebf766c315606fa79830ae8e2cf2f7d SHA256 bbc632aceb47d44c0b27853261d28723fe7d60103b86f57c825595e2e9b0c291
EBUILD cachefilesd-0.10.1-r1.ebuild 1511 RMD160 080292e625b718be36954f96666927ff7a27a6ee SHA1 abcbebd626297e673629d3faff6d4c9fdd93362d SHA256 447cc08b06e6f9b251b6eea08a9f967ed8d17586e18e9becd4643417b98882e6
-MISC ChangeLog 827 RMD160 d54a605c7516b5f7d955013c459d64a41c15f984 SHA1 e88c5091b942fd173a8b5f01ebb8916e7d450219 SHA256 9c9ed72cf7306ea309d90690c65a8b41a393e0b63c0db9b9989ed96996939715
-MISC metadata.xml 199 RMD160 f73d328f92baedbc11bdc538f701ce4774a869fe SHA1 216eff85310aa25f484f5db979e5b68193e57c34 SHA256 0b42d3e74172519a6abfb2906196d87b8ed8c1470a94da622bd61ef57f53f224
+EBUILD cachefilesd-0.10.4.ebuild 1520 RMD160 f410e18390b17d67613a78d31215f09befb55067 SHA1 1942a83c18ced5476e4afe373a62406661888a92 SHA256 fb35197840287793ff6aac1337768f7cbf987538e68bb40b96658ff0492f9aa0
+MISC ChangeLog 999 RMD160 87faf6533d1479d36fbbd1c2951c95b377d83e0b SHA1 9514feed44253f9fcbcffd555a2f6959140d5b20 SHA256 16191305146245ebd93d2b29164d429dfcd331791efd0c7e5f4bce104dd1b53b
+MISC metadata.xml 201 RMD160 a6c5202673c0843bd9d1453b78b3f6bddc62a1f7 SHA1 6c7c52b9cddff4c6507fe6e49be0bbd53611d236 SHA256 180014e727f4e39b95bfeadf7661f97f2a0c8fe30658a82cd676fac065c7b3c9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iJwEAQEIAAYFAk59s3AACgkQfXuS5UK5QB18bwQAsaKhCngDOPFgm7bsQQr91Oth
-FkDRH4O3ChqiVZNK+lnJSfpK/1dhPxxgMA5z7wN3eZVSVO7aHOgytdt42AshKPUG
-Lbj0q6PTWI6L+/zIpxAjK7OQgsok+NndVpcSZdV5otz74yzNa9dcyCBRETsZI4Tp
-R5Q1as1kgLUCcBzxvIY=
-=78yS
+iEYEAREKAAYFAk7Xe1oACgkQgAnW8HDreRZ+RwCcCMoy/EvNvYOoGOctzcBkzOEC
+wOAAoIbmyPJuhERiJnlXczy2A5v9j760
+=PVUb
-----END PGP SIGNATURE-----
diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.4.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.4.ebuild
new file mode 100644
index 000000000000..c89eeaede2b8
--- /dev/null
+++ b/sys-fs/cachefilesd/cachefilesd-0.10.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/cachefilesd-0.10.4.ebuild,v 1.1 2011/12/01 13:04:21 jlec Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Provides a caching directory on an already mounted filesystem"
+HOMEPAGE="http://people.redhat.com/~dhowells/fscache/"
+SRC_URI="http://people.redhat.com/~dhowells/fscache/${P}.tar.bz2 -> ${P}.tar"
+
+IUSE="doc selinux"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-makefile.patch
+ tc-export CC
+ if ! use selinux; then
+ sed -e '/^secctx/s:^:#:g' -i cachefilesd.conf || die
+ fi
+}
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ if use selinux; then
+ insinto /usr/share/doc/${P}
+ doins -r selinux || die
+ fi
+
+ dodoc README howto.txt || die
+
+ newconfd "${FILESDIR}"/cachefilesd.conf cachefilesd || die
+ newinitd "${FILESDIR}"/cachefilesd.init cachefilesd || die
+
+ keepdir /var/cache/fscache
+}
+
+pkg_postinst() {
+ [[ -d /var/cache/fscache ]] && return
+ elog "Before CacheFiles can be used, a directory for local storage"
+ elog "must be created. The default configuration of /etc/cachefilesd.conf"
+ elog "uses /var/cache/fscache. The filesystem mounted there must support"
+ elog "extended attributes (mount -o user_xattr)."
+ elog ""
+ elog "Once that is taken care of, start the daemon, add -o ...,fsc"
+ elog "to the mount options of your network mounts, and let it fly!"
+}
diff --git a/sys-fs/cachefilesd/files/0.10.4-makefile.patch b/sys-fs/cachefilesd/files/0.10.4-makefile.patch
new file mode 100644
index 000000000000..5cbb24001c95
--- /dev/null
+++ b/sys-fs/cachefilesd/files/0.10.4-makefile.patch
@@ -0,0 +1,24 @@
+ Makefile | 6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index d5d352e..9a98bf5 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,3 @@
+-CFLAGS := -g -O2 -Wall
+ INSTALL := install
+ DESTDIR :=
+ ETCDIR := /etc
+@@ -38,7 +37,10 @@ endif
+ ###############################################################################
+ all: cachefilesd
+
+-cachefilesd: cachefilesd.c Makefile
++cachefilesd.o: cachefilesd.c
++ $(CC) $(CFLAGS) -c $<
++
++cachefilesd: cachefilesd.o
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ ###############################################################################
diff --git a/sys-fs/cachefilesd/metadata.xml b/sys-fs/cachefilesd/metadata.xml
index dc06c49f3397..c845479d513e 100644
--- a/sys-fs/cachefilesd/metadata.xml
+++ b/sys-fs/cachefilesd/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
- <email>jlec@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>