1 |
commit: d658f3c488228b660f9ef66f4a94888e97a8c0e4 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 28 06:30:45 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 28 06:31:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d658f3c4 |
7 |
|
8 |
sys-fs/e2fsprogs: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-fs/e2fsprogs/Manifest | 2 - |
13 |
sys-fs/e2fsprogs/e2fsprogs-1.45.6.ebuild | 142 ------------------------------ |
14 |
sys-fs/e2fsprogs/e2fsprogs-1.46.1.ebuild | 143 ------------------------------- |
15 |
3 files changed, 287 deletions(-) |
16 |
|
17 |
diff --git a/sys-fs/e2fsprogs/Manifest b/sys-fs/e2fsprogs/Manifest |
18 |
index d24f0b90c6c..f2096fcd9d2 100644 |
19 |
--- a/sys-fs/e2fsprogs/Manifest |
20 |
+++ b/sys-fs/e2fsprogs/Manifest |
21 |
@@ -1,6 +1,4 @@ |
22 |
DIST e2fsprogs-1.42.9-mint-r1.patch.xz 9012 BLAKE2B ae6421587c3cca2f9b26805c5f8d236d3fecde78cc7df3776ae9c23c7f254d7240e06507568fdd2154a16113c47609a8143535ab9cb2925426d3c578d077ce26 SHA512 591a7c80d65082eebcdc455028be6ade05c9aae96c94f654106be0facef330a8875dae82891e6e3ad2b48dece2b4e1c1940dbc47cd3eba3e6eea3b5ddba9a8fc |
23 |
-DIST e2fsprogs-1.45.6.tar.xz 5572144 BLAKE2B 24a44d27a02a1fa178083d5ee6034b20fedcac9faf7cf7f5cfcd4e4cee6d38775bc78949b9b00823cbbdacfab783e8e1e739579b9a7236c5425f51b27600743b SHA512 f3abfb6fe7ef632bb81152e2127d601cadd3fa93162178576a1d5ed82c2286627184b207b85a5b2a1793db0addf0885dfc3b9523bb340443224caf9c6d613b84 |
24 |
DIST e2fsprogs-1.45.7.tar.xz 5570052 BLAKE2B 237ef068c3899641b5eb908cc302c8c6b454e337bce2de95fc96b9a078a003db0c44bd34391063cc2f30a95dcce57950fe900f59ae7d273786c657b7c190b341 SHA512 fcbd66af7b87f2bdec562ddd59c8c5fbd60f32fdd582a5c9d21cb6cfea642d2cdca57b6c29124309798528b2d9ceadf770928a6698f75dc88a47701286128763 |
25 |
-DIST e2fsprogs-1.46.1.tar.xz 7019700 BLAKE2B 2356fcd206de14377a4625a8be2ff94cfd3fb2b911836a3da46499964fc5d7f2a6d03bf5818543d2ead34ac7cab36ef0e18885343d6814a0124b50ab7ea4bb69 SHA512 fe6aa55b62f183633872209cd69cf6be0753d5a430542a7c73dbbd428e5fa93b5df7efa7507bb60f9f90a1c61cb8f5cf10665675eea8bd72aad3d04dd2dae15c |
26 |
DIST e2fsprogs-1.46.2.tar.xz 7020552 BLAKE2B 0eda7428862c13dfd02308f0321d22c134679197bad5b247baa6f0ca386433db6749b97529709d43934afa73d8d0801379bb342456a0fd3dab7df01f5a90fd31 SHA512 5297a4d7bf944806d8ee77227eac596b5e5efed2c665561d40094c40b9f321616c60975a2716f1499a9f72243df6e3b6e2267b98ec1fdc1dfd646d7be887fc4d |
27 |
DIST e2fsprogs-1.46.3.tar.xz 7024896 BLAKE2B 86f65cf9997f09aa7a27be35b2f38d6385f565de565b1c4cda710dbbea8312312ff77d92beb2b579a3caffa7ce82ee6b2726eb8f97daf41bba46379a94198c8f SHA512 27da6e38d3463e7a283dacfb88a3210dd6d8c63f4d990db879f63bdf503aaa5c447ef0ccc566b71526c12a8ab0a7a6529014b1010be300ad56a6ad5ce9066196 |
28 |
|
29 |
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.45.6.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.45.6.ebuild |
30 |
deleted file mode 100644 |
31 |
index 9325951632f..00000000000 |
32 |
--- a/sys-fs/e2fsprogs/e2fsprogs-1.45.6.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,142 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-inherit flag-o-matic systemd toolchain-funcs udev usr-ldscript |
41 |
- |
42 |
-DESCRIPTION="Standard EXT2/EXT3/EXT4 filesystem utilities" |
43 |
-HOMEPAGE="http://e2fsprogs.sourceforge.net/" |
44 |
-SRC_URI="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PV}/${P}.tar.xz |
45 |
- elibc_mintlib? ( mirror://gentoo/${PN}-1.42.9-mint-r1.patch.xz )" |
46 |
- |
47 |
-LICENSE="GPL-2 BSD" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" |
50 |
-IUSE="cron fuse nls static-libs elibc_FreeBSD" |
51 |
- |
52 |
-RDEPEND="~sys-libs/${PN}-libs-${PV} |
53 |
- >=sys-apps/util-linux-2.16 |
54 |
- cron? ( sys-fs/lvm2[-device-mapper-only(-)] ) |
55 |
- fuse? ( sys-fs/fuse:0 ) |
56 |
- nls? ( virtual/libintl )" |
57 |
-DEPEND="${RDEPEND}" |
58 |
-BDEPEND=" |
59 |
- nls? ( sys-devel/gettext ) |
60 |
- virtual/pkgconfig |
61 |
- sys-apps/texinfo |
62 |
-" |
63 |
- |
64 |
-PATCHES=( |
65 |
- "${FILESDIR}"/${PN}-1.40-fbsd.patch |
66 |
- "${FILESDIR}"/${PN}-1.42.13-fix-build-cflags.patch #516854 |
67 |
- |
68 |
- # Upstream patches (can usually removed with next version bump) |
69 |
-) |
70 |
- |
71 |
-src_prepare() { |
72 |
- if [[ ${CHOST} == *-mint* ]] ; then |
73 |
- PATCHES+=( "${WORKDIR}"/${PN}-1.42.9-mint-r1.patch ) |
74 |
- fi |
75 |
- |
76 |
- default |
77 |
- |
78 |
- cp doc/RelNotes/v${PV}.txt ChangeLog || die "Failed to copy Release Notes" |
79 |
- |
80 |
- # Get rid of doc -- we don't use them. This also prevents a sandbox |
81 |
- # violation due to mktexfmt invocation |
82 |
- rm -r doc || die "Failed to remove doc dir" |
83 |
- |
84 |
- # blargh ... trick e2fsprogs into using e2fsprogs-libs |
85 |
- sed -i -r \ |
86 |
- -e 's:@LIBINTL@:@LTLIBINTL@:' \ |
87 |
- -e '/^(STATIC_)?LIB(COM_ERR|SS)/s:[$][(]LIB[)]/lib([^@]*)@(STATIC_)?LIB_EXT@:-l\1:' \ |
88 |
- -e '/^DEP(STATIC_)?LIB(COM_ERR|SS)/s:=.*:=:' \ |
89 |
- MCONFIG.in || die "muck libs" #122368 |
90 |
- sed -i -r \ |
91 |
- -e '/^LIB_SUBDIRS/s:lib/(et|ss)::g' \ |
92 |
- Makefile.in || die "remove subdirs" |
93 |
- ln -s $(which mk_cmds) lib/ss/ || die |
94 |
- |
95 |
- # Avoid rebuild |
96 |
- echo '#include_next <ss/ss_err.h>' > lib/ss/ss_err.h |
97 |
-} |
98 |
- |
99 |
-src_configure() { |
100 |
- # Keep the package from doing silly things #261411 |
101 |
- export VARTEXFONTS="${T}/fonts" |
102 |
- |
103 |
- # needs open64() prototypes and friends |
104 |
- append-cppflags -D_GNU_SOURCE |
105 |
- |
106 |
- local myeconfargs=( |
107 |
- --with-root-prefix="${EPREFIX}" |
108 |
- $(use_with cron crond-dir "${EPREFIX}/etc/cron.d") |
109 |
- --with-systemd-unit-dir="$(systemd_get_systemunitdir)" |
110 |
- --with-udev-rules-dir="${EPREFIX}$(get_udevdir)/rules.d" |
111 |
- --enable-symlink-install |
112 |
- --enable-elf-shlibs |
113 |
- $(tc-has-tls || echo --disable-tls) |
114 |
- --without-included-gettext |
115 |
- $(use_enable fuse fuse2fs) |
116 |
- $(use_enable nls) |
117 |
- --disable-libblkid |
118 |
- --disable-libuuid |
119 |
- --disable-fsck |
120 |
- --disable-uuidd |
121 |
- ) |
122 |
- ac_cv_path_LDCONFIG=: econf "${myeconfargs[@]}" |
123 |
- |
124 |
- if [[ ${CHOST} != *-uclibc ]] && grep -qs 'USE_INCLUDED_LIBINTL.*yes' config.{log,status} ; then |
125 |
- eerror "INTL sanity check failed, aborting build." |
126 |
- eerror "Please post your ${S}/config.log file as an" |
127 |
- eerror "attachment to https://bugs.gentoo.org/show_bug.cgi?id=81096" |
128 |
- die "Preventing included intl cruft from building" |
129 |
- fi |
130 |
-} |
131 |
- |
132 |
-src_compile() { |
133 |
- emake V=1 COMPILE_ET=compile_et MK_CMDS=mk_cmds |
134 |
- |
135 |
- # Build the FreeBSD helper |
136 |
- if use elibc_FreeBSD ; then |
137 |
- cp "${FILESDIR}"/fsck_ext2fs.c . |
138 |
- emake V=1 fsck_ext2fs |
139 |
- fi |
140 |
-} |
141 |
- |
142 |
-src_install() { |
143 |
- # need to set root_libdir= manually as any --libdir options in the |
144 |
- # econf above (i.e. multilib) will screw up the default #276465 |
145 |
- emake \ |
146 |
- STRIP=: \ |
147 |
- root_libdir="${EPREFIX}/usr/$(get_libdir)" \ |
148 |
- DESTDIR="${D}" \ |
149 |
- install |
150 |
- |
151 |
- einstalldocs |
152 |
- |
153 |
- insinto /etc |
154 |
- doins "${FILESDIR}"/e2fsck.conf |
155 |
- |
156 |
- # Move shared libraries to /lib/, install static libraries to |
157 |
- # /usr/lib/, and install linker scripts to /usr/lib/. |
158 |
- gen_usr_ldscript -a e2p ext2fs |
159 |
- |
160 |
- # configure doesn't have an option to disable static libs :/ |
161 |
- if ! use static-libs ; then |
162 |
- find "${ED}" -name '*.a' -delete || die |
163 |
- fi |
164 |
- |
165 |
- if use elibc_FreeBSD ; then |
166 |
- # Install helpers for us |
167 |
- into / |
168 |
- dosbin "${S}"/fsck_ext2fs |
169 |
- doman "${FILESDIR}"/fsck_ext2fs.8 |
170 |
- |
171 |
- # filefrag is linux only |
172 |
- rm \ |
173 |
- "${ED}"/usr/sbin/filefrag \ |
174 |
- "${ED}"/usr/share/man/man8/filefrag.8 || die |
175 |
- fi |
176 |
-} |
177 |
|
178 |
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.46.1.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.46.1.ebuild |
179 |
deleted file mode 100644 |
180 |
index 963bf42ad0c..00000000000 |
181 |
--- a/sys-fs/e2fsprogs/e2fsprogs-1.46.1.ebuild |
182 |
+++ /dev/null |
183 |
@@ -1,143 +0,0 @@ |
184 |
-# Copyright 1999-2021 Gentoo Authors |
185 |
-# Distributed under the terms of the GNU General Public License v2 |
186 |
- |
187 |
-EAPI=7 |
188 |
- |
189 |
-inherit flag-o-matic systemd toolchain-funcs udev usr-ldscript |
190 |
- |
191 |
-DESCRIPTION="Standard EXT2/EXT3/EXT4 filesystem utilities" |
192 |
-HOMEPAGE="http://e2fsprogs.sourceforge.net/" |
193 |
-SRC_URI="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PV}/${P}.tar.xz |
194 |
- elibc_mintlib? ( mirror://gentoo/${PN}-1.42.9-mint-r1.patch.xz )" |
195 |
- |
196 |
-LICENSE="GPL-2 BSD" |
197 |
-SLOT="0" |
198 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
199 |
-IUSE="cron fuse lto nls static-libs +threads elibc_FreeBSD" |
200 |
- |
201 |
-RDEPEND="~sys-libs/${PN}-libs-${PV} |
202 |
- >=sys-apps/util-linux-2.16 |
203 |
- cron? ( sys-fs/lvm2[-device-mapper-only(-)] ) |
204 |
- fuse? ( sys-fs/fuse:0 ) |
205 |
- nls? ( virtual/libintl )" |
206 |
-DEPEND="${RDEPEND}" |
207 |
-BDEPEND=" |
208 |
- nls? ( sys-devel/gettext ) |
209 |
- virtual/pkgconfig |
210 |
- sys-apps/texinfo |
211 |
-" |
212 |
- |
213 |
-PATCHES=( |
214 |
- "${FILESDIR}"/${PN}-1.40-fbsd.patch |
215 |
- "${FILESDIR}"/${PN}-1.42.13-fix-build-cflags.patch #516854 |
216 |
- |
217 |
- # Upstream patches (can usually removed with next version bump) |
218 |
-) |
219 |
- |
220 |
-src_prepare() { |
221 |
- if [[ ${CHOST} == *-mint* ]] ; then |
222 |
- PATCHES+=( "${WORKDIR}"/${PN}-1.42.9-mint-r1.patch ) |
223 |
- fi |
224 |
- |
225 |
- default |
226 |
- |
227 |
- cp doc/RelNotes/v${PV}.txt ChangeLog || die "Failed to copy Release Notes" |
228 |
- |
229 |
- # Get rid of doc -- we don't use them. This also prevents a sandbox |
230 |
- # violation due to mktexfmt invocation |
231 |
- rm -r doc || die "Failed to remove doc dir" |
232 |
- |
233 |
- # blargh ... trick e2fsprogs into using e2fsprogs-libs |
234 |
- sed -i -r \ |
235 |
- -e 's:@LIBINTL@:@LTLIBINTL@:' \ |
236 |
- -e '/^(STATIC_)?LIB(COM_ERR|SS)/s:[$][(]LIB[)]/lib([^@]*)@(STATIC_)?LIB_EXT@:-l\1:' \ |
237 |
- -e '/^DEP(STATIC_)?LIB(COM_ERR|SS)/s:=.*:=:' \ |
238 |
- MCONFIG.in || die "muck libs" #122368 |
239 |
- sed -i -r \ |
240 |
- -e '/^LIB_SUBDIRS/s:lib/(et|ss)::g' \ |
241 |
- Makefile.in || die "remove subdirs" |
242 |
- ln -s $(which mk_cmds) lib/ss/ || die |
243 |
- |
244 |
- # Avoid rebuild |
245 |
- echo '#include_next <ss/ss_err.h>' > lib/ss/ss_err.h |
246 |
-} |
247 |
- |
248 |
-src_configure() { |
249 |
- # Keep the package from doing silly things #261411 |
250 |
- export VARTEXFONTS="${T}/fonts" |
251 |
- |
252 |
- # needs open64() prototypes and friends |
253 |
- append-cppflags -D_GNU_SOURCE |
254 |
- |
255 |
- local myeconfargs=( |
256 |
- --with-root-prefix="${EPREFIX}" |
257 |
- $(use_with cron crond-dir "${EPREFIX}/etc/cron.d") |
258 |
- --with-systemd-unit-dir="$(systemd_get_systemunitdir)" |
259 |
- --with-udev-rules-dir="${EPREFIX}$(get_udevdir)/rules.d" |
260 |
- --enable-symlink-install |
261 |
- --enable-elf-shlibs |
262 |
- $(tc-has-tls || echo --disable-tls) |
263 |
- $(use_enable fuse fuse2fs) |
264 |
- $(use_enable nls) |
265 |
- --disable-libblkid |
266 |
- --disable-libuuid |
267 |
- --disable-fsck |
268 |
- --disable-uuidd |
269 |
- $(use_enable lto) |
270 |
- $(use_with threads pthread) |
271 |
- ) |
272 |
- ac_cv_path_LDCONFIG=: econf "${myeconfargs[@]}" |
273 |
- |
274 |
- if [[ ${CHOST} != *-uclibc ]] && grep -qs 'USE_INCLUDED_LIBINTL.*yes' config.{log,status} ; then |
275 |
- eerror "INTL sanity check failed, aborting build." |
276 |
- eerror "Please post your ${S}/config.log file as an" |
277 |
- eerror "attachment to https://bugs.gentoo.org/show_bug.cgi?id=81096" |
278 |
- die "Preventing included intl cruft from building" |
279 |
- fi |
280 |
-} |
281 |
- |
282 |
-src_compile() { |
283 |
- emake V=1 COMPILE_ET=compile_et MK_CMDS=mk_cmds |
284 |
- |
285 |
- # Build the FreeBSD helper |
286 |
- if use elibc_FreeBSD ; then |
287 |
- cp "${FILESDIR}"/fsck_ext2fs.c . |
288 |
- emake V=1 fsck_ext2fs |
289 |
- fi |
290 |
-} |
291 |
- |
292 |
-src_install() { |
293 |
- # need to set root_libdir= manually as any --libdir options in the |
294 |
- # econf above (i.e. multilib) will screw up the default #276465 |
295 |
- emake \ |
296 |
- STRIP=: \ |
297 |
- root_libdir="${EPREFIX}/usr/$(get_libdir)" \ |
298 |
- DESTDIR="${D}" \ |
299 |
- install |
300 |
- |
301 |
- einstalldocs |
302 |
- |
303 |
- insinto /etc |
304 |
- doins "${FILESDIR}"/e2fsck.conf |
305 |
- |
306 |
- # Move shared libraries to /lib/, install static libraries to |
307 |
- # /usr/lib/, and install linker scripts to /usr/lib/. |
308 |
- gen_usr_ldscript -a e2p ext2fs |
309 |
- |
310 |
- # configure doesn't have an option to disable static libs :/ |
311 |
- if ! use static-libs ; then |
312 |
- find "${ED}" -name '*.a' -delete || die |
313 |
- fi |
314 |
- |
315 |
- if use elibc_FreeBSD ; then |
316 |
- # Install helpers for us |
317 |
- into / |
318 |
- dosbin "${S}"/fsck_ext2fs |
319 |
- doman "${FILESDIR}"/fsck_ext2fs.8 |
320 |
- |
321 |
- # filefrag is linux only |
322 |
- rm \ |
323 |
- "${ED}"/usr/sbin/filefrag \ |
324 |
- "${ED}"/usr/share/man/man8/filefrag.8 || die |
325 |
- fi |
326 |
-} |