Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/f2fs-tools/files/, sys-fs/f2fs-tools/
Date: Wed, 08 Jan 2020 15:17:23
Message-Id: 1578496565.797bebf829f4b87db1828195e71c788f904f3488.zlogene@gentoo
1 commit: 797bebf829f4b87db1828195e71c788f904f3488
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 8 15:16:05 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 8 15:16:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=797bebf8
7
8 sys-fs/f2fs-tools: Drop old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 sys-fs/f2fs-tools/Manifest | 3 --
14 sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild | 34 -------------
15 sys-fs/f2fs-tools/f2fs-tools-1.11.0-r1.ebuild | 38 ---------------
16 sys-fs/f2fs-tools/f2fs-tools-1.12.0-r1.ebuild | 39 ---------------
17 ...f2fs-tools-1.10.0-fibmap-include-config_h.patch | 15 ------
18 .../f2fs-tools/files/f2fs-tools-1.12.0-fsck.patch | 56 ----------------------
19 6 files changed, 185 deletions(-)
20
21 diff --git a/sys-fs/f2fs-tools/Manifest b/sys-fs/f2fs-tools/Manifest
22 index e9ad8cb6c54..484858925d4 100644
23 --- a/sys-fs/f2fs-tools/Manifest
24 +++ b/sys-fs/f2fs-tools/Manifest
25 @@ -1,4 +1 @@
26 -DIST f2fs-tools-1.10.0.tar.xz 342904 BLAKE2B ba4dec55e11959b2dd9461b1b02d173c7766908bfdbca9f6da7aa134b4a3b5cf2bda3c2e380b3fab46afdda0be9181ae5fe85ed9d085f816a1ff96e847e2a836 SHA512 e6e9fc10bd8051db86880c415ceb50900bf0cc919f1d9fe39026b5320de7c93cbcc1d817fab73130817042ed551fc5fd55ef9b589caeca9fca63fd3098f7a853
27 -DIST f2fs-tools-1.11.0.tar.gz 278795 BLAKE2B 8faefb1554283291ad2dc2b66800b88bbdcf07dcb1896a206fd56d52eaa19761c6b008a4961bcec12843a96d2df1744bb5394b4f7bf3830315f4bd3180850e8d SHA512 a69fbd01826909576634f40343293addae3a9c3be09bf8210e2abc1ae12f385fe24dd71c623d14a0a15a81d12f404f193981caaadacbd663bc1502de9a8f7fb7
28 -DIST f2fs-tools-1.12.0.tar.gz 286528 BLAKE2B ca2e17fa6c48905fc1905fdec865143a003260bd60f659cd9f6c427b371c39f4c869f7265dc198888adf7ef7d4d8ba7ed2a3733c52aab18277f5371cb2cb3be3 SHA512 3f1a914540f57f94bbdc33ad66ee0b02b26fe380b05f9209f226cb3df8e84e29aa4e8e91d77f52bf737915b2785d4b9723becf5a95d75e8821b2e107e991cbad
29 DIST f2fs-tools-1.13.0.tar.gz 356028 BLAKE2B 170ddd5825b4f0f6a42a623f01d332092172a385e07dffccca46eb2545c12db23799fdeca7458c0cef17c95989e35db5e617a1458f0c7b41eeccd93eae807167 SHA512 fd920a19e8705a65395809aeef55791c5678ed31c026cdf41fc173e0dbcacdef1db7e0e184ec1aae8637b1784e2ad6e0207583e918255483fe43c73f89bd7f7f
30
31 diff --git a/sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild b/sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild
32 deleted file mode 100644
33 index ce7d7f0fa63..00000000000
34 --- a/sys-fs/f2fs-tools/f2fs-tools-1.10.0.ebuild
35 +++ /dev/null
36 @@ -1,34 +0,0 @@
37 -# Copyright 1999-2018 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -
42 -DESCRIPTION="Tools for Flash-Friendly File System (F2FS)"
43 -HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/about/"
44 -SRC_URI="https://dev.gentoo.org/~blueness/f2fs-tools/${P}.tar.xz"
45 -
46 -LICENSE="GPL-2"
47 -SLOT="0/4"
48 -KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 x86"
49 -IUSE="selinux"
50 -
51 -RDEPEND="
52 - sys-apps/util-linux
53 - selinux? ( sys-libs/libselinux )
54 - elibc_musl? ( sys-libs/queue-standalone )"
55 -DEPEND="$RDEPEND"
56 -
57 -PATCHES=( "${FILESDIR}"/${P}-fibmap-include-config_h.patch )
58 -
59 -src_configure() {
60 - #This is required to install to /sbin, bug #481110
61 - econf \
62 - --bindir="${EPREFIX}"/sbin \
63 - --disable-static \
64 - $(use_with selinux)
65 -}
66 -
67 -src_install() {
68 - default
69 - find "${D}" -name "*.la" -delete || die
70 -}
71
72 diff --git a/sys-fs/f2fs-tools/f2fs-tools-1.11.0-r1.ebuild b/sys-fs/f2fs-tools/f2fs-tools-1.11.0-r1.ebuild
73 deleted file mode 100644
74 index 8bbde577cad..00000000000
75 --- a/sys-fs/f2fs-tools/f2fs-tools-1.11.0-r1.ebuild
76 +++ /dev/null
77 @@ -1,38 +0,0 @@
78 -# Copyright 1999-2018 Gentoo Authors
79 -# Distributed under the terms of the GNU General Public License v2
80 -
81 -EAPI=7
82 -
83 -inherit autotools
84 -
85 -DESCRIPTION="Tools for Flash-Friendly File System (F2FS)"
86 -HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/about/"
87 -SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/${CATEGORY}/${PN}/${P}.tar.gz"
88 -
89 -LICENSE="GPL-2"
90 -SLOT="0/5"
91 -KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 x86"
92 -IUSE="selinux"
93 -
94 -RDEPEND="
95 - selinux? ( sys-libs/libselinux )
96 - elibc_musl? ( sys-libs/queue-standalone )"
97 -DEPEND="${RDEPEND}"
98 -
99 -src_prepare() {
100 - default
101 - eautoreconf
102 -}
103 -
104 -src_configure() {
105 - #This is required to install to /sbin, bug #481110
106 - econf \
107 - --bindir="${EPREFIX}"/sbin \
108 - --disable-static \
109 - $(use_with selinux)
110 -}
111 -
112 -src_install() {
113 - default
114 - find "${D}" -name "*.la" -delete || die
115 -}
116
117 diff --git a/sys-fs/f2fs-tools/f2fs-tools-1.12.0-r1.ebuild b/sys-fs/f2fs-tools/f2fs-tools-1.12.0-r1.ebuild
118 deleted file mode 100644
119 index 3717d20a363..00000000000
120 --- a/sys-fs/f2fs-tools/f2fs-tools-1.12.0-r1.ebuild
121 +++ /dev/null
122 @@ -1,39 +0,0 @@
123 -# Copyright 1999-2019 Gentoo Authors
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI=7
127 -
128 -inherit autotools
129 -
130 -DESCRIPTION="Tools for Flash-Friendly File System (F2FS)"
131 -HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/about/"
132 -SRC_URI="https://dev.gentoo.org/~zlogene/distfiles/${CATEGORY}/${PN}/${P}.tar.gz"
133 -
134 -LICENSE="GPL-2"
135 -SLOT="0/6"
136 -KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 x86"
137 -IUSE="selinux"
138 -
139 -RDEPEND="
140 - selinux? ( sys-libs/libselinux )
141 - elibc_musl? ( sys-libs/queue-standalone )"
142 -DEPEND="${RDEPEND}"
143 -
144 -src_prepare() {
145 - eapply "${FILESDIR}"/${P}-fsck.patch
146 - default
147 - eautoreconf
148 -}
149 -
150 -src_configure() {
151 - #This is required to install to /sbin, bug #481110
152 - econf \
153 - --bindir="${EPREFIX}"/sbin \
154 - --disable-static \
155 - $(use_with selinux)
156 -}
157 -
158 -src_install() {
159 - default
160 - find "${D}" -name "*.la" -delete || die
161 -}
162
163 diff --git a/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch b/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch
164 deleted file mode 100644
165 index df57412b74c..00000000000
166 --- a/sys-fs/f2fs-tools/files/f2fs-tools-1.10.0-fibmap-include-config_h.patch
167 +++ /dev/null
168 @@ -1,15 +0,0 @@
169 -See https://bugs.gentoo.org/649168
170 -
171 -Patch by: Matt Whitlock <gentoo@××××××××××××.name>
172 -
173 -diff -Naur a/tools/fibmap.c b/tools/fibmap.c
174 ---- a/tools/fibmap.c 2018-03-01 00:09:24.861919778 +0000
175 -+++ b/tools/fibmap.c 2018-03-01 17:31:48.854604556 +0000
176 -@@ -15,6 +15,7 @@
177 - #ifndef O_LARGEFILE
178 - #define O_LARGEFILE 0
179 - #endif
180 -+#include "config.h"
181 - #include <unistd.h>
182 - #include <string.h>
183 - #include <stdlib.h>
184
185 diff --git a/sys-fs/f2fs-tools/files/f2fs-tools-1.12.0-fsck.patch b/sys-fs/f2fs-tools/files/f2fs-tools-1.12.0-fsck.patch
186 deleted file mode 100644
187 index 72d86fec465..00000000000
188 --- a/sys-fs/f2fs-tools/files/f2fs-tools-1.12.0-fsck.patch
189 +++ /dev/null
190 @@ -1,56 +0,0 @@
191 -From a6160c3e21f43b89b49802cc4a956d1c4b65ae44 Mon Sep 17 00:00:00 2001
192 -From: Chao Yu <yuchao0@××××××.com>
193 -Date: Mon, 26 Nov 2018 18:53:37 +0800
194 -Subject: fsck.f2fs: allow to fsck readonly image w/ -f option
195 -
196 -To keep line with e2fsprogs, let's allow to fsck mounted image as
197 -readonly w/ -f option.
198 -
199 -Reported-by: Perfect Gentleman <perfect007gentleman@×××××.com>
200 -Signed-off-by: Chao Yu <yuchao0@××××××.com>
201 ----
202 - fsck/main.c | 1 +
203 - include/f2fs_fs.h | 1 +
204 - lib/libf2fs.c | 2 +-
205 - 3 files changed, 3 insertions(+), 1 deletion(-)
206 -
207 -diff --git a/fsck/main.c b/fsck/main.c
208 -index 675c603..bb79f6e 100644
209 ---- a/fsck/main.c
210 -+++ b/fsck/main.c
211 -@@ -249,6 +249,7 @@ void f2fs_parse_options(int argc, char *argv[])
212 - case 'f':
213 - case 'y':
214 - c.fix_on = 1;
215 -+ c.force = 1;
216 - MSG(0, "Info: Force to fix corruption\n");
217 - break;
218 - case 'q':
219 -diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h
220 -index 65cc8fd..6eebb3a 100644
221 ---- a/include/f2fs_fs.h
222 -+++ b/include/f2fs_fs.h
223 -@@ -369,6 +369,7 @@ struct f2fs_configuration {
224 - void *private;
225 - int dry_run;
226 - int fix_on;
227 -+ int force;
228 - int defset;
229 - int bug_on;
230 - int alloc_failed;
231 -diff --git a/lib/libf2fs.c b/lib/libf2fs.c
232 -index cc335db..498f6c0 100644
233 ---- a/lib/libf2fs.c
234 -+++ b/lib/libf2fs.c
235 -@@ -821,7 +821,7 @@ int get_device_info(int i)
236 - return -1;
237 - }
238 -
239 -- if (S_ISBLK(stat_buf->st_mode))
240 -+ if (S_ISBLK(stat_buf->st_mode) && !c.force)
241 - fd = open(dev->path, O_RDWR | O_EXCL);
242 - else
243 - fd = open(dev->path, O_RDWR);
244 ---
245 -cgit 1.2-0.3.lf.el7
246 -