1 |
commit: 0f33149a522c1ed063ea5a6d6939d55de476c8bd |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 1 08:28:18 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 09:51:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f33149a |
7 |
|
8 |
sys-fs/e2fsprogs: Removed old |
9 |
|
10 |
Package-Manager: Portage-3.0.16, Repoman-3.0.2 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-fs/e2fsprogs/Manifest | 1 - |
14 |
sys-fs/e2fsprogs/e2fsprogs-1.46.0.ebuild | 144 --------------------- |
15 |
.../files/e2fsprogs-1.46.0-pthreads_build.patch | 46 ------- |
16 |
3 files changed, 191 deletions(-) |
17 |
|
18 |
diff --git a/sys-fs/e2fsprogs/Manifest b/sys-fs/e2fsprogs/Manifest |
19 |
index a02d773d89b..bce1a9e8801 100644 |
20 |
--- a/sys-fs/e2fsprogs/Manifest |
21 |
+++ b/sys-fs/e2fsprogs/Manifest |
22 |
@@ -1,6 +1,5 @@ |
23 |
DIST e2fsprogs-1.42.9-mint-r1.patch.xz 9012 BLAKE2B ae6421587c3cca2f9b26805c5f8d236d3fecde78cc7df3776ae9c23c7f254d7240e06507568fdd2154a16113c47609a8143535ab9cb2925426d3c578d077ce26 SHA512 591a7c80d65082eebcdc455028be6ade05c9aae96c94f654106be0facef330a8875dae82891e6e3ad2b48dece2b4e1c1940dbc47cd3eba3e6eea3b5ddba9a8fc |
24 |
DIST e2fsprogs-1.45.6.tar.xz 5572144 BLAKE2B 24a44d27a02a1fa178083d5ee6034b20fedcac9faf7cf7f5cfcd4e4cee6d38775bc78949b9b00823cbbdacfab783e8e1e739579b9a7236c5425f51b27600743b SHA512 f3abfb6fe7ef632bb81152e2127d601cadd3fa93162178576a1d5ed82c2286627184b207b85a5b2a1793db0addf0885dfc3b9523bb340443224caf9c6d613b84 |
25 |
DIST e2fsprogs-1.45.7.tar.xz 5570052 BLAKE2B 237ef068c3899641b5eb908cc302c8c6b454e337bce2de95fc96b9a078a003db0c44bd34391063cc2f30a95dcce57950fe900f59ae7d273786c657b7c190b341 SHA512 fcbd66af7b87f2bdec562ddd59c8c5fbd60f32fdd582a5c9d21cb6cfea642d2cdca57b6c29124309798528b2d9ceadf770928a6698f75dc88a47701286128763 |
26 |
-DIST e2fsprogs-1.46.0.tar.xz 7007144 BLAKE2B d902028a0e538a62428e18e3c2a0a917a73351afc7d8eec804ddac459a1b8c2e11d104201235fb64170acc78942d2c9d5a45039f770cf5ce537cdba18cd559e6 SHA512 c865360e532da42264200934229aa9cfc88c3342fc4e206e82d1fe2a908b0fd3b58f2e9a4796f2ecdeafe1ace9f9ee444ea5b2e3efd488cb934f9a22af6a8f7e |
27 |
DIST e2fsprogs-1.46.1.tar.xz 7019700 BLAKE2B 2356fcd206de14377a4625a8be2ff94cfd3fb2b911836a3da46499964fc5d7f2a6d03bf5818543d2ead34ac7cab36ef0e18885343d6814a0124b50ab7ea4bb69 SHA512 fe6aa55b62f183633872209cd69cf6be0753d5a430542a7c73dbbd428e5fa93b5df7efa7507bb60f9f90a1c61cb8f5cf10665675eea8bd72aad3d04dd2dae15c |
28 |
DIST e2fsprogs-1.46.2.tar.xz 7020552 BLAKE2B 0eda7428862c13dfd02308f0321d22c134679197bad5b247baa6f0ca386433db6749b97529709d43934afa73d8d0801379bb342456a0fd3dab7df01f5a90fd31 SHA512 5297a4d7bf944806d8ee77227eac596b5e5efed2c665561d40094c40b9f321616c60975a2716f1499a9f72243df6e3b6e2267b98ec1fdc1dfd646d7be887fc4d |
29 |
|
30 |
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.46.0.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.46.0.ebuild |
31 |
deleted file mode 100644 |
32 |
index 7a9dd3fa1af..00000000000 |
33 |
--- a/sys-fs/e2fsprogs/e2fsprogs-1.46.0.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,144 +0,0 @@ |
36 |
-# Copyright 1999-2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-inherit flag-o-matic systemd toolchain-funcs udev usr-ldscript |
42 |
- |
43 |
-DESCRIPTION="Standard EXT2/EXT3/EXT4 filesystem utilities" |
44 |
-HOMEPAGE="http://e2fsprogs.sourceforge.net/" |
45 |
-SRC_URI="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PV}/${P}.tar.xz |
46 |
- elibc_mintlib? ( mirror://gentoo/${PN}-1.42.9-mint-r1.patch.xz )" |
47 |
- |
48 |
-LICENSE="GPL-2 BSD" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
51 |
-IUSE="cron fuse lto nls static-libs +threads elibc_FreeBSD" |
52 |
- |
53 |
-RDEPEND="~sys-libs/${PN}-libs-${PV} |
54 |
- >=sys-apps/util-linux-2.16 |
55 |
- cron? ( sys-fs/lvm2[-device-mapper-only(-)] ) |
56 |
- fuse? ( sys-fs/fuse:0 ) |
57 |
- nls? ( virtual/libintl )" |
58 |
-DEPEND="${RDEPEND}" |
59 |
-BDEPEND=" |
60 |
- nls? ( sys-devel/gettext ) |
61 |
- virtual/pkgconfig |
62 |
- sys-apps/texinfo |
63 |
-" |
64 |
- |
65 |
-PATCHES=( |
66 |
- "${FILESDIR}"/${PN}-1.40-fbsd.patch |
67 |
- "${FILESDIR}"/${PN}-1.42.13-fix-build-cflags.patch #516854 |
68 |
- |
69 |
- # Upstream patches (can usually removed with next version bump) |
70 |
- "${FILESDIR}/${P}-pthreads_build.patch" |
71 |
-) |
72 |
- |
73 |
-src_prepare() { |
74 |
- if [[ ${CHOST} == *-mint* ]] ; then |
75 |
- PATCHES+=( "${WORKDIR}"/${PN}-1.42.9-mint-r1.patch ) |
76 |
- fi |
77 |
- |
78 |
- default |
79 |
- |
80 |
- cp doc/RelNotes/v${PV}.txt ChangeLog || die "Failed to copy Release Notes" |
81 |
- |
82 |
- # Get rid of doc -- we don't use them. This also prevents a sandbox |
83 |
- # violation due to mktexfmt invocation |
84 |
- rm -r doc || die "Failed to remove doc dir" |
85 |
- |
86 |
- # blargh ... trick e2fsprogs into using e2fsprogs-libs |
87 |
- sed -i -r \ |
88 |
- -e 's:@LIBINTL@:@LTLIBINTL@:' \ |
89 |
- -e '/^(STATIC_)?LIB(COM_ERR|SS)/s:[$][(]LIB[)]/lib([^@]*)@(STATIC_)?LIB_EXT@:-l\1:' \ |
90 |
- -e '/^DEP(STATIC_)?LIB(COM_ERR|SS)/s:=.*:=:' \ |
91 |
- MCONFIG.in || die "muck libs" #122368 |
92 |
- sed -i -r \ |
93 |
- -e '/^LIB_SUBDIRS/s:lib/(et|ss)::g' \ |
94 |
- Makefile.in || die "remove subdirs" |
95 |
- ln -s $(which mk_cmds) lib/ss/ || die |
96 |
- |
97 |
- # Avoid rebuild |
98 |
- echo '#include_next <ss/ss_err.h>' > lib/ss/ss_err.h |
99 |
-} |
100 |
- |
101 |
-src_configure() { |
102 |
- # Keep the package from doing silly things #261411 |
103 |
- export VARTEXFONTS="${T}/fonts" |
104 |
- |
105 |
- # needs open64() prototypes and friends |
106 |
- append-cppflags -D_GNU_SOURCE |
107 |
- |
108 |
- local myeconfargs=( |
109 |
- --with-root-prefix="${EPREFIX}" |
110 |
- $(use_with cron crond-dir "${EPREFIX}/etc/cron.d") |
111 |
- --with-systemd-unit-dir="$(systemd_get_systemunitdir)" |
112 |
- --with-udev-rules-dir="${EPREFIX}$(get_udevdir)/rules.d" |
113 |
- --enable-symlink-install |
114 |
- --enable-elf-shlibs |
115 |
- $(tc-has-tls || echo --disable-tls) |
116 |
- $(use_enable fuse fuse2fs) |
117 |
- $(use_enable nls) |
118 |
- --disable-libblkid |
119 |
- --disable-libuuid |
120 |
- --disable-fsck |
121 |
- --disable-uuidd |
122 |
- $(use_enable lto) |
123 |
- $(use_with threads pthread) |
124 |
- ) |
125 |
- ac_cv_path_LDCONFIG=: econf "${myeconfargs[@]}" |
126 |
- |
127 |
- if [[ ${CHOST} != *-uclibc ]] && grep -qs 'USE_INCLUDED_LIBINTL.*yes' config.{log,status} ; then |
128 |
- eerror "INTL sanity check failed, aborting build." |
129 |
- eerror "Please post your ${S}/config.log file as an" |
130 |
- eerror "attachment to https://bugs.gentoo.org/show_bug.cgi?id=81096" |
131 |
- die "Preventing included intl cruft from building" |
132 |
- fi |
133 |
-} |
134 |
- |
135 |
-src_compile() { |
136 |
- emake V=1 COMPILE_ET=compile_et MK_CMDS=mk_cmds |
137 |
- |
138 |
- # Build the FreeBSD helper |
139 |
- if use elibc_FreeBSD ; then |
140 |
- cp "${FILESDIR}"/fsck_ext2fs.c . |
141 |
- emake V=1 fsck_ext2fs |
142 |
- fi |
143 |
-} |
144 |
- |
145 |
-src_install() { |
146 |
- # need to set root_libdir= manually as any --libdir options in the |
147 |
- # econf above (i.e. multilib) will screw up the default #276465 |
148 |
- emake \ |
149 |
- STRIP=: \ |
150 |
- root_libdir="${EPREFIX}/usr/$(get_libdir)" \ |
151 |
- DESTDIR="${D}" \ |
152 |
- install |
153 |
- |
154 |
- einstalldocs |
155 |
- |
156 |
- insinto /etc |
157 |
- doins "${FILESDIR}"/e2fsck.conf |
158 |
- |
159 |
- # Move shared libraries to /lib/, install static libraries to |
160 |
- # /usr/lib/, and install linker scripts to /usr/lib/. |
161 |
- gen_usr_ldscript -a e2p ext2fs |
162 |
- |
163 |
- # configure doesn't have an option to disable static libs :/ |
164 |
- if ! use static-libs ; then |
165 |
- find "${ED}" -name '*.a' -delete || die |
166 |
- fi |
167 |
- |
168 |
- if use elibc_FreeBSD ; then |
169 |
- # Install helpers for us |
170 |
- into / |
171 |
- dosbin "${S}"/fsck_ext2fs |
172 |
- doman "${FILESDIR}"/fsck_ext2fs.8 |
173 |
- |
174 |
- # filefrag is linux only |
175 |
- rm \ |
176 |
- "${ED}"/usr/sbin/filefrag \ |
177 |
- "${ED}"/usr/share/man/man8/filefrag.8 || die |
178 |
- fi |
179 |
-} |
180 |
|
181 |
diff --git a/sys-fs/e2fsprogs/files/e2fsprogs-1.46.0-pthreads_build.patch b/sys-fs/e2fsprogs/files/e2fsprogs-1.46.0-pthreads_build.patch |
182 |
deleted file mode 100644 |
183 |
index 9d251d2f0b3..00000000000 |
184 |
--- a/sys-fs/e2fsprogs/files/e2fsprogs-1.46.0-pthreads_build.patch |
185 |
+++ /dev/null |
186 |
@@ -1,46 +0,0 @@ |
187 |
-From 24487a7fa64bfa92bea21be3ca8c155e5de7438f Mon Sep 17 00:00:00 2001 |
188 |
-From: Theodore Ts'o <tytso@×××.edu> |
189 |
-Date: Fri, 29 Jan 2021 22:28:31 -0500 |
190 |
-Subject: configure.ac: fix build failure on systems with pthreads && !fuse |
191 |
- support |
192 |
- |
193 |
-The configure script checks for pthread.h as part of double-checking |
194 |
-that the FUSE support works correctly, which implicitly defined |
195 |
-HAVE_PHREAD_H. If the FUSE libraries are not present (or fuse support |
196 |
-is explicitly disabled), this check doesn't happen and so |
197 |
-HAVE_PTHREAD_H is not defined, and this causes a build failure. |
198 |
- |
199 |
-Signed-off-by: Theodore Ts'o <tytso@×××.edu> |
200 |
---- |
201 |
- configure | 2 +- |
202 |
- configure.ac | 1 + |
203 |
- 2 files changed, 2 insertions(+), 1 deletion(-) |
204 |
- |
205 |
-diff --git a/configure b/configure |
206 |
-index 9d41d069..6b8b7f4b 100755 |
207 |
---- a/configure |
208 |
-+++ b/configure |
209 |
-@@ -10448,7 +10448,7 @@ fi |
210 |
- done |
211 |
- |
212 |
- fi |
213 |
--for ac_header in dirent.h errno.h execinfo.h getopt.h malloc.h mntent.h paths.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h attr/xattr.h linux/falloc.h linux/fd.h linux/fsmap.h linux/major.h linux/loop.h linux/types.h net/if_dl.h netinet/in.h sys/acl.h sys/disklabel.h sys/disk.h sys/file.h sys/ioctl.h sys/key.h sys/mkdev.h sys/mman.h sys/mount.h sys/prctl.h sys/resource.h sys/select.h sys/socket.h sys/sockio.h sys/stat.h sys/syscall.h sys/sysmacros.h sys/time.h sys/types.h sys/un.h sys/wait.h sys/xattr.h |
214 |
-+for ac_header in dirent.h errno.h execinfo.h getopt.h malloc.h mntent.h paths.h pthread.h semaphore.h setjmp.h signal.h stdarg.h stdint.h stdlib.h termios.h termio.h unistd.h utime.h attr/xattr.h linux/falloc.h linux/fd.h linux/fsmap.h linux/major.h linux/loop.h linux/types.h net/if_dl.h netinet/in.h sys/acl.h sys/disklabel.h sys/disk.h sys/file.h sys/ioctl.h sys/key.h sys/mkdev.h sys/mman.h sys/mount.h sys/prctl.h sys/resource.h sys/select.h sys/socket.h sys/sockio.h sys/stat.h sys/syscall.h sys/sysmacros.h sys/time.h sys/types.h sys/un.h sys/wait.h sys/xattr.h |
215 |
- do : |
216 |
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
217 |
- ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
218 |
-diff --git a/configure.ac b/configure.ac |
219 |
-index 141c4d9c..42b6f486 100644 |
220 |
---- a/configure.ac |
221 |
-+++ b/configure.ac |
222 |
-@@ -975,6 +975,7 @@ AC_CHECK_HEADERS(m4_flatten([ |
223 |
- malloc.h |
224 |
- mntent.h |
225 |
- paths.h |
226 |
-+ pthread.h |
227 |
- semaphore.h |
228 |
- setjmp.h |
229 |
- signal.h |
230 |
--- |
231 |
-cgit 1.2.3-1.el7 |
232 |
- |