summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-12-13 16:41:06 +0000
committerJustin Lecher <jlec@gentoo.org>2012-12-13 16:41:06 +0000
commita231b46e3a8f10ceefee39496e16906cb42085a3 (patch)
treefe59299505c04822d7e726b87a34b1aca4b4d054 /sys-fs/cachefilesd
parentsci-chemistry/mpqc: Run the intermediate testsuite (diff)
downloadhistorical-a231b46e3a8f10ceefee39496e16906cb42085a3.tar.gz
historical-a231b46e3a8f10ceefee39496e16906cb42085a3.tar.bz2
historical-a231b46e3a8f10ceefee39496e16906cb42085a3.zip
sys-fs/cachefilesd: Build as PIE binary as suggested by upstream
Package-Manager: portage-2.2.0_alpha148/cvs/Linux x86_64 Manifest-Sign-Key: 0x70EB7916
Diffstat (limited to 'sys-fs/cachefilesd')
-rw-r--r--sys-fs/cachefilesd/ChangeLog10
-rw-r--r--sys-fs/cachefilesd/Manifest35
-rw-r--r--sys-fs/cachefilesd/cachefilesd-0.10.5-r1.ebuild53
-rw-r--r--sys-fs/cachefilesd/metadata.xml6
4 files changed, 82 insertions, 22 deletions
diff --git a/sys-fs/cachefilesd/ChangeLog b/sys-fs/cachefilesd/ChangeLog
index 815eee6fc613..1b0eca6b0c19 100644
--- a/sys-fs/cachefilesd/ChangeLog
+++ b/sys-fs/cachefilesd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/cachefilesd
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/ChangeLog,v 1.5 2011/12/06 16:14:52 jlec Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/ChangeLog,v 1.6 2012/12/13 16:41:05 jlec Exp $
+
+*cachefilesd-0.10.5-r1 (13 Dec 2012)
+
+ 13 Dec 2012; Justin Lecher <jlec@gentoo.org> +cachefilesd-0.10.5-r1.ebuild,
+ metadata.xml:
+ Build as PIE binary as suggested by upstream
*cachefilesd-0.10.5 (06 Dec 2011)
diff --git a/sys-fs/cachefilesd/Manifest b/sys-fs/cachefilesd/Manifest
index e53a35a977f5..04952640b4d9 100644
--- a/sys-fs/cachefilesd/Manifest
+++ b/sys-fs/cachefilesd/Manifest
@@ -1,22 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
-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
-DIST cachefilesd-0.10.5.tar 112640 RMD160 62e3d8353c2d7f7a4a9970d10c1b26e89aac70b0 SHA1 07f6f4c6b1b432da855191e5221b027c187b301e SHA256 125ea4f6aef4bf8e936a7cc747b59e074537a8aed74cd1bab3f05d7fbc47287f
-EBUILD cachefilesd-0.10.1-r1.ebuild 1511 RMD160 080292e625b718be36954f96666927ff7a27a6ee SHA1 abcbebd626297e673629d3faff6d4c9fdd93362d SHA256 447cc08b06e6f9b251b6eea08a9f967ed8d17586e18e9becd4643417b98882e6
-EBUILD cachefilesd-0.10.4.ebuild 1520 RMD160 f410e18390b17d67613a78d31215f09befb55067 SHA1 1942a83c18ced5476e4afe373a62406661888a92 SHA256 fb35197840287793ff6aac1337768f7cbf987538e68bb40b96658ff0492f9aa0
-EBUILD cachefilesd-0.10.5.ebuild 1427 RMD160 ded02b491e822245ac93985a37d65f73f5491585 SHA1 64f5c005b58e3f49067c7bed9a5a67a4ebe15bc9 SHA256 3c1bf456938b4bdb80b97c9779b1f091299ca53dca233666490a72061822371c
-MISC ChangeLog 1125 RMD160 426b362edcfada51306175bd51c5b991e52b3e87 SHA1 2f92d7d42ed84ee7758c345cf1e4f9eb5d70323a SHA256 df8ea112a6551e3527c36204d035340b7eb5399cac716cad676f4cce156bfd80
-MISC metadata.xml 201 RMD160 a6c5202673c0843bd9d1453b78b3f6bddc62a1f7 SHA1 6c7c52b9cddff4c6507fe6e49be0bbd53611d236 SHA256 180014e727f4e39b95bfeadf7661f97f2a0c8fe30658a82cd676fac065c7b3c9
+AUX 0.10.1-makefile.patch 393 SHA256 7e855c5fa9099ebb5b088fb2f6f66eaed4479ba622daf9cfaabc2a052a2e2335 SHA512 51d1a9d61cf3042ebb911cde623be796e662e21d04c4ab13eb42fe518e547067c3ac6799ab65aec740d60631df42d003671a49721d902dfa3630355e6e5f1fa6 WHIRLPOOL 6e3522b8daf0bb079d589d490cf59d2b10bf6d43181278179c3d410767fae3b189a91a160176c0654f6fd8835f61723afcfce2f5ba9e7607884fdc4ab0495bd5
+AUX 0.10.4-makefile.patch 628 SHA256 615df8e77a409f852749cd607c6a4efc03780c2105bd0ce8fbcb1b02df87fdc9 SHA512 b6092b5c98c63b8479af22c6bf1812da9124a54c8e51e9e7531bf7984d3816090cc0a0126d6d506f8d42bc19863b2ba486b373d5c5577d47369cf3a1b2c78e72 WHIRLPOOL ac74923fd47026cf643fa1036cd79a80f08fafae6f0a606075c296f922218d16c2bd1f1e7267bd84566d023491fe092b3db69a559c93545f9d2c4c683c7df6cf
+AUX cachefilesd.conf 410 SHA256 138297a340a6437cc39d2634b0d74d3efa13a29a7077d7e2dffa8197a24007ad SHA512 5fffae419680b8385836963c657bcd5b891d82f2c6c105678910ce2448d2990182e477a852562162fc5017ff021fccd1eaaebfd8da768f7132e07f999fe8c0ec WHIRLPOOL 3b629bacfbcb0313eb34049159b29c7c48e9a085761db02943ced6330a0d5585cdf96d075bb2ab7481354f99d37683ef3a5c835379b1832983f0e73348506827
+AUX cachefilesd.init 1660 SHA256 9f3cdd4e2641ec24ab0b6aa6d23d04eaebe976bc6fb804c2f438309e4ce35d4a SHA512 595718e2875124a24ec7983e7e74eebd5739c31d87d803c943accc865b9387262ab84b7d67ec8b2e0d1b64629e704c2318ed6173564ba937df1a97760bf49ece WHIRLPOOL b4ae8cc19d3f735c2f8cb7050e855cc5dec07fa9b67128b6733d0ca4743e9b0fda7c37cbca3817758421a18bb54b3f7905a81017195b757452725b48e5055c3e
+DIST cachefilesd-0.10.1.tar.bz2 23763 SHA256 8964ec1ff571025db74b89385486299173cd2b6ed6944f92db95bf09871a43d5
+DIST cachefilesd-0.10.4.tar 112640 SHA256 bbc632aceb47d44c0b27853261d28723fe7d60103b86f57c825595e2e9b0c291
+DIST cachefilesd-0.10.5.tar 112640 SHA256 125ea4f6aef4bf8e936a7cc747b59e074537a8aed74cd1bab3f05d7fbc47287f SHA512 996e47de40cff4d2c0d265689ef3a33aee6ef0d0432a03d7428133c091e77b0e099bd1346b5638bf2d9df6bb47bce519491b420d5916a3211c4e04e158ad92e8 WHIRLPOOL fad173739c307629ffef091a0cad890ee9bb3b133471de1fe9bb43cc06ee46a051fdb97262f9380a8133fb49cd87b9cbd3ee71205867046bd361f890c2645f1e
+EBUILD cachefilesd-0.10.1-r1.ebuild 1511 SHA256 447cc08b06e6f9b251b6eea08a9f967ed8d17586e18e9becd4643417b98882e6 SHA512 b105943f00db5e836db709ec89ea507ef3d16f3e6b887e9c7ff818070dd509f27d39633544ded4a54f91b62228a958681bf9510a4cc117f186b492951c917bc6 WHIRLPOOL 0271faf8de2cbb6672ff53eee528a59a42751ba52b34a19cecf94e522056439b9d9df05cd98c3d2b3f474fad5848fd7dc31d4617eaf20c5ad36710cf8e445780
+EBUILD cachefilesd-0.10.4.ebuild 1520 SHA256 fb35197840287793ff6aac1337768f7cbf987538e68bb40b96658ff0492f9aa0 SHA512 0bdaa3a80a43e75af26da364c4091354d797bc6582e8b0b46e73bf5a09b0058f1081f8ad5c9126874f39adb34f07dc3e0ca6e7074ae5973d48b035b9b0780b69 WHIRLPOOL e85c750ee8f41b7be98460d4f236819d1fd0e2980e5459843db0c2a97dd9a586689c2cbb84b1df62055f90ac9ede28c50e5e565c61bee5b706856d567f392ff6
+EBUILD cachefilesd-0.10.5-r1.ebuild 1464 SHA256 f8e1ed6c44ec32432722ed16476354474a20e99235c727abefc82e1d0a0b0716 SHA512 5b77a972a57ebc56d5c6fb40a55ca3f38cca6bd43bc7a12800a59361d33fb3322d9f9bb3e1e704f1d30f938c7b522942bbbfccd9742be395e149ab626523a489 WHIRLPOOL fd4d66425a7522fb3c707b5f5ec49deaf05365bd07f5b0f2d79cb452bc220d4d46ee68bd84f6ee836c7d08a12dd57d0a6fcdbace5aa0fc2520dd842f2257cb7e
+EBUILD cachefilesd-0.10.5.ebuild 1427 SHA256 3c1bf456938b4bdb80b97c9779b1f091299ca53dca233666490a72061822371c SHA512 f94573a35ca4d908026c8ddc72e08cb4735c2a70d330883035d1ba7d9bef59582cc23e6132a04f9bf2a42d93225c81a3f2b19064e776d3e74cdc4cf06cdc1659 WHIRLPOOL a92ec1203fc7c5eae9c097a2f30b34c4872c18014e2fb4bb127998e9a9919d75e3bd1f1d20e76a4853d6fd493df791ec95ac166720ef1713b01cdffd19f4d190
+MISC ChangeLog 1305 SHA256 a669f373b7b3c4e858286706ddbc3fa96abe6ef2371edfc13c8608def0f8a285 SHA512 6e8d5415c6a38f752a574083cb586677272c1863c12e82d84b69d34f6d13db99d5d568c1fe6b915f0a686d67861f23b7b05fbb64ac75dcb5390a498801b5702a WHIRLPOOL 221410421bb1a7bc60ae4d9f4457fd81565c43473e1399eae3092f98624105f86c9fb0525e3aba6da128ef83b3795d636c7e237f89103e0ccbdac5b364d22694
+MISC metadata.xml 205 SHA256 b4660d1f4b47c8c40fc6f986791c6da3f0d7513fe4489a0d2bbb83346dcb1f5b SHA512 0e0b6e89b125b4849b4164e7cabb5297ae930c4db499c6685c3852a60e209418c26eb33e452a0a78e800c960ac5032f97d436bc3b7266a0ac76092f6f2595d11 WHIRLPOOL dc3dc7c840a6640b42e3fc981c95d0a8e43d3b5834f447a09deebc1b35dbb26e48c3d85db73725c42d2036edd9f141fb02a3a9d61522861f4e97e3e974987473
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREKAAYFAk7eP4EACgkQgAnW8HDreRbWRwCfQ5DNV0hZ2vJW/h0/ygBeo7OJ
-AZ0An3LcY61xY+JcPKYXmFMymfLJcMfd
-=bhDv
+iEYEAREIAAYFAlDKBSIACgkQgAnW8HDreRa7MwCfSvbXz2x7OCRgUe1ZtPIniKdp
+fjQAn3DqPvZzn+ouFxow/WNXue53wF2a
+=9kyN
-----END PGP SIGNATURE-----
diff --git a/sys-fs/cachefilesd/cachefilesd-0.10.5-r1.ebuild b/sys-fs/cachefilesd/cachefilesd-0.10.5-r1.ebuild
new file mode 100644
index 000000000000..ed3aade6cfeb
--- /dev/null
+++ b/sys-fs/cachefilesd/cachefilesd-0.10.5-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cachefilesd/cachefilesd-0.10.5-r1.ebuild,v 1.1 2012/12/13 16:41:05 jlec Exp $
+
+EAPI=4
+
+inherit eutils flag-o-matic 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}"/0.10.4-makefile.patch
+ tc-export CC
+ if ! use selinux; then
+ sed -e '/^secctx/s:^:#:g' -i cachefilesd.conf || die
+ fi
+
+ append-flags -fpie
+}
+
+src_install() {
+ default
+
+ if use selinux; then
+ insinto /usr/share/doc/${P}
+ doins -r selinux
+ fi
+
+ dodoc howto.txt
+
+ newconfd "${FILESDIR}"/cachefilesd.conf ${PN}
+ newinitd "${FILESDIR}"/cachefilesd.init ${PN}
+
+ 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)."
+ echo ""
+ 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/metadata.xml b/sys-fs/cachefilesd/metadata.xml
index c845479d513e..4a00a64b40ae 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>