From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/e2fsprogs/
Date: Fri, 3 Feb 2023 09:30:07 +0000 (UTC) [thread overview]
Message-ID: <1675416601.d8b8ce2d649d88bde80926310ab8f3f53a1eebba.sam@gentoo> (raw)
commit: d8b8ce2d649d88bde80926310ab8f3f53a1eebba
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 3 08:39:50 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 3 09:30:01 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8b8ce2d
sys-fs/e2fsprogs: add 1.46.6
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-fs/e2fsprogs/Manifest | 1 +
sys-fs/e2fsprogs/e2fsprogs-1.46.6.ebuild | 169 +++++++++++++++++++++++++++++++
2 files changed, 170 insertions(+)
diff --git a/sys-fs/e2fsprogs/Manifest b/sys-fs/e2fsprogs/Manifest
index 1affd4f6f476..42a7c7291641 100644
--- a/sys-fs/e2fsprogs/Manifest
+++ b/sys-fs/e2fsprogs/Manifest
@@ -1 +1,2 @@
DIST e2fsprogs-1.46.5.tar.xz 7040672 BLAKE2B 8d8c02e891c464782a7cff518c41d793fc73366b57e17d80ffc5afd96e6144e354290e667e9710509a9dde4e5dab7e7185c5bf084c5bfd26219f05e5e92e0830 SHA512 53282e1c524f62a95012b1aceef296d494f5238c82c9b08b29fbe6a803dbf7ccfdcd9124eb2f11fe2ff9de26387c78751a92c3217ca414f6db6242098a72d3fa
+DIST e2fsprogs-1.46.6.tar.xz 7051160 BLAKE2B 683274bf9468a3aaf41e542f22266482e75522b1fd2a255c6d852a28b08f027918d4f09239259d443a243c41eae49b3c27454f7d140da2c361c36a71ff77dcf6 SHA512 aca5ef77e36885ce9ce2995d9fae5d278c33e276e74f2a73977380f3e1cf1b3bd115fe6199e44a2f79a2827ba985b5554b8d898e88b7d04387fbba659a08e771
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.46.6.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.46.6.ebuild
new file mode 100644
index 000000000000..5022d082118b
--- /dev/null
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.46.6.ebuild
@@ -0,0 +1,169 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic multilib-minimal systemd toolchain-funcs udev usr-ldscript
+
+DESCRIPTION="Standard EXT2/EXT3/EXT4 filesystem utilities"
+HOMEPAGE="http://e2fsprogs.sourceforge.net/"
+SRC_URI="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PV}/${P}.tar.xz"
+
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cron fuse nls static-libs test +tools"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ !sys-libs/${PN}-libs
+ cron? ( sys-fs/lvm2[lvm] )
+ fuse? ( sys-fs/fuse:0 )
+ nls? ( virtual/libintl )
+ tools? ( sys-apps/util-linux )
+"
+# For testing lib/ext2fs, lib/support/libsupport.a is required, which
+# unconditionally includes '<blkid/blkid.h>' from sys-apps/util-linux.
+DEPEND="
+ ${RDEPEND}
+ test? ( sys-apps/util-linux[${MULTILIB_USEDEP}] )
+"
+BDEPEND="
+ sys-apps/texinfo
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.42.13-fix-build-cflags.patch # bug #516854
+
+ # Upstream patches (can usually removed with next version bump)
+)
+
+MULTILIB_WRAPPED_HEADERS=(
+ /usr/include/ext2fs/ext2_types.h
+)
+
+src_prepare() {
+ default
+
+ cp doc/RelNotes/v${PV}.txt ChangeLog || die "Failed to copy Release Notes"
+
+ # Get rid of doc -- we don't use them. This also prevents a sandbox
+ # violation due to mktexfmt invocation
+ rm -r doc || die "Failed to remove doc dir"
+
+ # Prevent included intl cruft from building, bug #81096
+ sed -i -r \
+ -e 's:@LIBINTL@:@LTLIBINTL@:' \
+ MCONFIG.in || die 'intl cruft'
+}
+
+multilib_src_configure() {
+ # Keep the package from doing silly things, bug #261411
+ export VARTEXFONTS="${T}/fonts"
+
+ # Needs open64() prototypes and friends
+ append-cppflags -D_GNU_SOURCE
+
+ local myeconfargs=(
+ --with-root-prefix="${EPREFIX}"
+ $(use_with cron crond-dir "${EPREFIX}/etc/cron.d")
+ --with-systemd-unit-dir="$(systemd_get_systemunitdir)"
+ --with-udev-rules-dir="${EPREFIX}$(get_udevdir)/rules.d"
+ --enable-symlink-install
+ --enable-elf-shlibs
+ $(tc-has-tls || echo --disable-tls)
+ $(multilib_native_use_enable fuse fuse2fs)
+ $(use_enable nls)
+ $(multilib_native_use_enable tools e2initrd-helper)
+ --disable-fsck
+ --disable-uuidd
+ --disable-lto
+ --disable-largefile # need to check effect on ABI
+ --with-pthread
+ )
+
+ # We use blkid/uuid from util-linux now
+ if use kernel_linux ; then
+ export ac_cv_lib_{uuid_uuid_generate,blkid_blkid_get_cache}=yes
+ myeconfargs+=( --disable-lib{blkid,uuid} )
+ fi
+
+ ac_cv_path_LDCONFIG=: \
+ ECONF_SOURCE="${S}" \
+ CC="$(tc-getCC)" \
+ BUILD_CC="$(tc-getBUILD_CC)" \
+ BUILD_LD="$(tc-getBUILD_LD)" \
+ econf "${myeconfargs[@]}"
+
+ if grep -qs 'USE_INCLUDED_LIBINTL.*yes' config.{log,status} ; then
+ eerror "INTL sanity check failed, aborting build."
+ eerror "Please post your ${S}/config.log file as an"
+ eerror "attachment to https://bugs.gentoo.org/81096"
+ die "Preventing included intl cruft from building"
+ fi
+}
+
+multilib_src_compile() {
+ if multilib_is_native_abi && use tools ; then
+ emake V=1
+ else
+ emake -C lib/et V=1
+ emake -C lib/ss V=1
+ emake -C lib/ext2fs V=1
+ emake -C lib/e2p V=1
+ fi
+}
+
+multilib_src_test() {
+ if multilib_is_native_abi && use tools ; then
+ emake V=1 check
+ else
+ # Required by lib/ext2fs's check target
+ emake -C lib/support V=1
+
+ # For non-native, there's no binaries to test. Just libraries.
+ emake -C lib/et V=1 check
+ emake -C lib/ss V=1 check
+ emake -C lib/ext2fs V=1 check
+ emake -C lib/e2p V=1 check
+ fi
+}
+
+multilib_src_install() {
+ if multilib_is_native_abi && use tools ; then
+ emake STRIP=':' V=1 DESTDIR="${D}" install
+ else
+ emake -C lib/et V=1 DESTDIR="${D}" install
+ emake -C lib/ss V=1 DESTDIR="${D}" install
+ emake -C lib/ext2fs V=1 DESTDIR="${D}" install
+ emake -C lib/e2p V=1 DESTDIR="${D}" install
+ fi
+
+ # Move shared libraries to /lib/, install static libraries to
+ # /usr/lib/, and install linker scripts to /usr/lib/.
+ gen_usr_ldscript -a com_err ss ext2fs e2p
+
+ # configure doesn't have an option to disable static libs
+ if ! use static-libs ; then
+ find "${ED}" -name '*.a' -delete || die
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use tools ; then
+ insinto /etc
+ doins "${FILESDIR}"/e2fsck.conf
+ fi
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
next reply other threads:[~2023-02-03 9:30 UTC|newest]
Thread overview: 228+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 9:30 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-02 17:53 [gentoo-commits] repo/gentoo:master commit in: sys-fs/e2fsprogs/ Mike Gilbert
2024-07-17 5:10 Sam James
2024-07-17 4:57 Sam James
2024-07-17 4:56 Sam James
2024-07-17 4:46 Sam James
2024-07-17 4:44 Sam James
2024-07-17 4:36 Sam James
2024-07-17 4:36 Sam James
2024-06-09 15:20 Sam James
2024-06-07 16:27 Sam James
2024-03-03 4:00 Sam James
2024-03-02 12:15 Arthur Zamarin
2024-03-02 12:15 Arthur Zamarin
2024-03-02 12:15 Arthur Zamarin
2024-03-02 12:15 Arthur Zamarin
2024-02-29 22:17 Sam James
2024-02-27 23:57 Sam James
2024-02-27 23:04 Sam James
2024-02-27 23:04 Sam James
2024-02-07 19:20 Sam James
2024-02-07 19:20 Sam James
2023-09-12 15:05 Mike Gilbert
2023-08-04 11:45 Arthur Zamarin
2023-06-26 18:18 Mike Gilbert
2023-06-25 22:52 Andreas K. Hüttel
2023-05-31 2:30 Sam James
2023-04-29 8:19 Arthur Zamarin
2023-04-29 8:19 Arthur Zamarin
2023-04-10 8:48 Sam James
2023-04-10 8:48 Sam James
2023-04-10 8:48 Sam James
2023-04-09 7:52 Viorel Munteanu
2023-04-08 21:15 Sam James
2023-04-07 1:49 Sam James
2023-03-29 20:08 Sam James
2023-03-29 18:24 Arthur Zamarin
2023-03-29 14:36 Sam James
2023-03-29 14:36 Sam James
2023-03-29 14:36 Sam James
2023-03-29 14:36 Sam James
2023-03-12 9:23 Viorel Munteanu
2023-02-07 23:06 Sam James
2023-02-03 10:57 Sam James
2023-02-03 10:57 Sam James
2023-02-03 10:57 Sam James
2023-02-03 10:57 Sam James
2023-02-03 10:57 Sam James
2022-12-29 22:27 Sam James
2022-10-13 18:09 Mike Gilbert
2022-10-12 23:09 Sam James
2022-07-28 13:20 Sam James
2022-04-19 13:12 Sam James
2022-04-17 15:09 David Seifert
2022-04-16 19:14 Sam James
2022-04-14 8:10 Agostino Sarubbo
2022-04-14 8:09 Agostino Sarubbo
2022-04-11 6:35 Jakov Smolić
2022-04-10 17:38 Arthur Zamarin
2022-04-10 17:38 Arthur Zamarin
2022-04-10 17:38 Arthur Zamarin
2022-04-10 9:05 Agostino Sarubbo
2022-01-02 17:49 David Seifert
2022-01-02 9:13 David Seifert
2022-01-01 20:08 David Seifert
2021-12-31 17:50 David Seifert
2021-12-31 17:50 David Seifert
2021-12-30 21:07 David Seifert
2021-12-30 20:38 Lars Wendler
2021-11-12 10:22 David Seifert
2021-11-01 17:48 Sam James
2021-10-31 1:34 Sam James
2021-10-31 1:29 Sam James
2021-10-31 1:29 Sam James
2021-10-02 17:20 Sam James
2021-09-27 18:13 Sam James
2021-09-25 23:46 Sam James
2021-09-25 5:18 Agostino Sarubbo
2021-09-22 6:58 Agostino Sarubbo
2021-09-21 6:36 Agostino Sarubbo
2021-09-21 6:35 Agostino Sarubbo
2021-09-20 15:53 Sam James
2021-08-20 9:02 Lars Wendler
2021-07-28 6:31 Lars Wendler
2021-07-28 6:31 Lars Wendler
2021-07-28 0:29 Sam James
2021-07-10 16:12 Sam James
2021-05-14 20:53 Sam James
2021-05-14 20:53 Sam James
2021-05-13 17:51 Sam James
2021-05-13 16:37 Sam James
2021-05-13 16:24 Sam James
2021-03-26 15:45 Agostino Sarubbo
2021-03-02 19:08 Sergei Trofimovich
2021-03-02 2:32 Sam James
2021-03-01 23:44 Sam James
2021-03-01 23:44 Sam James
2021-03-01 18:29 Sam James
2021-03-01 17:18 Thomas Deutschmann
2021-03-01 10:00 Sam James
2021-03-01 10:00 Sam James
2021-03-01 9:51 Lars Wendler
2021-02-10 13:11 Lars Wendler
2021-01-30 11:45 Lars Wendler
2021-01-29 9:55 Lars Wendler
2021-01-29 9:55 Lars Wendler
2021-01-08 10:49 Sam James
2021-01-08 10:36 Sam James
2021-01-04 0:22 Sam James
2021-01-03 19:40 Sam James
2021-01-03 19:26 Sergei Trofimovich
2021-01-03 9:14 Sam James
2021-01-03 9:12 Sam James
2020-12-27 18:18 Fabian Groffen
2020-07-04 14:02 Mike Gilbert
2020-06-18 6:33 Lars Wendler
2020-03-23 9:41 Lars Wendler
2020-02-24 20:35 Mart Raudsepp
2020-02-13 19:52 Sergei Trofimovich
2020-02-13 12:38 Agostino Sarubbo
2020-02-13 12:27 Agostino Sarubbo
2020-02-13 12:19 Agostino Sarubbo
2020-02-13 12:10 Agostino Sarubbo
2020-02-13 9:19 Agostino Sarubbo
2020-02-12 20:05 Sergei Trofimovich
2020-02-12 18:22 Agostino Sarubbo
2020-02-12 14:20 Agostino Sarubbo
2020-01-07 19:49 Lars Wendler
2019-10-25 19:38 Sergei Trofimovich
2019-10-06 21:29 Aaron Bauman
2019-10-05 18:56 Michał Górny
2019-10-03 8:07 Agostino Sarubbo
2019-09-26 20:13 Mikle Kolyada
2019-09-26 20:13 Mikle Kolyada
2019-09-26 20:13 Mikle Kolyada
2019-09-26 20:13 Mikle Kolyada
2019-09-26 20:13 Mikle Kolyada
2019-09-26 20:13 Mikle Kolyada
2019-09-26 20:13 Mikle Kolyada
2019-09-26 20:13 Mikle Kolyada
2019-09-26 19:02 Thomas Deutschmann
2019-09-26 18:26 Mikle Kolyada
2019-09-24 10:35 Thomas Deutschmann
2019-07-28 13:40 Mikle Kolyada
2019-07-28 13:40 Mikle Kolyada
2019-07-28 13:40 Mikle Kolyada
2019-07-22 19:53 Aaron Bauman
2019-07-19 11:33 Agostino Sarubbo
2019-07-18 13:11 Agostino Sarubbo
2019-07-18 11:33 Agostino Sarubbo
2019-07-18 11:31 Agostino Sarubbo
2019-07-17 15:24 Agostino Sarubbo
2019-07-17 14:03 Agostino Sarubbo
2019-07-16 8:09 Lars Wendler
2019-07-16 8:09 Lars Wendler
2019-07-10 20:44 Sergei Trofimovich
2019-07-10 11:47 Agostino Sarubbo
2019-05-28 12:38 Lars Wendler
2019-05-28 12:37 Lars Wendler
2019-05-14 9:55 Lars Wendler
2019-05-13 8:54 Lars Wendler
2019-05-13 8:54 Lars Wendler
2019-05-04 12:30 Mikle Kolyada
2019-03-13 14:31 Lars Wendler
2019-03-10 14:54 Mikle Kolyada
2019-03-10 14:54 Mikle Kolyada
2019-03-08 7:22 Lars Wendler
2019-03-07 10:20 Lars Wendler
2019-03-06 11:59 Lars Wendler
2019-03-06 11:59 Lars Wendler
2019-03-02 19:52 Sergei Trofimovich
2019-01-31 14:23 Tobias Klausmann
2019-01-29 11:41 Mikle Kolyada
2019-01-28 0:48 Matt Turner
2019-01-28 0:48 Matt Turner
2019-01-23 13:41 Mikle Kolyada
2019-01-17 7:23 Sergei Trofimovich
2019-01-14 12:56 Mikle Kolyada
2019-01-14 7:14 Sergei Trofimovich
2019-01-13 23:45 Lars Wendler
2019-01-13 21:48 Mart Raudsepp
2018-12-16 22:52 Lars Wendler
2018-08-21 23:07 Thomas Deutschmann
2018-07-10 9:38 Lars Wendler
2018-07-10 9:38 Lars Wendler
2018-07-04 18:44 Sergei Trofimovich
2018-06-04 13:06 Mike Frysinger
2018-05-29 20:05 Markus Meier
2018-05-25 4:18 Matt Turner
2018-05-25 3:48 Matt Turner
2018-05-19 9:26 Sergei Trofimovich
2018-05-17 13:52 Thomas Deutschmann
2018-05-17 11:59 Tobias Klausmann
2018-05-16 21:19 Sergei Trofimovich
2018-05-16 16:18 Mikle Kolyada
2018-05-16 8:56 Lars Wendler
2018-04-18 5:31 Mart Raudsepp
2018-03-25 11:56 Lars Wendler
2018-03-21 7:20 Lars Wendler
2018-03-08 9:06 Lars Wendler
2018-03-08 9:06 Lars Wendler
2018-02-09 9:57 Lars Wendler
2018-02-09 9:57 Lars Wendler
2018-01-02 13:07 Lars Wendler
2017-11-29 5:56 Markus Meier
2017-10-23 18:42 Thomas Deutschmann
2017-10-22 21:42 Tobias Klausmann
2017-10-19 12:45 Manuel Rüger
2017-10-17 17:14 Sergei Trofimovich
2017-10-17 12:25 Sergei Trofimovich
2017-10-17 8:25 Lars Wendler
2017-10-17 8:25 Lars Wendler
2017-08-29 20:54 Lars Wendler
2017-08-29 20:54 Lars Wendler
2017-08-06 2:15 Lars Wendler
2017-02-03 21:37 Lars Wendler
2016-12-09 12:41 Lars Wendler
2016-10-28 4:57 Markus Meier
2016-10-26 7:49 Lars Wendler
2016-10-21 17:48 Tobias Klausmann
2016-10-11 18:23 Jeroen Roovers
2016-10-11 8:44 Jeroen Roovers
2016-09-05 7:27 Lars Wendler
2016-09-02 8:08 Lars Wendler
2016-09-02 8:08 Lars Wendler
2016-06-09 8:54 Lars Wendler
2016-05-25 20:56 Mike Frysinger
2015-12-31 17:07 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1675416601.d8b8ce2d649d88bde80926310ab8f3f53a1eebba.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox