summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2012-10-15 20:17:14 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2012-10-15 20:17:14 +0000
commit0adb0143dbeadea65ff517d97024f4acf5677dc9 (patch)
treed9914d6519df114016b33e52f4f2af84ed79c846 /sys-fs
parentsci-libs/io_lib: Drop old (diff)
downloadhistorical-0adb0143dbeadea65ff517d97024f4acf5677dc9.tar.gz
historical-0adb0143dbeadea65ff517d97024f4acf5677dc9.tar.bz2
historical-0adb0143dbeadea65ff517d97024f4acf5677dc9.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.
Package-Manager: portage-2.2.0_alpha135_p2/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/libeatmydata/ChangeLog11
-rw-r--r--sys-fs/libeatmydata/Manifest14
-rw-r--r--sys-fs/libeatmydata/libeatmydata-65.ebuild30
-rw-r--r--sys-fs/libeatmydata/metadata.xml12
4 files changed, 67 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..ef92b95dc998
--- /dev/null
+++ b/sys-fs/libeatmydata/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST libeatmydata-65.tar.gz 408813 SHA256 8a16c1ff04aeceed1891e2772728359d3368347e1807bed60fc6147d8968d5c1 SHA512 b2e3ed9c67b6ae9b0e5918b114bf0fb6e59dda3bff9b9331a8c280243822d4c77f35e9b08138ea65a74c893cc2bd67677bbf28b03bc61f011b24dd39d171adc2 WHIRLPOOL 51347727497073130ab4ea18d963a8d98c3e950a56c612f0485f205908b1b97f10f6e0afdad2a3d1c448bde2132426fc0a173a6140009a26a3a8db581b13460e
+EBUILD libeatmydata-65.ebuild 766 SHA256 56f0ccad01ff07728b4a020868b557f96f79b6d796a1ef52b4c677ac7849365e SHA512 8e54829832f9e8782431e7aa88e7fb8414db229d1bc5aa20a691f4419a61a708359597a9dda86b5bec0da72aed5ef3dc39ef2cd3dc3f4df61d5bad6a92858dff WHIRLPOOL 01ba515b403894b21b22301105f205025cc9fdd665b9a22c22aa031f37f3f2db03b2d26ecb40c10922eded82f417265d4a6ddfeff0e581311878afc846e04d03
+MISC ChangeLog 544 SHA256 4e03d1e55cb1b06addb6524576a1717818856c6a0060b2e18fed041d32ebd9c7 SHA512 669a1a1075ac629aabd17f0563b1e0b3661d74d504014c9e2ad4f5aa617b38e824f16ddc8459d08afa7cb27ef91d990539b51d39a5961857ea1f9411320797ab WHIRLPOOL 42af93ea3707575139df91c600006b930eed21c704295a04e52bcc313fa4300716c8948fdb73d02ccd80b29a33845e99e85f7de2f66eae2b4b1afc3415b59d37
+MISC metadata.xml 418 SHA256 0c6bc6c9ea92b82db94551664b91213845a8e7b6a156d661a6078079aae4eb64 SHA512 a47a87f4e76d5f4891400a3e88500985fe65fd84991e060809dc55c8e5d7d67f0bf1bea84b85c4d9f5720c25a206b49fc05aa8872b13dfc97714785b377df97e WHIRLPOOL 42ce5ee8789ec4a4e9d832e3aacb1bfdf08c59b1b90753885905e4785ae69fc2fcf8332a6d125c6631f7fcc0c005fbd28e5b0d7f14fe1f62e73a882b4616bad4
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iEYEAREIAAYFAlB8b0UACgkQcaHudmEf86oDYgCgg8rc3ho2LEafnLzry9Jk7EuN
+dOMAn3sRhssQ1suQkyHJpJ4UERiQsl6J
+=0txb
+-----END PGP SIGNATURE-----
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>