Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/mschiff:master commit in: app-misc/eatmydata/, app-misc/eatmydata/files/
Date: Tue, 30 Dec 2014 15:13:04
Message-Id: 1419952045.b94fa4267b968b95691bf9d7c60b7e18f10c8d7e.mschiff@gentoo
1 commit: b94fa4267b968b95691bf9d7c60b7e18f10c8d7e
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 30 15:07:25 2014 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 30 15:07:25 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=dev/mschiff.git;a=commit;h=b94fa426
7
8 removed eatmadata (libeatmydata is already in tree)
9
10 ---
11 app-misc/eatmydata/Manifest | 15 -----
12 app-misc/eatmydata/eatmydata-28.ebuild | 32 -----------
13 app-misc/eatmydata/files/eatmydata | 98 --------------------------------
14 app-misc/eatmydata/files/eatmydata.1.gz | Bin 1093 -> 0 bytes
15 app-misc/eatmydata/metadata.xml | 8 ---
16 5 files changed, 153 deletions(-)
17
18 diff --git a/app-misc/eatmydata/Manifest b/app-misc/eatmydata/Manifest
19 deleted file mode 100644
20 index 36e89e2..0000000
21 --- a/app-misc/eatmydata/Manifest
22 +++ /dev/null
23 @@ -1,15 +0,0 @@
24 ------BEGIN PGP SIGNED MESSAGE-----
25 -Hash: SHA1
26 -
27 -AUX eatmydata 2511 RMD160 115382fc06a10b6b033035469b35e257eb3bf472 SHA1 24f05a08d75661b2d3ff83a09c8bb4ba5939ede9 SHA256 5df9a7145a22cfcfc0a11b04b93dac441bae1a2e6431d3bf11da7ae845969268
28 -AUX eatmydata.1.gz 1093 RMD160 40c0fb1b326e05b352f23033fa35640fb7db41b4 SHA1 2a2e0d2992ce49ba4f20d7a49e61f1f5e754ee89 SHA256 fdd8720f95266b73052779818145d2e6fbc504670d5c39a091a48754d497b9ba
29 -DIST libeatmydata-28.tar.gz 382069 RMD160 b8b8fc9a02413b8fd907569f93b0015ecc086a0c SHA1 bd8a26b5e8dc9647ddf70989652e2da55a18b752 SHA256 3b768351a1aff21a1201bcbd25635a0f4fbbfc2d4e7e55842403601fdb1859c3
30 -EBUILD eatmydata-28.ebuild 792 RMD160 7fc0de271d70341373a2fe90ac7df63a1fe09b1e SHA1 d2a93fd43032f417ad298cd1823b92d122897a2d SHA256 99fb883c6005421e1795844c57c3dcc133f532cac3850f9a8d265a8ad9398494
31 -MISC metadata.xml 236 RMD160 5c57b0291e26469fb522c377d9b6373830889ebb SHA1 4da113512bdf7f06bde8a17a9332c28da0ecf1b6 SHA256 f55443c9b3d97fcc9437b9aeba1b3beae39e38599620bd520d0693bb8948b531
32 ------BEGIN PGP SIGNATURE-----
33 -Version: GnuPG v2.0.18 (GNU/Linux)
34 -
35 -iD8DBQFPThj+KWxsyjWmQTQRAgtcAKCejXQYDMh/o7SDr8y8xKjPdX0+lACcCtzh
36 -r7fiL17pplMofI6MbxX4fgs=
37 -=WN/u
38 ------END PGP SIGNATURE-----
39
40 diff --git a/app-misc/eatmydata/eatmydata-28.ebuild b/app-misc/eatmydata/eatmydata-28.ebuild
41 deleted file mode 100644
42 index 7a0a4b7..0000000
43 --- a/app-misc/eatmydata/eatmydata-28.ebuild
44 +++ /dev/null
45 @@ -1,32 +0,0 @@
46 -# Copyright 1999-2011 Gentoo Foundation
47 -# Distributed under the terms of the GNU General Public License v2
48 -# $Header: $
49 -
50 -EAPI="4"
51 -
52 -DESCRIPTION="Tool with LD_PRELOAD library that disables all forms of writing data safely to disk"
53 -HOMEPAGE="https://launchpad.net/libeatmydata"
54 -SRC_URI="http://launchpad.net/lib${PN}/trunk/release-${PV}/+download/lib${P}.tar.gz"
55 -
56 -LICENSE="GPL-3"
57 -SLOT="0"
58 -KEYWORDS="~amd64 ~x86"
59 -IUSE=""
60 -
61 -DEPEND=""
62 -RDEPEND="${DEPEND}"
63 -
64 -MY_S="${WORKDIR}/lib${P}"
65 -S="${WORKDIR}/lib${P}"
66 -
67 -src_install () {
68 - default
69 - exeinto /usr/bin && doexe ${FILESDIR}/eatmydata
70 - doman ${FILESDIR}/eatmydata.1.gz
71 - find ${D} -name "*.la" -delete
72 -}
73 -
74 -pkg_postinst() {
75 - ewarn "This program is called *eatmydata* on purpose."
76 - ewarn "Use it on your own risk and only if you know what you are doing."
77 -}
78
79 diff --git a/app-misc/eatmydata/files/eatmydata b/app-misc/eatmydata/files/eatmydata
80 deleted file mode 100755
81 index 0a72fa7..0000000
82 --- a/app-misc/eatmydata/files/eatmydata
83 +++ /dev/null
84 @@ -1,98 +0,0 @@
85 -#!/bin/sh
86 -
87 -# Copyright ©: 2010, Modestas Vainius <modax@××××××.org>
88 -#
89 -# Copyright ©: 2011, Marc Schiffbauer <mschiff@g.o>
90 -# (merged shell lib into this file + some small mods for gentoo)
91 -#
92 -# This program is free software: you can redistribute it and/or modify
93 -# it under the terms of the GNU General Public License as published by
94 -# the Free Software Foundation, either version 3 of the License, or
95 -# (at your option) any later version.
96 -#
97 -# This program is distributed in the hope that it will be useful,
98 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
99 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
100 -# GNU General Public License for more details.
101 -#
102 -# You should have received a copy of the GNU General Public License
103 -# along with this program. If not, see <http://www.gnu.org/licenses/>.
104 -
105 -
106 -libeatmydata="/usr/lib/libeatmydata.so"
107 -name="eatmydata"
108 -
109 -eatmydata_error()
110 -{
111 - echo "$name error: $1" >&2
112 - exit 1
113 -}
114 -
115 -eatmydata_exec()
116 -{
117 - local cmd
118 - cmd="$1"
119 - if [ "${cmd#*/*}" = "${cmd}" ]; then
120 - # $cmd does not contain '/'. Look in $PATH avoiding loops with self.
121 - local self save_ifs path exe ok
122 -
123 - self="`readlink -f "$0"`"
124 - save_ifs="$IFS"
125 - IFS=":"
126 - ok=""
127 - for path in $PATH; do
128 - exe="${path}/$cmd"
129 - # Avoid loops with self
130 - if [ -x "$exe" ] && [ "`readlink -f "$exe"`" != "$self" ]; then
131 - ok="yes"
132 - break
133 - fi
134 - done
135 - IFS="$save_ifs"
136 - if [ -n "$ok" ]; then
137 - cmd="$exe"
138 - else
139 - eatmydata_error "unable to find '$cmd' in PATH"
140 - fi
141 - fi
142 -
143 - # Preload libeatmydata
144 - if [ -n "$LD_PRELOAD" ]; then
145 - export LD_PRELOAD="$libeatmydata $LD_PRELOAD"
146 - else
147 - export LD_PRELOAD="$libeatmydata"
148 - fi
149 - # Execute requested command
150 - shift
151 - exec "$cmd" "$@"
152 -}
153 -
154 -# Verify environment
155 -if [ ! -f "$libeatmydata" ]; then
156 - eatmydata_error "could not find $name library $libeatmydata"
157 -fi
158 -
159 -usage()
160 -{
161 - echo "usage: $0 [--] command [ command arguments ... ]" >&2
162 - exit 2
163 -}
164 -
165 -# Detect operation mode. If this script is run via symlink, look for basename
166 -# in the PATH and execute it.
167 -if [ -L "$0" ]; then
168 - # Symlink mode. Get command to execute from the basename of $0.
169 - cmd="`basename "$0"`"
170 - set -- "$cmd" "$@"
171 -else
172 - # Normal mode
173 - if [ "$1" = "--" ]; then
174 - shift
175 - fi
176 -
177 - if [ "$#" -eq 0 ]; then
178 - usage
179 - fi
180 -fi
181 -
182 -eatmydata_exec "$@"
183
184 diff --git a/app-misc/eatmydata/files/eatmydata.1.gz b/app-misc/eatmydata/files/eatmydata.1.gz
185 deleted file mode 100644
186 index cbf6e9e..0000000
187 Binary files a/app-misc/eatmydata/files/eatmydata.1.gz and /dev/null differ
188
189 diff --git a/app-misc/eatmydata/metadata.xml b/app-misc/eatmydata/metadata.xml
190 deleted file mode 100644
191 index ea7bd02..0000000
192 --- a/app-misc/eatmydata/metadata.xml
193 +++ /dev/null
194 @@ -1,8 +0,0 @@
195 -<?xml version="1.0" encoding="UTF-8"?>
196 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
197 -<pkgmetadata>
198 - <maintainer>
199 - <email>mschiff@g.o</email>
200 - <name>Marc Schiffbauer</name>
201 - </maintainer>
202 -</pkgmetadata>