diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2012-10-15 20:17:14 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2012-10-15 20:17:14 +0000 |
commit | 31721c17f184ebd0a260c17baad5165a89cb8b16 (patch) | |
tree | 118ac25f0f5e8a341c8d241d3dd9a6d9de35cd0e /sys-fs | |
parent | sci-libs/io_lib: Drop old (diff) | |
download | gentoo-2-31721c17f184ebd0a260c17baad5165a89cb8b16.tar.gz gentoo-2-31721c17f184ebd0a260c17baad5165a89cb8b16.tar.bz2 gentoo-2-31721c17f184ebd0a260c17baad5165a89cb8b16.zip |
Initial commit. LD_PRELOAD hack to workaround some exceeding fsync()/open(mode=O_SYNC) in applications. Does not pass tests as sandbox breaks LD_PRELOAD order and interferes to normal working order.
(Portage version: 2.2.0_alpha135_p2/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/libeatmydata/ChangeLog | 11 | ||||
-rw-r--r-- | sys-fs/libeatmydata/Manifest | 3 | ||||
-rw-r--r-- | sys-fs/libeatmydata/libeatmydata-65.ebuild | 30 | ||||
-rw-r--r-- | sys-fs/libeatmydata/metadata.xml | 12 |
4 files changed, 56 insertions, 0 deletions
diff --git a/sys-fs/libeatmydata/ChangeLog b/sys-fs/libeatmydata/ChangeLog new file mode 100644 index 000000000000..821481cbf918 --- /dev/null +++ b/sys-fs/libeatmydata/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-fs/libeatmydata +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/libeatmydata/ChangeLog,v 1.1 2012/10/15 20:17:14 slyfox Exp $ + +*libeatmydata-65 (15 Oct 2012) + + 15 Oct 2012; Sergei Trofimovich <slyfox@gentoo.org> +libeatmydata-65.ebuild, + +metadata.xml: + Initial commit. LD_PRELOAD hack to workaround some exceeding + fsync()/open(mode=O_SYNC) in applications. Does not pass tests as sandbox + breaks LD_PRELOAD order and interferes to normal working order. diff --git a/sys-fs/libeatmydata/Manifest b/sys-fs/libeatmydata/Manifest new file mode 100644 index 000000000000..ea2e57f56799 --- /dev/null +++ b/sys-fs/libeatmydata/Manifest @@ -0,0 +1,3 @@ +DIST libeatmydata-65.tar.gz 408813 SHA256 8a16c1ff04aeceed1891e2772728359d3368347e1807bed60fc6147d8968d5c1 SHA512 b2e3ed9c67b6ae9b0e5918b114bf0fb6e59dda3bff9b9331a8c280243822d4c77f35e9b08138ea65a74c893cc2bd67677bbf28b03bc61f011b24dd39d171adc2 WHIRLPOOL 51347727497073130ab4ea18d963a8d98c3e950a56c612f0485f205908b1b97f10f6e0afdad2a3d1c448bde2132426fc0a173a6140009a26a3a8db581b13460e +EBUILD libeatmydata-65.ebuild 662 SHA256 308e10b042ccec753514fb32ea3dd521d30a9fa023cf10aa2e5f3529877fc08c SHA512 effd873f2b75d8f98e89de38b29aeb05c787817c7c8cdd8a450b9938d1b8c56606523b51be90b231c3b3f5f33b86f6bd0d3802a5f0ffacdc01ca338d364a5eda WHIRLPOOL 31350ceda0ab12ff260b8bfeac92d91ce3b83f490db317a12b9e99eb8855511be438f09916c3b7a1cbafd137724e6698c3fc0bb0214ace11558883993f4e6d05 +MISC metadata.xml 418 SHA256 0c6bc6c9ea92b82db94551664b91213845a8e7b6a156d661a6078079aae4eb64 SHA512 a47a87f4e76d5f4891400a3e88500985fe65fd84991e060809dc55c8e5d7d67f0bf1bea84b85c4d9f5720c25a206b49fc05aa8872b13dfc97714785b377df97e WHIRLPOOL 42ce5ee8789ec4a4e9d832e3aacb1bfdf08c59b1b90753885905e4785ae69fc2fcf8332a6d125c6631f7fcc0c005fbd28e5b0d7f14fe1f62e73a882b4616bad4 diff --git a/sys-fs/libeatmydata/libeatmydata-65.ebuild b/sys-fs/libeatmydata/libeatmydata-65.ebuild new file mode 100644 index 000000000000..6ef73fc5f6cf --- /dev/null +++ b/sys-fs/libeatmydata/libeatmydata-65.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/libeatmydata/libeatmydata-65.ebuild,v 1.1 2012/10/15 20:17:14 slyfox Exp $ + +EAPI="4" +inherit eutils + +DESCRIPTION="LD_PRELOAD hack to convert sync()/msync() and the like to NO-OP" +HOMEPAGE="https://launchpad.net/libeatmydata/" +SRC_URI="https://launchpad.net/${PN}/trunk/release-${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +# sandbox fools LD_PRELOAD and libeatmydata does not get control +# bug/feature in sandbox? +#DEPEND="test? ( dev-util/strace )" +RESTRICT=test + +DEPEND="sys-apps/sed" +RDEPEND="" + +src_install() { + default + + prune_libtool_files --all + dodoc AUTHORS README +} diff --git a/sys-fs/libeatmydata/metadata.xml b/sys-fs/libeatmydata/metadata.xml new file mode 100644 index 000000000000..2949fcd4f11a --- /dev/null +++ b/sys-fs/libeatmydata/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>slyfox@gentoo.org</email> + <name>Sergei Trofimovich</name> + </maintainer> + <longdescription> + eatmydata: library and utilities designed to disable fsync and friends. + Used as LD_PRELOAD hack to hijack fsync() and open(O_SYNC) calls. + </longdescription> +</pkgmetadata> |